Editing
BIN textdata
(section)
From Raynegard Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Item / NPC / monster records β <code>NN.dat</code> == The numbered <code>textdata/[[textdata NN.dat|NN.dat]]</code> files are the game's object definitions β weapons, armor, and every other item, plus NPCs and monsters. Despite the <code>.dat</code> extension they're plain text: line 1 is the record count, then each record is 3 lines (Korean name, English name, a space-separated stat line). There are 14 record types, each with its own fixed stat-line column count: {| class="wikitable" ! Type !! Category !! <code>.dat</code> files !! Stat columns !! Notes |- | 0 || [[Weapons]] (katana/sword/axe/spear/bow/bowgun) || 16β22, 62, 63 || 44 || 6 equip stats + weapon params + ~14 sprite/animation ids for the swing/effect frames |- | 1 || [[Armor]] || 23β31, 61 || 16 || 6 equip stats + sprite/variant |- | 2 || [[Rings]] || 8, 32 || 14 || 6 equip stats only |- | 3 || [[Emblems]] || 9, 33 || 8 || header only (no stats/price) |- | 4 || Medicine / food || 10, 11, 34 || 10β11 || header + recovery amount + effect-name string |- | 5 || Money || 15 || 8 || header only (it ''is'' currency) |- | 6 || [[Scrolls]] || 38β43 || 33 || header + skill/effect params |- | 7 || [[Books]] || 44β47 || 8 || header only |- | 8 || Misc items (ore / monster-item / letter) || 35β37, 48, 49 || 8 || header only |- | 9 || [[Monsters]] || 64β69, 73, 78, 79 || 32 || HP/stat/AI/drop block (server-side) |- | 0xA || Monsters (special) || 70 || 36 || extended monster block |- | 0xB || NPCs (field/party) || 5, 74, 75 || 8 || header + reference fields, no shop |- | 0xC || NPC shopkeepers (incl. Au) || 77 || 22 || header + shop-type code + 14 per-category "sells this" flags |- | 0xD || [[Monsters]] || 89β92 || ~3 || sparse / mostly empty |} Every record starts with the same header: dat file number, record index, then (for items) sub-type/grade, an item-level/sort key, an icon bitmap index, and buy/sell price. Equippable items (weapon/armor/ring) then carry a confirmed, fixed 6-stat block β '''OFC''' (offense), '''DEF''', '''AGL''', '''LUCK''', '''LIFE''', '''FOOD''' β used both for the item-detail panel and (server-side) as the equip bonuses applied to a wearer's totals. See [[textdata NN.dat]] for the full field-by-field breakdown. Each <code>NN.dat</code> that has flavor text has a matching '''<code>[[textdata cptNN.txt|cptNN.txt]]</code>''' β a <code>Korean~English</code> description file with the same <code>/e</code>/<code>/n</code> markers, paired by file number (line index = record index). Not every <code>.dat</code> has one (e.g. 9, 15, 22, 31β33, 38β43, 61β63, 76 are data-only).
Summary:
Please note that all contributions to Raynegard Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Raynegard Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Reddit Community
Discord Server
Recent changes
Random page
Help about MediaWiki
Special pages
Search
Tools
What links here
Related changes
Page information