Skip to content

Asobo Save Game File Format Specification

widberg edited this page Aug 23, 2021 · 35 revisions
struct SaveGame
{
    std::uint32_t four;
        // Always 4
        // Written by xlive
    std::uint32_t bufferCRC32Checksum0;
        // CRC-32 Checksum of the buffer
        // Equals bufferCRC32Checksum1
        // Written by xlive
    std::uint8_t buffer[199996];
        // Contains 1 SaveGameData starting at &buffer[0] and filling the buffer
    std::uint32_t bufferCRC32Checksum1;
        // CRC-32 Checksum of the buffer
        // Equals bufferCRC32Checksum0
};
struct SaveGameData
{
    std::uint32_t dataCompressedSize;
    std::uint32_t dataDecompressedSize;
    std::uint8_t data[dataCompressedSize - 8];
        // dataCompressedSize and dataDecompressedSize are part of the compressed data so we subtract their size from the data array
        // Data is compressed using ArithmeticCoderC
        // They stole it from https://www.researchgate.net/publication/236980434_Arithmetic_Coding_revealed_-_A_guided_tour_from_theory_to_praxis#pf2f
    std::uint8_t zeros[199996 - dataSize - 1];
        // Filled with 0x00
    std::uint8_t equals61;
        // Always equals 61
};

Home
FAQ

For FMTK Users and Mod Developers

Read the Docs

For FMTK Developers

Asobo BigFile Format Specification
Asobo Classes
      Animation_Z
      Binary_Z
      Bitmap_Z
      Camera_Z
      CollisionVol_Z
      Fonts_Z
      GameObj_Z
      GenWorld_Z
      GwRoad_Z
      Keyframer*_Z
      Light_Z
      LightData_Z
      Lod_Z
      LodData_Z
      Material_Z
      MaterialAnim_Z
      MaterialObj_Z
      Mesh_Z
      MeshData_Z
      Node_Z
      Omni_Z
      Particles_Z
      ParticlesData_Z
      RotShape_Z
      RotShapeData_Z
      Rtc_Z
      Skel_Z
      Skin_Z
      Sound_Z
      Spline_Z
      SplineGraph_Z
      Surface_Z
      SurfaceDatas_Z
      UserDefine_Z
      Warp_Z
      World_Z
      WorldRef_Z
Asobo File Format Idioms
Asobo CRC32
Asobo LZ Compression
Asobo Arithmetic Coding Compression
Asobo Save Game File Format Specification
Asobo Audio Formats
TotemTech/ToonTech/Zouna/ACE/BSSTech/Opal Timeline
Zouna Modding Resources
Miscellaneous

Clone this wiki locally