Textdata naikanBGM.txt

From Raynegard Wiki
Revision as of 13:23, 2 July 2026 by 127.0.0.1 (talk) (Technical breakdown (via create-page on MediaWiki MCP Server))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

naikanBGM.txt (5,632 bytes, part of BIN textdata) is a flat per-area baseline interior-ambiance/BGM index.

Format

[edit]

Not a CSV: one integer per line, 1,471 lines (matching the world.wlist area count — indexed by area/node index, the same indexing event.txt uses via id − 10001).

Loading (Ghidra)

[edit]

String address 004e2b84. Object_GetInteractionType(areaIdx) @ 0045dc45 reads line areaIdx, does atoi − 1, clamps to [0,42] (default 6), and returns it as that area's interaction-type / interior-BGM index — feeding the same Something_Sound BGM path as the time-windowed world tables.

So naikanBGM[area] is the area's baseline interior ambiance id, overridden by the time-windowed tables (textdata bgmtable.txt etc.) when one of their windows is active.

See also

[edit]