lr-flycast returns to game list
-
Setup:
Raspberry Pi 4B with official power supply
Retropie 4.7.1 downloaded from official site. (retropie-buster-4.7.1-rpi4_400.img.gz)
64GB SD Card – (Image installed using ApplePi-Baker v2)
2 x Ultrastik 360s (Analogue mapped)
8 Way Powered USB Hub
Using Emulation StationI am trying to install lr-flycast for Dreamcast games as I'm having no luck setting up the lightguns on Redream. They are too erratic. I fixed a similar issue on Mame2003 by going to TAB menu and adjusting analogue sensitivity, but can't find a way of doing that for Redream.
Anyway, I updated the retropie setup script and have tried installing lr-flycast first from binary, then from source to try as nothing loaded. Just keep returning to the game list.
I have dc_boot.bin and dc_flash.bin in /home/pi/RetroPie/BIOS/dc
(i have tried a few different versions I found)The verbose runcommand.log doesn't show much that looks like it is the cause. But I'm not an expert at all. It looks like it tries to load game mode, which isn't installed. But it looks like it disables that and ignores. I haven't worked out how to install it yet anyway.
Here is a runcommand.log:
bash: /opt/retropie/supplementary/joystick-selection/js-onstart.sh: No such file or directory
/opt/retropie/configs/all/runcommand-onstart.sh: line 22: [: too many arguments
Parameters:
Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-flycast/flycast_libretro.so </dev/null --config /opt/retropie/configs/dreamcast/retroarch.cfg "/home/pi/RetroPie/roms/dreamcast/18 Wheeler - American Pro Trucker (USA).chd" --verbose --appendconfig /dev/shm/retroarch.cfg
[INFO] [Config]: Loading config from: "/opt/retropie/configs/dreamcast/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: Aug 15 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-flycast/flycast_libretro.so"
[INFO] [Overrides]: No core-specific overrides found at "/home/pi/.config/retroarch/config/Flycast/Flycast.cfg".
[INFO] [Overrides]: No content-dir-specific overrides found at "/home/pi/.config/retroarch/config/Flycast/dreamcast.cfg".
[INFO] [Overrides]: Game-specific overrides found at "/home/pi/.config/retroarch/config/Flycast/18 Wheeler - American Pro Trucker (USA).cfg".
[INFO] [Config]: Appending config "/home/pi/.config/retroarch/config/Flycast/18 Wheeler - American Pro Trucker (USA).cfg".
xboxdrv: no process foundThe Game-specific override found is:
input_overlay = "/opt/retropie/configs/all/retroarch/overlay/GameBezels/Dreamcast/18 Wheeler - American Pro Trucker (USA).cfg"All other cores work fine and Redream boots the roms fine.
For further info, the runcommand-onstart is here, but hasn't caused an issue with anything else running:
# the line below is needed to use the joystick selection by name method bash "/opt/retropie/supplementary/joystick-selection/js-onstart.sh" "$@" #!/usr/bin/env bash # To print text to screen for testing # echo "text to display" # or echo $rom_bn # to display rom name # Get system name system=$1 emulator=$2 rom=$3 command=$4 # rom_bn receives $rom excluding everything from the first char to the last slash '/' rom_bn="${rom##*/}" # rom_bn receives $rom_bn excluding everything from the last char to the first dot '.' rom_bn="${rom_bn%.*}" if [ $rom_bn = bwidow ] then rotator 1 1 8 2 1 8 > /dev/null 2>&1 fi if [ "$1" = "atari2600" ] || [ "$1" = "atari7800" ] || [ "$1" = "atarilynx" ] || [ "$1" = "mastersystem" ] || [ "$1" = "megadrive" ] || [ "$1" = "neogeo" ] || [ "$1" = "nes" ] || [ "$1" = "pcengine" ] || [ "$1" = "sega32x" ] || [ "$1" = "segacd" ] || [ "$1" = "snes" ] then rotator 1 1 8 2 1 8 > /dev/null 2>&1 fi # if [ $rom_bn = armorca2 ] || [ $rom_bn = armorcar ] || [ $rom_bn = alpine ] # then rotator 1 1 4 2 1 4 > /dev/null 2>&1 # fi # Above, not required anymore if [ "$1" = "dreamcast" ] || [ "$1" = "3do" ] || [ "$1" = "n64" ] || [ "$1" = "psx" ] || [ "$1" = "saturn" ] then rotator 1 1 analog 2 1 analog > /dev/null 2>&1 fi emitter LoadProfileByEmulator "$rom_bn" "$system" > /dev/null 2>&1 if [ "$1" = "daphne" ] then sudo killall >> /dev/shm/runcommand.log 2>&1 xboxdrv sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv >> /dev/shm/runcommand.log 2>&1 \ --evdev /dev/input/event[8] \ --silent \ --detach-kernel-driver \ --force-feedback \ --deadzone-trigger 15% \ --deadzone 4000 \ --mimic-xpad \ --trigger-as-button \ --four-way-restrictor \ --evdev-absmap ABS_X=x1,ABS_Y=y1,ABS_X=x2,ABS_Y=y2 \ --evdev-keymap BTN_TRIGGER=a,KEY_#302=b,KEY_#300=x,BTN_BASE3=y,BTN_PINKIE=lb,BTN_THUMB=rb,BTN_BASE=tl, \ --ui-buttonmap x=KEY_1,y=KEY_5,a=KEY_SPACE,b=KEY_ESC,lb=KEY_KPSLASH,rb=KEY_KPASTERISK,tl=KEY_KPMINUS \ --ui-axismap x2=KEY_UP:KEY_DOWN,y2=KEY_LEFT:KEY_RIGHT \ --evdev-debug \ & fi
Thanks for any help
-
Please post the complete
runcommand.log
on pastebin.com, not in the topic. Your log is incomplete. -
@mitu Sorry, my mistake. Will do that in the future. I thought the log didn't look right as it doesn't show much detail. I've just tried to run a game again, and it is the full log that has been saved. See below again, this is the log just generated.
<script src="https://pastebin.com/embed_js/NQN20shz"></script>
-
The log looks again too short - it doesn't show the
.chd
file being read or even the core (flycast
) being executed. How are you copying the log's contents ? -
@mitu I know, it's odd, any loading problem I've had in the past I've sorted using the log. I'm doing the same as I also have to view it, using a Mac.
Launch with verbose logging.
When the screen returns to the game list without loading:
Use Cyberduck to navigate to /dev/shm/
Right click on it and 'Edit with TextEdit'
Cmd A to highlight all
Cmd C to copy all.
As soon as I open with TextEdit I can see that 'xboxdrv: no process found' is the last line in the log. -
Try to remove the game config override (
/home/pi/.config/retroarch/config/Flycast/18 Wheeler - American Pro Trucker (USA).cfg
) and theonstart
scripts, then check again the log. -
@mitu Great outcome, thanks, but still one odd log.
With both disabled, it boots and gives a much better looking log as below:
<script src="https://pastebin.com/embed_js/QZYpEyb6"></script>With the game-specific override disabled, the game boots with a full log, as below:
<script src="https://pastebin.com/embed_js/vjSbP8Rk"></script>With onstart script disabled, the game boots, and an incomplete log as below:
<script src="https://pastebin.com/embed_js/zk8S7W9w"></script>So, it boots fine with both disabled (good log), or either disabled (but odd log for onstart disabled)
There is an odd line in the log, see below:
[INFO] [Remaps]: Remap directory: "/opt/retropie/configs/nes/".Which seems odd as this is the first time it has ran and I haven't specified to remap from NES.
But I'll make do without the game specific override, it's only used to display a game specific bezel. Thanks for your help.
-
A quick additional update:
I just changed the default emulator to lr-flycast in the launch menu, and tried a different game that wasn't loading, and it ran.... without disabling the game-specific override...
Tried another and that worked too. All with the correct bezels setup in that override.
Very strange, but up and running.
Thanks again.
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.