Changes between Version 1 and Version 2 of PSA_File_Format


Ignore:
Timestamp:
Jun 26, 2012, 5:00:32 AM (12 years ago)
Author:
historic_bruno
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PSA_File_Format

    v1 v2  
    11PSA files store a skeletal animation, which consists of bone states at a number of keyframes (see [wiki:PMD_File_Format PMD File Format]). Animations can only be applied to models with the same number of bones in the same order (no bone names are used, only indices). Although PSA contains a name field and a frame length field, these are no longer used in the game since animation variants and total animation lengths (so the same animation can be reused with different lengths) are given in the actor XML files.
    22
    3 All types are stored in little-endian format. Text is always ASCII. The following is the version 1 PSA format:
     3The following is the version 1 PSA format.
     4
     5Basic types:
     6 * char = 8-bit character
     7 * u32 = 32-bit unsigned int
     8 * u16 = 16-bit unsigned int
     9
     10All types are stored in little-endian format. Text is always ASCII.
    411
    512{{{
     13#!c
    614 PSA {
    715    char magic[4];  // == "PSSA"