From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:NPDM" |
|---|
| claim | "ACI0 is 0x40 bytes (magic, program id at 0x10, offset/size pairs for filesystem access header, service access and kernel access at 0x20-0x34); ACID is 0x240 bytes (signature 0x100, modulus 0x100, magic at 0x200, size, flags at 0x20C, title id range at 0x210-0x21F, offset/size pairs for filesystem access control, service access and kernel access at 0x220-0x234)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:NPDM" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "npdm_aci0_t / npdm_acid_t" |
|---|
| size | "0x240" |
|---|
| endianness | "little" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "aci0.magic ('ACI0' 0x30494341)" |
|---|
|
| offset | "0x10" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "aci0.title_id" |
|---|
|
| offset | "0x20" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "aci0.fah_offset" |
|---|
|
| offset | "0x24" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "aci0.fah_size" |
|---|
|
| offset | "0x28" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "aci0.sac_offset" |
|---|
|
| offset | "0x2C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "aci0.sac_size" |
|---|
|
| offset | "0x30" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "aci0.kac_offset" |
|---|
|
| offset | "0x34" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "aci0.kac_size" |
|---|
|
| offset | "0x0" |
|---|
| size | 256 |
|---|
| type | "uint8_t[0x100]" |
|---|
| name | "acid.signature" |
|---|
|
| offset | "0x100" |
|---|
| size | 256 |
|---|
| type | "uint8_t[0x100]" |
|---|
| name | "acid.modulus" |
|---|
|
| offset | "0x200" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "acid.magic ('ACID' 0x44494341)" |
|---|
|
| offset | "0x204" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "acid.size" |
|---|
|
| offset | "0x20C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "acid.flags" |
|---|
|
| offset | "0x210" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "acid.title_id_range_min" |
|---|
|
| offset | "0x218" |
|---|
| size | 8 |
|---|
| type | "uint64_t" |
|---|
| name | "acid.title_id_range_max" |
|---|
|
| offset | "0x220" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "acid.fac_offset" |
|---|
|
| offset | "0x224" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "acid.fac_size" |
|---|
|
| offset | "0x228" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "acid.sac_offset" |
|---|
|
| offset | "0x22C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "acid.sac_size" |
|---|
|
| offset | "0x230" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "acid.kac_offset" |
|---|
|
| offset | "0x234" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "acid.kac_size" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "npdm_aci0_t and npdm_acid_t; offsets computed from the declared member sizes (aci0 total 0x40, acid total 0x240). The acid.* and aci0.* offsets overlap because they are fields of two separate structs." |
|---|
| repo | "SciresM/hactool" |
|---|
| commit | "1d64a83450e025622f3468c28fc4164dad2c5ef6" |
|---|
| path | "npdm.h" |
|---|
| lines | "9-11, 78-108" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "ACI0 and ACID" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T01:20:25.625Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:25:41.496Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read hactool npdm.h at 1d64a83450e0: npdm_aci0_t (magic, 0xC reserved, title_id 0x10, _0x18, fah/sac/kac offset+size at 0x20-0x34, padding to 0x40) and npdm_acid_t (signature 0x100, modulus 0x100, magic 0x200, size 0x204, _0x208, flags 0x20C, title id range 0x210/0x218, fac/sac/kac pairs 0x220-0x234, padding to 0x240). Matches." |
|---|
|
|
|---|