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

Mazamin

Well-Known Member
Member
Joined
Sep 4, 2014
Messages
1,895
Trophies
0
XP
3,094
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
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
    Karma177 @ Karma177: @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really...