Need your help, there is generated the font dds texture, and descriptor, you need to know what program generated the font. The developer company "Eipix Entertainment", the name of the game doesn't matter, they have almost all games are made by one generator.

The fonts dds and ktext file are generated by custom generator that is developed in-house. The generator is using FreeType library to read ttf file and process them into image and descriptor. I am the guy who wrote that so i can help you explaining in depth what those parameters in ktext file means

The fonts dds and ktext file are generated by custom generator that is developed in-house. The generator is using FreeType library to read ttf file and process them into image and descriptor. I am the guy who wrote that so i can help you explaining in depth what those parameters in ktext file means

It would be better to receive the generator itself , but, since it is the internal development of the company, and can not be transferred to general or private use, I will be happy with any help from you.

P/S: I would be very grateful to you for your help, and explanations on the designations of the parameters of the ktext of the file.

First line in ktext is the header of the file, here are the parameters with their meaning:Line: %ktext 2 2 697 times.ttf 22%ktext - header type signiture, ignored2 - version of the generator2 - number of pages for images697 - number of characters in atlastimes.ttf - name of the original ttf file from which atlas is generated22 - size of the char that is generated, in pixels

Thanks, I descriptor all clear, the principle of operation is almost the same as Bmfont generator, except that the texture is generated differently, or rather the characters in Atlas are different, so if you generate the texture, Bmfont generator, the descriptor will be a complete rewrite, maybe there is some other, easier way to generate the desired font?

The easiest way to generate textures that are compatible with our games will be to generate textures with Bmfont generator and make a script that will parse the descriptor from bmfont generator to our format.

The easiest way to generate textures that are compatible with our games will be to generate textures with Bmfont generator and make a script that will parse the descriptor from bmfont generator to our format.

And can you describe in detail how to do this, what exactly are the parameters in the descriptors, which channels to set for the texture, and what are the parameters for padding and Spacking to be set?

I am not sure what parameters are in descriptor for bmfont generator but you should try and match parameters from their descriptor to our descriptor. Try to play with .ktext file and see how it will be presented in the game.

I am not sure what parameters are in descriptor for bmfont generator but you should try and match parameters from their descriptor to our descriptor. Try to play with .ktext file and see how it will be presented in the game.

Thanks for the help.

P/S: Earlier, I already wrote to you that the bmfonts draws the symbols on the texture in a different way, and in order to achieve the desired result, you will have to rewrite the entire descriptor, if you replace the texture with the generated bmfonts, then the result is not the same.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum