Amplitude PS2 .ark missing some files #23
Labels
No labels
archive-explorer
bug
duplicate
enhancement
gamearchives-lib
help wanted
invalid
new-format
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-maxton/GameArchives#23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.bmpwhich 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.
I know for a fact
EyeToy: AntiGravuses that reserved field. However, the game instead uses.zextension (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)