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: 249
  • gdkGBA (v4).zip
    337.9 KB · Views: 327
  • 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: 393
  • gdkGBA (v7 with experimental graphics-patches).zip
    339.3 KB · Views: 413
  • gdkGBA (v7).zip
    338.1 KB · Views: 1,409
  • gdkGBA (v8 with experimental graphics-patches).zip
    342.1 KB · Views: 439
  • gdkGBA (v8).zip
    340.9 KB · Views: 1,045
  • 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,085
  • gdkGBA (v9 with experimental graphics-patches).zip
    347.3 KB · Views: 1,182
Last edited by jakibaki,

Hyeon

New Member
Newbie
Joined
May 18, 2018
Messages
2
Trophies
0
Age
33
XP
73
Country
Korea, South
Hello I follow that cannot use it.... 5.0.2 version and the roms is in the switch folder.. when i runing the Emulator. I cannot select folder or roms.. can you help me?
 

Attachments

  • IMG_4929.JPG
    IMG_4929.JPG
    1.4 MB · Views: 323

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
Hello I follow that cannot use it.... 5.0.2 version and the roms is in the switch folder.. when i runing the Emulator. I cannot select folder or roms.. can you help me?

Roms need to be placed in the gbc or gba folder within the roms folder itself.

Create gbc and gba in your roms folder and put your games there. Report back.

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

This should honestly save people a lot of questions and help out in making it easier to get this up and running for everyone.

GameBoyAdvance and GameBoyColour (Tutorial) video:



Just remember roms go in the gbc or GBA folder withing the roms folder itself.

GBA roms MUST be in the NEW LOCATION sd:/switch/roms/gba DUE TO NEW UPDATE

GBC roms MUST be in the NEW LOCATION sd:/switch/roms/gbc DUE TO NEW UPDATE
 
Last edited by Leonidas87,

Hyeon

New Member
Newbie
Joined
May 18, 2018
Messages
2
Trophies
0
Age
33
XP
73
Country
Korea, South
Roms need to be placed in the gbc or gba folder within the roms folder itself.

Create gbc and gba in your roms folder and put your games there. Report back.

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

This should honestly save people a lot of questions and help out in making it easier to get this up and running for everyone.

GameBoyAdvance and GameBoyColour (Tutorial) video:



Just remember roms fo in the gbc or GBA folder withing the roms folder itself.

GBA roms MUST be in the NEW LOCATION sd:/switch/roms/gba DUE TO NEW UPDATE

GBC roms MUST be in the NEW LOCATION sd:/switch/roms/gbc DUE TO NEW UPDATE


Thanks alots ! It is working
 

ChampionLeake

NTR/TWL Exploiter
Member
Joined
Jan 19, 2016
Messages
209
Trophies
0
Age
25
XP
673
Country
United States
Couldn't get Minish Cap to work. Can someone confirm if they have the same issue? Well, it only went far as in the save menu but the graphics screwed up and you basically can't do anything
 

JJTapia19

I fight for my friends.
Member
Joined
May 31, 2015
Messages
2,171
Trophies
1
Age
32
XP
2,438
Country
Puerto Rico
The same games I tested yesterday with update 2 are having slowdowns and in less than 2 minutes of gameplay I'm getting an blackscreen error message forcing to restart with update 3. I tried without using the old savestates but still. I'll go back to update 2 just wanted to report. Thanks again for your work @gdkchan & @jakibaki .
 

jsan

Member
Newcomer
Joined
Sep 7, 2017
Messages
19
Trophies
0
Age
45
XP
172
Country
Spain
Same problem here, the game is not playable, can't get past the select save slot page (I presume, bc the graphics are messed up). Any workarounds would be really welcome.
Couldn't get Minish Cap to work. Can someone confirm if they have the same issue? Well, it only went far as in the save menu but the graphics screwed up and you basically can't do anything
 

gdkchan

Well-Known Member
Member
Joined
Jul 8, 2015
Messages
181
Trophies
0
Age
26
XP
425
Country
Brazil
Same problem here, the game is not playable, can't get past the select save slot page (I presume, bc the graphics are messed up). Any workarounds would be really welcome.
I checked this problem, it's a bug on normatt's open source gba bios. The problem doesn't occur if you use the original bios.
 
  • Like
Reactions: jakibaki

jsan

Member
Newcomer
Joined
Sep 7, 2017
Messages
19
Trophies
0
Age
45
XP
172
Country
Spain
Ah, nice! thanks for the tip. How can we use another bios? Copy it to /Switch/bios/gba_bios.bin?
I checked this problem, it's a bug on normatt's open source gba bios. The problem doesn't occur if you use the original bios.
 

Bedel

The key of the blade
Member
Joined
Oct 28, 2015
Messages
1,384
Trophies
0
XP
2,831
Country
United States
Little question: would be anu chance of you putting a battery icon in some corner? Since we cannot use sleep mode and is not a good idea to go to home menu to see it (since it closes te emulator) it would be a great function. Or only a label with the % could be okay.
 

chronoss

Well-Known Member
Member
Joined
May 26, 2015
Messages
3,007
Trophies
1
XP
4,890
Country
Congo, Republic of the
@jakibaki : can you change the patch of rom to sd:/switch/gdkGBA/roms/gba because we have a rom folder on HBL menu and it's not very good to see this empty folder...
 

jakibaki

Well-Known Member
OP
Member
Joined
Mar 3, 2017
Messages
296
Trophies
0
Age
25
XP
1,816
Country
Germany
I checked this problem, it's a bug on normatt's open source gba bios. The problem doesn't occur if you use the original bios.
Oh, I wouldn't ever have figured this out on my own, thanks for the hint! :D

In the next update I'll allow people to put an replacement-bios on the sd-card :)

The update probably will only be in a few days though as I don't have as much time on my hands anymore :/
 
Last edited by jakibaki,

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
Oh, I wouldn't ever have figured this out on my own, thanks for the hint! :D

In the next update I'll allow people to put an replacement-bios on the sd-card :)

Any way to make the Game Selection screen a list of the games for GBA and GBC instead of just seeing each game one by one?

Just an idea, my collection would definitely be easier to scroll through and find specific games if it showed all the games in the folder (minus the save files).
 

DustyLemon

New Member
Newbie
Joined
May 18, 2018
Messages
4
Trophies
0
Age
30
XP
75
Country
United Kingdom
after the third update roms that where working before are now losing textures like the floor in pokemon emerald is completely black and can only see character sprites,did not have this on release
 

jakibaki

Well-Known Member
OP
Member
Joined
Mar 3, 2017
Messages
296
Trophies
0
Age
25
XP
1,816
Country
Germany
after the third update roms that where working before are now losing textures like the floor in pokemon emerald is completely black and can only see character sprites,did not have this on release
Oh, that's bad :/ I'll attach v2 as an alternative to the main post for now.
 
  • Like
Reactions: DustyLemon

S1DD

New Member
Newbie
Joined
May 13, 2018
Messages
4
Trophies
0
Age
38
XP
68
Country
Italy
Mine says: Can't find dir!

What's the problem? i inserted roms into switch dir, and then roms dir

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

Technically is: Failed to open dir!
 
  • Like
Reactions: chronoss

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: roms wont boot with wood r4menu