T
Tonberry
Guest
Hi everyone!
I've been playing with the "ff9.img" file for a while and found some of its structures. Now I'm trying to make some utilities to simplify the task of understanding them. I only have access to the Spanish version of FF9 so I was wondering if someone would be kind enough to verify some information on the English version for me.
I'm only interested in verifying the order of the directories inside of "ff9.img" and the number of files for each one. As I couldn't find information on the Net or the forums about this, I'm assuming it's not known to everyone so here it goes...
"ff9.img" is divided in sectors of 0x800 bytes. What I need is information on the first sector of the first disk, that goes from 0x00000000 to 0x000007ff. It's similar to a root directory and its structure is something like this (in the Spanish version):
000: (4 bytes) Signature "FF9 ".
004: (4 bytes) Don't know yet. (Value=0x6)
008: (4 bytes) Number of entries in directory. (Value=0xf)
00C: (4 bytes) Don't know yet. (Value=0x1)
Next follow each directoy entry up to a number equal to the value at offset 0x008.
(4 bytes) - Type. (02=directory; 03=array of files; 04=end of volume) (I think.)
(4 bytes) - Number of files in directory. (Except for type 04.)
(4 bytes) - Pointer to sector with more information about files in directory. (Different meaning for type 04.)
(4 bytes) - Pointer to first sector of first file. (Except for type 04.)
The rest is padded with the string "FF9 ".
Next is the list of values I need you to check. I added the value in the Spanish version, just in case someone is interested.
008: (0xF)
014: (0x15)
024: (0x23)
034: (0x13)
044: (0xF)
054: (0xde)
064: (0x151)
074: (0x97)
084: (0x65)
094: (0x55)
0a4: (0x37)
0b4: (0x2a)
0c4: (0x1ab)
0d4: (0x2)
0e4: (0x1ff)
One more thing. May I ask what's been found out about this file? I only saw posts by Zande and Cyberman but most of the work is on FF7 and the new engine. I've just started and my list is more or less:
- Directory structure and file extraction. (Done, with details pending.)
- General structure for some container files. (DBxx structures only.)
- Models for weapons, enemies and characters. (Bones and animation pending.) Other models too, but I haven't spent much time to recognize them. (Maybe some scenery.)
- Geometry for World Map. (Learning OpenGL to add textures. Plus, some details pending.)
Thank you very much for any information you can give me.
I've been playing with the "ff9.img" file for a while and found some of its structures. Now I'm trying to make some utilities to simplify the task of understanding them. I only have access to the Spanish version of FF9 so I was wondering if someone would be kind enough to verify some information on the English version for me.
I'm only interested in verifying the order of the directories inside of "ff9.img" and the number of files for each one. As I couldn't find information on the Net or the forums about this, I'm assuming it's not known to everyone so here it goes...
"ff9.img" is divided in sectors of 0x800 bytes. What I need is information on the first sector of the first disk, that goes from 0x00000000 to 0x000007ff. It's similar to a root directory and its structure is something like this (in the Spanish version):
000: (4 bytes) Signature "FF9 ".
004: (4 bytes) Don't know yet. (Value=0x6)
008: (4 bytes) Number of entries in directory. (Value=0xf)
00C: (4 bytes) Don't know yet. (Value=0x1)
Next follow each directoy entry up to a number equal to the value at offset 0x008.
(4 bytes) - Type. (02=directory; 03=array of files; 04=end of volume) (I think.)
(4 bytes) - Number of files in directory. (Except for type 04.)
(4 bytes) - Pointer to sector with more information about files in directory. (Different meaning for type 04.)
(4 bytes) - Pointer to first sector of first file. (Except for type 04.)
The rest is padded with the string "FF9 ".
Next is the list of values I need you to check. I added the value in the Spanish version, just in case someone is interested.
008: (0xF)
014: (0x15)
024: (0x23)
034: (0x13)
044: (0xF)
054: (0xde)
064: (0x151)
074: (0x97)
084: (0x65)
094: (0x55)
0a4: (0x37)
0b4: (0x2a)
0c4: (0x1ab)
0d4: (0x2)
0e4: (0x1ff)
One more thing. May I ask what's been found out about this file? I only saw posts by Zande and Cyberman but most of the work is on FF7 and the new engine. I've just started and my list is more or less:
- Directory structure and file extraction. (Done, with details pending.)
- General structure for some container files. (DBxx structures only.)
- Models for weapons, enemies and characters. (Bones and animation pending.) Other models too, but I haven't spent much time to recognize them. (Maybe some scenery.)
- Geometry for World Map. (Learning OpenGL to add textures. Plus, some details pending.)
Thank you very much for any information you can give me.