Skip to content
On This Day:

Nintendo DS · Script Extraction / Insertion

Fire Emblem 12 Text Editing Tools

By Nintenlord

Fire Emblem: Shin Monshō no Nazo - Hikari to Kage no Eiyū · All hacks & resources →

About this project

These are the script editing tools used by the Heroes of Shadow translation team for the translation of Fire Emblem - Shin Monshō no Nazo, known in English as Fire Emblem - New Mystery of the Emblem ~Heroes of Light and Shadow~.

Original game requirements

See the release instructions.

Creator credits

Nintenlord
Listed creator

RELEASE 2.2

Readme & instructions

readme.txt

Dissect: Drag a font file, such as "talk", to the "dissect.cmd" to dissect the file. This results in two files, "talk.txt" that contains the gylph strings and "talk.bin" that contains binary data that is probably used for something. The format of text file is the following: Gylph {hex val}: Width {dec val}, Unknown {dec val}, Pointer {hex val} ...repeated until End Pointer is relative to the start of binary file produced by dissection.

Read moreRead less
Dissect:

Drag a font file, such as "talk", to the "dissect.cmd" to dissect the file.
This results in two files, "talk.txt" that contains the gylph strings
 and "talk.bin" that contains binary data that is probably used 
for something. The format of text file is the following:

Gylph {hex val}: Width {dec val}, Unknown {dec val}, Pointer {hex val}
...repeated until
End

Pointer is relative to the start of binary file produced by dissection.


Combine:

Drag the text file and binary file, in that order, to the "combine.cmd"
to combine the file. Shift clicking on text file and then binary file
and then dragging both at once will achieve this. The result of combining
will be saved to the file "talk.font", which can be renamed and used
in the game as-is.

README.txt

How to use: There are three types of files you will be messing with when hacking text. Binary files, raw text files and script files. Raw binary files are the ones you get when you extract the ROM/whatever to individual files.

Read moreRead less
How to use:
There are three types of files you will be messing with when hacking text. Binary files, raw text files and script files.
Raw binary files are the ones you get when you extract the ROM/whatever to individual files. Raw text file is the one
where text is actual text and command codes are made into special text. Script file is the easiest to read and is useful for
letting less technically inclined people to read the text. Binary files and raw text files can be converted from and to
as much as you want and both can be converted to script file. However, script files can't be converted back to either formats,
so if you plan on making changes and inserting them back to the game, make them in raw text files.

The 4 cmd files in the same folder as this README work like this:

combine.cmd = takes raw text file as input and combines it to a binary file
dissect.cmd = takes binary file as input and dissects it to raw text file
text to script.cmd = takes raw text file as input and translates it to script file
binary to script.cmd = takes binary file as input and translates it to script file

To give a file to the appropriate cmd file as input, siomply drag it to the cmd file. The result will be saved in the same folder
as the original file, overwriting existing file if one of same name already exists.

Editing of raw text files is best done in Notepad++, using Format->Encoding->Japanese->Shift-JIS. 
Other text editors may work, though normal Notepad will not work. Got Notepad++ from http://notepad-plus-plus.org/

Known issues:
-Editable files and the executables and scripts need to be on the same harddrive.

Version history:

V 1.2
-Fixed problems with encoding text.
-Most Japanese text is inserted/extracted correctly. (File 000, Text MS000_PIDSCE has something odd that causes some problems)

V 1.3
-Fixed problems with labels containing japanesse text.
-Fixed problem with dissecting System file.

V 1.4
-Fixed labels automatically getting uppercased.

V 1.5
-Added automatic decompression and compression.

V 1.6
-Added majority of text codes. Old text codes are still supported.
-Added error messages for command line users who sue wrong amount/type of parameters.

V 1.7
-Added comments // and /* */.
-Added optional parameter for combining that decides compression to use. Options are None, LZ11, LZ77 and Optimal. Optimal is default.

V 2.0
-Added ability to make raw text into clean script with no text commands.

V 2.1
-Added ability to make raw binary into clean script with no text commands.
-Improved text to clean script conversion.
-Improved handling of text code SpecialText0x14.
-Added SpecialSymbol text code.

V 2.2
-Fixed crash bugs in SpecialCode0x14 handling.

Download readme.txt ↓

Download README.txt ↓

FROM THE COMMUNITY

Player reviews

0 reviews
No ratings yet

Played this project? Tell other players how it holds up.

Your take on Fire Emblem 12 Text Editing Tools

Spam has been overwhelming. To help us approve your review, sign up and introduce yourself in the Introductions forum so we know you’re not a bot.

Sign in with your Retro Replay account to rate this project and share your experience.

Sign in to review