From ff0d47ce734040eec78653fc92bf3a1a2792544e Mon Sep 17 00:00:00 2001 From: Roger13 Date: Thu, 27 Aug 2026 12:03:48 +0100 Subject: [PATCH] Tamashii: accept the itch.io executable name The launch script only tested for gamedata/game.exe, which is the Steam build's name. The itch.io release ships tamashii.exe, so 7zzs never ran, no data.win was produced, and gmloader exited with 'Unable to open game's WAD file'. Pick the first *.exe in gamedata instead. Co-Authored-By: Claude Opus 5 --- ports/tamashii/Tamashii.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ports/tamashii/Tamashii.sh b/ports/tamashii/Tamashii.sh index 68ecdc3974..06eb5e967e 100644 --- a/ports/tamashii/Tamashii.sh +++ b/ports/tamashii/Tamashii.sh @@ -27,12 +27,15 @@ export GMLOADER_PLATFORM="os_linux" cd "$GAMEDIR" > "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 -if [ -f "./gamedata/game.exe" ]; then +# Steam ships "game.exe", itch.io ships "tamashii.exe" +gameexe=$(ls ./gamedata/*.exe 2>/dev/null | head -n1) + +if [ -f "$gameexe" ]; then # Extract its contents in place using 7zzs - ./libs/7zzs x "./gamedata/game.exe" -o"./gamedata/" + ./libs/7zzs x "$gameexe" -o"./gamedata/" fi - files_to_remove=("./gamedata/game.exe" + files_to_remove=("$gameexe" "./gamedata/D3DX9_43.dll" "./gamedata/options.ini")