Anonymous

Changes

From Final Fantasy Inside

FF7/Battle model format (PSX)

1,900 bytes added, 23:46, 5 August 2005
Battle model header
=== Battle model header ===
The header section is a sequence of little endian 32 bit unsigned integers. The first integer (entitled SectionCount) contains the number of pointers offset from the begining of the file. The remaining integers are SectionCount number of pointers.
 
<table style="text-align: left; width: 384px;" border="1"
cellspacing="0" cellpadding="2">
<tr>
<tr>
<td
style="width: 76px; text-align: center; vertical-align: middle; background-color: rgb(204, 204, 204);">Offset<br>
</td>
<td
style="text-align: center; vertical-align: middle; background-color: rgb(204, 204, 204);">Size<br>
</td>
<td
style="text-align: center; vertical-align: middle; background-color: rgb(204, 204, 204);">Description<br>
</td>
</tr>
<tr>
<td
style="width: 76px; text-align: center; vertical-align: middle;">000000<br>
</td>
<td style="vertical-align: top;">4 bytes long<br>
</td>
<td style="vertical-align: top;">Number of Sections<br>
</td>
</tr>
<tr>
<td
style="width: 76px; text-align: center; vertical-align: middle;">N*4<br>
</td>
<td style="vertical-align: top;">4 bytes long<br>
</td>
<td style="vertical-align: top;">Pointer to each section of data.<br>
</td>
</tr>
<tr>
<td
style="width: 76px; text-align: center; vertical-align: middle;">(N+1)*4<br>
</td>
<td style="vertical-align: top;">Varies<br>
</td>
<td style="vertical-align: top;">First section of data, this is
the actual 3d data for the model.<br>
</td>
</tr>
<tr>
<td
style="width: 76px; text-align: center; vertical-align: middle;">(N+2)*4<br>
</td>
<td style="vertical-align: top;">Varies<br>
</td>
<td style="vertical-align: top;">First animation for the model.<br>
</td>
</tr>
<tr>
<td style="vertical-align: top;">unknown<br>
</td>
<td style="vertical-align: top;">Varies<br>
</td>
<td style="vertical-align: top;">Tim image information often 4bpp
sometimes 8bpp # of cluts varies<br>
</td>
</tr>
<tr>
<td style="vertical-align: top;">unknown<br>
</td>
<td style="vertical-align: top;">Varies<br>
</td>
<td style="vertical-align: top;">Battle weapon models for
characters go here they have the indentical format as the first
section, save they do not have textured polygons<br>
</td>
</tr>
</table>
=== Battle model HRC/model information ===
Anonymous user