Difference between revisions of "Xeno/IndexFileFormat"

From Final Fantasy Inside
Jump to navigation Jump to search
my_wiki>Akari
(File Format)
my_wiki>Akari
(File Format)
Line 19: Line 19:
 
| style="background:rgb(255,255,204)" | Length must be greater than 0xff000000. We don't know purpose of the directory Length yet.
 
| style="background:rgb(255,255,204)" | Length must be greater than 0xff000000. We don't know purpose of the directory Length yet.
 
|-
 
|-
! style="background:rgb(255,255,204)" colspan="2" style="background:rgb(204,204,204)" | File
+
! colspan="2" style="background:rgb(204,204,204)" | File
 
|-
 
|-
 
| Start sector of the file.
 
| Start sector of the file.
Line 28: Line 28:
 
| style="background:rgb(255,255,204)" colspan="2" |There are some free spaces sometimes. They are filled with zeros, so we need to skip it. Its purpose are not known.
 
| style="background:rgb(255,255,204)" colspan="2" |There are some free spaces sometimes. They are filled with zeros, so we need to skip it. Its purpose are not known.
 
|-
 
|-
| 0x000000.
+
| style="background:rgb(255,255,204)" | 0x000000.
| 0x00000000.
+
| style="background:rgb(255,255,204)" | 0x00000000.
 
|-
 
|-
 
! colspan="2" style="background:rgb(204,204,204)" | End of Disk
 
! colspan="2" style="background:rgb(204,204,204)" | End of Disk

Revision as of 13:05, 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.