Difference between revisions of "FF8/FileFormat MSK"

From Final Fantasy Inside
< FF8
Jump to navigation Jump to search
my_wiki>Myst6re
(Mask Files?)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== Movie Cam? ==
+
By myst6re.
  
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"
+
== Mask Files? ==
! style="background:rgb(204,204,204)" | Offset
+
 
! style="background:rgb(204,204,204)" | Size
+
{| class="wikitable"
! style="background:rgb(204,204,204)" | Data
+
! Offset
 +
! Size
 +
! Data
 
|-
 
|-
 
| 0
 
| 0
Line 12: Line 14:
 
| 4
 
| 4
 
| 24 * Count bytes
 
| 24 * Count bytes
|style="background:rgb(255,255,204)" | Cam Positions?
+
|style="background:rgb(255,255,204)" | Mask position?
 
|}
 
|}
  
 
I think for "Count" frame, there are four points (4 * 6 bytes = 4 * (x,y,z)) in space.
 
I think for "Count" frame, there are four points (4 * 6 bytes = 4 * (x,y,z)) in space.
 +
 +
 +
 +
Additional info by Kaspar03:
 +
 +
In every sector of every .msk files there are:
 +
 +
-4 starting bytes that may be always different (and for a yet unknown reason for the same field they're not the same in every release of the game... my best guess is that they could be offsets to data stored in a file that may not always be the same size eg. ff8.exe)
 +
 +
-16 middle bytes that are always identical (67 02 20 2D 0C 00 00 00 0C 00 00 00 9C 43 C7 63)
 +
 +
-4 ending bytes that may differ from file to file but that are always the same within the same msk.
 +
 +
Even if the purpose of these files is still unknown because of this repeated content it's quite unlikely these files can contain 3D model data or animation data.
 +
 +
Edit:
 +
 +
in PC version of the game all  msk files the last 20 bytes of each sector are always the same:      44 A2 C6 20 90 CA 31 00 0C 00 00 00 90 CA 31 00 24 8A F4 66
 +
 +
in remaster version of the game all msk files the last 20 bytes of each sector are always the same: 2B 21 01 94 88 CC 34 00 0C 00 00 00 88 CC 34 00 24 8A 53 66

Latest revision as of 01:04, 28 January 2021

By myst6re.

Mask Files?

Offset Size Data
0 4 bytes Count
4 24 * Count bytes Mask position?

I think for "Count" frame, there are four points (4 * 6 bytes = 4 * (x,y,z)) in space.


Additional info by Kaspar03:

In every sector of every .msk files there are:

-4 starting bytes that may be always different (and for a yet unknown reason for the same field they're not the same in every release of the game... my best guess is that they could be offsets to data stored in a file that may not always be the same size eg. ff8.exe)

-16 middle bytes that are always identical (67 02 20 2D 0C 00 00 00 0C 00 00 00 9C 43 C7 63)

-4 ending bytes that may differ from file to file but that are always the same within the same msk.

Even if the purpose of these files is still unknown because of this repeated content it's quite unlikely these files can contain 3D model data or animation data.

Edit:

in PC version of the game all msk files the last 20 bytes of each sector are always the same: 44 A2 C6 20 90 CA 31 00 0C 00 00 00 90 CA 31 00 24 8A F4 66

in remaster version of the game all msk files the last 20 bytes of each sector are always the same: 2B 21 01 94 88 CC 34 00 0C 00 00 00 88 CC 34 00 24 8A 53 66