Open otomevn opened 3 years ago
I cannot write to you until you accept as friends(
Then send me a message on Twitter, my DMs are open there.
@thesupersonic16 Hey there, I wonder if you can add support for this fnt font? Font.zip
@Cosetto What game is those files from?
Just pushed some code to handle the file. I have not tested the code. You can download it here.
To load the file, just open the .fnt file, not the .pck file.
@Cosetto What game is those files from?
It's this one So there are some questions I would like to ask. Firstly, when I opened the font and made no changes before saving, it resulted in a file which is only 27kb. The same problem when modifying the font then saving. en25px0.zip Is there something wrong? Secondly, when I added new characters, how do I draw new bitmap for them?
@Cosetto What game is those files from?
It's this one So there are some questions I would like to ask. Firstly, when I opened the font and made no changes before saving, it resulted in a file which is only 27kb. The same problem when modifying the font then saving. en25px0.zip Is there something wrong? Secondly, when I added new characters, how do I draw new bitmap for them?
Might be easier to reuse one of the unused characters. As for drawing, thats a good point, I never made a way to extract and load custom textures.
Can you check if the game accepts the edited font file?
Just realised I never wrote the function to save the file. so ignore the last part I said.
Hm, this one can draw new bitmap I think, but it doesn't support the game.
Added some importing, exporting and saving code. Let me know how it goes.
You will need to export the texture and make the edits using any image editing tool, then reimport the png.
I believe by default DALLib saves textures in PNG format which not all games support.
My game crashed, and the problem was when importing the texture back. Looks like the game doesn't support png?
I was wrong about it using PNG, however it did save without the magic. I have enabled it for the files below, can you check if they load in game?
Yup, it works, but it looks kinda weird
Thats expected since I used a gradient in the texture. You can download the updated build here.
It works like a charm. Thank you very much!
Hello, first I want to thank you for making this tool. We're translating another Sting game, they used the same file type but when I loaded it, the program immediately crashed.
The game's name is Psychedelica of the Black Butterfly. Here are its data files, including database file and script.pck file. I really appreciate it if you can take a look at it when you're free.
Thank you so much in advance!