Difference between revisions of "FF8/PlaystationMedia"

From Final Fantasy Inside
< FF8
Jump to navigation Jump to search
my_wiki>Myst6re
my_wiki>Myst6re
Line 32: Line 32:
 
== Field Files ==
 
== Field Files ==
  
In the list of root files, the third file is in fact the "FIELD.BIN". This file is LZSed, and contains some informations, like the list of field files position and size.
+
In the list of root files, the third file is in fact the "FIELD.BIN". This file are [[FF7/LZS_format|LZS]] compressed, and contains some informations, like the list of field files position and size.
  
 
Find the file list is approximate, I am trying to find some bytes: "\x04\x00\x05\x24\x18\x00\xbf\x8f\x14\x00\xb1\x8f\x10\x00\xb0\x8f\x20\x00\xbd\x27\x08\x00\xe0\x03\x00\x00\x00\x00" (size=28), normally, there is the list right after this sequence of bytes, and before the "\x00\x00\x01\x00\x02\x00\x03\x00" (size=8) sequence.
 
Find the file list is approximate, I am trying to find some bytes: "\x04\x00\x05\x24\x18\x00\xbf\x8f\x14\x00\xb1\x8f\x10\x00\xb0\x8f\x20\x00\xbd\x27\x08\x00\xe0\x03\x00\x00\x00\x00" (size=28), normally, there is the list right after this sequence of bytes, and before the "\x00\x00\x01\x00\x02\x00\x03\x00" (size=8) sequence.
  
Order of files:
+
Order of files (sorted by id):
 
<ul>
 
<ul>
<li>d000.mch -> d075.mch files [id=0 -> id=76]
+
<li>D000.[[FF8/FileFormat_MCH|MCH]] -> D075.MCH files [id=0 -> id=76]
<li>Field files [id=77 -> id=last]
+
<li>Field files (MIM, MAP and LZK) [id=77 -> id=last]
 
</ul>
 
</ul>
  
There are three files for each field: example.mim, example.map and example.lzk.
+
There are three LZSed files for each field: EXAMPLE.MIM, EXAMPLE.MAP and EXAMPLE.LZK.
 +
If you want to convert Playstation fields to PC fields format, this is a concatenation of some PC files:
 +
<ul>
 +
<li>EXAMPLE.MIM = HEADER + example.pvp + example.[[FF8/FileFormat_MIM|mim]] + example.tdw + example.pmp
 +
<li>EXAMPLE.MAP = HEADER + example.inf + example.[[FF7/Field/Camera_Matrix|ca]] + example.[[FF7/Field/Walkmesh|id]] + [[FF8/FileFormat_MAP|example.map]] + example.msk + example.rat + example.mrt + AKAO + example.msd + example.pmd + example.jsm
 +
<li>EXAMPLE.LZK = Unknown, but contains part of chara.one file. Note that the file is not quite LZS, the header is larger.
 +
</ul>

Revision as of 22:27, 30 March 2012

FF8DISCX.IMG File Format

Almost all of the game files are hidden in the FF8DISCX.IMG (with X=disc number) file.

Root Files

In the case of a Japanese iso, the file begins directly with a list of file location and size, with the following format:

Offset Size Data
0 4 Location of file (relative to the start of the iso)
4 4 Size of file

In the case of a PAL iso, there are 5 unknown sectors before this list of files.

Notes:

  • I do not have the American iso, please fix this article if you can.
  • We do not know how many files there are in the list, neither file names!
  • Each file in FF8DISCX.IMG are relative to the start of the iso!

Field Files

In the list of root files, the third file is in fact the "FIELD.BIN". This file are LZS compressed, and contains some informations, like the list of field files position and size.

Find the file list is approximate, I am trying to find some bytes: "\x04\x00\x05\x24\x18\x00\xbf\x8f\x14\x00\xb1\x8f\x10\x00\xb0\x8f\x20\x00\xbd\x27\x08\x00\xe0\x03\x00\x00\x00\x00" (size=28), normally, there is the list right after this sequence of bytes, and before the "\x00\x00\x01\x00\x02\x00\x03\x00" (size=8) sequence.

Order of files (sorted by id):

  • D000.MCH -> D075.MCH files [id=0 -> id=76]
  • Field files (MIM, MAP and LZK) [id=77 -> id=last]

There are three LZSed files for each field: EXAMPLE.MIM, EXAMPLE.MAP and EXAMPLE.LZK. If you want to convert Playstation fields to PC fields format, this is a concatenation of some PC files:

  • EXAMPLE.MIM = HEADER + example.pvp + example.mim + example.tdw + example.pmp
  • EXAMPLE.MAP = HEADER + example.inf + example.ca + example.id + example.map + example.msk + example.rat + example.mrt + AKAO + example.msd + example.pmd + example.jsm
  • EXAMPLE.LZK = Unknown, but contains part of chara.one file. Note that the file is not quite LZS, the header is larger.