From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:NACP" |
|---|
| claim | "control.nacp is 0x4000 bytes: 16 language entries (0x200 name + 0x100 author) from 0x0, ISBN at 0x3000, display_version[0x10] at 0x3060 and a 0x400-byte platform specific region at 0x3C00." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:NACP" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "NacpStruct" |
|---|
| size | 16384 |
|---|
| fields | | offset | "0x0000" |
|---|
| size | 12288 |
|---|
| name | "lang" |
|---|
| type | "NacpLanguageEntry[16]" |
|---|
| meaning | "name[0x200], author[0x100], UTF-8; or a DEFLATE-compressed buffer when titles_data_format is 1" |
|---|
|
| offset | "0x3000" |
|---|
| size | 37 |
|---|
| name | "isbn" |
|---|
| type | "u8[0x25]" |
|---|
|
| offset | "0x3025" |
|---|
| size | 1 |
|---|
| name | "startup_user_account" |
|---|
| type | "u8" |
|---|
|
| offset | "0x3028" |
|---|
| size | 4 |
|---|
| name | "attribute_flag" |
|---|
| type | "u32" |
|---|
|
| offset | "0x302C" |
|---|
| size | 4 |
|---|
| name | "supported_language_flag" |
|---|
| type | "u32" |
|---|
|
| offset | "0x3030" |
|---|
| size | 4 |
|---|
| name | "parental_control_flag" |
|---|
| type | "u32" |
|---|
|
| offset | "0x3038" |
|---|
| size | 8 |
|---|
| name | "presence_group_id" |
|---|
| type | "u64" |
|---|
|
| offset | "0x3040" |
|---|
| size | 32 |
|---|
| name | "rating_age" |
|---|
| type | "s8[0x20]" |
|---|
|
| offset | "0x3060" |
|---|
| size | 16 |
|---|
| name | "display_version" |
|---|
| type | "char[0x10]" |
|---|
|
| offset | "0x3C00" |
|---|
| size | 1024 |
|---|
| name | "platform_specific_region" |
|---|
| type | "u8[0x400]" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "NacpStruct; the offsets listed are computed by adding the member sizes in order, not read from a file" |
|---|
| repo | "https://github.com/switchbrew/libnx" |
|---|
| commit | "20cbcfd90567f7bf84df7725f27e345e2164fa6b" |
|---|
| path | "nx/include/switch/nacp.h" |
|---|
| lines | "7-134" |
|---|
|
| type | "comparison" |
|---|
| detail | "Re-read nacp.h and summed member sizes with alignment; offsets 0x3000/0x3025/0x3028/0x302C/0x3030/0x3038/0x3040/0x3060/0x3C00 and total 0x4000 confirmed" |
|---|
| repo | "https://github.com/switchbrew/libnx" |
|---|
| commit | "20cbcfd90567f7bf84df7725f27e345e2164fa6b" |
|---|
| path | "nx/include/switch/nacp.h" |
|---|
| lines | "7-134" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "NacpStruct" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T07:01:26.998Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-18T21:44:22.411Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read libnx nx/include/switch/nacp.h at 20cbcfd9 lines 7-134 and summed member sizes: lang union 16*0x300=0x3000; isbn 0x3000 (0x25); startup_user_account 0x3025; attribute_flag 0x3028, supported_language_flag 0x302C, parental_control_flag 0x3030 (u32 alignment); presence_group_id 0x3038; rating_age 0x3040 (0x20); display_version 0x3060; trailing reserved_x3569[0x697] ends at 0x3C00 where platform_specific_region[0x400] sits, total 0x4000. Header's own reserved_xNNNN names agree." |
|---|
| notes | "Offsets computed by hand from the header, not compiled." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-18T21:44:35.032Z" |
|---|
| summary | "Raise to high: member sizes in libnx nacp.h re-summed, all offsets and the 0x4000 total match" |
|---|
| changed | |
|---|
|
|
|---|