Retro-Go: Yet another emulator launcher

Post Reply
ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Retro-Go: Yet another emulator launcher

Unread post by ducalex » Sun Feb 02, 2020 9:09 am

Retro-Go is a launcher with NES/GB/GBC/SMS/GameGear/Colecovision emulators.

The emulators code is based on Go-Play "Triforce" and the launcher's design is ripped off pelle7's (but it isn't a fork).

Features include:
  • In game menus
  • Smoother/faster transitions
  • Adjust RTC and preserve time between plays
  • Launcher style is customizable
  • Hide unwanted emulators
  • Fixed many crashes
  • Easy to build
Details:
I encourage you to read the README to see the key bindings and more details.

Code, assets, and releases:
Repository: https://github.com/ducalex/retro-go
Releases: https://github.com/ducalex/retro-go/releases

Preview:
Image

Please report any issues!
Attachments
retro-go.zip
2020-02-23 (Newest)
- Display code optimization with 5-10% FPS throughput increase
- Friendlier in-game fatal errors that allow to return to launcher
- Many bug fixes
(941.14 KiB) Downloaded 9 times
retro-go.zip
2020-02-19
- GB/GBC: More of the ROM is preloaded to fix stuttering in some games
- GB/GBC: Now using partial screen updates, allowing 60fps in many games
- Turbo speed support in all emulators
- Removed interlacing. The replacement method looks better (or at least equal) and works for all three systems
- Launcher: File extensions are now hidden
(948.86 KiB) Downloaded 23 times
retro-go.zip
2020-02-11
- New scaling options
- 8MB GBC game support
- Significant size reduction
- Bug fixes
(941.96 KiB) Downloaded 33 times
retro-go.zip
2020-02-07 (beta)
- New scaling option "Fill" (Only useful for Gameboy)
- Handle emulator crashes (instead of freezing the console)
- Cosmetic changes
(958.37 KiB) Downloaded 18 times
Last edited by ducalex on Mon Feb 24, 2020 10:48 am, edited 10 times in total.
These users thanked the author ducalex for the post (total 9):
rooted (Mon Feb 03, 2020 1:42 am) • Nemo1984 (Mon Feb 03, 2020 8:16 am) • odroid (Mon Feb 03, 2020 10:04 am) • 32teeth (Thu Feb 06, 2020 1:23 am) • lordhardware (Sun Feb 09, 2020 8:47 pm) • jafox (Wed Feb 12, 2020 3:17 am) • myownregister (Wed Feb 12, 2020 6:06 am) • concreted (Wed Feb 19, 2020 5:31 pm) • Paspartout (Sun Feb 23, 2020 10:43 pm)

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Mon Feb 03, 2020 8:16 am

This is so much better! Thank you!

ripper121
Posts: 172
Joined: Mon Jan 28, 2019 7:00 pm
languages_spoken: english
Has thanked: 42 times
Been thanked: 22 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ripper121 » Mon Feb 03, 2020 5:01 pm

How much of your code is from pelle7?
EDIT: ok found it.
Acknowledgements
The emulators code was originally from the "Triforce" fork the official Go-Play firmware.
A few lines of code were taken from go-emu by pelle7, as well as the esthetics was copied.

deecee
Posts: 21
Joined: Fri Aug 17, 2018 7:17 pm
languages_spoken: english
ODROIDs: Odroid go
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by deecee » Mon Feb 03, 2020 7:21 pm

Thanks a lot for keeping up the development of new emulators for the Odroid Go.

ripper121
Posts: 172
Joined: Mon Jan 28, 2019 7:00 pm
languages_spoken: english
Has thanked: 42 times
Been thanked: 22 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ripper121 » Mon Feb 03, 2020 8:36 pm

Its no new emulator. Its "only" a new UI.

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Tue Feb 04, 2020 7:57 am

ripper121 wrote:
Mon Feb 03, 2020 5:01 pm
How much of your code is from pelle7?
The vast majority of the code is original and predates his project. The battery drawing function is about the only code taken verbatim but many other places were inspired by go-emu. You could say it's a spiritual successor.

Replicating the GUI allowed me to finally release this project, before everybody moves to the GO Advance!
Last edited by ducalex on Thu Feb 06, 2020 11:18 pm, edited 1 time in total.

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Thu Feb 06, 2020 6:52 am

A new release (2020-02-05) is available.
  • Fixed Game Gear aspect ratio
  • PNG support for cover art (it also still supports Go-Play format)
  • Option to reduce cover art loading delay
  • (Very) Experimental ZIP support for NES/SMS/GG ROMS
Download: https://github.com/ducalex/retro-go/rel ... 2020-02-05 (The .fw is also attached to this thread)
These users thanked the author ducalex for the post (total 3):
odroid (Thu Feb 06, 2020 9:22 am) • ripper121 (Thu Feb 06, 2020 5:57 pm) • jafox (Sat Feb 15, 2020 12:37 pm)

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Fri Feb 07, 2020 11:37 am

This is amazing! If you could do the same scaling trick on gb/gbc, I would be very happy! Like fullscreen stretch. This screen is small enough.

Thanks!

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Sat Feb 08, 2020 6:07 am

Nemo1984 wrote:
Fri Feb 07, 2020 11:37 am
This is amazing! If you could do the same scaling trick on gb/gbc, I would be very happy! Like fullscreen stretch. This screen is small enough.

Thanks!
I've added a new scaling option to fill the screen. It is only applicable to Game Boy as the others already fill the screen.

Unfortunately the Gameboy doesn't share the same display code as the Sega/NES emulators. For now I have made a basic scaler but I hope to reuse what is in place eventually which would give a softer image.

I have published the new release on Github (download here) but consider it beta!

Image Image Image

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Sat Feb 08, 2020 11:08 am

I am so happy right now! Thank you so much for your work, I'm glad my sketchy Tirforce was usefull for something!

I have tested a few roms. Abolutely no issues to report.

EDIT: I seem to have a savestate bug. Like, it's going to load the savestate whether I want it or not.

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Mon Feb 10, 2020 8:08 am

Nemo1984 wrote:
Sat Feb 08, 2020 11:08 am
EDIT: I seem to have a savestate bug. Like, it's going to load the savestate whether I want it or not.
Thanks, it is now fixed! I'm attaching a build to this post if you want to test, otherwise I will probably make a new release in a few days.

Few more changes in that build:

- Scaling setting is now correctly remembered per emulator
- Added a "Scale" option to scaling that respects the emulator aspect ratio, in case someone doesn't like the corrected/stretched Game Gear or NES
- 8MB GBC games are now supported
Last edited by ducalex on Mon Feb 17, 2020 5:47 pm, edited 1 time in total.
These users thanked the author ducalex for the post (total 3):
Nemo1984 (Mon Feb 10, 2020 8:44 am) • 32teeth (Tue Feb 11, 2020 4:49 am) • odroid (Tue Feb 11, 2020 8:38 am)

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Tue Feb 11, 2020 12:55 am

I have done some more testing with the new version. I didn't find any bug.

It's a great version!

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Wed Feb 12, 2020 12:12 am

Since no other issues were reported I have uploaded a new release. Nothing major since the last attached test build.
Changes since previous release:
- Scaling modes
- 8MB GBC game support
- Significant size reduction (Only useful if you use my multi-firmware, it frees up 2MB)
- Bug fixes

It is attached to the top post, or go to https://github.com/ducalex/retro-go/rel ... 2020-02-11


Edit: Let me know if you have feature requests, the next release should be a feature release!
These users thanked the author ducalex for the post (total 4):
Nemo1984 (Wed Feb 12, 2020 1:40 am) • jafox (Wed Feb 12, 2020 3:34 am) • myownregister (Wed Feb 12, 2020 6:06 am) • odroid (Wed Feb 12, 2020 9:41 am)

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Wed Feb 12, 2020 11:55 am

It is so nice that you optimized the size! (Partitions?). I can do so much more with the multiboot! I have seen some multiplayer code floating around? Wishful thinking?

Anyways. Big fan.
These users thanked the author Nemo1984 for the post (total 2):
ducalex (Thu Feb 13, 2020 6:12 am) • jafox (Sat Feb 15, 2020 12:37 pm)

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Thu Feb 13, 2020 6:09 am

Yes I reduced the padding space in partitions a bit, but more importantly I replaced the SD Card error images (saves 300KB per emulator) and removed pre-computed emulation tables in SMS (saves 250KB) and some misc stuff.

Multiplayer would be interesting! The GB Link is doable but for the others I imagine it would depend on the esp32 bluetooth latency. Ideally I'd need two consoles to develop and debug. In January I have ordered a second GO but I also bought a GO Advance at the same time so who knows when they'll finally ship :(

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Thu Feb 13, 2020 6:18 am

I think I saw a wifi nes multiplayer emulator and a C64 one. All wifi.

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Thu Feb 13, 2020 6:37 am

I found the NES one viewtopic.php?f=159&t=33689&p=247807 which is very promising.

It seems to sync inputs on every frame. I don't know if that would be enough for a good experience in all games however. Many games use PRNG (to spawn enemies and so forth) so both consoles could end up in very different states after a while...

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Thu Feb 13, 2020 10:50 pm

ducalex wrote:
Thu Feb 13, 2020 6:37 am
I found the NES one viewtopic.php?f=159&t=33689&p=247807 which is very promising.

It seems to sync inputs on every frame. I don't know if that would be enough for a good experience in all games however. Many games use PRNG (to spawn enemies and so forth) so both consoles could end up in very different states after a while...
Yes, that's the one I tried with my brother. It does work for a while, then it just stop syncing. I don't know if it is possible to make it fully working.

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Fri Feb 14, 2020 6:16 am

I'll experiment with input syncing inspired by the experimental multiplayer NES but I think I'll also try streaming the video to the guest console.

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

Re: Retro-Go: Yet another emulator launcher

Unread post by lordhardware » Fri Feb 14, 2020 11:18 pm

Speedups are missing in GB when compared to Pelle7's go firmware launcher.

Apart from that very nice!

jafox
Posts: 1
Joined: Wed Feb 12, 2020 3:11 am
languages_spoken: english Spanish
ODROIDs: ODROID-GO
Has thanked: 15 times
Been thanked: 0
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by jafox » Sat Feb 15, 2020 12:57 pm

I don't know if it's possible to add partial screen updates for the gameboy emulator like the one made by Paspartout and Unorthodactyl. even so thank you very much for the effort

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Mon Feb 17, 2020 7:42 am

I have noticed you are removing the interlace. This was a fix for the screen ripping in nes and others.

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Mon Feb 17, 2020 10:10 am

lordhardware wrote:
Fri Feb 14, 2020 11:18 pm
Speedups are missing in GB when compared to Pelle7's go firmware launcher.
I have added speedups 2x 3x for all three emulators. There is a link to a test build at the end of this post if you want to try now!
jafox wrote:
Sat Feb 15, 2020 12:57 pm
I don't know if it's possible to add partial screen updates for the gameboy emulator like the one made by Paspartout and Unorthodactyl. even so thank you very much for the effort
I have tried using the partial update code from the NES/SMS and the results weren't good, full rendering caused less tearing.
Do you have a link to their emulators so I can see what they did different for the gameboy?
Nemo1984 wrote:
Mon Feb 17, 2020 7:42 am
I have noticed you are removing the interlace. This was a fix for the screen ripping in nes and others.
The interlacing was enabled only in the NES, it was disabled in SMS/GG and not present at all in GB/GBC.

I couldn't find a game that suffered from my removal, could you give me an example I could try? I don't mind adding it back and improving it instead of removing it if it's really necessary!

You can download a test build of commit 1d40f6a, it contains the interlacing changes and the speed control.
These users thanked the author ducalex for the post (total 2):
odroid (Mon Feb 17, 2020 11:02 am) • jafox (Tue Feb 18, 2020 1:43 am)

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Mon Feb 17, 2020 4:27 pm

Nemo1984 wrote:
Mon Feb 17, 2020 7:42 am
I have noticed you are removing the interlace. This was a fix for the screen ripping in nes and others.
I have added back the interlacing code but before enabling it I want to try something else. It seems to work well but can you please test this build and tell me if the results are worse, equal, or better than interlacing?
jafox wrote:
Sat Feb 15, 2020 12:57 pm
I don't know if it's possible to add partial screen updates for the gameboy emulator like the one made by Paspartout and Unorthodactyl. even so thank you very much for the effort
I figured out a way to make it work, I think. This experimental build contains partial GB updates.


The experimental build with both partial GB update and anti-tearing can be downloaded here: https://send.firefox.com/download/7ec3a ... xXl_o1M2lQ
These users thanked the author ducalex for the post (total 5):
ducadan (Tue Feb 18, 2020 1:19 am) • jafox (Tue Feb 18, 2020 1:42 am) • Nemo1984 (Tue Feb 18, 2020 9:25 am) • odroid (Tue Feb 18, 2020 9:28 am) • myownregister (Wed Feb 19, 2020 10:32 am)

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Tue Feb 18, 2020 12:45 am

I like the new anti-tearing, it works as good as interlacing but without the blur. Really an improvement!

concreted
Posts: 3
Joined: Wed Feb 19, 2020 5:19 pm
languages_spoken: english
ODROIDs: Odroid Go
Has thanked: 6 times
Been thanked: 0
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by concreted » Wed Feb 19, 2020 5:43 pm

This is by far my favorite launcher and the experimental 2/17 build is working great for me - performance on GB is super smooth now. My biggest complaint with the Go was GB performance being not-quite-there and I'd almost given up hope on it being improved. Great work!

The "scale" option in GB no longer has blur though which looks worse to me because of inconsistent pixel sizes. Would be nice to be able to toggle blur.

Another longstanding issue with the other emulators is a freeze bug in GBC Metal Gear Solid, if you have any chance of looking into that I would be very happy :) viewtopic.php?t=31541

Thanks for your continued work on the Odroid Go, I'm happy to test/give feedback on new versions.

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Thu Feb 20, 2020 3:15 am

concreted wrote:
Wed Feb 19, 2020 5:43 pm
The "scale" option in GB no longer has blur though which looks worse to me because of inconsistent pixel sizes. Would be nice to be able to toggle blur.
Agreed, a bilinear filter is planned and will probably be in the next release.
concreted wrote:
Wed Feb 19, 2020 5:43 pm
Another longstanding issue with the other emulators is a freeze bug in GBC Metal Gear Solid, if you have any chance of looking into that I would be very happy :)
I'll have a look into it!

