Imagepack by shokushu11/3/2023 I'm wondering how much of the HD project's final size can be lowered since the latest version albert sent me is quite chonky, and that's without the HD videos. How's the compression ratio, btw? I had no time to test it myself yet. Nah, no reason to bother if the game accepts both types. He hasn't gotten back to me yet, so he probably had no time to test it. Thank you! I'll send the updated version to albert. (the LFS code in the game is weird, kinda seems like if it loads a non-LFS file in, it creates a LFS file in memory first (at 0圆AC9D0) & packs the file into decompressed LFS chunks etc, for later code to read in - wonder if there's a way to fix that to improve load times at all) (also IIRC v1.1.0 depot was actually incomplete, and has to be copied over a v1.0.6 install to work, possible that the 0xCD/0xDA padded ones are from one version and the other version uses 0x00)Ĭould maybe add a switch to change what byte to pad with etc, but I don't really think there's much point if the game accepts both types, doesn't look like it should refuse any at least. My guess is they probably used different versions of their compressor tool to build different parts, maybe a debug build was used for Etc/Evd, since I know some VC libraries start using 0xCC/0xCD for pad bytes when using debug versions of them. With those it looks like they use a different byte for padding (0xCD, or 0xDA), and some of them add those padding bytes into the SizeCompressed field. With this the majority of files seem to compress/decompress exactly, except for ones inside Etc/Evd and a couple ImagePack files. (also fixes a bug where 1.0 wouldn't enter decompress mode if using output parameter) Seems to happen with BIO4\Em\ and a bunch of other files, in the final 0x1A bytes don't match the original, seems those bytes are from the last compressed block -0x8000 bytes away for some reason, looking into it more now.Į: ah okay, seems XMemCompress was using a size I gave it as the literal buffer size, so wasn't copying everything over to the buffer lfs then won't match with the file that was compressed neither :/ lfs it creates wont match up to the original. Crap, seems to be some bug with compressing certain files, the.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |