
Sky Gamblers: Storm Raiders .str
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Sky Gamblers: Storm Raiders .str
The format of the STR files is simple but they use some obfuscation that I can't identify, so ignore the following work-in-progress script:
Code: Select all
get NAME filename
string NAME + ".txt"
idstring "STRB2\0"
get STRINGS short
savepos BASE_OFF
xmath BASE_OFF "BASE_OFF + ((STRINGS+1) * 4)"
for i = 0 < STRINGS # STRINGS+1 is asize
get OFFSET long
math OFFSET + BASE_OFF
filexor 0x63 # WRONG!!!
slog NAME OFFSET -1 unicode
filexor ""
next i