From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:PS2 memory card image" |
|---|
| claim | "A PS2 memory card directory entry is 0x200 bytes: mode u32, length u32, created (8-byte date), cluster u32, dirEntry u32, modified (8-byte date), attr u32, 0x1C padding, 32-byte name at 0x40, rest unused; date = unused, second, minute, hour, day, month, year u16." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PS2 memory card image" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "Ps2McFileEntry" |
|---|
| size | "0x200" |
|---|
| endianness | "little" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "mode" |
|---|
|
| offset | "0x4" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "length" |
|---|
|
| offset | "0x8" |
|---|
| size | 8 |
|---|
| type | "uint8_t[8]" |
|---|
| name | "timeCreated" |
|---|
|
| offset | "0x10" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "cluster" |
|---|
|
| offset | "0x14" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dirEntry" |
|---|
|
| offset | "0x18" |
|---|
| size | 8 |
|---|
| type | "uint8_t[8]" |
|---|
| name | "timeModified" |
|---|
|
| offset | "0x20" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "attr" |
|---|
|
| offset | "0x24" |
|---|
| size | 28 |
|---|
| type | "uint8_t[28]" |
|---|
| name | "padding" |
|---|
|
| offset | "0x40" |
|---|
| size | 32 |
|---|
| type | "char[32]" |
|---|
| name | "name" |
|---|
|
| offset | "0x60" |
|---|
| size | 416 |
|---|
| type | "uint8_t[416]" |
|---|
| name | "unused" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "MemoryCardFileEntryDateTime, mode flag enum and the entry union" |
|---|
| repo | "PCSX2/pcsx2" |
|---|
| commit | "091ab68708a555198d80a7216965481c7ddd0d98" |
|---|
| path | "pcsx2/SIO/Memcard/MemoryCardFolder.h" |
|---|
| lines | "40-124" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Directory entry" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T02:07:59.343Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:12:55.617Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read PCSX2 MemoryCardFolder.h MemoryCardFileEntry (pack 1) at the cited commit: mode, length, 8-byte DateTime {unused, second, minute, hour, day, month, u16 year}, cluster, dirEntry, DateTime, attr, padding[0x1C], name[0x20], unused[0x1A0], raw[0x200]; offsets 0x20/0x24/0x40/0x60 match." |
|---|
|
|
|---|