Thanks
Last edited by ducalex on Thu Feb 20, 2020 3:19 am, edited 1 time in total.
These users thanked the author ducalex for the post (total 2):
concreted (Thu Feb 20, 2020 7:49 am) • Nemo1984 (Thu Feb 20, 2020 11:45 am)

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Thu Feb 20, 2020 3:17 am

New release 2020-02-19!

Changes:
- GB/GBC: More of the ROM is preloaded to fix stuttering in some games
- GB/GBC: Now using partial screen updates, allowing 60fps in many games
- Turbo speed support in all emulators
- Removed interlacing. The replacement method looks better (or at least equal) and works for all three systems
- Launcher: File extensions are now hidden

Known issues:
- The GBC partial updates cause rendering weirdness in Megaman Xtreme where the lightning effect is rendered as the screen half white

Postponed changes:
- Multiplayer support is postponed until I get my second GO. I can only test so much with a computer (and it's not fun)
- An optional bilinear filter to reduce shimmering caused by scaling but I want to see how the recent changes work for everybody first
- Sound in turbo modes. I got it to work, but to get it to sound good (albeit sped up) is another issue completely

Let me know if you like/dislike any of the changes and please report any bug found :)
These users thanked the author ducalex for the post (total 4):
jafox (Thu Feb 20, 2020 3:38 am) • myownregister (Thu Feb 20, 2020 7:47 am) • concreted (Thu Feb 20, 2020 7:49 am) • Nemo1984 (Thu Feb 20, 2020 11:45 am)

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Thu Feb 20, 2020 7:39 am

