katashi Posted December 15, 2023 Share Posted December 15, 2023 Hello, I want to translate the adventure time game into my language, but I have some problems I can't find any documents related to TNOF files It appears to be some kind of texture file Someone please help me, thank you very much Conversation.zip Link to comment Share on other sites More sharing options...
piken Posted December 15, 2023 Share Posted December 15, 2023 (edited) > I can't find any documents related to TNOF files Great, then you might be the first adventurer to travel this road and document it for others :). Pertinently though, what have you figured out so far, and what tools have you tried already from here? Any hunches after looking through the file with a hex editor like HxD or 010 Editor? Have you deduced the meaning of any fields in the offset table? (appears to start at 58h, 20 bytes per entry, likely holding the dimensions and base offset of each glyph) What does one of the expected glyphs look like for reference? There are definitely graphics in there (e.g. the letters h, g, F as 4bpp linear)... Edited December 15, 2023 by piken Link to comment Share on other sites More sharing options...
katashi Posted December 18, 2023 Author Share Posted December 18, 2023 I didn't know how to use the tools you mentioned, so I used crytaltile2 and got some results: But it's hard to see. What should I do? Link to comment Share on other sites More sharing options...
piken Posted January 6 Share Posted January 6 Font glyphs vary in size, and so generic graphics viewers with a single image width will not be able to adapt to the varying widths in the table. So typically people write little tools/scripts to export and import custom data formats (some common ones within this community include Noesis and QuickBMS). I would figure out the table field's meanings in a hex editor (HxD is free) first. One of them is surely the glyph width (you will likely see a value of 10 somewhere in that table for the 'F' and 'T') and one is the starting offset of each glyph (presumably the last 4 bytes as uint32, and judging by the increasing color gradient in the picture above, they are increasing order). It is curious to see the letters out of order, as most games just arrange them sequentially 🤔 (" 01234...ABC...abc..."). 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