Launching CHD+BIOS-only games in lr-mame
-
Hello,
I have a particular question about lr-mame (0.235).
Pi Model or other hardware: Pi 4B
Power Supply used: Smraza 2.5A
RetroPie Version Used: 4.7.20
Built From: Pre-made SD Image on RetroPie website
USB Devices connected: Wireless keyboard/mouse combo, X-input wired controller
Controller used: 8BitDo wired X-input controller
Emulator: lr-mame (0.235)I am having issues with games that are CHD + iteagle.zip BIOS only (i.e., there is no accompanying game-specific .zip). I will focus on the game "Big Buck Hunter," but the issue is the same for other games with this same BIOS.
On my Windows system, I have MAME 0.235 installed and have the following folder structure:
rom folder -> iteagle.zip and bbh folder
bbh folder -> bbh_v1.00.14.chdWhile I do get a warning about imperfect emulation, the files are recognized and the game launches.
However, with the same folder structure on my Pi, I am unable to launch the same game with lr-mame (same 0.235 version). The folder structure is the same as above, with the /home/pi/RetroPie/roms/arcade/ directory serving as the parent ROM directory for MAME.
Via es_systems.cfg, I enabled CHD visibility in ES and tried launching by selecting the CHD. I get a gray screen with some gibberish as an error message as well as this in the verbose log:
[libretro INFO] Starting game:/home/pi/RetroPie/roms/arcade/bbh/bbh_v1.00.14.chd [libretro WARN] Driver bbh_v1 not found -1 [libretro ERROR] Driver not found bbh_v1 [libretro INFO] Game name: bbh, Game description: Big Buck Hunter (v1.00.14) [libretro ERROR] System not found: bbh [libretro INFO] Game name: bbh, Game description: Big Buck Hunter (v1.00.14) [libretro INFO] Creating frontend for game: bbh_v1 [libretro INFO] Softlists: 1 [INFO] [Environ]: SET_MESSAGE: ?? dnknown option: bbh_v1 [libretro ERROR] Error: unknown option: bbh_v1
I also tried launching from a dummy bbh.zip that was placed in the arcade folder as well as in the bbh subfolder and get similar errors.
My last resort was launching a working game in lr-mame and then using the TAB menu to "select another machine." From this menu, the Big Buck Hunter files are recognized as legit, I am asked to select a BIOS bootrom (like in Windows MAME), and I am sent to a black screen with crosshairs for a few seconds before crashing back to ES with the following from the verbose log:
[libretro INFO] SOURCE FILE: ../../../../../src/mame/drivers/iteagle.cpp [libretro INFO] PARENT: iteagle [libretro INFO] NAME: bbh [libretro INFO] DESCRIPTION: Big Buck Hunter (v1.00.14) [libretro INFO] YEAR: 2000 [libretro INFO] MANUFACTURER: Incredible Technologies e2-bbh0.u53 NOT FOUND (NO GOOD DUMP KNOWN) (tried in bbh iteagle) WARNING: the machine might not run correctly.
The "e2-bbh0.u53 NOT FOUND" portion sticks out to me as an obvious error, but it is odd that the Windows version (same MAME 0.235) launches the game fine.
I understand that it is unlikely that these particular Incredible Technologies games would run great on a Pi, but I am still curious.
Has anyone figured out a way to launch these games on a Raspberry Pi?
EDIT: Also of note is that the "e2-bbh0.u53 NOT FOUND" warning does indeed appear when I run Big Buck Hunter on my Windows machine via command line. A correction to the above is that placing a dummy bbh.zip in the ROM folder outside of the bbh/CHD folder appears to be the proper way to attempt to launch this game from ES. The error I receive when the emulator crashes is:
/opt/retropie/supplementary/runcommand/runcommand.sh: line 1304: 1842 Segmentation fault /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame/mamearcade_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg "/home/pi/RetroPie/roms/arcade/bbh.zip" --verbose --appendconfig /dev/shm/retroarch.cfg
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.