Sharp X1 not loading
-
@Folly ah, that makes a lot of sense. Because it used to work and had no idea why it stopped. Figured I messed something up. That's one thing about this whole arcade emulation business. You have no idea how much of a domino effect these things can be. Fix one thing, and it breaks another.
Thank you for pointing out those notes about Retroarch. Hopefully it gets fixed someday. I appreciate your help @Folly
-
As alternative you can install X1 from the
add-mamedev-systems
and use lr-mess/mame for the system.Just tested a few games which worked, although 1942 will freeze after 10 seconds of play.
You have to use a bit of frameskipping to get full speed. ( use F8 / F9 )
Place x1.zip in BIOS/mame/
You can find x1_cass.zip and x1_flop.zip inmame-sl
.
(you can use the restricted part for all that !)Just do the same as with cpc6128p ;-)
Use "page-down" with mame to speed up the loading for a while.
Use "space" with lr-mess to speed up the loading for a while. -
@Folly I'll try that! Where do I find x1 in add-mamedev-systems? Couldn't seem to locate it.
-
For example choose
systems with DEFAULT settings
(12), thenalphabetical submenu with system names
(5) and selectX upon systems
(25), then selectx1
(38744). -
@Folly ok, got it working! Now which emulator did you recommend from this list?
-
It's not an emulator, we call it a mame system driver.
just selectx1
.
-
@Folly I did that, but now there's a ton of them to choose from. All starting with lr-mess-x1 (additional options after that)
-
-
Correct, you can choose between which emulator you want to use :
- lr-mess (RetroArch with lr-mess libretro core)
- lr-run_mess (RetroArch with lr-mess libretro core using the Valerino method)
- mame (Standalone MAME)
The options
-cass
and-flop
will refer to what media you will load.
This mame command will give you an idea about that :pi@raspberrypi:~ $ /opt/retropie/emulators/mame/mame -listmedia x1 SYSTEM MEDIA NAME (brief) IMAGE FILE EXTENSIONS SUPPORTED ---------------- --------------------------- ------------------------------- x1 floppydisk1 (flop1) .mfi .dfi .hfe .mfm .td0 .imd .d77 .d88 .1dd .cqm .cqi .dsk .2d x1 floppydisk2 (flop2) .mfi .dfi .hfe .mfm .td0 .imd .d77 .d88 .1dd .cqm .cqi .dsk .2d x1 floppydisk3 (flop3) .mfi .dfi .hfe .mfm .td0 .imd .d77 .d88 .1dd .cqm .cqi .dsk .2d x1 floppydisk4 (flop4) .mfi .dfi .hfe .mfm .td0 .imd .d77 .d88 .1dd .cqm .cqi .dsk .2d x1 cartridge (cart) .bin .rom x1 cassette (cass) .wav .tap
The option
basename
will refer to automatically detect software loaded via the hash software list databases of mame.We have also implemented loader line that automatically add frameskipping for the slower systems.
And
game-specific
means that you can make joystick settings for that game only.So, for example, games from the x1_flop.zip file can be loaded with :
- lr-mess-x1-flop1
- mame-x1-flop1
If you don't want to fiddle with frameskipping, you can choose :
- lr-mess-x1-flop1-autoframeskip
- mame-x1-flop1-autoframeskip
And if you have good mame softwarelist files you can use :
- lr-mess-x1-basename
- etc
Do you see some structure now ?
-
@Folly Maybe it's my romset then. When I try lr-mess-x1-basename it freezes on the Initializing screen. If I try lr-mess-x1-cart or cass I get a "Required files are missing, the machine cannot be run" error.
-
Well from what I know the
mame-sl
software only contains cassette and floppy images.Can you tell me what game you are running ?
A good test is bbreaker.zip from the x1_flop.zip.
Otherwise check your /dev/shm/runcommand.log.
The part, when looking for the bios file should look like this, then its working :[libretro INFO] Game name: x1, Game description: X1 (CZ-800C) Adding monitor screen0 (640 x 480) a:1.333333 [libretro INFO] SOURCE FILE: ../../../../../src/mame/drivers/x1.cpp [libretro INFO] PARENT: 0 [libretro INFO] NAME: x1 [libretro INFO] DESCRIPTION: X1 (CZ-800C) [libretro INFO] YEAR: 1982 [libretro INFO] MANUFACTURER: Sharp [libretro WARN] 80c48 NOT FOUND (NO GOOD DUMP KNOWN) (tried in x1) ank.fnt ROM NEEDS REDUMP WARNING: the machine might not run correctly.
If you have multiple NOT FOUND ___ tried in ___ then you don't have the corect bios file or it's in the wrong location.
-
@Folly So this may be part of the problem? I don't have any .zip roms in the x1 folder. They're all .d2 or .d88 files. So maybe I don't have the right romset?
When running Brain Breaker.2d, I get the following log:
Parameters:
Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-x1/x1_libretro.so --config /opt/retropie/configs/x1/retroarch.cfg "/home/pi/RetroPie/roms/x1/Brain Breaker.2d" --verbose --appendconfig /dev/shm/retroarch.cfg
[INFO] [Config]: Loading config from: "/opt/retropie/configs/x1/retroarch.cfg".
[INFO] [Config]: Appending config "/dev/shm/retroarch.cfg".
[WARN] [GameMode]: GameMode cannot be enabled on this system ("dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory.") https://github.com/FeralInteractive/gamemode needs to be installed.
[WARN] [Config]: GameMode unsupported - disabling...
[INFO] RetroArch 1.10.0 (Git e9e85f3)
[INFO] === Build =======================================
[INFO] Capabilities: NEON VFPv3 VFPv4
[INFO] Built: Jan 30 2022
[INFO] Version: 1.10.0
[INFO] Git: e9e85f3
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[INFO] [Core]: Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-x1/x1_libretro.so"
[INFO] [Overrides]: No core-specific overrides found at "/home/pi/.config/retroarch/config/x1/x1.cfg".
[INFO] [Overrides]: No content-dir-specific overrides found at "/home/pi/.config/retroarch/config/x1/x1.cfg".
[INFO] [Overrides]: No game-specific overrides found at "/home/pi/.config/retroarch/config/x1/Brain Breaker.cfg".
[INFO] [Environ]: SET_VARIABLES.
[INFO] [Remaps]: Remap directory: "/opt/retropie/configs/x1/".
[INFO] [Overrides]: Redirecting save file to "/home/pi/RetroPie/roms/x1/Brain Breaker.srm".
[INFO] [Overrides]: Redirecting save state to "/home/pi/RetroPie/roms/x1/Brain Breaker.state".
[INFO] [Environ]: SYSTEM_DIRECTORY: "/home/pi/RetroPie/BIOS".
[INFO] [Environ]: CORE_ASSETS_DIRECTORY: "/home/pi/.config/retroarch/downloads".
[INFO] [Environ]: GET_SAVE_DIRECTORY.
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
value: OFF
[libretro-test]: Analog: OFF.
[INFO] [Content]: Content loading skipped. Implementation will load it on its own.
[INFO] [SRAM]: Skipping SRAM load.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
[INFO] [Video]: Set video size to: 1280x720.
[INFO] [Video]: Starting threaded video driver ...
[INFO] [DRM]: Found 1 connectors.
[INFO] [DRM]: Connector 0 connected: yes
[INFO] [DRM]: Connector 0 has 38 modes.
[INFO] [DRM]: Connector 0 assigned to monitor index: #1.
[INFO] [DRM]: Mode 0: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 1: (1920x1080) 1920 x 1080, 59.940201 Hz
[INFO] [DRM]: Mode 2: (1920x1080i) 1920 x 1080, 30.000000 Hz
[INFO] [DRM]: Mode 3: (1920x1080i) 1920 x 1080, 29.970100 Hz
[INFO] [DRM]: Mode 4: (1920x1080) 1920 x 1080, 30.000000 Hz
[INFO] [DRM]: Mode 5: (1920x1080) 1920 x 1080, 29.970100 Hz
[INFO] [DRM]: Mode 6: (1920x1080) 1920 x 1080, 24.000000 Hz
[INFO] [DRM]: Mode 7: (1920x1080) 1920 x 1080, 23.976080 Hz
[INFO] [DRM]: Mode 8: (1680x1050) 1680 x 1050, 59.883251 Hz
[INFO] [DRM]: Mode 9: (1280x1024) 1280 x 1024, 75.024673 Hz
[INFO] [DRM]: Mode 10: (1280x1024) 1280 x 1024, 60.019741 Hz
[INFO] [DRM]: Mode 11: (1440x900) 1440 x 900, 59.901459 Hz
[INFO] [DRM]: Mode 12: (1280x960) 1280 x 960, 60.000000 Hz
[INFO] [DRM]: Mode 13: (1360x768) 1360 x 768, 60.015163 Hz
[INFO] [DRM]: Mode 14: (1280x800) 1280 x 800, 59.909546 Hz
[INFO] [DRM]: Mode 15: (1152x864) 1152 x 864, 75.000000 Hz
[INFO] [DRM]: Mode 16: (1280x720) 1280 x 720, 60.000000 Hz
[INFO] [DRM]: Mode 17: (1280x720) 1280 x 720, 60.000000 Hz
[INFO] [DRM]: Mode 18: (1280x720) 1280 x 720, 59.940201 Hz
[INFO] [DRM]: Mode 19: (1280x720) 1280 x 720, 30.000000 Hz
[INFO] [DRM]: Mode 20: (1280x720) 1280 x 720, 29.970100 Hz
[INFO] [DRM]: Mode 21: (1280x720) 1280 x 720, 24.000000 Hz
[INFO] [DRM]: Mode 22: (1280x720) 1280 x 720, 23.976162 Hz
[INFO] [DRM]: Mode 23: (1024x768) 1024 x 768, 75.028580 Hz
[INFO] [DRM]: Mode 24: (1024x768) 1024 x 768, 70.069359 Hz
[INFO] [DRM]: Mode 25: (1024x768) 1024 x 768, 60.003841 Hz
[INFO] [DRM]: Mode 26: (800x600) 800 x 600, 75.000000 Hz
[INFO] [DRM]: Mode 27: (800x600) 800 x 600, 72.187569 Hz
[INFO] [DRM]: Mode 28: (800x600) 800 x 600, 60.316540 Hz
[INFO] [DRM]: Mode 29: (720x480) 720 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 30: (720x480) 720 x 480, 59.940060 Hz
[INFO] [DRM]: Mode 31: (720x480i) 720 x 480, 30.001110 Hz
[INFO] [DRM]: Mode 32: (720x480i) 720 x 480, 29.970030 Hz
[INFO] [DRM]: Mode 33: (640x480) 640 x 480, 75.000000 Hz
[INFO] [DRM]: Mode 34: (640x480) 640 x 480, 72.808800 Hz
[INFO] [DRM]: Mode 35: (640x480) 640 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 36: (640x480) 640 x 480, 59.940475 Hz
[INFO] [DRM]: Mode 37: (720x400) 720 x 400, 70.081665 Hz
[INFO] [GL]: Found GL context: "kms".
[INFO] [GL]: Detecting screen resolution: 1280x720.
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0xaee3acb8.
[INFO] [KMS]: New FB: 1280x720 (stride: 5120).
[INFO] [GL]: Vendor: Broadcom, Renderer: V3D 4.2.
[INFO] [GL]: Version: OpenGL ES 3.1 Mesa 19.3.2.
[INFO] [GL]: Using resolution 1280x720.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shaders]: Specific shader preset found at "/home/pi/.config/retroarch/shaders/presets/global.glslp".
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Setting up menu pipeline shaders for XMB ...
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 2 program(s).
[INFO] [GL]: Creating FBO 0 @ 2048x2048.
[INFO] [udev]: Keyboard #0: "Telink Wireless Receiver Consumer Control" (/dev/input/event1).
[INFO] [udev]: Keyboard #1: "Telink Wireless Receiver System Control" (/dev/input/event2).
[INFO] [udev]: Keyboard #2: "Telink Wireless Receiver" (/dev/input/event3).
[INFO] [udev]: Keyboard #3: "SindenCameraN" (/dev/input/event10).
[INFO] [udev]: Keyboard #4: "Unknown SindenLightgun Keyboard" (/dev/input/event4).
[INFO] [udev]: Keyboard #5: "SindenCameraP" (/dev/input/event11).
[INFO] [udev]: Keyboard #6: "Unknown SindenLightgun Keyboard" (/dev/input/event6).
[INFO] [udev]: Mouse #0: "Telink Wireless Receiver Mouse" (REL) /dev/input/event0
[INFO] [udev]: Mouse #1: "Unknown SindenLightgun Mouse" (ABS) /dev/input/event5
[INFO] [udev]: Mouse #2: "Unknown SindenLightgun Mouse" (ABS) /dev/input/event7
[INFO] [udev]: Pad #0 (/dev/input/event8) supports 0 force feedback effects.
[INFO] [udev]: Pad #1 (/dev/input/event9) supports 0 force feedback effects.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Font]: Using font rendering backend: "stb-unicode".
[INFO] [Video]: Found display server: "null".
[INFO] ALSA: Using floating point format.
[INFO] ALSA: Period size: 480 frames
[INFO] ALSA: Buffer size: 1536 frames
[INFO] [Display]: Found display driver: "gl".
/opt/retropie/supplementary/runcommand/runcommand.sh: line 1304: 4022 Segmentation fault /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-x1/x1_libretro.so --config /opt/retropie/configs/x1/retroarch.cfg "/home/pi/RetroPie/roms/x1/Brain Breaker.2d" --verbose --appendconfig /dev/shm/retroarch.cfg -
This post is deleted! -
@Folly I may have misunderstood this part. I have the x1_cass.zip and X1_flop.zip files. It looks like those are the games themselves, not bios files. What's in the x1.zip file? I have IPLROM.X1 and IPLROM.X1T in the bios/xmil folder.
-
@Retro-Arcade-Fan said in Sharp X1 not loading:
@Folly I may have misunderstood this part.
Indeed, you have ;-)
lr-x1/x1_libretro.so
You second log still contains
lr-x1/x1_libretro.so
.
We can talk about lr-x1 later, if we know what the problem is.Actually we talked about the alternative using mame or lr-mess.
So when you start a game you have to press a button and select a different loader.I have the x1_cass.zip and X1_flop.zip files. It looks like those are the games themselves, not bios files.
Indeed they are the games, but you have to unpack them.
The games are inside those .zip files.What's in the x1.zip file? I have IPLROM.X1 and IPLROM.X1T in the bios/xmil folder.
Every emulator has it's own BIOS requirements.
IPLROM.X1
andIPLROM.X1T
in the BIOS/xmil folder is for the lr-x1 core.
However mame/lr-mess uses thex1.zip
BIOS file which we will keep zipped in the BIOS/mame folder.
The x1.zip file contains :
Archive content:Name: /home/pi/RetroPie/BIOS/mame/x1.zip : x1twin/ipl.rom 2894 x1twin/ank16.rom 1153 x1turbo40/ipl.bin 24933 x1turbo/kanji4.rom 13748 x1turbo/kanji3.rom 20684 x1turbo/kanji2.rom 10931 x1turbo/kanji1.rom 15754 x1turbo/ipl.x1t 24970 x1turbo/fnt0808_turbo.x1 1093 ipl.x1 2893 fnt0808.x1 1094 ank.fnt 2867
You can get it from the mame romset
mame-merged
( duckduckgo or google is your friend ) -
@Folly said in Sharp X1 not loading:
x1twin/ipl.rom
That was the missing piece of the puzzle. Now that I know what was in the x1.zip and was able to add it to the bios folder, it's working smooth as butter. Thanks for your patience @Folly and for helping me get this resolved!!
-
Your welcome.
Nice to hear it's working now.
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.