You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay, I looked at the attached file a little closer, and I'm seeing a couple of issues:
You will need to change GameVersion::Default to GameVersion::ArchiveV2 to activate the code path for the new file format.
The file appears to be compressed with Oodle compression, which we don't have a decompressor for, so you'll still get Deserialize(InvalidHeader("Unsupported compression type Oodle")).
If you're able to generate files with zlib compression, you should be able to read those with my branch.
changed the title [-]Error: Deserialize(InvalidHeader("File type 2653586369 not recognized"))[/-][+][ArchiveV2] Oodle compression support[/+]on Dec 8, 2025
Activity
scottanderson commentedon Dec 8, 2025
I started to implement ArchiveV2 a few weeks ago, but I didn't finish writing the tests. You can take a look at what I have so far here.
christianstamati commentedon Dec 8, 2025
Thanks!!
christianstamati commentedon Dec 8, 2025
Sorry, I am not really into rust:
I added the dependency like this:
And then I try to parse ti file like this:
I tried one of the example files in /resources/tests/Slot1.sav and it works:
But when trying Level.sav I am still getting the same issue even using archive-2:
scottanderson commentedon Dec 8, 2025
Okay, I looked at the attached file a little closer, and I'm seeing a couple of issues:
GameVersion::DefaulttoGameVersion::ArchiveV2to activate the code path for the new file format.Deserialize(InvalidHeader("Unsupported compression type Oodle")).If you're able to generate files with zlib compression, you should be able to read those with my branch.
[-]Error: Deserialize(InvalidHeader("File type 2653586369 not recognized"))[/-][+][ArchiveV2] Oodle compression support[/+]