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,

radaq

Active Member
Newcomer
Joined
May 15, 2018
Messages
27
Trophies
0
Age
24
XP
184
Country
United States
Yeah it's frustrating to make progress just to lose it. I'd recommend saving often and updating anytime a new version is out to see if it helps fix any issues.
Ive been but its kind of annoying saving every 15mins...
I only save when something big or huge happens, like I just evolved my Pokemon so I saved that but yeah.
 
D

Deletedmember448668

Guest
radaq: I’m getting annoying switch crashes with the 7update on pokémon emerald...
I put 15mins in leveling up my pokémon in the game to have it crash my switch....
Wow you sound like a spoiled brat! It's your own fault for expecting it to be flawless. It's a port for one, two it's in early development, and three.. not meant to be an end game emulator. Im refraining from cussing you out..but it's hard to not call you for what you are...dense af
 
Last edited by ,

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
For all those complaining about crashing, saving issues, graphical glitches the proof is right here how far along this emulator has come.



Do some research before talking down on the emulator, developer or this project.

We are always willing to help those who are also willing to help themselves and others. Keep things positive and have patience it's amazing and we are all LUCKY ENOUGH how far this emulator has come.

The developer said it was temporary and not being updated much or at all but look people work together and we've all got something useable and playable to enjoy.

All the best @jakibaki and be sure to contact that other developer I mentioned previously about a potential game selection screen. It really does have potential and looks amazing to go along with GBA and GBC
 

Bedel

The key of the blade
Member
Joined
Oct 28, 2015
Messages
1,384
Trophies
0
XP
2,838
Country
United States
For all those complaining about crashing, saving issues, graphical glitches the proof is right here how far along this emulator has come.



Do some research before talking down on the emulator, developer or this project.

We are always willing to help those who are also willing to help themselves and others. Keep things positive and have patience it's amazing and we are all LUCKY ENOUGH how far this emulator has come.

The developer said it was temporary and not being updated much or at all but look people work together and we've all got something useable and playable to enjoy.

All the best @jakibaki and be sure to contact that other developer I mentioned previously about a potential game selection screen. It really does have potential and looks amazing to go along with GBA and GBC

Hey bro, what are you using to play with your PS4 controller? I've done some research, but everything costs too much for me.
 

Eternam

Well-Known Member
Newcomer
Joined
May 21, 2018
Messages
73
Trophies
0
Age
38
XP
1,453
Country
Argentina
First time posting so I first wanted to thank you @jakibaki and the other users that contribute to this emulator. Its been great, I havent had a single crash on it. I mostly played Pokemon Ruby (5 hours), Link to the past (up to the dark world and super mario world (up to the second island). Yeah, I really want an Snes emulator for 4.1. I tryed some other games, some where slow or had grafical glitches that prevented me for playing but other than that, no problem on my end.
The only thing that I encounter trouble with was with mist. On a cage on Pokemon Ruby and in the lost woods on Link to the past. With v08 experimental the lost woods were fix but with slow framerate so I did what I had to do, got out of the woods, saved an load back in with the stable V08. But the problem continues on pokemon Ruby, anyone has any idea how to get around it? I dont mind if it means lower framerate Inside the cave. Thanks and keep up the good work.
Pokemon ruby mist problem: imgur. com/a/oOOVp3t
 

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
  • Like
Reactions: SkyAeolus and Bedel

OkazakiTheOtaku

no thanks, I don't want a custom title
Member
Joined
Jul 20, 2016
Messages
1,461
Trophies
1
Location
127.0.0.1
XP
3,114
Country
Japan
*snip*
------
Anyway, @jakibaki the newest version of the emulator (v8) is rock-solid. I'm playing Rhythm Tengoku and a hack of FireRed and it's flawless. I've never docked my hacking switch so I don't know how it is in that regard, but handheld is great. Thanks for all of your work!

It's worth noting that FTPD for Switch can only send files to the Switch, not send them to your client. So reading crash logs would need the SD card removed, sadly. I'm sure when Atmosphere is in full swing that will be fixed, or a replacement FTP server will come.
 
Last edited by porkiewpyne,

radaq

Active Member
Newcomer
Joined
May 15, 2018
Messages
27
Trophies
0
Age
24
XP
184
Country
United States
For all those complaining about crashing, saving issues, graphical glitches the proof is right here how far along this emulator has come.



Do some research before talking down on the emulator, developer or this project.

We are always willing to help those who are also willing to help themselves and others. Keep things positive and have patience it's amazing and we are all LUCKY ENOUGH how far this emulator has come.

The developer said it was temporary and not being updated much or at all but look people work together and we've all got something useable and playable to enjoy.

All the best @jakibaki and be sure to contact that other developer I mentioned previously about a potential game selection screen. It really does have potential and looks amazing to go along with GBA and GBC


No one is downing or complaining! The developer said to reply to him if there is crashes! Stop ASSUMING. I'm blocking you too.
 

JJTapia19

I fight for my friends.
Member
Joined
May 31, 2015
Messages
2,171
Trophies
1
Age
32
XP
2,438
Country
Puerto Rico
Wanted to let you know that V8 has been solid! I'm not getting the random crashes I was getting earlier. 8.5 is looking great with all the textures and effects displaying properly but it takes a massive hit at performance on most game I've tried. I'm sure that once the scene devs figure out how to get Hardware Acceleration it would run perfect. Thanks a lot for your amazing work again @jakibaki & @gdkchan
 
  • Like
Reactions: jakibaki

radaq

Active Member
Newcomer
Joined
May 15, 2018
Messages
27
Trophies
0
Age
24
XP
184
Country
United States
Wanted to let you know that V8 has been solid! I'm not getting the random crashes I was getting earlier. 8.5 is looking great with all the textures and effects displaying properly but it takes a massive hit at performance on most game I've tried. I'm sure that once the scene devs figure out how to get Hardware Acceleration it would run perfect. Thanks a lot for your amazing work again @jakibaki & @gdkchan

8 2.5 fixed a lot of graphics issues I didn't even realize in pokemon emerald, but people are getting butthurt just because I pointed out there was crashing when the developer asked for people to report crashing in a certain game.
 

KuraudoSutoraifu

Well-Known Member
Member
Joined
May 6, 2016
Messages
138
Trophies
0
XP
415
Country
Germany
So... to get back to topic, I noticed a few new graphical glitches that got introduced with v8.5 in Fire Emblem (Blazing Blade). There seems to be an issue with some windows / different layers?:

x2TadYF.png

For example, the keyboard on the name select screen doesn't show up.
Other examples are the unit info screen:

BGZRV6L.png

And "cutscenes":

H1mib2P.png
 
  • Like
Reactions: SkyAeolus
D

Deletedmember448668

Guest
Testing Golden Sun on v8.5. Running sooo much better! Shot this quick video on the spot, sorry for my hands shaking, i didnt have a real camera mount and my hands had to be in an akward position over my desk haha.

 

JJTapia19

I fight for my friends.
Member
Joined
May 31, 2015
Messages
2,171
Trophies
1
Age
32
XP
2,438
Country
Puerto Rico
I think it's not fair to keep calling this a temporary solution until retroarch comes. I mean I understand that was the original intention but now that the official emulator creator @gdkchan has stepped in and it's taking time to work and fix core emulator functions, I think it has evolved from a temporary solution. I hope the the core emulator is also getting beter with the fixes being introduced for this port. I'll be funny if in the future retroarch is having some issues with some games and people start recommending using this instead.
 
  • Like
Reactions: radaq and Eternam
D

Deletedmember448668

Guest
I think it's not fair to keep calling this a temporary solution until retroarch comes. I mean I understand that was the original intention but now that the official emulator creator @gdkchan has stepped in and it's taking time to work and fix core emulator functions, I think it has evolved from a temporary solution. I hope the the core emulator is also getting beter with the fixes being introduced for this port. I'll be funny if in the future retroarch is having some issues with some games and people start recommending using this instead.
Could be a viable option if maintained even after retroarch release
 
  • Like
Reactions: JJTapia19

radaq

Active Member
Newcomer
Joined
May 15, 2018
Messages
27
Trophies
0
Age
24
XP
184
Country
United States
I think it's not fair to keep calling this a temporary solution until retroarch comes. I mean I understand that was the original intention but now that the official emulator creator @gdkchan has stepped in and it's taking time to work and fix core emulator functions, I think it has evolved from a temporary solution. I hope the the core emulator is also getting beter with the fixes being introduced for this port. I'll be funny if in the future retroarch is having some issues with some games and people start recommending using this instead.

I agree, I message him about this and I ask him if he neeeded any help but he said he wants to keep it temporarily.
It’s open source so anyone can work on it if he doesn’t want too.
 

SkyAeolus

Active Member
Newcomer
Joined
May 19, 2018
Messages
39
Trophies
0
Age
27
XP
82
Country
United States
I think it's not fair to keep calling this a temporary solution until retroarch comes. I mean I understand that was the original intention but now that the official emulator creator @gdkchan has stepped in and it's taking time to work and fix core emulator functions, I think it has evolved from a temporary solution. I hope the the core emulator is also getting beter with the fixes being introduced for this port. I'll be funny if in the future retroarch is having some issues with some games and people start recommending using this instead.

A good friend of mine actually helped rewrite some script and submitted it back to him, which may or may not have prompted him to work on it some more. (I'd like to say he's responsible for v8.5)
That same friend is also trying to port vba over to the switch, which is a larger task in itself. So if this doesn't pan out maybe his project will.
He's more of a lurker than a poster though.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @salazarcosplay, I heard herbert stopped appearing on the show