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

CaptainPumpkinhead

Member
Newcomer
Joined
May 5, 2018
Messages
7
Trophies
0
Age
25
XP
54
Country
United States
Is anyone else getting significantly more Switch crashes in docked mode than in handheld mode?
I was playing Link's Awakening DX, and it would crash when I paused, when I went inside a building, and sometimes just randomly. But when I played in handheld, I had none of these problems.
I saw this issue with the GBA emulator as well.
 

pottsork21

New Member
Newbie
Joined
Apr 29, 2018
Messages
4
Trophies
0
Age
32
XP
93
Country
Sweden
Is anyone else getting significantly more Switch crashes in docked mode than in handheld mode?
I was playing Link's Awakening DX, and it would crash when I paused, when I went inside a building, and sometimes just randomly. But when I played in handheld, I had none of these problems.
I saw this issue with the GBA emulator as well.
Same for me.
 

Cencil

Well-Known Member
Member
Joined
Aug 24, 2016
Messages
292
Trophies
0
XP
1,122
Country
Canada
I have no idea why but after playing around the past day with gdkgba and vbanext, I tried opening this gbc emulator and I'm getting a system error crash right off the bat when i open it. Both undocked and docked. It was working 2 days ago? So confused:unsure:
 

JJTapia19

I fight for my friends.
Member
Joined
May 31, 2015
Messages
2,171
Trophies
1
Age
32
XP
2,438
Country
Puerto Rico
I have no idea why but after playing around the past day with gdkgba and vbanext, I tried opening this gbc emulator and I'm getting a system error crash right off the bat when i open it. Both undocked and docked. It was working 2 days ago? So confused:unsure:
That just happened to me with another homebrew app after days without using it and I know it was working the last time I used it. The fix I found was rolling back to a an older version and booting it up once, then updating again. It was really weird. Please try that out and report back.
 

Cencil

Well-Known Member
Member
Joined
Aug 24, 2016
Messages
292
Trophies
0
XP
1,122
Country
Canada
That just happened to me with another homebrew app after days without using it and I know it was working the last time I used it. The fix I found was rolling back to a an older version and booting it up once, then updating again. It was really weird. Please try that out and report back.

Yes I just finished deleting khedgb.nro, gdkGBA.nro, and vbanext.nro. Instead of rolling back to an older version I put the same version I was using (the latest) for all 3 of those .nro files back on my SD card, and weirdly enough the gbc emulator starting working again...but the vbanext emulator starting crashing on start up! I then did the exact same thing 3 more times copying the latest versions on and off the sd card until I have no idea how but they all finally work without any crashes. So every time i add a new .nro to my sd card it apparently breaks other ones that were working fine...:wacko:
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,818
Trophies
0
Location
Yorosso
XP
3,123
Country
Mali
Yes I just finished deleting khedgb.nro, gdkGBA.nro, and vbanext.nro. Instead of rolling back to an older version I put the same version I was using (the latest) for all 3 of those .nro files back on my SD card, and weirdly enough the gbc emulator starting working again...but the vbanext emulator starting crashing on start up! I then did the exact same thing 3 more times copying the latest versions on and off the sd card until I have no idea how but they all finally work without any crashes. So every time i add a new .nro to my sd card it apparently breaks other ones that were working fine...:wacko:

The same issue happened to me yesterday. After putting an updated version of the vba homebrew, the old version stopped working.
I was thinking that putting two versions of the same homebrew was causing this and deleted the new one but it did not solve the issue. Besides I used to have two working versions of the gdkGBA homebrew.
Can someone look into this issue?
 
  • Like
Reactions: Cencil

Leonidas87

Well-Known Member
Member
Joined
Jul 15, 2014
Messages
651
Trophies
0
Location
Toronto, Ontario
Website
www.youtube.com
XP
960
Country
Canada
@jakibaki I know people will say it's stupid but why not have the option.

@jakibaki any chance you could post a semi stretched version of GBC?

Like a 6 by 9 aspect ratio of sorts.

Maybe not complete full screen but an in between.

Idk maybe it would look decent semi stretched, maybe better fully stretched, what I'm asking could you at least try it out and then upload the best of what you can get.

Hopefully this is not something to time consuming for you.
 

Chipidy

Well-Known Member
Member
Joined
May 14, 2018
Messages
280
Trophies
0
Age
33
Location
Ontario, Canada
Website
www.chipidychipgaming.com
XP
335
Country
Canada
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)


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!
Awesome job .It works great haha. Pokemon is a good all time game in general. Pokemon Blue! Also you say retroarch, do you mean it running in Lakka or on it's own?
 

jakibaki

Well-Known Member
OP
Member
Joined
Mar 3, 2017
Messages
296
Trophies
0
Age
26
XP
1,826
Country
Germany
I'll reupload the latest build and attach it to the main post! No idea why it vanished D:

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

Ok, for some reason new attachments also disappear D:
I'll upload it to dropbox and link that in the main post.
 
  • Like
Reactions: 0000ff

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: I havent finished watching it so no spoilers pls