We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04a7498 commit 61dc420Copy full SHA for 61dc420
1 file changed
scriptmodules/emulators/scummvm.sh
@@ -80,10 +80,16 @@ function configure_scummvm() {
80
#!/bin/bash
81
game="\$1"
82
pushd "$romdir/scummvm" >/dev/null
83
+
84
+# Read game ID from .svm file, if present.
85
+test -f "\$game.svm" && game=$(cat "\$game.svm")
86
87
$md_inst/bin/scummvm --fullscreen --joystick=0 --extrapath="$md_inst/extra" "\$game"
-while read id desc; do
- echo "\$desc" > "$romdir/scummvm/\$id.svm"
-done < <($md_inst/bin/scummvm --list-targets | tail -n +3)
88
89
+# Write .svm files.
90
+while read id title; do
91
+ echo "\$id" > "/home/pi/RetroPie/roms/scummvm/\$title.svm"
92
+done < <(/opt/retropie/emulators/scummvm/bin/scummvm --list-targets | tail -n +3 | tr '/' ' ')
93
popd >/dev/null
94
_EOF_
95
chown $user:$user "$romdir/scummvm/+Start $name.sh"
0 commit comments