

T T F"), and found another one, it's at 0x2E880CA. The first offset found is at 0x2875E, but it's not the actual files, I kept pressing F3 (to find the next thing that contains ". TTF is the file extension, then the dot (.) is obviously not the first character in the filename, so no need to find the gibberish things manually.Īfter that, I typed ".TTF" again, but clicked the "Text -> Hex" button, just to convert it to hex, and add three 00 bytes on each characters: 2E 00 00 00 54 00 00 00 54 00 00 00 46 (which means ". Actually, every filenames listed in the OBB are spaced by three 00 bytes for each letters, and the first letter in the filename has some gibberish characters in it, e.g., Pico12 -> P(random characters here) I C O 1 2, so that's why I didn't get the file! However, since. I didn't give up, instead, I looked at the versions.cfg, just to see the offset of the RTON file and find a way to get the TTF filename. I've tried to directly find the TTF file by searching ".TTF" in the search box. After a while, I realised that OBBs are compressed and therefore all of the data inside the OBB are compressed. I opened the OBB, then using the find command, I typed this on the text box: "OS/2", but got no results. This is where the fun begins: I'm started playing with the XVI32 hex editor. See the OBBPatcher's readme file for more info.

Then, I learned the characteristic of OBB files:

I used these characteristics to my advantage, since these applies to every single TTF fonts. If you use a hex editor to view the font's data, you'll ALWAYS find the text "OS/2" inside the font's data, which possibly means that TTF fonts are compatible with the really old IBM OS/2 from the 90's.Well, surprisingly enough, there are some unique characteristics of TTF: Well, I was bored and decided to mess around with OBBPatcher to see what I can find, but after a few moments I decided to find the PvZ2 fonts inside the OBB, since no one ever done that yet.Īt first, I learned the characteristics of TTF fonts. It's a pretty complicated process to extract all the fonts successfully (I have some problems extracting them correctly), but using the XVI32 hex editor I was be able to do it.
