[REQ] Repacking script for *.sdat

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
sigroon365
Posts: 330
Joined: Fri Nov 21, 2014 4:03 am

[REQ] Repacking script for *.sdat

Post by sigroon365 »

This is bms script for Tears to Tiara2 by chrrox. Can someone made repacking script for it?
sample https://www.sendspace.com/file/8lqntq

Code: Select all

endian big
idstring "Filename"
get tbloff long
math tbloff x 4
math tbloff + 16
savepos tmp
get files long
math files / 4
for i = 0 < files
goto tmp
get noff long
math noff + 12
savepos tmp
goto tbloff
get offset long
get size long
savepos tbloff
goto noff
get name string
log name offset size
next i