From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:PSU and MAX (PS2 save containers)" |
|---|
| claim | "A .max file starts with a 0x5C-byte header: magic "Ps2PowerSave" (12 bytes), crc u32, dirName[32], iconSysName[32], compressedSize u32, numFiles u32, then decompressedSize u32 (the first word of the LZARI stream)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PSU and MAX (PS2 save containers)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "MaxHeader" |
|---|
| size_min | "0x5C" |
|---|
| endianness | "little" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 12 |
|---|
| type | "char[12]" |
|---|
| name | "magic" |
|---|
|
| offset | "0xC" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "crc" |
|---|
|
| offset | "0x10" |
|---|
| size | 32 |
|---|
| type | "char[32]" |
|---|
| name | "dirName" |
|---|
|
| offset | "0x30" |
|---|
| size | 32 |
|---|
| type | "char[32]" |
|---|
| name | "iconSysName" |
|---|
|
| offset | "0x50" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "compressedSize" |
|---|
|
| offset | "0x54" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "numFiles" |
|---|
|
| offset | "0x58" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "decompressedSize" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "maxHeader_t and maxEntry_t; magic string from source/psv_ps2.c line 15" |
|---|
| repo | "bucanero/apollo-ps3" |
|---|
| commit | "7c0686d2f242773ac3f3230b8a9c7cd2aabc52b9" |
|---|
| path | "include/ps2mc.h" |
|---|
| lines | "130-145" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "MAX header" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T02:07:59.571Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:16:55.751Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read maxHeader_t in ps2mc.h at the cited commit: char[12], u32, char[32], char[32], u32, u32, u32 = 0x5C; the last word is the start of the LZARI stream per the source comment." |
|---|
|
|
|---|