GameBoy Advance Emulator port - gdkGBA (works on 5.0)

With the release of vba this emulator is now officially discontinued!

Many many thanks to everyone that helped! :)



I ported the gameboy advance emulator gdkGBA (originally made by gdkchan) to the nintendo switch! (Works on all versions as far as I know)

A0pc3wc.jpg


uMoaxJb.jpg


To set up I strongly recommend putting the original gba_bios.bin in sd:/switch/gba_bios.bin!
After that put the roms into sd:/switch/roms/ and start the homebrew.

As soon as retroarch gets updated for 5.0 this will instantly become obsolete!

source (you need the sdl2-libraries from the devkit-pro pacman to build this)

Known issues:
Sound is a bit weird (it seems like sometimes the wrong instruments play)
Some games seem to crash the switch after a while. (mostly fixed in v8)
Sometimes the switch likes to crash even in games that normally run pretty stable :/ (fixed in v8 I think)
Some games have graphical glitches/don't work at all
Saving doesn't work on some games. If that happens please don't hesitate to tell me and for now you can set (buggy) savestates using plus+r and load them using plus+l.

Please update to the latest version before reporting Problems!

Game compatibility list

UPDATE:
Sound now much better now! Many thanks to @renhei for the fix!
UPDATE2:
Changed rompath from sd:/switch/roms to sd:/switch/roms/gba in order to avoid confusion with the gbc emulator. Also double joycons now work in unattached mode!
UPDATE3:
Merged gdkchans changes to the ppu. Some games that had problems with artifacts on screen (I tried harvest moon) now look much better! However this is apparently causing trouble in some games so I also attached v2.
UPDATE4:
Added proper in-gaming-saving support! The old buggy savestate-feature is now read-only (so that you can move your progress to the new save-files). I recommend removing the old .savegame-file after making sure the new, better in-game-saving works correctly in order to make sure that you don't accidentally load it :)
Many thanks to @gdkchan for fixing some underlying issues with the in-game-saves of this emulator!
Also I added support for the original gba_bios.bin:
If you want to use it (which I strongly recommend since the open-source-one that's bundled is causing trouble with some games) put it into sd:/switch/gba_bios.bin
UPDATE5:
In game saving should now actually work in most games! Many thanks to @gdkchan for explaining to me how the gba handles saves!
UPDATE6:
Recompiled everything with latest libnx. Hopefully fewer crashes now.
UPDATE7:
Savestate feature is back. Please only use if the savegames fail as it is known to sometimes cause issues!
UPDATE8:
Updated libnx (again) and made a few small fixes. If you're experiencing fewer/more crashes please don't hesitate to tell me :)
UPDATE8.5 (Experimental only):
Pushed the new graphics-fixes from @gdkchan. Please only use them if you're experiencing graphical glitches since they introduce a large slowdown in some games.
UPDATE8.6 (Experimental only):
Pushed @gdkchans new fixes+optimisations. The experimental version should now run a bit faster!
UPDATE9:
Saving should now be more reliable again (makes the save-feature work as it did in v7 again).
 

Attachments

  • gdkGBA (v2).zip
    338.9 KB · Views: 407
  • gdkGBA v3 (experimental).zip
    340.2 KB · Views: 205
  • gdkGBA (v4).zip
    337.9 KB · Views: 283
  • gdkGBA (v5).zip
    337.9 KB · Views: 283
  • gdkGBA (v5 with experimental graphics-patches).zip
    339.1 KB · Views: 205
  • gdkGBA (v6 with experimental graphics-patches).zip
    338.9 KB · Views: 196
  • gdkGBA (v6).zip
    337.9 KB · Views: 339
  • gdkGBA (v7 with experimental graphics-patches).zip
    339.3 KB · Views: 365
  • gdkGBA (v7).zip
    338.1 KB · Views: 1,335
  • gdkGBA (v8 with experimental graphics-patches).zip
    342.1 KB · Views: 378
  • gdkGBA (v8).zip
    340.9 KB · Views: 986
  • gdkGBA (v8.5 with experimental graphics-patches).zip
    347.4 KB · Views: 528
  • gdkGBA (v8.6 with experimental graphics patches).zip
    347.3 KB · Views: 350
  • gdkGBA (v9).zip
    340.9 KB · Views: 1,887
  • gdkGBA (v9 with experimental graphics-patches).zip
    347.3 KB · Views: 1,021
Last edited by jakibaki,

metaloyd23

Member
Newcomer
Joined
Apr 19, 2016
Messages
7
Trophies
0
Age
25
XP
95
Country
This is what i have been expecting since first news of scene *-* gba is the key.
I dont know anything about programing, but why gba supports multiroms and gbc dont? ._.
 

Hondyn

Well-Known Member
Member
Joined
Jan 2, 2018
Messages
258
Trophies
0
Age
34
XP
607
Country
United Kingdom
I ported the gameboy advance emulator gdkGBA (originally made by gdkchan) to the nintendo switch!

A0pc3wc.jpg


uMoaxJb.jpg


Unfortunately this emulator doesn't support in-game-saving (it crashes when you attempt to save!) so I added an savestate feature:
Press Plus+R so save the current state and Plus+L to load it again.

Simply put the rom into sd:/switch/roms/ and start the homebrew.

As soon as retroarch gets updated for 5.0 this will instantly become obsolete!

source (you need the sdl2-libraries from the devkit-pro pacman to build this)

Known issues:
The sound is a bit off.
After loading a savestate the sound gets even more off for a few seconds (or until the music changes)
You was the one who fixed the gbc joycon, background black screen and multirom selection right? And now you have just given us the oportunity to play gba. Thank you for your awesome job.
 

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
652
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
939
Country
Canada
In the games I tested it did run at full speed!
I've tried running the same games as before and it does not load.

See Nommat very quickly then the emulator goes black

--------------------- MERGED ---------------------------

This is what I see leading a game, then just black screen.

--------------------- MERGED ---------------------------

Nvm haha this is NEW.

GBA not GBC so sorry my mistake.

GREAT WORK.
 

Attachments

  • 1526554412394144325984091746136.jpg
    1526554412394144325984091746136.jpg
    1.5 MB · Views: 645
D

Deletedmember448668

Guest
Still haven't taken the leap into trying to run CFW and stuff yet, don't really wanna wipe my microSD card, but it's getting more and more tempting each day :D
Get a second SD card! One for your stock switch games and the other for emulated games/cfw
 
  • Like
Reactions: Vorde
General chit-chat
Help Users
  • No one is chatting at the moment.
    DEMONGreninjaPG @ DEMONGreninjaPG: :gun::gun::gun::gun::gun::gun::bortz::bortz: