RELEASE GBC Emulator port - khedgb (works on 5.0)

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


    34,804

    138
    Front-page RELEASE
    If you're having trouble with this (or don't want to deal with the problems it has) I recommend following this tutorial to play gb/gbc games in the excelent vba-next port.

    Since retroarch isn't working on anything higher then 3.0 right now I ported the gameboy color emulator khedgb to the nintendo switch. (Works on all versions as far as I know)

    Right now it doesn't have many features but it's enough to finally enjoy pokemon on the nintendo switch :)

    [​IMG]

    [​IMG]
    Simply put the rom into sd:/switch/roms/gbc and start the homebrew.

    This emulator can't detect when you used the ingame save-feature so you'll have to press the X-button every time after using the in-game save feature. Otherwise the save will get lost after restarting the emulator!

    Please don't expect too much from this, I just made this so I could play pokemon and it's not going to get many features.

    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)


    DOWNLOAD

    UPDATE:
    Added audio support and proper scaling! (Many thanks @cpasjuste for the scaling-hint!)
    UPDATE2:
    Fixed a bug where after saving the game for a few times the emulator would crash.
    UPDATE3:
    Added joycon-analog-stick-support!
    UPDATE4:
    Removed the debug log.
    UPDATE5:
    Added a simple file picker! You can now play multiple roms :)
    UPDATE6:
    Audio is much better now (not perfect yet though). Many thanks to @renhei for the fix-suggestion!
    UPDATE7:
    Changed rompath from sd:/switch/roms to sd:/switch/roms/gbc in order to avoid confusion with the gba emulator. Also double joycons now work in unattached mode!
     
    Discussion (138 replies)
  1. CatmanFan

    CatmanFan rip my right Joy-Con rail

    Member
    6
    Aug 14, 2016
    Morocco
    Woah! This will save some anguish while waiting!
     
    The9thBit likes this.
  2. javilobo8

    javilobo8 Advanced Member

    Newcomer
    2
    May 10, 2018
    Spain
    GJ mate!
     
  3. peteruk

    peteruk GBAtemp Advanced Maniac

    Member
    11
    Jun 26, 2015
    nice job, thank you for sharing
     
  4. Hey awesome man. I'm debating on using rcm again but a snes emulator working on 5.0+ would possibly make me do it. Not sure how long it took you to do this, but could you possibly do it for the snes emulator as well? That would be amazing
     
    Proto-Propski likes this.
  5. StarGazerTom

    StarGazerTom GBAtemp Maniac

    Member
    8
    Feb 2, 2015
    Keep that homebrew a coming! (window size changing would be nice though :P)
     
  6. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    6
    Mar 3, 2017
    Germany
    The emulator I based it of is pretty slow. If I set the size higher it doesn't run at full fps anymore :/

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

    If I have the time (and patience) I'll look into it :)

    No promises though.
     
  7. Ooka

    Ooka Member

    Newcomer
    2
    Sep 12, 2014
    United States
    Yes! Thank you! <3
     
  8. Leonidas87

    Leonidas87 GBAtemp Advanced Fan

    Member
    5
    Jul 15, 2014
    Canada
    Toronto, Ontario
    Does it, or is it supposed to work on 4.1.0?

    I tried got this
     

    Attached Files:

  9. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    6
    Mar 3, 2017
    Germany
    Did you put the rom in the right location? (sd:/switch/roms/rom.gbc) The file-name has to be exactly that.
     
  10. Leonidas87

    Leonidas87 GBAtemp Advanced Fan

    Member
    5
    Jul 15, 2014
    Canada
    Toronto, Ontario
    Yes I did from my understanding. The game has to be named rom.gbc right?
     

    Attached Files:

  11. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    6
    Mar 3, 2017
    Germany
    oh that's weird. Did you put the homebrew somwhere other then the switch-folder?
     
  12. Leonidas87

    Leonidas87 GBAtemp Advanced Fan

    Member
    5
    Jul 15, 2014
    Canada
    Toronto, Ontario
    By the way trying to run pokemon gold
     
  13. RedoLane

    RedoLane GBAtemp Advanced Fan

    Member
    6
    Sep 16, 2016
    Israel
    THIS IS INSANE!
    ….I LIKE IT!
     
  14. JJTapia19

    JJTapia19 I fight for my friends.

    Member
    8
    May 31, 2015
    Puerto Rico
    Do you have extensions visible? If not try renaming it rom instead of rom.gbc
     
    Keizel and jakibaki like this.
  15. Leonidas87

    Leonidas87 GBAtemp Advanced Fan

    Member
    5
    Jul 15, 2014
    Canada
    Toronto, Ontario
    Wow that did not work either. Really weird, changing it to just rom converted it from a gbc file.

    I'm trying another game quickly.

    What games have you run?

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

    It is really weird and to know someone else will probably have the same issue. I really do not understand why it's not opening the rom. It's in the correct location, tried on 4.1.0 and 5.0.2 same result. Tried 3 pokemon games no go. Files named correctly also.
     
  16. jakibaki
    OP

    jakibaki GBAtemp Regular

    Member
    6
    Mar 3, 2017
    Germany
    I just tried a pokemon crystal romhack so pokemon gold will most likely work. The rom you tried doesn't matter since on your switch the emulator didn't even manage to open the rom at all.

    Could you please try this updated build?
     

    Attached Files:

    Last edited by jakibaki, May 15, 2018
  17. Leonidas87

    Leonidas87 GBAtemp Advanced Fan

    Member
    5
    Jul 15, 2014
    Canada
    Toronto, Ontario
    Will do that right now
     
  18. Haki

    Haki Newbie

    Newcomer
    2
    Sep 28, 2008
    United States
    Thank you keep up the awesome work!
     
  19. Leonidas87

    Leonidas87 GBAtemp Advanced Fan

    Member
    5
    Jul 15, 2014
    Canada
    Toronto, Ontario
     
Loading...