Thank you for your work!

I have been having trouble with Worms on GBC for a while now. I believe it might be related to the partial update. If you can't fix it, I don't mind sacrificing that game.

I have also noticed that ucity for gbc now crashes. We seem to have lost some compatibility. The last test version also does that.

EDIT: I have narrowed it down to when the firmware shrank. Something that was necessary for some games has been removed from the gbc emulator.

Link to UCity (open source simcity clone for GBC) https://github.com/AntonioND/ucity

concreted
Posts: 3
Joined: Wed Feb 19, 2020 5:19 pm
languages_spoken: english
ODROIDs: Odroid Go
Has thanked: 6 times
Been thanked: 0
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by concreted » Thu Feb 20, 2020 11:35 am

On 2-19, I'm seeing GB running in "Full" scaling mode on start even if previously changed to "Off" or "Scale". In past releases I think it would remember the last used setting.

One thing I've noticed in 2-19 and 2-17 when testing Link's Awakening DX is that full-screen transitions from look very smooth when scaling is "Off", but a little choppier when scaling is "Scale" or "Full". Moving objects on a single screen look smooth regardless of scaling. I see something similar in Super Mario Land where the horizontal scrolling is slightly choppier when scaling is not "Off".

Will keep testing it out, thanks for the great releases!

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Thu Feb 20, 2020 11:48 am

