Changes
From Final Fantasy Inside
no edit summary
== Patches Header ==
DAT file is divided into 11 sections (except for c0m127.dat, which contains only 2 sections : 7th and 8th). {| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"! style="background:rgb(204,204,204)" | Offset! style="background:rgb(204,204,204)" | Length! style="background:rgb(204,204,204)" | Description|-| 0| 4 bytes| Number of sections (always =11, except for c0m127.dat)|-| 4| nbSections * 4 bytes| Section Positions|-| 4 + nbSections * 4| 4 bytes| File size|} == Section 1: Skeleton == {| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"! style="background:rgb(204,204,204)" width| Offset! style="background:rgb(204,204,204)" | Length! style="background:rgb(204,204,204)" | Description|-| 0| 2 bytes| Number of bones|-|style="background:rgb(255,255,204)" | 2|style="background:rgb(255,255,204)" | 14 bytes|style="background:rgb(255,255,204)" | Unknown|-| 16| Number of bones * 48 bytes| Bones|} === Bone struct === {| border="1" cellspacing="1" cellpadding="3" align="120center" style="border: 1px solid black; border-collapse: collapse;"! style="background:rgb(204,204,204)" | Project NameOffset! style="background:rgb(204,204,204)" width| Length! style="300background:rgb(204,204,204)" | Description|-| 0| 2 bytes| Parent id|-| 2| 2 bytes| Bone size|-|style="background:rgb(255,255,204)" | 4|style="background:rgb(255,255,204)" | 44 bytes|style="background:rgb(255,255,204)" | Unknown (often empty)|} == Section 2: Model geometry == === Header (data sub table) === {| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"! style="background:rgb(204,204,204)" width| Offset! style="100background:rgb(204,204,204)" | Length! style="background:rgb(204,204,204)" | AuthorDescription|-| 0| 4 bytes| Number of objects|-| 4| nbObjects * 4 bytes| Object Positions|} === Object Data === {| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"! style="background:rgb(204,204,204)" width| Offset! style="80background:rgb(204,204,204)" | Version / StatusLength! style="background:rgb(204,204,204)" | LinksDescription|-| 0| 2 bytes| Number of Vertices Data|-| 2| Varies * NbVerticesData| Vertices Data|-| Varies| absolutePosition % 4| Padding (0x00)|-| Varies| 2 bytes| Num triangles|-| Varies| 2 bytes| Num quads|-| Varies| 8 bytes| Padding (0x00)|-| Varies| numTriangles * 16 bytes| Triangles|-| Varies| numQuads * 20 bytes| Quads
|-
|-
|-
|-
| 2
| nbScripts * 2 bytes
| Scripts Positions
|}
== Editors Section 6: unknown ==
Can be empty. == Section 7: Informations & stats == TODO (interpreted at 94%) == Section 8: Battle scripts == == Section 9: Sounds == Contains AKAO sequences. == Section 10: Sounds == Contains AKAO sequences. == Section 11: Textures == Contains some [[PSX/TIM_format|TIMs]] with size 128x128 (8bit paletized). {| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"! style="background:rgb(204,204,204)" width="120" | Project NameOffset! style="background:rgb(204,204,204)" width="300" | DescriptionLength! style="background:rgb(204,204,204)" width="100" | AuthorDescription|-| 0| 4 bytes| Number of TIMs|-| 4! style="background:rgb(204,204,204)" width="80" | Version / StatusnbTIMs * 4 bytes! style="background:rgb(204,204,204)" | LinksTIMs Positions
|-
| '''Yamp'''4 + nbTIMs * 4| Multipatcher can patch minigames and other things4 bytes| dziugo|| [http://dziugo.republika.pl/sub/yamp.html Binary]End of file
|-
| '''Highwind'''8 + nbTIMs * 4| LGP Archive inserter extractor/EditorVaries * nbTIMs| Christian| | [http://christian59.ch.funpic.de/Programmiern/Highwind%201.02.rar Binary]TIMs
|}