Skip to content

Tamashii: accept the itch.io executable name - #2645

Open
Roger13 wants to merge 1 commit into
PortsMaster:mainfrom
Roger13:fix/tamashii-itch-exe
Open

Tamashii: accept the itch.io executable name#2645
Roger13 wants to merge 1 commit into
PortsMaster:mainfrom
Roger13:fix/tamashii-itch-exe

Conversation

@Roger13

@Roger13 Roger13 commented Aug 27, 2026

Copy link
Copy Markdown

Problem

Tamashii.sh tests for one exact filename:

if [ -f "./gamedata/game.exe" ]; then
    ./libs/7zzs x "./gamedata/game.exe" -o"./gamedata/"
fi

game.exe is the Steam build's name. The itch.io release ships tamashii.exe. With the itch.io copy the test never matches, 7zzs never runs, no data.win appears, and the later mv gamedata/data.win gamedata/game.droid is skipped. The script then launches gmloader with no data file:

Trying to load WAD from /userdata/roms/ports/tamashii/gamedata/game.droid.
platform/common/zip_util.c:71: Failed to stat file 'assets/game.droid'.
ports/gmloader/libyoyo.c:496: Unable to open game's WAD file.

The port's own port.json links the itch.io store page, so the itch.io build is an expected source.

Fix

Pick the first *.exe in gamedata instead of hardcoding the name. Steam and itch.io copies both work, and the removal list drops the same file that was extracted.

Notes

  • ls ... 2>/dev/null matches the style already used a few lines below for the .ogg check.
  • No .exe present: gameexe is empty, [ -f "" ] is false, rm -f "" is a no-op. Same behaviour as before.
  • Both game.exe and tamashii.exe present: game.exe wins, as before.
  • LF endings, mode 644 unchanged, bash -n clean.

Testing

Reported and reproduced on RG35XX-H (H700) at 640x480 with the itch.io build; the log above is from that device. I could not run the full distribution matrix. The change touches only filename selection, not rendering, input or libraries, so behaviour on other CFWs should be unchanged — the Steam path is byte-identical in effect. Happy to hold for someone with wider hardware access to confirm.

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 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant