lemoncake Posted March 9 Share Posted March 9 The scripts files are not encrypted, so i can translate that However, the problem is font files The files I've attached seems to be font files, but I cannot open this files with fonrforge ENG_font.zip Link to comment Share on other sites More sharing options...
lemoncake Posted March 10 Author Share Posted March 10 I found editor tool on github for AquaPlus games (https://github.com/marcussacana/AquaPlusEditor/tree/master) But it cant open .fnt files Maybe font structure is different.. Link to comment Share on other sites More sharing options...
Solution piken Posted March 10 Solution Share Posted March 10 (edited) Quote but I cannot open this files with fontforge It's not a standard .fnt file like that used in Windows and FontForge - games like to reuse existing filename extensions while having a completely different formats. This game uses a surprisingly wasteful 32-bpp format (RGBA premultiplied with all four channels having the same value instead of just storing the 8-bpp luminance). Using PVRTexTool: The header has a glyph directory that probably contains the location/offset and size of each character: Quote I found editor tool on github for AquaPlus games (https://github.com/marcussacana/AquaPlusEditor/tree/master). But it cant open .fnt files Assuming it's similar, maybe you can tweak their 010 binary template https://github.com/marcussacana/AquaPlusEditor/blob/master/AquaPlusEditor/Font Structure.bt to this game. Edited March 10 by piken Link to comment Share on other sites More sharing options...
lemoncake Posted March 10 Author Share Posted March 10 (edited) Thank you for your reply I'm currently trying to tweak 010 template, but it seems the structure has changed a lot like, i think the multipliers for width and height are gone is there any particular way to guess what a part of binary files means? i mean, how can one find out the structure and come up with such 010 template? Edited March 10 by lemoncake Link to comment Share on other sites More sharing options...
lemoncake Posted March 12 Author Share Posted March 12 I gave up editting 010 template, instead I just changed binary file and texture itself Now I have to make a font texture Thank you very much 1 Link to comment Share on other sites More sharing options...
piken Posted March 14 Share Posted March 14 (edited) > how can one find out the structure and come up with such 010 template? Reverse engineering is a bit of puzzle solving and trial and error (not a simple question, requiring a tutorial's worth of explanation with examples 😉e.g. https://reshax.com/topic/47-reverse-engineering-tutorials-collection/), with you staring at the numbers, looking at the patterns to see what makes sense. For example in the graphic above with the hex values, you can see well that each record is 12 bytes, and there are 3 distinct columns suggesting 3 uint32's (or possibly something smaller), and curiously the leftmost one increases monotonically in value. 🤔 Some hex editors like HxD and 010 have little inspector panels that show the value at your caret as several data types at once, and you can figure out what data type makes the most by ruling out impossibilities (e.g. rule out offsets that point beyond the end of a file or to gibberish). > I just changed binary file and texture itself Cool, welcome, enjoy. Edited March 14 by piken Add tutorial link Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now