go-emu-launcher

johannesbehr
Posts: 43
Joined: Thu Jan 03, 2019 12:21 am
languages_spoken: english
ODROIDs: Odroid-Go
Has thanked: 6 times
Been thanked: 16 times
Contact:

Re: go-emu-launcher / GIF-Support

Unread post by johannesbehr » Wed Aug 28, 2019 5:49 pm

lordhardware wrote:
Wed Aug 28, 2019 5:13 pm
johannesbehr wrote:
Tue Aug 27, 2019 7:19 pm
I started a fork and added GIF-Support for the box-art
As the storage limits are quite high with microsd but the ram is low, wouldnt it be better to use uncompressed box art image formats instead of gif?

That was there's less data interpretation to be done?
The decompression of the gif is pretty fast. In comparison to the CRC-Calculation the go-emu-launcher does now, it is nearly zero-time.
Actually my change works in this way, that if there is an gif in the same Folder with the same name as the rom-file, it is loaded immediatetly,
E.g. 'Alien vs Predator.gif' for 'Alien vs Predator.lnx'.
The normal Art-Folder with CRC still works in the same way as before.
I do only load the first Frame of the gif file, so Animation is out of focus (but would be possible by loading further frames from the file).
The ram consumption is moderate and the files have the big advantage that the can be created with any grafic tool.

I also converted the header and logo files in the metadata-folder, this works well, too (I'll attach the files...).
So with a gif format here, custom theming could be easily done...
Attachments
metadata.zip
(45.02 KiB) Downloaded 13 times

johannesbehr
Posts: 43
Joined: Thu Jan 03, 2019 12:21 am
languages_spoken: english
ODROIDs: Odroid-Go
Has thanked: 6 times
Been thanked: 16 times
Contact:

Re: go-emu-launcher

Unread post by johannesbehr » Wed Aug 28, 2019 7:57 pm

Just in case anyone likes to test the gif-feature, I created a release:
https://github.com/johannesbehr/odroid- ... op/release
Please keep in mind that this is just a test version, so no guarantees :)


Edit: Switched to develop branch to be uptodate.
@pelle7: I suggest that you also set the develop branch as Default in order to avoid confusion.

ducalex
Posts: 55
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 14 times
Been thanked: 37 times
Contact:

Re: go-emu-launcher

Unread post by ducalex » Thu Aug 29, 2019 12:33 am

I like the idea of cover art in a more accessible format and there's more than enough RAM to do it.

But have you run any kind of analysis on existing cover art to see how many colors they use? I'm worried that GIF's 256 colors limit might be a (small) problem and PNG would have been a better choice.

johannesbehr
Posts: 43
Joined: Thu Jan 03, 2019 12:21 am
languages_spoken: english
ODROIDs: Odroid-Go
Has thanked: 6 times
Been thanked: 16 times
Contact:

Re: go-emu-launcher

Unread post by johannesbehr » Thu Aug 29, 2019 2:46 pm

ducalex wrote:
Thu Aug 29, 2019 12:33 am
I like the idea of cover art in a more accessible format and there's more than enough RAM to do it.

But have you run any kind of analysis on existing cover art to see how many colors they use? I'm worried that GIF's 256 colors limit might be a (small) problem and PNG would have been a better choice.
I understand your Point, but I think at a size of 176 Pixel (max for height) and this type of display, there is nearly no visible difference.
For a quick test I calculated the difference between a example gif and a png, can you tell which is the gif ? ;)
Rampage (USA, Europe)_small.png
Rampage (USA, Europe)_small.png (65.21 KiB) Viewed 621 times
Rampage (USA, Europe)_small.gif
Rampage (USA, Europe)_small.gif (21.19 KiB) Viewed 621 times
Rampage (USA, Europe)_small_delta.png
Rampage (USA, Europe)_small_delta.png (46.65 KiB) Viewed 621 times
But yes, I think png and jpg would also be possible, I still plan to test the following libs: https://github.com/elanthis/upng and https://github.com/MakotoKurauchi/JPEGDecoder

lordhardware
Posts: 85
Joined: Sat Sep 20, 2014 11:56 pm
languages_spoken: english
ODROIDs: U3
Odroid-W
Has thanked: 5 times
Been thanked: 5 times
Contact:

Re: go-emu-launcher

Unread post by lordhardware » Thu Aug 29, 2019 10:05 pm

Id like to see the render speed of a .tif or uncompressed .png vs a .gif

Not saying its not quick but that means no overhead or artifacting just straight screen draw (providing the pixel size is set)

ducalex
Posts: 55
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 14 times
Been thanked: 37 times
Contact:

Re: go-emu-launcher

Unread post by ducalex » Thu Aug 29, 2019 11:25 pm

johannesbehr wrote:
Thu Aug 29, 2019 2:46 pm
I understand your Point, but I think at a size of 176 Pixel (max for height) and this type of display, there is nearly no visible difference.
For a quick test I calculated the difference between a example gif and a png, can you tell which is the gif ? ;)
I think I worded my question poorly. I wasn't worried that it would look worse in real life, really. I was just curious why you picked GIF over PNG it is (on the surface) better suited.

