<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://Selrach2040.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Textdata_naikanBGM.txt</id>
	<title>Textdata naikanBGM.txt - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://Selrach2040.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Textdata_naikanBGM.txt"/>
	<link rel="alternate" type="text/html" href="https://Selrach2040.com/wiki/index.php?title=Textdata_naikanBGM.txt&amp;action=history"/>
	<updated>2026-07-04T08:01:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.4</generator>
	<entry>
		<id>https://Selrach2040.com/wiki/index.php?title=Textdata_naikanBGM.txt&amp;diff=67&amp;oldid=prev</id>
		<title>127.0.0.1: Technical breakdown (via create-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://Selrach2040.com/wiki/index.php?title=Textdata_naikanBGM.txt&amp;diff=67&amp;oldid=prev"/>
		<updated>2026-07-02T11:23:43Z</updated>

		<summary type="html">&lt;p&gt;Technical breakdown (via create-page on MediaWiki MCP Server)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;naikanBGM.txt&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; (5,632 bytes, part of [[BIN textdata]]) is a flat per-area baseline interior-ambiance/BGM index.&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
&lt;br /&gt;
Not a CSV: one integer per line, 1,471 lines (matching the &amp;lt;code&amp;gt;world.wlist&amp;lt;/code&amp;gt; area count — indexed by area/node index, the same indexing [[textdata event.txt|&amp;lt;code&amp;gt;event.txt&amp;lt;/code&amp;gt;]] uses via &amp;lt;code&amp;gt;id − 10001&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== Loading (Ghidra) ==&lt;br /&gt;
&lt;br /&gt;
String address &amp;lt;code&amp;gt;004e2b84&amp;lt;/code&amp;gt;. &amp;lt;code&amp;gt;Object_GetInteractionType(areaIdx) @ 0045dc45&amp;lt;/code&amp;gt; reads line &amp;lt;code&amp;gt;areaIdx&amp;lt;/code&amp;gt;, does &amp;lt;code&amp;gt;atoi − 1&amp;lt;/code&amp;gt;, clamps to &amp;lt;code&amp;gt;[0,42]&amp;lt;/code&amp;gt; (default &amp;#039;&amp;#039;&amp;#039;6&amp;#039;&amp;#039;&amp;#039;), and returns it as that area&amp;#039;s interaction-type / interior-BGM index — feeding the same &amp;lt;code&amp;gt;Something_Sound&amp;lt;/code&amp;gt; BGM path as the time-windowed world tables.&lt;br /&gt;
&lt;br /&gt;
So &amp;lt;code&amp;gt;naikanBGM[area]&amp;lt;/code&amp;gt; is the area&amp;#039;s baseline interior ambiance id, overridden by the time-windowed tables ([[textdata bgmtable.txt]] etc.) when one of their windows is active.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[BIN textdata]]&lt;br /&gt;
* [[textdata bgmtable.txt]]&lt;/div&gt;</summary>
		<author><name>127.0.0.1</name></author>
	</entry>
</feed>