Ni no Kuni font export

Need help translating games in other languages? Have your language problems solved here.
Post Reply
User avatar
dodther
n00b
Posts: 15
Joined: Mon Jan 07, 2013 4:14 am
Has thanked: 4 times
Been thanked: 4 times

Ni no Kuni font export

Post by dodther » Sun Jan 13, 2013 4:33 pm

I want to translate this game on my language. I unpacked the sdat, adat, zarc, could change text and pack back. But the game does not support cyrillic. I found a font but I can not understand in what format they are.

i upload font from demo version game

Code: Select all

http://www.mediafire.com/?8le5fdq86gjs67d
Image

Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

Re: Ni no Kuni font export

Post by Polefish » Sun Jan 13, 2013 11:37 pm

chrrox posted an image to dds converter script here: viewtopic.php?f=10&t=5037
I tried it but the output still looks not right.

User avatar
dodther
n00b
Posts: 15
Joined: Mon Jan 07, 2013 4:14 am
Has thanked: 4 times
Been thanked: 4 times

Re: Ni no Kuni font export

Post by dodther » Mon Jan 14, 2013 5:50 am

I got a dds file using a script. But it looks like this. I can not understand what is wrong. too little experience I have.

Image

Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

Re: Ni no Kuni font export

Post by Polefish » Tue Jan 15, 2013 1:21 pm

dodther wrote:I got a dds file using a script. But it looks like this. I can not understand what is wrong. too little experience I have.

Image
That's what I meant with "looks not right". But there is a pattern at least. I'll have a second look into this later on.

I don't have much clue about the DDS imageformat so the only thing I could do was trying to find some variables. The width and height of the image are stored at 0xB8 and 0xBA in two bytes and the size of the image is stored at 0xC2 in the p3img file. That is what I get by feeding the p3igg into tileggd with the right dimensions:
http://imageshack.us/photo/my-images/62 ... p3igg.png/

User avatar
dodther
n00b
Posts: 15
Joined: Mon Jan 07, 2013 4:14 am
Has thanked: 4 times
Been thanked: 4 times

Re: Ni no Kuni font export

Post by dodther » Wed Jan 16, 2013 6:32 am

wrong script.
me talk that need use 8.8 AL 16bpp | alpha/luminance 2048 x 512
http://www.mediafire.com/?e73i1jku5yd1e78

Image

but Photoshop see only RGB + alpha. but there is one more layer

Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

Re: Ni no Kuni font export

Post by Polefish » Wed Jan 16, 2013 10:25 am

Good you know some details. I'm curious how you found out.
I would try to create a dds with the properties you specified and copy the header. Try to add the imagedata of your fontfile after the header and look whats coming out.

User avatar
dodther
n00b
Posts: 15
Joined: Mon Jan 07, 2013 4:14 am
Has thanked: 4 times
Been thanked: 4 times

Re: Ni no Kuni font export

Post by dodther » Fri Jan 18, 2013 3:23 am

i did it!

Image

need use 8.8 AL 16bpp | alpha/luminance 2048 x 1024

and font contain cyrillic character

Polefish
veteran
Posts: 94
Joined: Sat Jun 20, 2009 1:47 pm
Has thanked: 16 times
Been thanked: 13 times

Re: Ni no Kuni font export

Post by Polefish » Fri Jan 18, 2013 9:36 am

Yeah, n1. Would you mind explaining how you did it in detail?
Used Photoshop plugin to save a 8.8 AL 16bpp with the right size and pasted the igg into it? What about the font that was still visible even after turning the channels off?

User avatar
dodther
n00b
Posts: 15
Joined: Mon Jan 07, 2013 4:14 am
Has thanked: 4 times
Been thanked: 4 times

Re: Ni no Kuni font export

Post by dodther » Fri Jan 18, 2013 4:55 pm

i create in photoshop bank image 2048х1024
save as 8.8 AL 16bpp
open with HxD and replase header :)

xujozer
n00b
Posts: 17
Joined: Fri Oct 07, 2011 6:36 am
Has thanked: 3 times

Re: Ni no Kuni font export

Post by xujozer » Sun Jan 27, 2013 3:35 am

Hi, can you tell me what was the tool used to extract the texts? I also would like to translate the game into my language.

Post Reply