From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:RomFS (3DS IVFC)" |
|---|
| claim | "The RomFS IVFC header is 0x5C bytes: magic IVFC, id 0x10000, level 0 size, then three level descriptors (logical offset, size, block size log2, reserved) and a trailing size." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:RomFS (3DS IVFC)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "SRomFsHeader" |
|---|
| size | 92 |
|---|
| fields | | offset | "0x00" |
|---|
| size | 4 |
|---|
| name | "Signature" |
|---|
| type | "u32" |
|---|
| meaning | "IVFC, bytes 49 56 46 43" |
|---|
|
| offset | "0x04" |
|---|
| size | 4 |
|---|
| name | "Id" |
|---|
| type | "u32" |
|---|
| meaning | "0x10000 for 3DS RomFS (value from general knowledge, not set in the header)" |
|---|
|
| offset | "0x08" |
|---|
| size | 4 |
|---|
| name | "Level0Size" |
|---|
| type | "u32" |
|---|
|
| offset | "0x0C" |
|---|
| size | 24 |
|---|
| name | "Level1" |
|---|
| type | "SRomFsLevel" |
|---|
| meaning | "n64 LogicOffset, n64 Size, u32 BlockSize, u32 Reserved" |
|---|
|
| offset | "0x24" |
|---|
| size | 24 |
|---|
| name | "Level2" |
|---|
| type | "SRomFsLevel" |
|---|
|
| offset | "0x3C" |
|---|
| size | 24 |
|---|
| name | "Level3" |
|---|
| type | "SRomFsLevel" |
|---|
|
| offset | "0x54" |
|---|
| size | 4 |
|---|
| name | "Size" |
|---|
| type | "u32" |
|---|
|
| offset | "0x58" |
|---|
| size | 4 |
|---|
| name | "Reserved" |
|---|
| type | "u32" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "SRomFsLevel, SRomFsHeader, SRomFsMetaInfo; romfs.cpp line 10 gives signature IVFC" |
|---|
| repo | "https://github.com/dnasdw/3dstool" |
|---|
| commit | "3771ae967d64092370b646db86aa626401c279e8" |
|---|
| path | "src/romfs.h" |
|---|
| lines | "7-39" |
|---|
|
|
|---|
| confidence | "medium" |
|---|
| related | |
|---|
| key | "IVFC header" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T07:02:14.114Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-18T21:45:14.982Z" |
|---|
| result | "partial" |
|---|
| method | "Read dnasdw/3dstool src/romfs.h at 3771ae96: SRomFsHeader = u32 Signature, u32 Id, u32 Level0Size, three SRomFsLevel (n64 LogicOffset, n64 Size, u32 BlockSize, u32 Reserved = 24 bytes), u32 Size, u32 Reserved. Offsets 0x0C/0x24/0x3C/0x54/0x58 and total 0x5C (92) follow from the packed sizes." |
|---|
| notes | "The values IVFC and 0x10000 for Id are not in this header (the fact itself says the Id is from general knowledge)." |
|---|
|
|
|---|