1. 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).
     
  2. Discussion (436 replies)

  3. jcrorxp

    jcrorxp Advanced Member
    Newcomer

    Joined:
    May 2, 2018
    Messages:
    65
    Country:
    China
    thank you, GBA is my memories
     
  4. metaloyd23

    metaloyd23 Newbie
    Newcomer

    Joined:
    Apr 19, 2016
    Messages:
    7
    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? ._.
     
  5. swabbo

    swabbo Wot u doin readin dis m8?
    Member

    Joined:
    Mar 9, 2011
    Messages:
    770
    Country:
    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.
  6. jakibaki

    OP jakibaki GBAtemp Regular
    Member

    Joined:
    Mar 3, 2017
    Messages:
    296
    Country:
    Germany
    gbc also supports multirom now :)
     
  7. Galahad121

    Galahad121 Member
    Newcomer

    Joined:
    May 2, 2018
    Messages:
    20
    Country:
    Brazil
    Does it run at full speed?
     
  8. jakibaki

    OP jakibaki GBAtemp Regular
    Member

    Joined:
    Mar 3, 2017
    Messages:
    296
    Country:
    Germany
    In the games I tested it did run at full speed!
     
    Leonidas87 and Galahad121 like this.
  9. Galahad121

    Galahad121 Member
    Newcomer

    Joined:
    May 2, 2018
    Messages:
    20
    Country:
    Brazil
    Wow! now that's impressive. Thanks for porting it mate.
     
  10. SimonMKWii

    SimonMKWii Professional Idiot
    Member

    Joined:
    Nov 18, 2017
    Messages:
    666
    Country:
    Australia
    This is fantastic!
    And that audio... uh, yeah, about that.
     
  11. javilobo8

    javilobo8 Advanced Member
    Newcomer

    Joined:
    May 10, 2018
    Messages:
    90
    Country:
    Spain
    Great work!!!! Thank you
     
  12. shinyrocara98

    shinyrocara98 Advanced Member
    Newcomer

    Joined:
    Jan 26, 2017
    Messages:
    92
    Country:
    Gambia, The
    Thank you :3

    Gesendet von meinem TA-1053 mit Tapatalk
     
  13. Leonidas87

    Leonidas87 GBAtemp Advanced Fan
    Member

    Joined:
    Jul 15, 2014
    Messages:
    650
    Country:
    Canada
    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.
     
  14. Zumoly

    Zumoly GBATemp Analyst
    Member

    Joined:
    Apr 27, 2018
    Messages:
    1,704
    Country:
    Mali
    Thank you very much for the hard work on this.
     
    H1B1Esquire likes this.
  15. Hondyn

    Hondyn GBAtemp Regular
    Member

    Joined:
    Jan 2, 2018
    Messages:
    256
    Country:
    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.
  16. xXDungeon_CrawlerXx

    xXDungeon_CrawlerXx GBAtemp Addict
    Member

    Joined:
    Jul 29, 2015
    Messages:
    2,035
    Country:
    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.
  17. annson24

    annson24 The Patient One
    Member

    Joined:
    May 5, 2016
    Messages:
    1,153
    Country:
    Philippines
    From GBC emulator to GBA emulator, you're really stepping up your game man. Good job. Take my like.
     
  18. Proto-Propski

    Proto-Propski Legally Weird!
    Member

    Joined:
    Apr 29, 2018
    Messages:
    271
    Country:
    United Kingdom
    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
  19. Leonidas87

    Leonidas87 GBAtemp Advanced Fan
    Member

    Joined:
    Jul 15, 2014
    Messages:
    650
    Country:
    Canada
    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:

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

    Leonidas87 GBAtemp Advanced Fan
    Member

    Joined:
    Jul 15, 2014
    Messages:
    650
    Country:
    Canada
    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
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Emulator, GameBoy, Advance