Skip to content

Tyranoscript games packaged with modern Electron (11+) fail detection — natives_blob.bin check is obsolete #67

Description

@on9686

Describe the bug

Summary
Tyrano games exported from recent TyranoStudio versions are not detected by the launcher.
rpgmaker-linux --gamepath exits immediately with Can't find any game in <path>,
even though the game is a standard TyranoStudio Electron export that the
tyranofuncv5 / Electron path is designed to handle.

My environment

  • rpgmaker-linux (installed via installgithub.sh, current release)
  • Game: TyranoScript V5-based game, exported with TyranoStudio V6 (distribution packaging, "hide files" enabled → resources/app.asar)
  • Game's bundled Electron: 24.2.0 (Chromium 112), per the exported package.json
  • Host: Fedora, x86_64

To Reproduce

  1. Export any project from a recent TyranoStudio (V6) as a Windows package.
    The output folder looks like this (Electron app layout):
    GameName.exe chrome_100_percent.pak chrome_200_percent.pak icudtl.dat
    locales/ resources/app.asar resources.pak snapshot_blob.bin
    v8_context_snapshot.bin ffmpeg.dll libEGL.dll libGLESv2.dll ...
  2. Run rpgmaker-linux --gamepath /path/to/GameName/
  3. Output: Can't find any game in /path/to/GameName/ (exit 1)

Expected behavior
In packagefiles/nwjsstart-cicpoffs.sh, the Electron/Tyrano detection branch in
checkgamefilesfd requires natives_blob.bin:

elif [ -d "$npath/resources" ] && [ -d "$npath/locales" ] && [ -e "$npath/chrome_100_percent.pak" ] && [ -e "$npath/natives_blob.bin" ] && [ -e "$npath/chrome_200_percent.pak" ]; then
tyranofuncv5

natives_blob.bin was removed from V8/Chromium years ago and is no longer shipped
by Electron 11+. Games packaged with any modern Electron (TyranoStudio has been
shipping Electron 20+ for a while; my export uses 24.x) therefore never match this
branch and fall through to the final Can't find any game error, despite
satisfying every other condition.

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Linux Fedora, x86_64
  • Browser : N/A
  • Version : v1.1.9

Does the game crash at startup?
Output: Can't find any game in /path/to/GameName/ (exit 1)

Do other games launch with the same issue?
I expect the same symptoms for games exported in the same way.

Are you using the compatibility tool to run in the steam platform?
N/A (not for steam game issue)

Additional context
Placing the dummy natives_blob.bin file can temporarily bypass this symptom.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions