File Types
Description
Depending on the type of the binary file, the unpacked files can differ and therefore need be edited differently.
Textfile (.json, .txt, .c)
These files can be edited with any source-code or text editor (e.g. Notepad++, Visual Studio Code, ...).
It goes without saying that the syntax rules of the respective format (e.g. JSON) need to be followed properly.
Texture (.tm2)
Almost all .tm2 files in the game are multi-palette, meaning that they contain one image with multiple cluts (color look-up tables) that paint one specific part of the image.
So while one part of the image contains status effect icons, the other contains equipment icons, and so on. Each of these sections usually use their own color table.
To define the properties (position, width, height) of each icon in these sections, the game saves additional information in the header of the .tm2 file.
Unpacking a multi-palette .tm2 file will do all of the following:
Unpack each section into a single-palette .tm2 file in the
.tm2.dir/layers/...
directory which can then be edited via Optix Image Studio, Rainbow, and so on.Unpack the header information into
.tm2.dir/info.json
file which can be edited via any source-code or text editor (e.g. Notepad++, Visual Studio Code, ...).Unpack the raw image file into the
image.raw
file which can be edited via any image editor (e.g. Photoshop).
Last updated