From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:RFF (Blood resource file)" |
|---|
| claim | "An RFF file begins with the bytes 52 46 46 1A; NBlood then accepts the int16 version at offset 4 only when its high byte is 0x02 (plain directory) or 0x03 (encrypted directory) and fails with 'Unknown RFF version' for anything else." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Blood RFF as read by NBlood" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "file header" |
|---|
| indicator | "52 46 46 1A at offset 0, int16 little-endian version at offset 4 with (version & 0xff00) equal to 0x0200 or 0x0300" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "memcmp(header.sign, "RFF\x1a", 4) and switch (header.version & 0xff00) cases 0x200 and 0x300" |
|---|
| repo | "https://github.com/NBlood/NBlood" |
|---|
| commit | "497385d64b97f4fd13b6efb3929df0f2ab3adc87" |
|---|
| path | "source/blood/src/resource.cpp" |
|---|
| lines | "105-125" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "RFF signature and version" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T09:33:51.225Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T10:08:56.106Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read NBlood resource.cpp 95-150 at 497385d: memcmp(sign, 'RFF\x1a', 4), switch on version & 0xff00 (0x200 plain, 0x300 crypt), default ThrowError 'Unknown RFF version'; RFFHeader struct has sign[4] then short version." |
|---|
|
|
|---|