The scaling bug seems to be present on all platforms.

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

Re: Retro-Go: Yet another emulator launcher

Unread post by lordhardware » Thu Feb 20, 2020 9:43 pm

Performance in GBC is substantially improved in games with single direction scrolling like Donkey Kong.
Mario Tennis looks incredible now when in over world or more static screens, still a bit of slowdown during camera tracking of the ball diagonally, however definately more playable than ANY previously released version of the console.

I'd be happy to gift you a second Odroid Go if you have any working netcode examples

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Sat Feb 22, 2020 5:16 am

Nemo1984 wrote:
Thu Feb 20, 2020 7:39 am
I have also noticed that ucity for gbc now crashes. We seem to have lost some compatibility. The last test version also does that.
EDIT: I have narrowed it down to when the firmware shrank. Something that was necessary for some games has been removed from the gbc emulator.
Thanks for narrowing it down, it was in fact the 8MB support in that same release that caused the issue. It is now fixed!
concreted wrote:
Thu Feb 20, 2020 11:35 am
On 2-19, I'm seeing GB running in "Full" scaling mode on start even if previously changed to "Off" or "Scale". In past releases I think it would remember the last used setting.
Thanks for the report, that's now fixed!
lordhardware wrote:
Thu Feb 20, 2020 9:43 pm
I'd be happy to gift you a second Odroid Go if you have any working netcode examples
That's very generous! I have already ordered one in January but it hasn't shipped yet :(.


I am attaching to this post an experimental/untested (2020-02-21-exp) build with the above fixes and a temporary new option to select the update mode:
- Auto: Current mode, it automatically decides when to do partial or full
- Full: Always do full updates
- Partial: Always do partial updates

The setting is remembered per emulator.

Auto is meant to be the best performance/rendering compromise. However it certainly needs tuning so if a game works better in full or partial please report it!

Thank you all for testing
Attachments
retro-go.zip
(953.81 KiB) Downloaded 20 times
These users thanked the author ducalex for the post (total 2):
concreted (Sun Feb 23, 2020 12:24 pm) • jafox (Sun Feb 23, 2020 6:25 pm)

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Sat Feb 22, 2020 8:34 am

ucity works flawlessly now! Worms doen't work properly, but it never did regardless of the firmwares or settings. I guess it's just not fully compatible.

I really appreciate what you did with that firmware!

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Sun Feb 23, 2020 1:46 am

Nemo1984 wrote:
Sat Feb 22, 2020 8:34 am
Worms doen't work properly, but it never did regardless of the firmwares or settings. I guess it's just not fully compatible.
Can you tell me the exact game name and issue? I tested Worms Armageddon and it seems to work fine but I never played a full game.

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Sun Feb 23, 2020 3:49 pm

ducalex wrote:
Sun Feb 23, 2020 1:46 am
Nemo1984 wrote:
Sat Feb 22, 2020 8:34 am
Worms doen't work properly, but it never did regardless of the firmwares or settings. I guess it's just not fully compatible.
Can you tell me the exact game name and issue? I tested Worms Armageddon and it seems to work fine but I never played a full game.
That's the one. When I use the air strike or move the map to see other worms, the terrain doesn't follow so the worms are floating everywhere.

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Paspartout » Sun Feb 23, 2020 10:42 pm

Nice work! Just found this now and its working great! Thanks.
I really like how there is a clear menu now that prompts if you want to save and quit or just quit when you press menu button.
Every emulator launcher I tried had a different behaviour on menu button. While one saved the state the other one made you hold the menu button to save. This is much better and one thing I wanted to do myself at some point(now I don't have to anymore :D)
Also glad that you got the partial updates working. I remember it being tricky to decide when to frame skip but the Auto mode seems to work nicely in your build. It makes playing some games much more enjoyable.

Here are some suggestions and a bug report:

- When setting the gameboy emulator to full brightness(5/5) and switching to the menu it dims the light and vice versa. The values itself seem to be set properly though.
- When switching GB pallettes it would be nice to have a preview. I think we just unpaused the game for one frame to do that.
- One minor thing would be to remember the position in the options menu. If you wanna tweak a specific item that would make things easier.
- Another minor thing would be having brightness, volume and pallete wrap around, so can do pallete 7->0 with a single press. Its kinda matter of taste though doing it like this.
EDIT:
- Having a reboot to firmware option when pressing menu button in the launcher would be nice as well!

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Mon Feb 24, 2020 10:50 am

@Paspartout
I fixed the brightness bug and implemented most of your suggestions. I also agree with remembering the menu position but it's more involved than it appears so I'll do it later!

@Everyone
A new release is available (2020-02-23). No new major features but I will have less time for a while and I wanted to share the latest improvements.
It contains many bug fixes and a 5-10% fps increase ("full" now reaches 33 fps, which is the max we can possibly achieve on this hardware).

It's attached to the top post or download here!

I'm currently working on linear/bilinear interpolation (filters) and I will also look into the broken GB games mentioned in this thread.
These users thanked the author ducalex for the post (total 7):
Nemo1984 (Mon Feb 24, 2020 11:26 am) • concreted (Mon Feb 24, 2020 12:43 pm) • odroid (Mon Feb 24, 2020 1:09 pm) • jafox (Mon Feb 24, 2020 1:15 pm) • Paspartout (Tue Feb 25, 2020 7:42 am) • myownregister (Tue Feb 25, 2020 4:47 pm) • ripper121 (Tue Feb 25, 2020 5:11 pm)

Shumafuk
Posts: 11
Joined: Mon Feb 17, 2020 5:53 am
languages_spoken: english, czech, polish
ODROIDs: GO Advance
Has thanked: 0
Been thanked: 0
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by Shumafuk » Tue Feb 25, 2020 10:20 pm

I would love to have this launcher on Odroid Go Advance. Simple and effective.

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Wed Feb 26, 2020 12:27 am

I have found a minor bug. Sometimes, when you exit a game, the speaker will emit a hiss. It seems random.

Thanks!

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Wed Feb 26, 2020 12:53 am

Nemo1984 wrote:
Wed Feb 26, 2020 12:27 am
I have found a minor bug. Sometimes, when you exit a game, the speaker will emit a hiss. It seems random.

Thanks!
I can't reproduce but I've added code to disable the speaker more forcefully when the emulator stops AND when the launcher starts, can you test this build see if it helps?

Thanks
Attachments
retro-go_audio-gpio-fix.zip
(940.13 KiB) Downloaded 9 times
These users thanked the author ducalex for the post (total 4):
Nemo1984 (Wed Feb 26, 2020 7:11 am) • odroid (Wed Feb 26, 2020 9:20 am) • jafox (Wed Feb 26, 2020 10:04 am) • concreted (Wed Feb 26, 2020 1:46 pm)

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Wed Feb 26, 2020 7:11 am

ducalex wrote:
Wed Feb 26, 2020 12:53 am
Nemo1984 wrote:
Wed Feb 26, 2020 12:27 am
I have found a minor bug. Sometimes, when you exit a game, the speaker will emit a hiss. It seems random.

Thanks!
I can't reproduce but I've added code to disable the speaker more forcefully when the emulator stops AND when the launcher starts, can you test this build see if it helps?

Thanks
Yup, that fixed it. Many thanks!

EDIT: I have found a small bug in the menu. When you set a volume level in game, you can't lower it direcly in the menu after you exit the game. You have to raise it again and then lower it. It only does that on level 4. Very strange.

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Thu Feb 27, 2020 2:41 pm

concreted wrote:
Wed Feb 19, 2020 5:43 pm
Another longstanding issue with the other emulators is a freeze bug in GBC Metal Gear Solid, if you have any chance of looking into that I would be very happy :) viewtopic.php?t=31541
Could you provide a save game to reproduce the bug? The link for the save is dead and the video seems to imply the bug occurs an hour into the game which is a bit too long for me.
Nemo1984 wrote:
Wed Feb 26, 2020 7:11 am
EDIT: I have found a small bug in the menu. When you set a volume level in game, you can't lower it direcly in the menu after you exit the game. You have to raise it again and then lower it. It only does that on level 4. Very strange.
Thanks for narrowing it down, it is now fixed :). As a side note: I've got Worms Armageddon to work! I'm attaching a build to this post if you want to help me test (and more importantly see if I broke other games in the process). It took forever to debug so I haven't tested much myself yet.
Attachments
retro-go-worms-UNTESTED.zip
Worms Armageddon fix. This build is untested!
(940.34 KiB) Downloaded 5 times