But after taking a look at the code I can see that gifdec is much simpler than even the simplest png decoder I'm familiar with, which is nice. Plus GIF has the advantage that eventually we could have cool animated headers!

johannesbehr
Posts: 43
Joined: Thu Jan 03, 2019 12:21 am
languages_spoken: english
ODROIDs: Odroid-Go
Has thanked: 6 times
Been thanked: 16 times
Contact:

Re: go-emu-launcher

Unread post by johannesbehr » Fri Aug 30, 2019 9:46 pm

Hi Folks,
I just changed the style of the file list a bit to cut the names, do paging and use a different font :)
For me this is more comfortable, but I think it is a question of gusto.

https://github.com/johannesbehr/odroid- ... op/release

if more people like it, maybe this style could be a menu option?

(But keep in mind that this is only a tweaked test version and not official Version!)
Attachments
NewStyle2.png
NewStyle2.png (555.95 KiB) Viewed 556 times
These users thanked the author johannesbehr for the post:
hartleyshc (Wed Sep 11, 2019 11:18 pm)

Nemo1984
Posts: 137
Joined: Thu Aug 23, 2018 7:58 pm
languages_spoken: english, french
ODROIDs: Odroid-Go
Has thanked: 11 times
Been thanked: 2 times
Contact:

Re: go-emu-launcher

Unread post by Nemo1984 » Wed Sep 11, 2019 10:17 pm

Does this firmware have the Triforce/Super Go Play improvements?

ducalex
Posts: 55
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 14 times
Been thanked: 37 times
Contact:

Re: go-emu-launcher

Unread post by ducalex » Thu Sep 12, 2019 4:03 am

Nemo1984 wrote:
Wed Sep 11, 2019 10:17 pm
Does this firmware have the Triforce/Super Go Play improvements?
Yes he incorporated the changes! See here viewtopic.php?f=159&t=35234#p260327.

ripper121
Posts: 136
Joined: Mon Jan 28, 2019 7:00 pm
languages_spoken: english
Has thanked: 26 times
Been thanked: 18 times
Contact:

Re: go-emu-launcher

Unread post by ripper121 » Thu Sep 12, 2019 4:01 pm

Coolest would be to have a MP3 player and SD-File Wifi Browser on board:
--> viewtopic.php?f=162&t=35893
--> viewtopic.php?f=162&t=35893

Paspartout
Posts: 36
Joined: Fri Dec 28, 2018 2:13 am
languages_spoken: english, german
ODROIDs: Odroid go
Has thanked: 3 times
Been thanked: 8 times
Contact:

Re: go-emu-launcher

Unread post by Paspartout » Thu Sep 12, 2019 5:29 pm

Very nice project, the ingame menu in the emulators is quite an improvement over the old way of interacting.

I also found a bug that occurs when an emulator with no roms is chosen that when you then press right or left on dpad the menu freezes and I have to restart the odroid-go.
Also one suggestion I would have is that when you press menu on the launcher that it would reboot into the firmware,
so users could switch/reflash applications without turning the odroid go off and on again.
I might address these myself and submit a pull request.
ripper121 wrote:
Thu Sep 12, 2019 4:01 pm
Coolest would be to have a MP3 player and SD-File Wifi Browser on board:
--> viewtopic.php?f=162&t=35893
--> viewtopic.php?f=162&t=35893
I agree, having a emulator launcher or even firmware with all that functionality built-in would be awesome.
But the firmware switcher from ducalex is making switching between these applications already quite convenient.

johannesbehr
Posts: 43
Joined: Thu Jan 03, 2019 12:21 am
languages_spoken: english
ODROIDs: Odroid-Go
Has thanked: 6 times
Been thanked: 16 times
Contact:

Re: go-emu-launcher

Unread post by johannesbehr » Wed Sep 25, 2019 7:15 pm

Hi Folks,
I just added XML-Support to configure the emulators, so adding one is pretty simple,
see the launcher.xml I included:

https://github.com/johannesbehr/odroid- ... op/release

If you like more the original black header, you can simply exchange the metadata
with the metadata_classic folder.

To Show how it works I added Schuemis C64 Emulator and my Mulg Port :)

Make shure you extract also the meta-data to your SD Card and the Mulg-Games.
For the C64 you need to obtain the bios files and put them in sd/roms/c64/bios!
C64.gif
C64.gif (125.99 KiB) Viewed 189 times
Mulg.gif
Mulg.gif (130.17 KiB) Viewed 189 times
These users thanked the author johannesbehr for the post (total 2):
odroid (Thu Sep 26, 2019 8:48 am) • pelle7 (Fri Sep 27, 2019 7:12 pm)

Post Reply

Return to “Game Emulators”

Who is online

Users browsing this forum: No registered users and 3 guests