From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:Nintendo LZ77 (LZ10 and LZ11)" |
|---|
| claim | "LZ10 token: 16 bits big endian = (len-3)<<12 | (disp-1). LZ11 token: first nibble 0 -> 8-bit count (len = v+0x11) over 2 bytes; 1 -> 16-bit count (len = v+0x111) over 3 bytes; 2..15 -> len = nibble+1; plus a 12-bit disp-1; flags are MSB first, 8 per flag byte." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Nintendo LZ77 (LZ10 and LZ11)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "decoding Nintendo LZ10/LZ11" |
|---|
| effect | "as in claim" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "decompress_raw_lzss10 and decompress_raw_lzss11" |
|---|
| repo | "https://github.com/magical/nlzss" |
|---|
| commit | "f27414f373eab53bfe3c1a819c40eb800323e690" |
|---|
| path | "lzss3.py" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Token coding" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T16:18:29.115Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T04:13:46.052Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read lzss3.py decompress_raw_lzss10/11 at the cited commit. Matches for ordinary LZ10/LZ11 data; the overlay variant (header at end of file, decoded backwards) calls the LZ10 routine with disp_extra 3 instead of 1, which the claim does not cover." |
|---|
|
|
|---|