Skip to content

LodData_Z

widberg edited this page Oct 12, 2023 · 7 revisions

ImZouna LodData_Z

This is a Data Class.

struct LodData_Z : ResourceObject_Z {
    std::uint32_t flags;
        // 0x01000000 - 
        // 0x00000002 - 
        // 0x00004000 - 
        // 0x00003FFF - 
        // 0xFFFFFFFE - 
        // 0x000000FF - 
        // 0xFF000000 - 
        // 0x00001000 - 
    PascalArray<crc32_t> meshDataCRC32s;
    std::uint32_t zero;
        // always 0
    Optional<struct Extended {
        std::uint8_t padding[24];
            // 0xFF
        std::uint32_t flags1;
            // 0x009FFC70
            // 0x009FFE70
        std::uint32_t zero1;
            // always 0
        std::uint32_t equals0x004000000;
            // always 0x00400000
        std::uint32_t zero2;
            // always 0
        std::uint32_t zero3;
            // always 0
        std::uint32_t zero4;
            // always 0
        float scaleX;
            // always 1.0
        float scaleY;
            // always 1.0
        float scaleZ;
            // always 1.0
        std::uint32_t zero5;
            // always 0
        std::uint32_t zero6;
            // always 0
        std::uint32_t zero7;
            // always 0
        std::uint32_t equals0x004000001;
            // always 0x00400000
        std::uint32_t zero8;
            // always 0
        std::uint32_t zero9;
            // always 0
        std::uint32_t zero10;
            // always 0
        std::uint32_t zero11;
            // always 0
    }> extended;
};
//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//------------------------------------------------

struct LodData_Z
{
    uint32 flags;
    uint32 meshDataCRC32Count;
    uint32 meshDataCRC32s[meshDataCRC32Count];
    uint32 zero0;
    byte hasMore;
    if (hasMore)
    {
        byte padding[24];
            // 0xFF
        uint32 u1;
        uint32 zero1;
        uint32 u2;
        uint32 zero2;
        uint32 zero3;
        uint32 zero4;
        float scaleX;
        float scaleY;
        float scaleZ;
        uint32 zero5;
        uint32 zero6;
        uint32 zero7;
        uint32 u6;
        uint32 zero8;
        uint32 zero9;
        uint32 zero10;
        uint32 zero11;
    }
} loddata;

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