Skip to content

Commit 5c0777e

Browse files
Update wolf4sdl.sh
Automatically rename `.sod` files.
1 parent 6641468 commit 5c0777e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scriptmodules/ports/wolf4sdl.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ function game_data_wolf4sdl() {
8787
# Get shareware game data
8888
downloadAndExtract "http://maniacsvault.net/ecwolf/files/shareware/wolf3d14.zip" "$romdir/ports/wolf3d" -j -LL
8989
fi
90+
91+
for sodfile in gamemaps maphead vswap; do
92+
[[ -f "$romdir/ports/wolf3d/$sodfile.sod" ]] && mv "$romdir/ports/wolf3d/$sodfile.sod" "$romdir/ports/wolf3d/$sodfile.sd1"
93+
done
94+
9095
if [[ ! -f "$romdir/ports/wolf3d/vswap.sdm" && ! -f "$romdir/ports/wolf3d/vswap.sd1" ]]; then
9196
cd "$__tmpdir"
9297
# Get shareware game data

0 commit comments

Comments
 (0)