File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -80,10 +80,16 @@ function configure_scummvm() {
80
80
#!/bin/bash
81
81
game="\$ 1"
82
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
+
83
87
$md_inst /bin/scummvm --fullscreen --joystick=0 --extrapath="$md_inst /extra" "\$ game"
84
- while read id desc; do
85
- echo "\$ desc" > "$romdir /scummvm/\$ id.svm"
86
- 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 '/' ' ')
87
93
popd >/dev/null
88
94
_EOF_
89
95
chown $user :$user " $romdir /scummvm/+Start $name .sh"
You can’t perform that action at this time.
0 commit comments