When using standalone SCUMMVM both folder and squashfs variants of the games work.
However when I switch over to libretro.SCUMMVM only the regular folder works - the squashfs version stops at the SCUMM menu indicating that the game has not been found.
Expected result
Using .squashfs should work with libretro.SCUMMVM
Reproduction steps
Take teenagent game as example:
/userdata/roms/scummvm/teenagent -- the folder contains game data as well as teenagent.scummvm file containing "teenagent" (without the quotes).
/userdata/roms/scummvm/teenagent.squashfs -- created with "mksquashfs teenagent teenagent.squashfs"
Try launching teenagent.squashfs within EmulationStation. Scummvm menu will open with an empty games list.
Having a quick compare it seems that when using the extracted folder version a full path is fed to the runCommand but for squashfs the path seems to be trimmed?
Batocera build version
Batocera v38
Your architecture
x86_64
Your Graphic Processor Unit (GPU)
Dedicated (e.g. GTX 1050; Radeon R9 380)
Graphical brand
AMD
Issue description
When using standalone SCUMMVM both folder and squashfs variants of the games work. However when I switch over to libretro.SCUMMVM only the regular folder works - the squashfs version stops at the SCUMM menu indicating that the game has not been found.
Expected result
Using.squashfs should work with libretro.SCUMMVM
Reproduction steps
Take teenagent game as example:
/userdata/roms/scummvm/teenagent -- the folder contains game data as well as teenagent.scummvm file containing "teenagent" (without the quotes).
/userdata/roms/scummvm/teenagent.squashfs -- created with "mksquashfs teenagent teenagent.squashfs"
Try launching teenagent.squashfs within EmulationStation. Scummvm menu will open with an empty games list.
Logs and data
Here's es_launch_stdout.log to compare:
SCUMMVM - libretro - folder - working SCUMMVM - libretro - squashfs - not working
Having a quick compare it seems that when using the extracted folder version a full path is fed to the runCommand but for squashfs the path seems to be trimmed?
DEBUG (emulatorlauncher:532):runCommand command: ['mangohud', '/usr/bin/retroarch', '-L', '/usr/lib/libretro/scummvm_libretro.so', '--config', '/userdata/system/configs/retroarch/retroarchcustom.cfg', '--set-shader', '/usr/share/batocera/shaders/presets/scalefx-aa.slangp', '--verbose', '/userdata/roms/scummvm/teenagent/teenagent']
DEBUG (emulatorlauncher:532):runCommand command: ['mangohud', '/usr/bin/retroarch', '-L', '/usr/lib/libretro/scummvm_libretro.so', '--config', '/userdata/system/configs/retroarch/retroarchcustom.cfg', '--set-shader', '/usr/share/batocera/shaders/presets/scalefx-aa.slangp', '--verbose', '/var/run/squashfs/t']