Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Wed Jan 29, 2020 10:47 am

All times are UTC - 8 hours [ DST ]


Forum rules


Discussion of illegal hacking/cracking is prohibited. (No virus/trojans/cracks/warez/etc allowed.)



Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Sep 16, 2009 9:46 pm 
Offline
Kommunist
Kommunist

Joined: Thu May 31, 2007 5:40 pm
Posts: 138
I have these files: http://www.aerobushentertainment.com/mi ... tFiles.zip
From what I can tell, there's 10 fonts packed into the extensionless file according to the viw file, but I have no clue how to extract those fonts. The inf file appears to provide some basic information for how the file is broken up. I'm guessing it either specifies width and height of the images it wants or it's providing address pointers.

If anyone could at least point me in the right direction, I'd greatly appreciate it. I tried NFTRedit just for kicks but it's definitely not an NFTR file. More like DFV (or is it VFD?).

The reason why I'm trying to do this is because I made this tool: Aerobush Screenshot Translator Version 1.25, and I'd like to have a full set of fonts for the game I'm interested in. So far, I've been manually grabbing the fonts from screenshots of the game and making font image files that my application can use to translate games on the fly.

Edit: Aha, I at least know how the file is broken up now:
000000 + 001778 ->
001778 + 001544 ->
002CBC + 0016C0 ->
00437C + 00C5E4 ->
010960 + 002224 ->
012B84 + 00262C ->
0151B0 + 000710 ->
0158C0 + 00206C ->
01792C + 001968 ->
019294 + 001B70 ->
EOF

10 address ranges, 10 fonts, it fits. I broke it into subcomponents and am looking at the result. Still, though, I would appreciate tips on how to parse a generic-seeming image file. I'm using Irfanview and many different combinations of loading raw image data.


Last edited by oldbushie on Thu Sep 17, 2009 4:21 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 17, 2009 2:08 pm 
Offline
Kommunist
Kommunist

Joined: Thu May 31, 2007 5:40 pm
Posts: 138
Yay, I found a vague pattern! It appears to be a set of individually compressed binary images for each individual character. I'm still not sure what the header means yet, but at least I isolated the header.


Last edited by oldbushie on Mon Sep 21, 2009 8:25 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 17, 2009 7:48 pm 
Offline
Komrade
Komrade
User avatar

Joined: Tue Mar 27, 2007 6:23 pm
Posts: 1354
Location: Mario Raceway, 1509.831, 217.198, -564.429
Title: Mario Kart 64 Hacker
Those could be compiled display lists; i.e. a series of commands to be interpreted by the graphics engine to draw characters.

_________________
Image 143
HyperNova Software is now live (but may take a few tries to load) currently down; check out my PSP/DS/Game Boy/Windows/Linux homebrew, ROM hacks, and Gameshark codes!


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 17, 2009 8:05 pm 
Offline
Kommunist
Kommunist

Joined: Thu May 31, 2007 5:40 pm
Posts: 138
Telling it how to draw the characters or telling it to pull characters from somewhere else? I haven't seen anything else resembling a font file in the rom...


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 21, 2009 8:26 am 
Offline
Kommunist
Kommunist

Joined: Thu May 31, 2007 5:40 pm
Posts: 138
I tried messing around with the address ranges in the inf file and repacking in order to create font files for all the other fonts. It's a bit slow, but seems to work well. Essentially, I was tweaking the hex values so that the characters on the name selection screen are the font I want to rip. At least I confirmed that the fonts are definitely contained in that file. Also, the fnt_prf file is a mystery to me, but it definitely doesn't seem to describe a font like the others do. I did see a bunch of weird numbers when I went to the A-Z part of the name selection screen, starting from 33 on up.


Top
 Profile  
Reply with quote  
PostPosted: Sun Sep 27, 2009 1:53 am 
Offline
Komrade
Komrade
User avatar

Joined: Tue Mar 27, 2007 6:23 pm
Posts: 1354
Location: Mario Raceway, 1509.831, 217.198, -564.429
Title: Mario Kart 64 Hacker
Most likely how to draw. There could be "render texture" commands in it, but that'd be silly.

_________________
Image 143
HyperNova Software is now live (but may take a few tries to load) currently down; check out my PSP/DS/Game Boy/Windows/Linux homebrew, ROM hacks, and Gameshark codes!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group