From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Nitro graphics files (NCGR, NCLR, NSCR)" |
|---|
| claim | "A text-background map entry is a u16: bits 0-9 tile number, bit 10 horizontal flip, bit 11 vertical flip, bits 12-15 palette number." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Nitro graphics files (NCGR, NCLR, NSCR)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "NscrMapEntry" |
|---|
| size | 2 |
|---|
| endianness | "little" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 2 |
|---|
| type | "u16" |
|---|
| name | "entry" |
|---|
| bits | |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Actions.MapInfo(ushort): nTile = value & 0x3FF, xFlip = (value>>10)&1, yFlip = (value>>11)&1, nPalette = (value>>12)&0xF" |
|---|
| repo | "https://github.com/pleonex/tinke" |
|---|
| commit | "3263fc2baeea40c847e5267f826730210864fb8c" |
|---|
| path | "Ekona/Images/Actions.cs" |
|---|
| lines | "984-1003" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "NSCR map entry" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T12:25:20.111Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T17:31:41.130Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read Actions.MapInfo(ushort) at the cited commit: nTile = value & 0x3FF, xFlip = (value>>10)&1, yFlip = (value>>11)&1, nPalette = (value>>12)&0xF, and the inverse packing." |
|---|
|
|
|---|