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,120
Last edited by jakibaki,

Mazamin

Well-Known Member
Member
Joined
Sep 4, 2014
Messages
1,895
Trophies
0
XP
3,079
Country
Italy
Excellent work! Super Mario Bros DX works fine, anyway the rom hack of Super Mario Land DX (Port from gb) shows a screen saying that "The game should be played on a gameboy color", the same error showing when you try to run this game with a gameboy (not color) emulator
 
  • Like
Reactions: Eddy22m

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
i uploaded a new build adding joycon-analog-stick support!

Maybe best to keep small screen size, 2X size and full screen versions on the Original Post. Might make things easiest for everyone along with yourself.

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

-don't self promote your youtube-
 
Last edited by Issac,
  • Like
Reactions: Hondyn

Eddy22m

New Member
Newbie
Joined
May 16, 2018
Messages
4
Trophies
0
Age
34
XP
79
Country
Germany
super irritating text at left and right, please make it black! :(

Why no support for starting different roms? it always can be only one rom?...
 
Last edited by Eddy22m,

Eddy22m

New Member
Newbie
Joined
May 16, 2018
Messages
4
Trophies
0
Age
34
XP
79
Country
Germany
I still <3 u already! :D I have the same issue like Mazamin : Super Mario Land 2 DX "this romhack can only be played on a gameboy color"

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

If you are super clever you could make your own switch homebrew bundled with the emulator and the right icon: github vgmoose/nro-asset-editor :D you just have to edit metainfo and change icon : voila you have a pokemon homebrew! :D But im not sure... i think it looks in root folder, not in application folder...
 
Last edited by Eddy22m,
  • Like
Reactions: Mazamin
D

Deletedmember331810

Guest
Crashes shortly after entering docked mode on 5.0.2. Works fine undocked.
 

reminon

Well-Known Member
Member
Joined
Feb 7, 2016
Messages
430
Trophies
0
Age
33
XP
815
Country
United States
Since retroarch isn't working on anything higher then 3.0 right now I ported the gameboy color emulator khedgb to the nintendo switch.

Right now it doesn't have many features (for example no rom-selection screen) but it's enough to finally enjoy pokemon on the nintendo switch :)

XGjBm3Y.jpg


Simply put the rom to sd:/switch/roms/rom.gbc (exactly this name for the rom!) 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)

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.
Too be honest, I understand the appeal and ease of use retroarch provides, but I miss the days where console ports of emulators were standalone with creative gui's. It felt more personalized, and a dev could work on one project, not a blanket covering multiple emulators. I know this is an "in the meantime" project, but thank you none the less.
 
  • Like
Reactions: SpaceJump

CaptainLoozer

Well-Known Member
Member
Joined
Dec 29, 2015
Messages
212
Trophies
0
XP
578
Country
United States
The emulator I based it of is pretty slow. If I set the size higher it doesn't run at full fps anymore :/

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


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

No promises though.

Please work on the SNES emulator. Honestly I just want to be able to play chrono trigger, the same sort of thing you've done for GBC would work for me on this. Don't need any features.
 
D

Deletedmember448668

Guest
Please work on the SNES emulator. Honestly I just want to be able to play chrono trigger, the same sort of thing you've done for GBC would work for me on this. Don't need any features.
Wonder if he'll make it Opensource
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: It came from someone's porch I have the receipt