Names - Polinym/Basilisk GitHub Wiki

The text/names directory contains all the text for displaying the names of things in the game. They follow a very simple pattern where each line contains the index number for the given name, an equals sign, and the text data associated with that index.

Example: The playable unit names look like:

01=Mars

02=Sheeda

03=Jeigan

In this example, the name "Mars" is tied to the index 0x01, "Sheeda" to 0x02, and "Jeigan" to 0x03. Simple, eh?

You can change the text on the right side of the equals sign to be whatever you want, though each different file in names has its own length limit per name. Don't edit the values on the left side, and don't add any new lines either.

If you want to leave a value blank, my reccomendation is to replace the name text with an empty space ("01=Mars" -> "01= ") for each value you want to be blank. Basilisk will only store one copy of that space string in the ROM and all the new unused values will point to it.

Files in text/names

chapters.txt

The names that display at the start of every chapter.

Values: 0x00 - 0x18 (1 for each chapter)

Max Length: Varies, depends on the size of the window drawn via the control code. (See the guide on scripts when it's written)

classes.txt

The names of the game's unit classes. Note: these are seperate from the class names displayed during the game's opening, which are found in text/intro/intro_names.txt.

Values: 0x01 - 0x18 (1 for each class, plus 2 for Mamkute battle animations)

Max Length: 13

enemy.txt

The names of the enemy units in the game. Note that some values are unused, which I'll list later.

Values: 0x81 - 0xc5

Max Length: 13

items.txt

The names of the items. Some values are unused here as well. The three-letter control codes ([Swd], [Lnc], [B0w], etc.) are designed to be interpreted as the in-game icons for weapons. You can see all the available icon control codes in the tbl_eng.tbl file at the project root. You can get rid of them by deleted the square brackets and the characters inbetween the brackes. ("[Bok]Worm" -> "Worm").

Values: 0x01 - 0x5c

Max Length: 14

location.txt

During the ending sequence, if a unit fell in battle, the game will say that the unit fell in the battle at . This names file contains the names of those locations, one for each chapter.

Values: 0x00 - 0x18 (1 per chapter)

Max Length: Should be the length of the textbox.

names.txt

The names of the playable units. Value 0x34 (Saber) is unused in the vanilla game.

Values: 0x01 - 0x35

Max Length: 10

terrain.txt

The names of the terrain displayed briefly during battle to show what tiles the two units are standing on. The word "TERRAIN" itself it hard-coded into the ROM and not editable by Basilisk yet.

Values: 0x00 - 0x0f

Max Length: 8

⚠️ **GitHub.com Fallback** ⚠️