concreted
Posts: 3
Joined: Wed Feb 19, 2020 5:19 pm
languages_spoken: english
ODROIDs: Odroid Go
Has thanked: 6 times
Been thanked: 0
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by concreted » Thu Feb 27, 2020 5:34 pm

Could you provide a save game to reproduce the bug? The link for the save is dead and the video seems to imply the bug occurs an hour into the game which is a bit too long for me.
Sure, please try the attached save. After loading hit the Up button on the right side of the elevator and you should see it crash a few seconds after the elevator starts moving.
Attachments
Metal Gear Solid (USA).gbc.sav.zip
(8.83 KiB) Downloaded 2 times

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Fri Feb 28, 2020 9:28 am

Here are the problems I found with this test:
1942: Scrolling clouds are wonky on intro
Toy Story Racer: Unplayable, Sprites errors
Obelix: Crashes
Oracle of ages: Wonky scrolling background in intro. Was a bit weird with the previous release, but not as bad.
Oracles of seasons: Wonky intro. Again, was a bit weird with the previous release, but got worst.

It's a no go for me. It is unfortunate.

Thank you for your work!

ducalex
Posts: 82
Joined: Sun May 19, 2019 3:29 am
languages_spoken: english, french
Has thanked: 18 times
Been thanked: 86 times
Contact:

