Difference between revisions of "Xeno/IndexFileFormat"

From Final Fantasy Inside
Jump to navigation Jump to search
my_wiki>Akari
 
m (5 revisions imported)
 
(4 intermediate revisions by 2 users not shown)
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"
Line 13: Line 17:
 
|-
 
|-
 
| Start sector is the same as the sector of the first file. It doesn't interest us anyway.
 
| 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.
+
| style="background:rgb(255,255,204)" | Length must be greater than 0xff000000. We don't know purpose of the directory Length yet.
 
|-
 
|-
 
! colspan="2" style="background:rgb(204,204,204)" | File
 
! colspan="2" style="background:rgb(204,204,204)" | File
Line 22: Line 26:
 
! colspan="2" style="background:rgb(204,204,204)" | Others
 
! colspan="2" style="background:rgb(204,204,204)" | Others
 
|-
 
|-
| 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

Latest revision as of 05:25, 23 May 2019

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.