PC-Engine CD

Hello Lakka Users

I have a small issue with Lakka on a Raspberry 2. All Games play fine, except PC-Engine CD. (PC-Engine Games work fine)

When I try to load a PC-Engine CD Game, it returns me directly to Lakka.

I’ve tried different types of images with different Games (cue/bin, ccd/img, iso etc) and different syscard3 bios (actually 2 different checksums) placed in the systems folder.

Anyone an idea what I’m missing here?

Thank you for your help.

Kind Regards,

It works on x86_64. Check in the cue file if it matches the iso name and try to avoid as possible some mark (!#-_[]) in the filename.

P.S = Normally you should put it in roms folder even if PCE-CD scanning is not yet implemented.

Thanks for the tips. I did remove all special chars from the file name (and in the cue reference file), and placed syscard3.pce in the same folder as the CD image. However, it doesn’t change anything. PC-Engine CD Games won’t boot up. Is there a log file I can access ?

Can you check if you have this bios.

Stop retroarch and launch it with :

systemctl stop retroarch
retroarch --menu --verbose >> log.txt 2>&1

With following command

journalctl --unit retroarch --follow

I have this output when launching a PC-Engine CD Game :

Dec 24 16:23:17 Lakka retroarch[605]: Didn’t read whole file: /sys/devices/system/cpu/present. Dec 24 16:23:17 Lakka retroarch[605]: Didn’t read whole file: /sys/devices/system/cpu/possible. Dec 24 16:23:19 Lakka systemd[1]: retroarch.service: Service hold-off time over, scheduling restart. Dec 24 16:23:19 Lakka systemd[1]: Stopped Retroarch. Dec 24 16:23:19 Lakka systemd[1]: Started Retroarch.

[QUOTE=gouchi;32726]Can you check if you have this bios. [/QUOTE]

I have different Bios’es (different md5sum’s), and I cannot find the one indicated on that site.

Here is the contents of the log.txt :

RetroArch [INFO] :: === Build =======================================RetroArch [INFO] :: [CPUID]: Features: Built: Dec 22 2015 RetroArch [INFO] :: Version: 1.3.0 RetroArch [INFO] :: Git: d666dcf RetroArch [INFO] :: ================================================= RetroArch [INFO] :: [CPUID]: Features: RetroArch [INFO] :: Looking for config in: “/storage/.config/retroarch/retroarch.cfg”. RetroArch [INFO] :: Config: loading config from: /storage/.config/retroarch/retroarch.cfg. RetroArch [INFO] :: Threaded rarch_task started RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565. RetroArch [INFO] :: Version of libretro API: 1 RetroArch [INFO] :: Compiled against API: 1 RetroArch [INFO] :: Set audio input rate to: 29975.00 Hz. RetroArch [INFO] :: Found shader “/usr/share/common-shaders/5xbr-retro.glsl” RetroArch [INFO] :: Found shader “/usr/share/common-shaders/bead.glsl” RetroArch [INFO] :: Found shader “/usr/share/common-shaders/blinky.glsl” RetroArch [INFO] :: Found shader “/usr/share/common-shaders/pixellate.glsl” RetroArch [INFO] :: Found shader “/usr/share/common-shaders/quilez.glsl” RetroArch [INFO] :: Found shader “/usr/share/common-shaders/retro-v2.glsl” RetroArch [INFO] :: Found shader “/usr/share/common-shaders/scanline.glsl” RetroArch [INFO] :: Found shader “/usr/share/common-shaders/sharp-bilinear.glsl” RetroArch [INFO] :: Found shader “/usr/share/common-shaders/stock.glsl” RetroArch [INFO] :: Video @ fullscreen RetroArch [INFO] :: Starting threaded video driver … RetroArch [INFO] :: [EGL]: EGL version: 1.4 RetroArch [INFO] :: [EGL]: Current context: 0x1. RetroArch [INFO] :: Found GL context: videocore RetroArch [INFO] :: Detecting screen resolution 720x480. RetroArch [INFO] :: [EGL]: eglSwapInterval(0) RetroArch [INFO] :: [EGL]: eglSwapInterval(0) RetroArch [INFO] :: [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW. RetroArch [INFO] :: [GL]: Version: OpenGL ES 2.0. RetroArch [INFO] :: Querying GL extension: ARB_texture_non_power_of_two => doesn’t exist RetroArch [INFO] :: Querying GL extension: OES_texture_npot => exists RetroArch [INFO] :: Querying GL extension: BGRA8888 => exists RetroArch [WARN] :: [GL]: GLES implementation does not have BGRA8888 extension. 32-bit path will require conversion. RetroArch [INFO] :: Querying GL extension: GL_EXT_unpack_subimage => doesn’t exist RetroArch [INFO] :: Querying GL extension: EXT_sRGB => doesn’t exist RetroArch [INFO] :: GL: Using resolution 720x480 RetroArch [INFO] :: [GL]: Default shader backend found: glsl. RetroArch [INFO] :: [GL]: Using GLSL shader backend. RetroArch [WARN] :: [GL]: Stock GLSL shaders will be used. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: Found GLSL vertex shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Found GLSL fragment shader. RetroArch [INFO] :: Shader log: Compiled RetroArch [INFO] :: Linking GLSL program. RetroArch [INFO] :: [GL]: Using 4 textures. RetroArch [INFO] :: [GL]: Loaded 1 program(s). RetroArch [INFO] :: Querying EGL extension: KHR_image => exists RetroArch [INFO] :: Using font rendering backend: freetype. RetroArch [INFO] :: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver. RetroArch [WARN] :: [udev]: Couldn’t open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*? RetroArch [INFO] :: [udev]: Plugged pad: Sony PLAYSTATION®3 Controller (054c:0268) on port #0. RetroArch [INFO] :: Autodetect: 98 profiles found RetroArch [INFO] :: Autodetect: selected configuration: /tmp/joypads/udev/Sony-PlayStation3-DualShock3-Controller-USB.cfg RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event0) supports force feedback. RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event0) supports 16 force feedback effects. RetroArch [INFO] :: Found joypad driver: “udev”. RetroArch [INFO] :: [CPUID]: Features: RetroArch [INFO] :: ALSA: Using signed 16-bit format. RetroArch [INFO] :: ALSA: Period size: 384 frames RetroArch [INFO] :: ALSA: Buffer size: 1536 frames RetroArch [INFO] :: [CPUID]: Features: RetroArch [INFO] :: Found menu display driver: “menu_display_gl”. RetroArch [INFO] :: Using font rendering backend: freetype. RetroArch [INFO] :: Using font rendering backend: freetype. RetroArch [INFO] :: SRAM will not be saved. RetroArch [INFO] :: null: [/storage/.config/retroarch/content_history.lpl]. RetroArch [INFO] :: Using content: /storage/roms/PC-Engine CD/Dracula_X/Dracula_X.ccd. RetroArch [INFO] :: arg #0: retroarch RetroArch [INFO] :: arg #1: /storage/roms/PC-Engine CD/Dracula_X/Dracula_X.ccd RetroArch [INFO] :: arg #2: -s RetroArch [INFO] :: arg #3: /storage/savefiles RetroArch [INFO] :: arg #4: -S RetroArch [INFO] :: arg #5: /storage/savestates RetroArch [INFO] :: arg #6: -c RetroArch [INFO] :: arg #7: /storage/.config/retroarch/retroarch.cfg RetroArch [INFO] :: arg #8: -L RetroArch [INFO] :: arg #9: /tmp/cores/mednafen_pce_fast_libretro.so RetroArch [INFO] :: Threaded video stats: Frames pushed: 1798, Frames dropped: 0. RetroArch [INFO] :: Monitor FPS estimation is disabled for threaded video. RetroArch [INFO] :: Redirecting save file to “/storage/savefiles/Dracula_X.srm”. RetroArch [INFO] :: Redirecting savestate to “/storage/savestates/Dracula_X.state”. RetroArch [INFO] :: === Build =======================================RetroArch [INFO] :: [CPUID]: Features: Built: Dec 22 2015 RetroArch [INFO] :: Version: 1.3.0 RetroArch [INFO] :: Git: d666dcf RetroArch [INFO] :: ================================================= RetroArch [INFO] :: [CPUID]: Features: RetroArch [INFO] :: Threaded rarch_task started RetroArch [INFO] :: Loading dynamic libretro core from: “/tmp/cores/mednafen_pce_fast_libretro.so” RetroArch [INFO] :: Environ SET_VARIABLES. RetroArch [INFO] :: Environ SET_CONTROLLER_INFO. RetroArch [INFO] :: Controller port: 1 RetroArch [INFO] :: PCE Joypad (ID: 1) RetroArch [INFO] :: Mouse (ID: 2) RetroArch [INFO] :: Controller port: 2 RetroArch [INFO] :: PCE Joypad (ID: 1) RetroArch [INFO] :: Mouse (ID: 2) RetroArch [INFO] :: Version of libretro API: 1 RetroArch [INFO] :: Compiled against API: 1 RetroArch [INFO] :: Environ GET_LOG_INTERFACE. RetroArch [INFO] :: Environ SYSTEM_DIRECTORY: “/storage/system”. RetroArch [INFO] :: Environ SAVE_DIRECTORY: “/storage/savefiles”. RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565. RetroArch [libretro INFO] :: :: Frontend supports RGB565 - will use that instead of XRGB1555. RetroArch [INFO] :: Environ GET_PERF_INTERFACE. RetroArch [INFO] :: Environ PERFORMANCE_LEVEL: 5. RetroArch [INFO] :: Content loading skipped. Implementation will load it on its own. RetroArch [INFO] :: Environ SET_INPUT_DESCRIPTORS: RetroArch [INFO] :: RetroPad, User 1, Button “B (bottom)” => “II” RetroArch [INFO] :: RetroPad, User 1, Button “Y (left)” => “III” RetroArch [INFO] :: RetroPad, User 1, Button “Select” => “Select” RetroArch [INFO] :: RetroPad, User 1, Button “Start” => “Run” RetroArch [INFO] :: RetroPad, User 1, Button “D-Pad Up” => “D-Pad Up” RetroArch [INFO] :: RetroPad, User 1, Button “D-Pad Down” => “D-Pad Down” RetroArch [INFO] :: RetroPad, User 1, Button “D-Pad Left” => “D-Pad Left” RetroArch [INFO] :: RetroPad, User 1, Button “D-Pad Right” => “D-Pad Right” RetroArch [INFO] :: RetroPad, User 1, Button “A (right)” => “I” RetroArch [INFO] :: RetroPad, User 1, Button “X (up)” => “IV” RetroArch [INFO] :: RetroPad, User 1, Button “L” => “V” RetroArch [INFO] :: RetroPad, User 1, Button “R” => “VI” RetroArch [INFO] :: RetroPad, User 1, Button “L2” => “Mode Switch” RetroArch [INFO] :: RetroPad, User 2, Button “B (bottom)” => “II” RetroArch [INFO] :: RetroPad, User 2, Button “Y (left)” => “III” RetroArch [INFO] :: RetroPad, User 2, Button “Select” => “Select” RetroArch [INFO] :: RetroPad, User 2, Button “Start” => “Run” RetroArch [INFO] :: RetroPad, User 2, Button “D-Pad Up” => “D-Pad Up” RetroArch [INFO] :: RetroPad, User 2, Button “D-Pad Down” => “D-Pad Down” RetroArch [INFO] :: RetroPad, User 2, Button “D-Pad Left” => “D-Pad Left” RetroArch [INFO] :: RetroPad, User 2, Button “D-Pad Right” => “D-Pad Right” RetroArch [INFO] :: RetroPad, User 2, Button “A (right)” => “I” RetroArch [INFO] :: RetroPad, User 2, Button “X (up)” => “IV” RetroArch [INFO] :: RetroPad, User 2, Button “L” => “V” RetroArch [INFO] :: RetroPad, User 2, Button “R” => “VI” RetroArch [INFO] :: RetroPad, User 2, Button “L2” => “Mode Switch” RetroArch [INFO] :: RetroPad, User 3, Button “B (bottom)” => “II” RetroArch [INFO] :: RetroPad, User 3, Button “Y (left)” => “III” RetroArch [INFO] :: RetroPad, User 3, Button “Select” => “Select” RetroArch [INFO] :: RetroPad, User 3, Button “Start” => “Run” RetroArch [INFO] :: RetroPad, User 3, Button “D-Pad Up” => “D-Pad Up” RetroArch [INFO] :: RetroPad, User 3, Button “D-Pad Down” => “D-Pad Down” RetroArch [INFO] :: RetroPad, User 3, Button “D-Pad Left” => “D-Pad Left” RetroArch [INFO] :: RetroPad, User 3, Button “D-Pad Right” => “D-Pad Right” RetroArch [INFO] :: RetroPad, User 3, Button “A (right)” => “I” RetroArch [INFO] :: RetroPad, User 3, Button “X (up)” => “IV” RetroArch [INFO] :: RetroPad, User 3, Button “L” => “V” RetroArch [INFO] :: RetroPad, User 3, Button “R” => “VI” RetroArch [INFO] :: RetroPad, User 3, Button “L2” => “Mode Switch” RetroArch [INFO] :: RetroPad, User 4, Button “B (bottom)” => “II” RetroArch [INFO] :: RetroPad, User 4, Button “Y (left)” => “III” RetroArch [INFO] :: RetroPad, User 4, Button “Select” => “Select” RetroArch [INFO] :: RetroPad, User 4, Button “Start” => “Run” RetroArch [INFO] :: RetroPad, User 4, Button “D-Pad Up” => “D-Pad Up” RetroArch [INFO] :: RetroPad, User 4, Button “D-Pad Down” => “D-Pad Down” RetroArch [INFO] :: RetroPad, User 4, Button “D-Pad Left” => “D-Pad Left” RetroArch [INFO] :: RetroPad, User 4, Button “D-Pad Right” => “D-Pad Right” RetroArch [INFO] :: RetroPad, User 4, Button “A (right)” => “I” RetroArch [INFO] :: RetroPad, User 4, Button “X (up)” => “IV” RetroArch [INFO] :: RetroPad, User 4, Button “L” => “V” RetroArch [INFO] :: RetroPad, User 4, Button “R” => “VI” RetroArch [INFO] :: RetroPad, User 4, Button “L2” => “Mode Switch” RetroArch [INFO] :: RetroPad, User 5, Button “B (bottom)” => “II” RetroArch [INFO] :: RetroPad, User 5, Button “Y (left)” => “III” RetroArch [INFO] :: RetroPad, User 5, Button “Select” => “Select” RetroArch [INFO] :: RetroPad, User 5, Button “Start” => “Run” RetroArch [INFO] :: RetroPad, User 5, Button “D-Pad Up” => “D-Pad Up” RetroArch [INFO] :: RetroPad, User 5, Button “D-Pad Down” => “D-Pad Down” RetroArch [INFO] :: RetroPad, User 5, Button “D-Pad Left” => “D-Pad Left” RetroArch [INFO] :: RetroPad, User 5, Button “D-Pad Right” => “D-Pad Right” RetroArch [INFO] :: RetroPad, User 5, Button “A (right)” => “I” RetroArch [INFO] :: RetroPad, User 5, Button “X (up)” => “IV” RetroArch [INFO] :: RetroPad, User 5, Button “L” => “V” RetroArch [INFO] :: RetroPad, User 5, Button “R” => “VI” RetroArch [INFO] :: RetroPad, User 5, Button “L2” => “Mode Switch” RetroArch [INFO] :: Environ GET_OVERSCAN: 0 RetroArch [INFO] :: Environ GET_VARIABLE pce_fast_cdimagecache: RetroArch [INFO] :: disabled RetroArch [INFO] :: Environ GET_VARIABLE pce_nospritelimit: RetroArch [INFO] :: disabled RetroArch [INFO] :: Environ GET_VARIABLE pce_keepaspect: RetroArch [INFO] :: enabled RetroArch [INFO] :: Environ GET_VARIABLE pce_initial_scanline: RetroArch [INFO] :: 0 RetroArch [INFO] :: Environ GET_VARIABLE pce_last_scanline: RetroArch [INFO] :: 242 RetroArch [INFO] :: Environ GET_VARIABLE pce_cddavolume: RetroArch [INFO] :: 100 RetroArch [INFO] :: Environ GET_VARIABLE pce_adpcmvolume: RetroArch [INFO] :: 100 RetroArch [INFO] :: Environ GET_VARIABLE pce_cdpsgvolume: RetroArch [INFO] :: 100 RetroArch [INFO] :: Environ GET_VARIABLE pce_cdspeed: RetroArch [INFO] :: 1 RetroArch [libretro INFO] :: :: PCE CD Audio settings changed. RetroArch [libretro INFO] :: :: Loading /storage/roms/PC-Engine CD/Dracula_X/Dracula_X.ccd…

RetroArch [libretro ERROR] :: :: Malformed value pair specifier: Dracula_X.img RetroArch [libretro ERROR] :: :: Malformed value pair specifier: Dracula_X.img RetroArch [libretro ERROR] :: :: Error opening CD. RetroArch [ERROR] :: Failed to load content. RetroArch [libretro INFO] :: :: [Mednafen PCE Fast]: Samples / Frame: nan RetroArch [libretro INFO] :: :: [Mednafen PCE Fast]: Estimated FPS: nan RetroArch [INFO] :: Monitor FPS estimation is disabled for threaded video. RetroArch [ERROR] :: Failed to start audio driver. Will continue without audio. RetroArch [INFO] :: Saving config at path: “/storage/.config/retroarch/retroarch.cfg” RetroArch [INFO] :: Monitor FPS estimation is disabled for threaded video. Didn’t read whole file: /sys/devices/system/cpu/present. Didn’t read whole file: /sys/devices/system/cpu/possible.

What does this mean :

RetroArch [libretro ERROR] :: :: Malformed value pair specifier …

With an iso/cue Gme I get the following:

RetroArch [INFO] :: 1 RetroArch [libretro INFO] :: :: PCE CD Audio settings changed. RetroArch [libretro INFO] :: :: Loading /storage/roms/PC-Engine CD/Chiki_Chiki_Boys_(NTSC-J)_[NAPR-1033].cue…

Segmentation fault

Your log seems ok. I will try it tomorrow.

EDIT: I just tried it, and it worked for me. Check the content of your cue files, it must point to the img with a case sensitive name

[QUOTE=Kivutar;32742]Your log seems ok. I will try it tomorrow.

EDIT: I just tried it, and it worked for me. Check the content of your cue files, it must point to the img with a case sensitive name[/QUOTE]

Thanks for the tip, but after double checking the cue file (content is pointing to correct img file name, no character mismatch) it’s still not working. Any other clues maybe?

The “Malformed value pair specifier” error can happend when reading a CDD file. Can you try with a completely different rom?

I’ve tried several Images (iso, cue/bin, ccd/img), and none of them is working on lakka on a raspberry pi 2. (The same images are working however on a Windows based Emulator.)

Finally got it working. I needed to remove every space in the filename (and also in cue files) Although the file names were set accordingly, no Games loaded. With the renamed scheme (name.of.game.iso instead of name of game.iso) everything is working as expected.

Thank you for all your tips and answers.

Cheers ,