GBC Emulator port - khedgb (works on 5.0)

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 :)

XGjBm3Y.jpg


cBSLImA.jpg

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!
 

Attachments

  • khedgb.nro.zip
    641 KB · Views: 2,131
Last edited by jakibaki,

bluedart

Well-Known Member
Member
Joined
Nov 13, 2016
Messages
270
Trophies
0
XP
2,246
Country
United States
This is turning out to be a nice little emulator. The sound is so much better than before, but still a smidge off somehow. Now we can even choose files? What an improvement!
 

FackingCharmander

Member
Newcomer
Joined
Dec 7, 2015
Messages
12
Trophies
0
Age
26
XP
638
Country
The UPDATE 6 runs good to me but UPDATE 7 give me black screen with all the games that before the update runs correctly
 

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
What does everyone think about this possible Visual Change to GBC Emulator in the Homebrew launcher
 

Attachments

  • 20180518_104233.jpg
    20180518_104233.jpg
    1.8 MB · Views: 734
  • 20180518_104245.jpg
    20180518_104245.jpg
    1.5 MB · Views: 301
  • 20180518_104240.jpg
    20180518_104240.jpg
    1.6 MB · Views: 306
  • Like
Reactions: chronoss

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
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
 

FackingCharmander

Member
Newcomer
Joined
Dec 7, 2015
Messages
12
Trophies
0
Age
26
XP
638
Country
Did you move the roms to the new path?
Yeah, I move them and when i select a game, the switch screen goes black

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

Try changing the rom name, if you keep it "rom.gbc", the game cannot run. (It was the problem for me)
I changed it, the new name is Pokémon Prism.gbc and It doesnt run
 

jimmyj

Official founder of altariaism. Copyright jimmyj
Member
Joined
May 26, 2017
Messages
1,485
Trophies
1
Location
Hyrule
XP
1,632
Country
United Kingdom
okay figured it out. switch/roms/gbc/acutualrom.gb

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

how do I make the emulator smaller for better performance?
 

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
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
I'm 1000% percent sure they're in the right directory but I'm still getting the "Failed to open dir!" message on both emulators. I was using update 6 successfully but now I can't rollback because the download is gone :( Any ideas, @jakibaki?

edit: just quadruple-checked, yep they're in the right spot. Still not working. Oh well, I'll wait for an update.
 
Last edited by OkazakiTheOtaku,

Blank67

Member
Newcomer
Joined
May 14, 2018
Messages
15
Trophies
0
Age
26
XP
114
Country
France
Strangely, It didn't work for me at first, but it worked after I renamed them. Dunno if that will be helpful tho.
 

jakibaki

Well-Known Member
OP
Member
Joined
Mar 3, 2017
Messages
296
Trophies
0
Age
26
XP
1,826
Country
Germany
The "fix" for the folder not found issue that some here are experiencing is removing the gbc-folder from the sdcard and then creating it from ftpd.

For some reason the switch sometimes can't handle the new folder otherwise.
 

Woody601

Active Member
Newcomer
Joined
Mar 3, 2018
Messages
36
Trophies
0
Age
21
XP
141
Country
United States
The sound does sound alot better, but is still at a higher pitch than what it normally is. Also the transitions in for example: SMBDX, from the world map to the level takes about 3 secs to load. If you can fix these two problems (which i assume isn't that hard) then this will be a perfect emulator until retroarch comes to the newer firmware versions!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    +1
  • Xdqwerty @ Xdqwerty:
    sigh
  • Xdqwerty @ Xdqwerty:
    @a_username_that_isnt_cool, could you change your username?
  • Xdqwerty @ Xdqwerty:
    i guess not...
  • Xdqwerty @ Xdqwerty:
    yawn
  • Xdqwerty @ Xdqwerty:
    anybody here?
  • P @ PKNate:
    nope
  • BakerMan @ BakerMan:
    fun fact: 7 years by lukas graham, supermassive black hole by muse, and megalomania all have the same bpm
  • BakerMan @ BakerMan:
    girls just wanna have fun and renai circulation also share the same tempo as the few i said before
  • Xdqwerty @ Xdqwerty:
    @BakerMan, megalomania the live a live song?
  • BakerMan @ BakerMan:
    wait no, megalovania*
  • BakerMan @ BakerMan:
    my bad
  • K3Nv2 @ K3Nv2:
    I don't forgive you
  • BigOnYa @ BigOnYa:
    The nerve of that guy, gosh.
  • K3Nv2 @ K3Nv2:
    Yeah expecting me to forgive gtfo
  • Psionic Roshambo @ Psionic Roshambo:
    But how could the Dr have known you didn't want to be circumcized?
  • K3Nv2 @ K3Nv2:
    He didn't you just wanted your dick to be fondled
    BigOnYa @ BigOnYa: