ArthurHeitmann / F-SERVO

File utility and quest scripts editor for Nier:Automata
GNU General Public License v3.0
17 stars 2 forks source link

Nothing happens after adding new chars from ttf #3

Closed rm-NoobInCoding closed 1 day ago

rm-NoobInCoding commented 2 days ago

I opened the font_00.dat into the tool and tried to open a ttf and adding chars from it by using "Add new characters from ttf/otf file" but nothing changes in texture.

ArthurHeitmann commented 2 days ago

Which font did you use? It will only add characters, that are currently not part of the texture. And what are the log messages? The message log is in the bottom right corner. How it should look like: image

rm-NoobInCoding commented 2 days ago

myfont.zip this is my font also there is no message window this what i did: i opened the tool and dragged font_00.dat and font_00.dtt into the tool. then i opened ftb file and tried to add new chars to font

i found some errors in log file: `19:27:55.311: ERROR: Null check operator used on a null value

0 FtbData.generateTexture (package:f_servo/stateManagement/openFiles/types/FtbFileData.dart:293)

#1 FtbData.save (package:f_servo/stateManagement/openFiles/types/FtbFileData.dart:413) #2 FtbFileData.save (package:f_servo/stateManagement/openFiles/types/FtbFileData.dart:47) #3 FtbFileData.addCharsFromFront (package:f_servo/stateManagement/openFiles/types/FtbFileData.dart:78) #4 _FtbEditorState.addNewFontChars (package:f_servo/widgets/filesView/types/fonts/ftbEditor.dart:42) `
ArthurHeitmann commented 2 days ago

I just realized, that I didn't add support for font_00, because as far as I'm aware, it's not being used. Though the error message is not very good. Are you playing in chinese or something similar? It might be possible that different versions of the game use fonts differently

rm-NoobInCoding commented 1 day ago

No, I just wanted to edit all the fonts. Other fonts work and are correct. Thankful