Re: Retro-Go: Yet another emulator launcher

Unread post by ducalex » Fri Feb 28, 2020 10:11 am

concreted wrote:
Thu Feb 27, 2020 5:34 pm
Could you provide a save game to reproduce the bug? The link for the save is dead and the video seems to imply the bug occurs an hour into the game which is a bit too long for me.
Sure, please try the attached save. After loading hit the Up button on the right side of the elevator and you should see it crash a few seconds after the elevator starts moving.
Thanks that's perfect, I can replicate the crash.
Nemo1984 wrote:
Fri Feb 28, 2020 9:28 am
Here are the problems I found with this test:
1942: Scrolling clouds are wonky on intro
Toy Story Racer: Unplayable, Sprites errors
Obelix: Crashes
Oracle of ages: Wonky scrolling background in intro. Was a bit weird with the previous release, but not as bad.
Oracles of seasons: Wonky intro. Again, was a bit weird with the previous release, but got worst.

It's a no go for me. It is unfortunate.

Thank you for your work!
Thank you for the variety, it will make debugging easier. So far they all seem affected by the same interrupt. Can you confirm that Worms is playable? Worst case scenario I can do a game-specific check.

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

Re: Retro-Go: Yet another emulator launcher

Unread post by Nemo1984 » Fri Feb 28, 2020 12:10 pm

Worms is playable! No more bugs. While the worms are a bit jumpy while scrolling(might have been how it originally ran) everything works great! Thank you!

EDIT: As for the wonky effects on oracle of ages and seasons on latest official release, it seems to trigger when the screen goes cinematc. Also happens on Triforce I think.

Post Reply

Return to “Game Emulators”

Who is online

Users browsing this forum: No registered users and 1 guest