From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:RGSSAD" |
|---|
| claim | "RPG Maker archives start with 'RGSSAD' NUL and a version byte at offset 7: 1 (rgssad, rgss2a) or 3 (rgss3a)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:RGSSAD" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "52 47 53 53 41 44 00" |
|---|
| offset | 0 |
|---|
| meaning | "RGSSAD\0 then byte 7 = format version 1 or 3" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "verifyHeader reads 8 bytes, compares string RGSSAD, then header[7] == version (1 in RGSS_openArchive, 3 in RGSS3_openArchive)" |
|---|
| repo | "https://github.com/mkxp-z/mkxp-z" |
|---|
| commit | "37a04d14413454551a7b6aadbb4e93e67168accb" |
|---|
| path | "src/crypto/rgssad.cpp" |
|---|
| lines | "361-376" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "RGSSAD header" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T11:36:10.754Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T09:12:57.057Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read mkxp-z rgssad.cpp at the cited commit: verifyHeader reads 8 bytes, strcmp with "RGSSAD" (so byte 6 is NUL) and header[7] must equal the version; called with 1 (line 385) and 3 (line 594)." |
|---|
|
|
|---|