I need Extract this File *.dic to *.fnt

How to translate the files of a game
thanhhieu_02
Posts: 20
Joined: Sun Mar 13, 2016 4:53 pm

I need Extract this File *.dic to *.fnt

Post by thanhhieu_02 »

This is files Determine the size of each letter in file *.img
dic.rar

And This is font texture *.img
1font(img)-dic.rar

I extract img to png : https://imgur.com/tDF5SHK
Anyone can help me extract and import file *.dic ?
Last edited by thanhhieu_02 on Tue Feb 18, 2020 1:39 pm, edited 5 times in total.
LokiReborn
Posts: 190
Joined: Fri Aug 26, 2016 3:11 pm

Re: I need Extract this File *.dic

Post by LokiReborn »

I'm not sure this is what you think it is. Best I can tell these files do specify the Glyph value & possibly the size to be used but aren't the fonts themselves. The structure of the file is really simple, you have the header which is 8 bytes then the number of entries which is 0xF0 (240) then the entries themselves which are each 20 bytes. The first 2 bytes seem to indicate the number / Glyph reference and the rest has to do with sizing etc best I can tell. The only file that is different is lcfont28 which also has Japanese in it from what I can see.
thanhhieu_02
Posts: 20
Joined: Sun Mar 13, 2016 4:53 pm

Re: I need Extract this File *.dic

Post by thanhhieu_02 »

LokiReborn wrote:I'm not sure this is what you think it is. Best I can tell these files do specify the Glyph value & possibly the size to be used but aren't the fonts themselves. The structure of the file is really simple, you have the header which is 8 bytes then the number of entries which is 0xF0 (240) then the entries themselves which are each 20 bytes. The first 2 bytes seem to indicate the number / Glyph reference and the rest has to do with sizing etc best I can tell. The only file that is different is lcfont28 which also has Japanese in it from what I can see.

Okay
This file maybe is *.fnt but they change to *.dic.
Can you help me Convert file to *.fnt ?