Textdata erasetable.txt
From Raynegard Wiki
erasetable.txt (660 bytes, part of BIN textdata) is the per-area "erase" table. One of six time-windowed world tables; see that section for the shared query mechanism.
Format (13 columns)
[edit]The to-time is shifted to cols 10–13 by four bool flags in cols 6–9:
| # | Field |
|---|---|
| 1–4 | from-time |
| 5 | target area |
| 6–9 | four bool flags (!= 0) → entry offsets 0x2c–0x2f
|
| 10–13 | to-time |
Entry struct is world_erase_entry, 0x30 bytes. QueryEntryByType type 2 returns the entry's field_0x8, which the loader zeroes — so the erase query is a pure "is an erase window active?" presence test (value is always 0); the four bool flags carry the actual "what to remove/hide" selection.
Example: 12,1,22,0,45,0,0,1,0,12,1,22,0 → week 12, day 1, 22:00, zone 44, flag[2]=1, window is the single instant 22:00.
Loading (Ghidra)
[edit]load_erasetable @ 0049f4e0 (query type 2).