PC Engine CD & SuperGrafx systems appear but wont load roms
-
Pi Model: 3
RetroPie Version Used: 4.1
Built From: Pre made SD Image on RetroPie website
USB Devices connected: Keyboard / Mouse
Controller used: 8BitDo SFC30
Guide used: Main wiki & Help Separating PC Engine & PCE-CDI have been having issues with this for a couple of days and I'm hoping I just missing something simple.
I was trying to create separate systems for the PC Engine CD & SuperGrafx so they wouldn't be lumped in with the regular PC Engine games. I tested several PC Engine CD & SuperGrafx roms using the normal PC Engine system already present in Retropie and they work so I then created the following folders and moved the applicable roms into those folders
/home/pi/RetroPie/roms/pce-cd/ /home/pi/RetroPie/roms/supergrafx/
I then added the below code to the es_system.cfg files located in
/opt/retropie/configs/all/emulationstation/
<system> <name>pcengine</name> <fullname>PC Engine</fullname> <path>/home/pi/RetroPie/roms/pcengine</path> <extension>.pce .ccd .cue .zip .PCE .CCD .CUE .ZIP</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ pcengine %ROM%</command> <platform>pcengine</platform> <theme>pcengine</theme> </system> <system> <name>pce-cd</name> <fullname> PC Engine CD</fullname> <path>/home/pi/RetroPie/roms/pce-cd</path> <extension>.pce .ccd .cue .zip .PCE .CCD .CUE .ZIP</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS pcengine %ROM%</command> <platform>pce-cd</platform> <theme>pce-cd</theme> </system> <system> <name>supergrafx</name> <fullname> PC Engine SuperGrafx</fullname> <path>/home/pi/RetroPie/roms/supergrafx</path> <extension>.pce .ccd .cue .zip .PCE .CCD .CUE .ZIP</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS pcengine %ROM%</command> <platform>supergrafx</platform> <theme>supergrafx</theme> </system>
Both of the new systems appear in the menu and the roms I added to the rom folders also appear, however when I try to launch PC Engine CD or SuperGrafx, it goes to a gray screen for a few seconds then brings me back to the rom menu of that system. Any idea what I did wrong?
Thank you for any assistance provided.
-
Think you need to make a config folder for each respective console in opt/retropie/configs. Copy over the emulators.cfg and retroarch.cfg from the pcengine folder into the newly made supergrafx and pce-cd folder and you'll be good to go.
I did this to separate PC Engine, TG16 and SuperGrafx. You can also change the emulators in the emulators config file for SuperGrafx so it will only have lr-beetle-supergrafx as an option.
In the retroarch config I also changed the input remapping directory line to the consoles respective name (not sure if that's necessary).In es_systems.cfg I also changed the command line to match the new config (noticed you didn't do so). The only thing I didn't change is platform; I left that as "pcengine" because the scraper wouldn't find the correct details if it was changed.
I don't know if all of this is needed, I just did a bit of guesswork but haven't noticed any issues. -
Thank you for the quick replay. I must be doing something wrong because they roms still wont load. I'll just focus on PC Engine CD in this post to simplify things because I assume the problem is the same for both systems.
I made the following changes:
I created a pce-cd folder with emulators.cfg & retroarch.cfg in the following location
/opt/retropie/configs/pce-cd/emulators.cfg /opt/retropie/configs/pce-cd/retroarch.cfg
emulators.cfg contents
lr-beetle-pce-fast = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-beetle-pce-fast/mednafen_pce_fast_libretro.so --config /opt/retropie/configs/pcengine/retroarch.cfg %ROM%" default = "lr-beetle-pce-fast" lr-beetle-supergrafx = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-beetle-supergrafx/mednafen_supergrafx_libretro.so --config /opt/retropie/configs/pcengine/retroarch.cfg %ROM%"
retroarch.cfg contents
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line # 19 = Config, 20 = 1:1 PAR, 21 = Core Provided, 22 = Custom Viewport aspect_ratio_index = "22" # these two define the pixel size of the emulated screen # keep this in the same ratio as the original console # eg: NEC PC Engine CD 256 x 239 * 4 = 1024 x 956 custom_viewport_width = "1024" custom_viewport_height = "956" # the following two decide how far from the left and top the game screen is shown # to centre the game display use your original resolution, minus the screen size, divided by two # this example for 1080p screen (1920x1080) # (1920 - 1024) / 2 = 448 custom_viewport_x = "448" # (1080 - 956) / 2 = 62 custom_viewport_y = "62" input_overlay = "/opt/retropie/configs/all/retroarch/overlay/borders/nec_pc_engine_4x.cfg" input_overlay_enable = "true" input_overlay_opacity = "1" input_overlay_scale = "1.000000" input_remapping_directory = "/opt/retropie/configs/pce-cd/" #include "/opt/retropie/configs/all/retroarch.cfg"
Updated the es_systems.cfg in the following location
/opt/retropie/configs/all/emulationstation/
I made the following changes to the es_systems.cfg
<system> <name>pce-cd</name> <fullname> PC Engine CD</fullname> <path>/home/pi/RetroPie/roms/pce-cd</path> <extension>.pce .ccd .cue .zip .PCE .CCD .CUE .ZIP</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS_ pce-cd %ROM%</command> <platform>pcengine</platform> <theme>pce-cd</theme> </system>
Did I type something wrong in the above command line code?
Not sure if it matters, but I did not modify the es_systems.cfg in the following location / it's my understanding the the file referenced above overrides the config file located in the below directory.
/etc/emulationstation/
Any other thoughts on how to solve this problem?
I also uploaded my entire es_systems.cfg to pastebin in case that will help anyone solve the issue. It can be accessed HERE.
-
My retroarch.cfg reads this for SuperGrafx:
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = "/opt/retropie/configs/supergrafx/" #include "/opt/retropie/configs/all/retroarch.cfg"
Mine is completely unedited apart from the input remapping directory line.
You do have a space in front of the fullname for both SuperGrafx and PCE-CD in es_systems.cfg, but that shouldn't matter.
The only other thing I would suggest is make sure you have the correct BIOS file for PC Engine (syscard3.pce), and that the .bin and .cue files are named identically. It might be worth opening the .cue file and seeing if the file name at the top is named the same as the .bin file.
If you've renamed the actual file names, you also need to edit the .cue file.Also, try updating the emulators from the retropie setup menu.
EDIT: Just noticed you're missing an underscore in the command line, before
SYS_ pce-cd %ROM%</command>
and
SYS_ supergrafx %ROM%</command>
-
After trying to run a SuperGrafx game, what does this file have in it:
/dev/shm/runcommand.log
Also check what @gaavoid said
make sure you have the correct BIOS file for PC Engine (syscard3.pce), and that the .bin and .cue files are named identically. It might be worth opening the .cue file and seeing if the file name at the top is named the same as the .bin file.
If you've renamed the actual file names, you also need to edit the .cue file.I really think it's the BIOS file, might try downloading a different copy from a different website.
-
Thank you to everyone for all the great suggestions. I got it working now.
@gaavoid said in PC Engine CD & SuperGrafx systems appear but wont load roms:
You do have a space in front of the fullname for both SuperGrafx and PCE-CD in es_systems.cfg, but that shouldn't matter.
That didn't seem to be the problem, but thank you for pointing that out :-)
EDIT: Just noticed you're missing an underscore in the command line, before
SYS_ pce-cd %ROM%</command>
and
SYS_ supergrafx %ROM%</command>
That fixed it for both systems. Updating the entry to the command listed below solved my problem.
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ pce-cd %ROM%</command>
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ supergrafx %ROM%</command>
@backstander said in PC Engine CD & SuperGrafx systems appear but wont load roms:
After trying to run a SuperGrafx game, what does this file have in it:
/dev/shm/runcommand.log
I forgot to check that file before logging off but since the problem is fixed I guess I don't need to post it on here. If for some reason you still want me to post it, I'm happy to do so, just let me know and I'll follow up and do that.
Thanks again for all the help!
-
That fixed it for both systems. Updating the entry to the command listed below solved my problem.
That's great!
I forgot to check that file before logging off but since the problem is fixed I guess I don't need to post it on here. If for some reason you still want me to post it, I'm happy to do so, just let me know and I'll follow up and do that.
nah, we don't need it now but in the future if you're having trouble with something not loading, check that file first and it might shed some light on why it's not working :)
-
Glad you got it sorted. Happy to help.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.