July 25, 2025Jul 25 I was taking a look at this game again recently and most of the games files are inside of this messy format. Looks like the beginning of the archive contains file paths and sizes to the original unconverted assets and the files that are actually inside of the archive. Samples: GobletofFire str.7z
January 2Jan 2 Author I did some more digging into the format and now I have a better idea of how it works. Usually a .str file begins with a piece of code that is read. It has a header of 1C 07 and has the file size of the code stored in little endian hexadecimal. It is followed by 0x04 bytes of 00s presumably used for padding. After that is the file entries where each entry always has the header of 16 07. It seems to vary based on file type but at least for .dir files it contains the file path of where the asset was copied from when the archive was being built along with the size of the file path in hexadecimal. After that is the hash used for the filename. The first 0x08 bytes of each file hash is stored in little endian but the last 0x08 bytes are stored in big endian. So EA A2 3B DB 72 40 95 45 96 49 85 57 0C ED 88 E7 becomes {DB3BA2EA-4072-4595-9649-85570CED88E7}.dir for example. After the file hash is some padding along with 0x04 bytes that are used to store the size of the file in little endian hexadecimal. .dir files in general don't seem to be read by the game itself but it seems to have been at least generated when the archive was being built as seen in the screenshot from my original post. Depending on the file in question there can be also references to a file directory that it is expected to be read in along with a byte used to track how much space the directory takes up in the archive.
January 2Jan 2 Author 3 hours ago, Rabatini said: try it. {C69142BD-03B1-401D-9A4E-09ED99B3F8C8}.str_extracted (2).zip 512.69 kB · 2 downloads Thanks! Looks pretty accurate based on what I've seen throughout the archive for that file. What did you use to extract it? ILooks like the zip is just the extracted assets
January 2Jan 2 Supporter Solution 9 hours ago, phantaton said: Thanks! Looks pretty accurate based on what I've seen throughout the archive for that file. What did you use to extract it? ILooks like the zip is just the extracted assets Sorry, forget to put the tool together. HPGof-ps2-unpacker.zip
Create an account or sign in to comment