eprilx / FFDConverter

Tool for creating/editing custom bitmap fonts for AnvilNext, Dunia, Disrupt engine. (*.ffd, *.Fire_font_descriptor)
MIT License
9 stars 4 forks source link

Something went wrong #7

Closed eprilx closed 11 months ago

eprilx commented 11 months ago
          > @Ezio-2005 @buhboyvjppro999 @PxpUii There is a tool for modding image/texture font whithout using these hex, it's [AnvilToolkit](https://www.nexusmods.com/assassinscreedbrotherhood/mods/21) created by Kamzik123. Thanks to @Mstr-Samuel for pointing that out.

Thank's for this but I have use this tool and And I managed to change the texture of the font, but the problem is still there That is, when I edit the texture, and when I make the FFD font with your software, and when I put it in the game, the font is still displayed in a mess.

Originally posted by @Ezio-2005 in https://github.com/eprilx/FFDConverter/issues/2#issuecomment-1783910556

eprilx commented 11 months ago

Tell me more details:

Ezio-2005 commented 11 months ago

So the game is: Assassin's creed brotherhood

First: I unpacked two forge files (DataPC.forge - DataPC_extra.foge) with AnvilToolkit. In the DataPCextra.forge I was able to find font textures for example name of the one them was: 1-_AC2Aaux_ProMedium_Latin_1_Map.TextureMap. I changed the letters of that texture to my own language letters and after editing that texture, I repacked it to the game. again with AnvilToolkit.

Second: In the DataPC.forge, I was able to find the FFD fonts and I changed one of them with your tool and again I repacked it to the game with AnvilToolkit.

But after doing all of these, the font in the game is still messed up.

Ezio-2005 commented 11 months ago

Orginals.zip Modified.zip

eprilx commented 11 months ago

For textures, use AnvilToolkit. For FFD you must use the Delutto tool to unpack/repack, export/import (why ? the answer at #6) Then try the following: 1 - Only edit FFD, do not edit textures. Check if it displays correctly or not in the game. 2 - Only edit textures, do not edit FFD. Check if it displays correctly or not in the game.

Ezio-2005 commented 11 months ago

For textures, use AnvilToolkit. For FFD you must use the Delutto tool to unpack/repack, export/import (why ? the answer at #6) Then try the following: 1 - Only edit FFD, do not edit textures. Check if it displays correctly or not in the game. 2 - Only edit textures, do not edit FFD. Check if it displays correctly or not in the game.

This is when I only edit FFD and the font still messed up. ACBSP 2023-10-29 14-34-19-618

And this is when I Only edit texture and the font still messed up and also the Text that I translated disappeared. ACBSP 2023-10-29 14-42-30-625

eprilx commented 11 months ago

Next:

Ezio-2005 commented 11 months ago

Next:

  • Create new bitmap fonts that support ASCII languages ​​(Latin in bmfont)
  • Do not edit localization files
  • Use Anviltoolkit to edit textures
  • Use Delutto's tools to edit FFD
  • Repack/Import both file

You mean add only English Letters to the font? and not my own language letters?

eprilx commented 11 months ago

yes, we need to check which error is causing the font to display incorrectly

Ezio-2005 commented 11 months ago

ACBSP 2023-10-29 21-12-14-180

Still messed up!

eprilx commented 11 months ago

Orginals.zip Modified.zip

Is it ACBr game? My original file from cr*cked on steam pc is completely different from your original file. The texture is 1024x1024 (yours is 512x1024). FFD after convert to fnt will have this line file="0x26bcff52" (yours is file="0xbb87a6c2") Original2.zip

image
Ezio-2005 commented 11 months ago

Yeah it's AcBr i have deluxe edition... but They should not be different.... it's strange... and my game version is: DODI

Ezio-2005 commented 11 months ago

I think I made some progress... ACBSP 2023-10-30 01-20-09-456

Ezio-2005 commented 11 months ago

My problem fixed. Thanks

eprilx commented 11 months ago

Can you share with me what you changed to make it work ?

Ezio-2005 commented 11 months ago

I just made the FFD font with the right size (like the original FFD) and after editing texture with that Anvitool I was able to repack it to the game and it worked..

eprilx commented 11 months ago

What does "right size" mean? Width/height of texture when creating with Bmfont or "size" of font?

Ezio-2005 commented 11 months ago

Yeah Width/Height And I also changed the font size in bmfont to a bigger size....

eprilx commented 11 months ago

Understood! I will note this issue in the readme... But in general, the readme is still difficult to read and follow 😂... Thank you for your contribution.

Ezio-2005 commented 11 months ago

Understood! I will note this issue in the readme... But in general, the readme is still difficult to read and follow 😂... Thank you for your contribution.

Your welcome my brother, And thank you for your great tool