From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:3DSX" |
|---|
| claim | "Azahar's 3DSX identification accepts a file whose first four bytes are 3DSX, or Z3DS with a valid Z3DS header (version 1) whose wrapped-file magic is 3DSX." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "azahar AppLoader_THREEDSX::IdentifyType" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "magic" |
|---|
| indicator | "bytes 33 44 53 58 at offset 0, or 5A 33 44 53 at offset 0 with the u32 at offset 4 equal to 3DSX and the byte at offset 8 equal to 1" |
|---|
| table | | indicator | "3DSX at 0" |
|---|
| meaning | "plain 3DSX" |
|---|
|
| indicator | "Z3DS at 0, 3DSX at 4, version byte 1 at 8" |
|---|
| meaning | "zstd-seekable compressed 3DSX (see Format:Z3DS)" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "IdentifyType compares the first u32 with MakeMagic('3','D','S','X') or Z3DS plus GetUnderlyingFileMagic == 3DSX" |
|---|
| repo | "https://github.com/azahar-emu/azahar" |
|---|
| commit | "987f18405073960622e1043bb44005989135c6e1" |
|---|
| path | "src/core/loader/3dsx.cpp" |
|---|
| lines | "255-279" |
|---|
|
| type | "source" |
|---|
| detail | "GetUnderlyingFileMagic returns nullopt unless the 0x20-byte header reads fully, magic is Z3DS and version is 1" |
|---|
| repo | "https://github.com/azahar-emu/azahar" |
|---|
| commit | "987f18405073960622e1043bb44005989135c6e1" |
|---|
| path | "src/common/file_derived.cpp" |
|---|
| lines | "849-872" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Loader accepts Z3DS wrapper" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T12:40:21.897Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T13:17:08.705Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read 3dsx.cpp IdentifyType and the constructor at 987f184, plus Z3DSFileHeader (file_derived.h: magic, underlying_magic, version at offset 8, EXPECTED_VERSION 1) and GetUnderlyingFileMagic in file_derived.cpp. Matches." |
|---|
|
|
|---|