From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:RARC archive" |
|---|
| claim | "The attribute byte of a RARC file entry: 0x01 file, 0x02 directory, 0x04 compressed, 0x10 stored in the MEM part (loaded with the archive), 0x20 stored in the ARAM part, 0x40 read from DVD on demand, 0x80 Yaz0 (a compressed entry without 0x80 is Yay0). Ordinary files have 0x11, directories 0x02." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:RARC archive" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "rarc_file_attr" |
|---|
| underlying_type | "u8" |
|---|
| values | |
|
|
| name | "LOAD_TO_MRAM" |
|---|
| value | 16 |
|---|
|
| name | "LOAD_TO_ARAM" |
|---|
| value | 32 |
|---|
|
| name | "LOAD_FROM_DVD" |
|---|
| value | 64 |
|---|
|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "isDirectory 0x02, isUnknownFlag1 0x01, isCompressed 0x04, isYAZ0Compressed 0x80; convertAttrToCompressionType: no 0x04 -> none, 0x80 -> Yaz0, else Yay0" |
|---|
| repo | "https://github.com/zeldaret/tww" |
|---|
| commit | "8b93b372dc8e841f12ddfb7e0215626f62b05417" |
|---|
| path | "include/JSystem/JKernel/JKRArchive.h" |
|---|
| lines | "73-78, 193-205" |
|---|
|
| type | "source" |
|---|
| detail | "fetchResource: flag 0x10 -> data in the MEM part, 0x20 -> fetched from the ARAM part, 0x40 -> read from DVD" |
|---|
| repo | "https://github.com/zeldaret/tww" |
|---|
| commit | "8b93b372dc8e841f12ddfb7e0215626f62b05417" |
|---|
| path | "src/JSystem/JKernel/JKRCompArchive.cpp" |
|---|
| lines | "243-265" |
|---|
|
| type | "source" |
|---|
| detail | "unknown u16 is 0x200 for folders, 0x1100 for files (attribute byte 0x02 / 0x11)" |
|---|
| repo | "https://github.com/encounter/decomp-toolkit" |
|---|
| commit | "0645e16511814920ffb05b25615dd71f1af73e4c" |
|---|
| path | "src/util/rarc.rs" |
|---|
| lines | "74-75" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "RARC file attributes" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T18:22:22.787Z" |
|---|
| verifications | |
|---|