wetor / LuckSystem

Prototype's galgame (LucaSystem Engine) tools, Decompile and Compile LucaSystem's script file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Support to Extract Extensionless Script

HoodedTissue opened this issue · comments

There don't seem to be any public tools that seem to support extracting scripts without an extension or header from SCRIPT.PAK so would it be possible to add support for it? I have provided the original SCRIPT.PAK file and one of the script files. The game in question is the PS Vita version of Amatsutsumi.
Thanks!
SCRIPT.zip

After a bit more experimentation, I seem to have figured it out. The byte that comes right before every occurrence of 0x001F03 seems to be the length of whatever is needed to display the text so adjusting that byte accordingly will allow you to edit the text without the game crashing. Hacked up a few tools here to decompile the script just in case it helps (code is garbage but hopefully its readable).
2022-08-09-093501-260714