Author Topic: Multiple questions about FF9 file.img  (Read 2698 times)

arcanis

  • *
  • Posts: 3
    • View Profile
Multiple questions about FF9 file.img
« on: 2012-04-24 09:52:13 »
Hi : )

I'm currently trying to understand FF9, and I've read multiple Qhimm topics about this, but I've got some questions :

Quote
Type 03 entries are a bit different. I've got only one. Its elements are like this:
(2 bytes) - Number of sectors to add to base sector or 0xffff for empty entries, with "base sector" being the sector pointer that appears in the Type 03 entry.
Ok, I don't understand :D
Do you means that "file sector" = "sub directory first file sector" + "file pointer" ? If so, how can we know what is the end sector of the file ?
[edit] I've understood !

Quote
- The easy way to find the end of the last file in a directory. (But I'd say you already figured that out.)
I'm currently crawling the file from the end. Is there an other way ?

Quote
Maybe I'm reading it wrong, but the way to get the size for the last file is quite similar to the previous files, as the last element in the structure has 0xFFFFFFFF in the "Flags" field and the "First Sector" field points to the first sector after the current sub-dir (which is the same as the first sector of the next sub-dir.) I forgot to mention that in my previous posts.
I don't understand. In my current tests, the first file sector of the subdirectory entry seems to be the first file sector of the first file of the subdirectory files informations sector. It does not seems related to the next subdirectory.
Am I wrong ?

[edit] I've managed to make a correct extracting tool (c+), and put it on Github. I've also writed some wiki pages (on the repository) about the game structure.

Now I'm trying to find out how to extract monster data (life, skills, animations id, etc). Didn't find any documentation yet. :(

Thanks !
« Last Edit: 2012-04-24 17:55:28 by arcanis »

Jenova's Witness

  • Right Wing Safety Squads
  • *
  • Posts: 471
  • I ♥ SCIENCE
    • View Profile
.
« Reply #1 on: 2012-04-24 18:51:47 »
.
« Last Edit: 2015-11-16 10:06:08 by Jenova's Witness »