I tried to do it myself by using this script from chroxx that he made for SMEOT
Code: Select all
endian big
comtype zlib_noerror
get idstring long
get chunksize long
get baseoff long
get unkown long
get files long
get totalzsize long
get totalsize long
get name filename
set offset baseoff
get NAME basename
string NAME += ".pak"
savepos tmp
for i = 0 < files
if i == 0
get size long
else
goto tmp
get old long
savepos tmp
get size long
math size - old
endif
if totalzsize >= 0x8000
set zsize 0x8000
else
set zsize totalzsize
endif
clog MEMORY_FILE offset zsize size
append
log name 0 size MEMORY_FILE
append
math offset += 0x8000
math totalzsize - 0x8000
next i
This script worked with TASM1 files, but doesn't work with TASM2 because TASM2 has different file structure.
I edited it and this is how it looks, but still doesn't work
Code: Select all
endian little
comtype zlib_noerror
get idstring long
get chunksize long
get baseoff long
get unkown long
get files long
get totalzsize long
get totalsize long
get name filename
set offset baseoff
get NAME basename
string NAME += ".pak"
savepos tmp
for i = 0 < files
if i == 0
get size long
else
goto tmp
get old long
savepos tmp
get size long
math size - old
endif
if totalzsize >= 0x18000
set zsize 0x18000
else
set zsize totalzsize
endif
clog MEMORY_FILE offset zsize size
append
log name 0 size MEMORY_FILE
append
math offset += 0x18000
math totalzsize - 0x18000
Can anyone help me, please?
Here's the file: https://www.mediafire.com/file/si17dsfq ... n.zip/file