READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Child of Light font files(.cdk)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Child of Light font files(.cdk)

Post by albert1905 » Sat May 03, 2014 8:18 am

I think it is something like a .fnt files that contain information of font file.
But it is different from Rayman Origin series and I can not read it. How can I deal with
this file to modify the font size, width and position for making a translation patch?
You do not have the required permissions to view the files attached to this post.

Thief1987
advanced
Posts: 72
Joined: Wed Jan 18, 2012 5:11 am
Has thanked: 1 time
Been thanked: 29 times

Re: Child of Light font files(.cdk)

Post by Thief1987 » Sat May 03, 2014 5:25 pm

Can you add texture of this font?

albert1905
veteran
Posts: 93
Joined: Wed May 09, 2012 1:13 pm
Has thanked: 11 times
Been thanked: 3 times

Re: Child of Light font files(.cdk)

Post by albert1905 » Sat May 03, 2014 6:51 pm

Thief1987 wrote:Can you add texture of this font?
Here is it. https://www.mediafire.com/?1c1m2lzqr8mu7in
Anyway, I understand it but it doesn't represent on game. Don't know why. :(

goto 0xCC there are a number of glyphs. And read each 11 long bytes.(=44 bytes)

00 00 00 28 00 00 00 20 00 00 00 45 00 00 00 60 00 00 00 05 00 00 00 05 FF FF FF FE 00 00 00 5A 00 00 00 19 00 00 00 00 00 00 00 0F

=>
char id=00 00 00 20, x=00 00 00 45, y=00 00 00 60, width=00 00 00 05, height=00 00 00 05, xoffset= FF FF FF FE, yoffset=00 00 00 5A, xadvance=00 00 00 19, page=00 00 00 00, chnl=00 00 00 0F

00 00 00 28 00 00 00 21 00 00 00 E2 00 00 01 14 00 00 00 14 00 00 00 4C 00 00 00 06 00 00 00 12 00 00 00 21 00 00 00 00 00 00 00 0F

=>
char id=00 00 00 21, x=00 00 00 E2, y=00 00 01 14, width=00 00 00 14, height=00 00 00 4C, xoffset= 00 00 00 06, yoffset=00 00 00 12, xadvance=00 00 00 21, page=00 00 00 00, chnl=00 00 00 0F

..and so on.

bundle_pc32.ipk and templateinstance_pc32.ipk both contain font02.tfn.ckd file. I changed hex value of font02.tfn.ckd and reimported it to bundle_pc32.ipk. Finally I copy and paste it to game folder but it doesn't change anything. And templateinstance_pc32.ipk can not unpacked by merlinsvk's quickbms script. viewtopic.php?f=10&t=11475 So there's no way to test it. I think font02.tfn.ckd in bundle_pc32.ipk is dummy.

GRiNDERKILLER
advanced
Posts: 76
Joined: Thu Jul 12, 2012 12:24 pm
Has thanked: 12 times
Been thanked: 23 times

Re: Child of Light font files(.cdk)

Post by GRiNDERKILLER » Thu May 22, 2014 9:24 pm

Here is missing "avant_garde_md_32_outline.tfn" file from templateinstance_pc32.ipk. Archive is zlibed. Zlib block starts 535159b.
You do not have the required permissions to view the files attached to this post.

Post Reply