Difference between revisions of "Xeno/IndexFileFormat"

From Final Fantasy Inside
Jump to navigation Jump to search
my_wiki>Akari
 
my_wiki>Akari
Line 2: Line 2:
  
 
The file that holds all file structure are the very first on the disk (no matter english or japanese copy of game). It starts from 24 sector and has size of 16 sectors.
 
The file that holds all file structure are the very first on the disk (no matter english or japanese copy of game). It starts from 24 sector and has size of 16 sectors.
 +
 +
== File Format ==
 +
 +
The file consists of repeated 7 bytes block that contents start sectors and length for directories and files.
  
 
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse; background: rgb(255,255,255);" align="center"
 
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse; background: rgb(255,255,255);" align="center"

Revision as of 11:49, 4 August 2006

The original file structure was deleted from the disk, exept two start files: SLUS_xxx.xx and SYSTEM.CNF, but after game starts file structure restores and game works whith it.

The file that holds all file structure are the very first on the disk (no matter english or japanese copy of game). It starts from 24 sector and has size of 16 sectors.

File Format

The file consists of repeated 7 bytes block that contents start sectors and length for directories and files.

Start sector Length
Offset 0x00 Length 0x03 Offset 0x03 Length 0x04
Directory
Start sector is the same as the sector of the first file. It doesn't interest us anyway. Length must be greater than 0xff000000. We don't know purpose of the directory Length yet.
File
Start sector of the file. Length must be lesser than 0xff000000.
Others
There are some free spaces sometimes. They are filled with zeros, so we need to skip it. Its purpose are not known.
0x000000. 0x00000000.
End of Disk
0xFFFFFF. 0x00000000.