Font Tool v0.1 and font formats description
Posted: Sun Jul 09, 2017 10:11 pm
Hi, I haven't been doing too much in regards to THPS but as a curiosity I recently made a tool which can open fonts from THPS4, THUG, and THUG2, do some basic editing, and save fonts to those formats. I don't know if there is already a tool but I made this from my own research. Some of the features currently don't work like saving characters to TGA file and importing TGA files to characters, but you can currently load and view characters from a THUG2 font and save it for THPS4/THUG(same format) and vice-versa. You can also change the corresponding Ascii/keycodes to characters and the baseline which they sit on with the tool. Some features don't work yet like adding new characters and importing TGA files for characters. There are also some situations in which the tool may crash when opening, saving, and reopening fonts from different THPS versions in one session or trying to open a THUG2 font when THUG or THPS4 is the selected version or vice-versa. Right now it's an alpha tool.
The program is written in C# and requires .NET or mono runtimes to work. I found it's much easier to make complex GUIs using C# rather than C/C++ and this tool is heavily GUI based. You should also run it as Administrator or else it might not be able to open files from your Program Files directory.
Here's a demonstration of changing the trick text font in THPS4
Default THPS4 font:
THUG2 trick font in THPS4:
Changing the timer font in THPS4
Default THPS4 font:
THUG timer font in THPS4:
Tool:
Here's the source code files and project file. I used SharpDevelop IDE:
Some pics of the tool:
The way to convert fonts from one game to another is to, for example, select THPS4 in the drop down box, load a THPS4 font file, then select THUG in the drop down box and save the font to the THUG font directory
The program is written in C# and requires .NET or mono runtimes to work. I found it's much easier to make complex GUIs using C# rather than C/C++ and this tool is heavily GUI based. You should also run it as Administrator or else it might not be able to open files from your Program Files directory.
Here's a demonstration of changing the trick text font in THPS4
Default THPS4 font:
THUG2 trick font in THPS4:
Changing the timer font in THPS4
Default THPS4 font:
THUG timer font in THPS4:
Tool:
Here's the source code files and project file. I used SharpDevelop IDE:
Some pics of the tool:
The way to convert fonts from one game to another is to, for example, select THPS4 in the drop down box, load a THPS4 font file, then select THUG in the drop down box and save the font to the THUG font directory