From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:PSU and MAX (PS2 save containers)" |
|---|
| claim | "A .psu is entry(dir) + entry(.) + entry(..) + for each file: 512-byte memory card directory entry, file data, zero padding to a multiple of 1024 bytes; the directory entry's length is the file count plus 2." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PSU and MAX (PS2 save containers)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "reading a .psu" |
|---|
| effect | "numFiles = dirEntry.length - 2; skip two entries; per file read an entry, its length bytes, then skip 1024 - (length mod 1024) when that is below 1024" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "ps2_psu2psv: numFiles = length - 2, fseek over two entries, next = 1024 - (length % 1024) padding" |
|---|
| repo | "bucanero/apollo-ps3" |
|---|
| commit | "7c0686d2f242773ac3f3230b8a9c7cd2aabc52b9" |
|---|
| path | "source/psv_ps2.c" |
|---|
| lines | "451-535" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "PSU layout" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T02:07:59.644Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:02:48.961Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read ps2_psu2psv in apollo-ps3 psv_ps2.c 7c0686d lines 451-535 and McFsEntry (include/ps2mc.h, size 512): numFiles = length - 2, two entries skipped, per file an entry, length bytes, then 1024 - length%1024 padding when < 1024." |
|---|
|
|
|---|