From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:RARC archive" |
|---|
| claim | "RARC archives start with the ASCII magic "RARC" (52 41 52 43), followed by the big-endian file length and the header length 0x20. When the file starts with "Yaz0" or "Yay0" instead, it is a compressed RARC: decompress first." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:RARC archive" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "52 41 52 43" |
|---|
| offset | 0 |
|---|
| meaning | "JSystem resource archive (JKRArchive)" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "JUT_ASSERT(418, mArcHeader->signature == 'RARC')" |
|---|
| repo | "https://github.com/zeldaret/tww" |
|---|
| commit | "8b93b372dc8e841f12ddfb7e0215626f62b05417" |
|---|
| path | "src/JSystem/JKernel/JKRMemArchive.cpp" |
|---|
| lines | "116" |
|---|
|
| type | "source" |
|---|
| detail | "RARC_MAGIC b"RARC"; header_len must equal 0x20" |
|---|
| repo | "https://github.com/encounter/decomp-toolkit" |
|---|
| commit | "0645e16511814920ffb05b25615dd71f1af73e4c" |
|---|
| path | "src/util/rarc.rs" |
|---|
| lines | "8, 156-161" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "RARC magic" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T18:23:22.858Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:54:46.971Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read JKRMemArchive.cpp line 116 (signature == 'RARC' assert, header_length used next) and decomp-toolkit rarc.rs lines 8 and 156-161 (RARC_MAGIC b"RARC" compared at buffer start, header_len must be size of header)" |
|---|
|
|
|---|