<?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_cptNN.txt</id>
	<title>Textdata cptNN.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_cptNN.txt"/>
	<link rel="alternate" type="text/html" href="https://Selrach2040.com/wiki/index.php?title=Textdata_cptNN.txt&amp;action=history"/>
	<updated>2026-07-04T07:59:34Z</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_cptNN.txt&amp;diff=21&amp;oldid=prev</id>
		<title>127.0.0.1: Technical breakdown of the cptNN.txt description files (via create-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://Selrach2040.com/wiki/index.php?title=Textdata_cptNN.txt&amp;diff=21&amp;oldid=prev"/>
		<updated>2026-07-02T11:16:14Z</updated>

		<summary type="html">&lt;p&gt;Technical breakdown of the cptNN.txt description files (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;cptNN.txt&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; (part of [[BIN textdata]]) is the numbered family of item/object flavor-text files (&amp;lt;code&amp;gt;cpt05.txt&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;cpt08.txt&amp;lt;/code&amp;gt;, … &amp;lt;code&amp;gt;cpt92.txt&amp;lt;/code&amp;gt;) — the description companion to the matching [[textdata NN.dat|&amp;lt;code&amp;gt;NN.dat&amp;lt;/code&amp;gt;]].&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
&lt;br /&gt;
CP949 text, &amp;lt;code&amp;gt;Korean~English&amp;lt;/code&amp;gt; per line, using the same &amp;lt;code&amp;gt;/e&amp;lt;/code&amp;gt; (end-of-string) and &amp;lt;code&amp;gt;/n&amp;lt;/code&amp;gt; (forced newline) inline markers as the other caption files. Each &amp;lt;code&amp;gt;cptNN.txt&amp;lt;/code&amp;gt; pairs with the &amp;lt;code&amp;gt;NN.dat&amp;lt;/code&amp;gt; of the same number; line index appears to map to the record index (to confirm). Example: &amp;lt;code&amp;gt;cpt08.txt&amp;lt;/code&amp;gt; line 1 describes the ring defined in &amp;lt;code&amp;gt;8.dat&amp;lt;/code&amp;gt; line 1.&lt;br /&gt;
&lt;br /&gt;
== Which files have a companion ==&lt;br /&gt;
&lt;br /&gt;
Every &amp;lt;code&amp;gt;cptNN.txt&amp;lt;/code&amp;gt; has a matching &amp;lt;code&amp;gt;NN.dat&amp;lt;/code&amp;gt;; not every &amp;lt;code&amp;gt;NN.dat&amp;lt;/code&amp;gt; has a &amp;lt;code&amp;gt;cptNN.txt&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! !! dat numbers&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Paired&amp;#039;&amp;#039;&amp;#039; (data + description) || 5, 8, 10, 11, 16–21, 23–30, 34–37, 44–49, 64–75, 77–79, 89–92&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Data only&amp;#039;&amp;#039;&amp;#039; (no &amp;lt;code&amp;gt;cpt&amp;lt;/code&amp;gt; file) || 9, 15, 22, 31, 32, 33, 38, 39, 40, 41, 42, 43, 61, 62, 63, 76&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Loading (Ghidra) ==&lt;br /&gt;
&lt;br /&gt;
The format string &amp;lt;code&amp;gt;cpt%02d.txt @ 004e649c&amp;lt;/code&amp;gt; has &amp;#039;&amp;#039;&amp;#039;no code cross-reference&amp;#039;&amp;#039;&amp;#039; in this build — at runtime the player-facing item text is served from the &amp;lt;code&amp;gt;NN.dat&amp;lt;/code&amp;gt; slots in &amp;lt;code&amp;gt;g_TextDatFiles&amp;lt;/code&amp;gt;, not from these files directly. So the bulk of the &amp;lt;code&amp;gt;cptNN.txt&amp;lt;/code&amp;gt; set appears to be authoring/source material that was compiled into the &amp;lt;code&amp;gt;.dat&amp;lt;/code&amp;gt; records at build time, rather than loaded live.&lt;br /&gt;
&lt;br /&gt;
The one exception is &amp;#039;&amp;#039;&amp;#039;&amp;lt;code&amp;gt;cpt78.txt&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; (string &amp;lt;code&amp;gt;004e64d8&amp;lt;/code&amp;gt;), which &amp;#039;&amp;#039;&amp;#039;is&amp;#039;&amp;#039;&amp;#039; read live by &amp;lt;code&amp;gt;FUN_004ba680 @ 004ba680&amp;lt;/code&amp;gt; for item action types &amp;lt;code&amp;gt;0x25–0x2f&amp;lt;/code&amp;gt;, via &amp;lt;code&amp;gt;Category_ParseEntryFields&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[BIN textdata]]&lt;br /&gt;
* [[textdata NN.dat]] — the paired data-record file&lt;/div&gt;</summary>
		<author><name>127.0.0.1</name></author>
	</entry>
</feed>