yeah reimporting is not possible because the whole archive is compressed instead of each single file as usually happens with other game archives.
In this case splitting the script in two separate scripts is a possible choice:
- script1 decompresses the archive
- script2 extracts the files
script2 can then used for reimporting while recompressing the archive is a bit more complicated and prone to errors (maybe the web player will refuse it).
Anyway it's good that you found a working solution.
Since you used lzma for the compression job, please note that quickbms supports recompressors too, example:
Code:
comtype lzma86head_compress
get SIZE asize
clog "new.dat" 0 SIZE SIZE