Open mtolly opened 4 years ago
I have not yet checked to see if any other Ark versions such as GH1/2/80s have these kinds of files.
I know for a fact EyeToy: AntiGrav
uses that reserved field. However, the game instead uses .z
extension (zlib compression) for related entries. It's also on ark v2.
IIRC both gzip and zlib are just wrappers around DEFLATE compression, we should be able to just do something like the library does for compressed FSAR files (https://github.com/maxton/GameArchives/blob/master/Library/FSAR/FSARFile.cs#L75)
While working on Amplitude PS2 (ark v2) modification I discovered compressed texture files are missing from the visible/extractable contents in ArchiveExplorer.
The culprit appears to be this line which skips any files that do not have a zero for the final part of the file entry. However Pikmin's notes say that this just means it's a gzip-compressed file.
For example this file should be present at
arenas/constructo/gen/backdrop01.bmp.gz
(not to be confused with the uncompressedarenas/constructo/backdrop01.bmp
which is an actual Windows bitmap, possibly the source file included by mistake?)I have not yet checked to see if any other Ark versions such as GH1/2/80s have these kinds of files.