+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Insert a variable-width font in a NDS game ?
Pages: [1]
Author Topic: Insert a variable-width font in a NDS game ?  (Read 1 times)
StorMyu
Guest
« on: February 14, 2010, 06:14:25 am »

I have some problems with some Japanese rom who doesn't have any Variable width font in it

Only have this:
ABCabc
Need this:
ABCabc

That's my problem...  :huh:
It's for Tales of the Tempest and Shining Force Feather on NDS

If anyone has a clue for me, it will be appreciated =)

KaioShin
Guest
« Reply #1 on: February 14, 2010, 07:03:36 am »

There is no easy way, it'll require coding one in assembly for each game individually.

Here is an example of one for the GBA, the DS is extremely similiar: http://www.romhacking.net/docs/337/

Not that suited as a beginner project unfortunately (it WAS my first ASM hack though so it's possible).
StorMyu
Guest
« Reply #2 on: February 14, 2010, 10:21:55 am »

Woah Asm hacking...

I'm screwed x)

Thanks for the link i'll see it =)
creaothceann
Guest
« Reply #3 on: February 14, 2010, 10:37:36 am »

Quote from: KaioShin on February 14, 2010, 07:03:36 am
There is no easy way, it'll require coding one in assembly for each game individually.
Maybe it's better to not tell them that it's hard. Wink
StorMyu
Guest
« Reply #4 on: February 14, 2010, 11:28:37 am »

it's not the problem
I haven't finish my C++ learning so learn ASM...
I'm coding some tools in Lua but that's all ftm ^^
Ryusui
Guest
« Reply #5 on: February 16, 2010, 10:56:44 pm »

Actually, it can be pretty easy depending on how the game's coded.

If the fonts are stored in standard NFTR format, the game may use the font file's own width table to determine letter width. You may be able to edit the width table in order to change the character widths.

Better still, if the game uses Shift-JIS encoding, there's a chance it may already have an ASCII font - probably still a fixed-width one, but certainly easier to fit more text. Try inserting text in plain ASCII format and see if it displays.
StorMyu
Guest
« Reply #6 on: February 17, 2010, 12:41:02 pm »

Hum, the font isn't NFTR format, i know how this format is easy to modify, I did this in "Ore ga omae o mamoru" but

In Shining Force Feather there is actually an ASCII font but it's not for the text it's only in the Menu... maybe use it in the text but how...?
DQ Chao284
Guest
« Reply #7 on: February 23, 2010, 10:07:18 pm »

Quote from: StorMyu on February 17, 2010, 12:41:02 pm
Hum, the font isn't NFTR format, i know how this format is easy to modify, I did this in "Ore ga omae o mamoru" but

In Shining Force Feather there is actually an ASCII font but it's not for the text it's only in the Menu... maybe use it in the text but how...?

Well I have seen that Font files can come in 2 formats also besides NFTR, BIN and FON, the FON extention would be what is used if the game does not use NFTR by Defult, but it would require some old style ASM coding just like with the SNES or Genesis games would use.
StorMyu
Guest
« Reply #8 on: February 24, 2010, 09:01:24 am »

Quote from: DQ Chao284 on February 23, 2010, 10:07:18 pm
Well I have seen that Font files can come in 2 formats also besides NFTR, BIN and FON, the FON extention would be what is used if the game does not use NFTR by Defult, but it would require some old style ASM coding just like with the SNES or Genesis games would use.

Yeah that's why i'm learning it but RealLife+BigTranslationProject+Job= small time to learn ASM ^^
Pages: [1]  


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