RELEASE GameBoy Advance Emulator port - gdkGBA (works on 5.0)

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by jakibaki, May 17, 2018.


    64,925

    433
    Front-page RELEASE
    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)

    [​IMG]

    [​IMG]

    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).
     
    Discussion (433 replies)
  1. jcrorxp

    jcrorxp Member

    Newcomer
    1
    May 2, 2018
    China
    thank you, GBA is my memories
     
  2. metaloyd23

    metaloyd23 Newbie

    Newcomer
    1
    Apr 19, 2016
    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? ._.
     
  3. swabbo

    swabbo Wot u doin readin dis m8?

    Member
    5
    Mar 9, 2011
    East Yorkshire/ A Bin
    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
     
    Milad and willhack like this.
  4. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    6
    Mar 3, 2017
    Germany
    gbc also supports multirom now :)
     
  5. Galahad121

    Galahad121 Member

    Newcomer
    2
    May 2, 2018
    Brazil
    Does it run at full speed?
     
  6. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    6
    Mar 3, 2017
    Germany
    In the games I tested it did run at full speed!
     
    Leonidas87 and Galahad121 like this.
  7. Galahad121

    Galahad121 Member

    Newcomer
    2
    May 2, 2018
    Brazil
    Wow! now that's impressive. Thanks for porting it mate.
     
  8. SimonMKWii

    SimonMKWii GBAtemp Advanced Fan

    Member
    9
    Nov 18, 2017
    Australia
    Melbourne, Victoria
    This is fantastic!
    And that audio... uh, yeah, about that.
     
  9. javilobo8

    javilobo8 Advanced Member

    Newcomer
    2
    May 10, 2018
    Spain
    Great work!!!! Thank you
     
  10. shinyrocara98

    shinyrocara98 Advanced Member

    Newcomer
    2
    Jan 26, 2017
    Gambia, The
    Thank you :3

    Gesendet von meinem TA-1053 mit Tapatalk
     
  11. Leonidas87

    Leonidas87 GBAtemp Advanced Fan

    Member
    5
    Jul 15, 2014
    Canada
    Toronto, Ontario
    Yes you were able to get that working, wonder what the selection screen looks like. Games do not need renaming to rom anymore I'm guessing.
     
  12. Zumoly

    Zumoly GBATemp Analyst

    Member
    5
    Apr 27, 2018
    Mali
    Yorosso
    Thank you very much for the hard work on this.
     
    H1B1Esquire likes this.
  13. Hondyn

    Hondyn GBAtemp Regular

    Member
    3
    Jan 2, 2018
    United Kingdom
    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.
     
    H1B1Esquire and Subtle Demise like this.
  14. xXDungeon_CrawlerXx

    xXDungeon_CrawlerXx GBAtemp Advanced Maniac

    Member
    8
    Jul 29, 2015
    Liverpool
    Tried to play Pokemon Flora Sky (RomHack).
    It worked a few minutes until I had to name my character.
    got a Nintendo Error Message and the Switch restarted itself.
     
    TechDark and cagycee like this.
  15. annson24

    annson24 The Patient One

    Member
    5
    May 5, 2016
    Philippines
    From GBC emulator to GBA emulator, you're really stepping up your game man. Good job. Take my like.
     
  16. Proto-Propski

    Proto-Propski Legally Weird!

    Member
    3
    Apr 29, 2018
    United Kingdom
    Boulevard of Broken Meme's
    Stunning work OP, you're doing the lords work.

    Now if you don't mind, I'll be face first in some PoKeMoN goodness.
     
    Last edited by Proto-Propski, May 17, 2018
  17. Leonidas87

    Leonidas87 GBAtemp Advanced Fan

    Member
    5
    Jul 15, 2014
    Canada
    Toronto, Ontario
    I've tried running the same games as before and it does not load.

    See Nommat very quickly then the emulator goes black

    — Posts automatically merged - Please don't double post! —

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

    — Posts automatically merged - Please don't double post! —

    Nvm haha this is NEW.

    GBA not GBC so sorry my mistake.

    GREAT WORK.
     

    Attached Files:

  18. Get a second SD card! One for your stock switch games and the other for emulated games/cfw
     
    Vorde likes this.
  19. Leonidas87

    Leonidas87 GBAtemp Advanced Fan

    Member
    5
    Jul 15, 2014
    Canada
    Toronto, Ontario
    Will the save file be different for each game as before? Or does each game get it's own save file name this time around.

    I know previously the save file was overwritten no matter what game for GBC
     
    Last edited by Leonidas87, May 17, 2018
Loading...