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: 498
  • gdkGBA v3 (experimental).zip
    340.2 KB · Views: 250
  • gdkGBA (v4).zip
    337.9 KB · Views: 328
  • gdkGBA (v5).zip
    337.9 KB · Views: 341
  • gdkGBA (v5 with experimental graphics-patches).zip
    339.1 KB · Views: 249
  • gdkGBA (v6 with experimental graphics-patches).zip
    338.9 KB · Views: 237
  • gdkGBA (v6).zip
    337.9 KB · Views: 394
  • gdkGBA (v7 with experimental graphics-patches).zip
    339.3 KB · Views: 414
  • gdkGBA (v7).zip
    338.1 KB · Views: 1,410
  • gdkGBA (v8 with experimental graphics-patches).zip
    342.1 KB · Views: 440
  • gdkGBA (v8).zip
    340.9 KB · Views: 1,046
  • gdkGBA (v8.5 with experimental graphics-patches).zip
    347.4 KB · Views: 606
  • gdkGBA (v8.6 with experimental graphics patches).zip
    347.3 KB · Views: 398
  • gdkGBA (v9).zip
    340.9 KB · Views: 2,087
  • gdkGBA (v9 with experimental graphics-patches).zip
    347.3 KB · Views: 1,183
Last edited by jakibaki,

mbcrazed

Well-Known Member
Member
Joined
Nov 10, 2012
Messages
695
Trophies
1
Location
GBATemp
XP
2,082
Country
United States
-snip-

There's no reason for you to be rude. There is nothing wrong with being excited about the release of new Homebrew/emulators and making a video about it. Let people have their fun!
 
  • Like
Reactions: Leonidas87

Galahad121

Member
Newcomer
Joined
May 2, 2018
Messages
20
Trophies
0
Age
29
XP
194
Country
Brazil
-snip-
I think most of the problem is you being very agressive. There's simply no need for that.

Anyways shall we go back on topic? The guy makes the effort to make a very nice port for us to enjoy and we are shitting his thread.
 
  • Like
Reactions: Leonidas87

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
I think most of the problem is you being very agressive. There's simply no need for that.

Anyways shall we go back on topic? The guy makes the effort to make a very nice port for us to enjoy and we are shitting his thread.

He has now brought GBC and GBA to 4.x.x and 5.x.x very impressive in such a short time.

What's next lol he will surprise us with N64
 
D

Deletedmember448668

Guest
I think most of the problem is you being very agressive. There's simply no need for that.

Anyways shall we go back on topic? The guy makes the effort to make a very nice port for us to enjoy and we are shitting his thread.
Good point sorry. This GBA port is great, glad to see the audio being fixed on this little project, maybe Snes next? Not sure how much work has to go into porting these over
 
Last edited by ,
  • Like
Reactions: Galahad121

Galahad121

Member
Newcomer
Joined
May 2, 2018
Messages
20
Trophies
0
Age
29
XP
194
Country
Brazil
The real endgame for switch emulators are 6 gen consoles (GC,Wii?,PS2), until that happens i'll be playing the GOAT handheld: the GBA.

Sigh... time to start Pokemon fire red and golden sun again... lol
 

Raynx

Member
Newcomer
Joined
Mar 2, 2018
Messages
18
Trophies
0
Age
26
XP
105
Country
Germany
man, this has finally brought me to try hekate. I have no problem that the sound sucks, but sadly for me it crashes after a while (~5 minutes). Im on 4.1.0
But thank you for all the hard work, really appreciated :)
 
  • Like
Reactions: Deletedmember448668

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
It's been a busy day lol

Finally back on track.

Two quick questions, did we get the rom directory moved to switch/roms/GBA?

To better help keep games organized in our Roms folder of course.

I read something about audio optimisation or it running a bit better. Is that build out?

Yes I'm reading back in the thread I'm usually caught up a bit more.

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

@jakibaki I wanted to let you know earlier both the GBC and GBA emulators run in docked mode BUT after a few minutes errors out and you have to restart the switch.

NO it is not priority for docked mode with the emulators but I did want to bring it to your attention.
 

jakibaki

Well-Known Member
OP
Member
Joined
Mar 3, 2017
Messages
296
Trophies
0
Age
26
XP
1,826
Country
Germany
It's been a busy day lol

Finally back on track.

Two quick questions, did we get the rom directory moved to switch/roms/GBA?

To better help keep games organized in our Roms folder of course.

I read something about audio optimisation or it running a bit better. Is that build out?

Yes I'm reading back in the thread I'm usually caught up a bit more.

I'll probably move the folders in the next release :)

@jakibaki I wanted to let you know earlier both the GBC and GBA emulators run in docked mode BUT after a few minutes errors out and you have to restart the switch.

NO it is not priority for docked mode with the emulators but I did want to bring it to your attention.

Thanks for letting me know this. Unfortunately I can't debug this as I don't own anything to dock my switch into.
If any other dev has any idea why this happens I'd gladly fix it.
 
Last edited by jakibaki,
  • Like
Reactions: Leonidas87

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
I'll probably move the folders in the next release :)



Thanks for letting me know this. Unfortunately I can't debug this as I don't own anything to dock my switch into.
If any other dev has any idea why this happens I'd gladly fix it.

I'll do some research and see what I can find in regards to the docking issue thing.

As for the games folder director greatly appreciated, many people including yourself I'm sure see the benefit of keeping our roms folder organized. It will be stacked before we know it lol longer to find things.

All the best take your time.

Thanks again playing Pokemon Red my first ever Pokemon game brings me back to my childhood sitting under a lamp with my ORIGINAL Gameboy, green display no backlight. Those were the days were you had to work for what you wanted, kind of like homebrew now
 

Site & Scene News

Popular threads in this forum

Recent Content

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=A0FyqCEfD0E