+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  How can I edit font tiles of a PC game?
Pages: [1]
Author Topic: How can I edit font tiles of a PC game?  (Read 1 times)
Squall
Guest
« on: June 16, 2010, 01:31:44 am »

How can I edit Romance of the three kingdom XI and insert Persian font in it? I need something like "Tile Layer Pro". I want to change its English font and insert Persian font. Is it possible? Please be kind and help me. Cheesy
Azkadellia
Guest
« Reply #1 on: June 16, 2010, 01:56:43 am »

You don't. You have to modify a line in the executable that points to a standard Windows font. Unless the game uses it's own font, then you have to track down where the font is stored and make your own font.
Squall
Guest
« Reply #2 on: June 16, 2010, 07:12:10 am »

Quote from: Azkadellia on June 16, 2010, 01:56:43 am
You don't. You have to modify a line in the executable that points to a standard Windows font. Unless the game uses it's own font, then you have to track down where the font is stored and make your own font.

Do you mean I have to edit  RTKXI.exe? If so how? With Resource Hacker or what? Please be more generous!  Roll Eyes
Azkadellia
Guest
« Reply #3 on: June 16, 2010, 03:39:12 pm »

Open the executable up in a hex editor and look for the line with the font name.

You'll want to change that to a Persian font.
Sara-chan
Guest
« Reply #4 on: June 16, 2010, 05:46:36 pm »

This isn't necessarily true. Many PC games do use graphical fonts.
Romance of the Three Kingdoms definitely uses graphics for a lot of its text.
Not all of it, though, I'd think. But it tends to use rather stylized text for some things, so...
golden
Guest
« Reply #5 on: June 16, 2010, 10:45:33 pm »

Most PC games use the fonts installed in your "windows\\fonts" folder but as Sara-chan pointed out, some games use their own font format instead (Tokimeki Memorial comes to mind).

Assuming the former, I recommend you load RTKXI.exe in a debugger (OllyDbg for instance) and find the respective WIN32 API call which is responsible for loading the font: CreateFont() or CreateFontIndirect().
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC