Finder of things, Doer of stuff
Yeah I'd love to have an STR unpacker as well. I'm not a code magician, unfortunately. They are definitely an archive of sorts though. I posted a bit about them further up. You can see the whole index of files in the STRs in plain text near the top of the STR. You can see where the mission files are in mission.str for example, as you can see all the objectives and nav info listed in plain text within the mission file chunks too.Does anyone have any insight into the 3DO STR files? I'd love to be able to take a look at the mission scripts.
Since RefPack is being used to compress the data in the stream, and refpack requires the entire # data to be in memory for it to be decompressed, this requires that we break the data into chunks # limited to the bytes specified below. file_chunk_size 65536 minimum_compression 100 block_size 2048
The part I find funny in this wiki entry is the bit where it says near the end : " The original RefPack.cpp written by Frank Barchard was released by WCNews: http://download.wcnews.com/files/do...ommers/mfcapp_src/engine/compress/RefPack.cpp "Header
The RefPack header begins with a 1-byte Flags field, followed by a 1-byte magic number equal to 0xFB:
Byte 1 Byte 2 LU01000C 11111011
Thanks AD. I already had to pull Refpack over for the PC version (it's one of the two compression types used by the tre files). In that case the header is missing because the compressed and uncompressed sizes are in the TRE file info, it also applies on a file within the TRE rather than a full container.Info on refpack: http://wiki.niotso.org/RefPack " RefPack is an LZ77/LZSS compression format made by Frank Barchard of EA Canada for the Gimex library used by many older games by EA "
The part I find funny in this wiki entry is the bit where it says near the end : " The original RefPack.cpp written by Frank Barchard was released by WCNews: http://download.wcnews.com/files/do...ommers/mfcapp_src/engine/compress/RefPack.cpp "