Skip to content

WorldRef_Z

widberg edited this page Oct 12, 2023 · 20 revisions

ImZouna WorldRef_Z

See also: IWR File Format

struct WorldRef_Z : Object_Z {
    // thiscall 7AAD40
    crc32_t nodeCRC32;
    crc32_t warpCRC32;
    crc32_t gameObjCRC32;
    crc32_t unused14;
    crc32_t genWorldCRC32;
    crc32_t nodeCRC322;
    PascalArray<std::uint32_t> unused17s;
    PascalArray<std::uint8_t> unuseds;
    PascalArray<Mat4f> mats;
    // end thiscalls
    Vec3f pointA;
    Vec3f pointB;
    PascalArray<struct UUIDPair {
        std::uint32_t uuid0;
            // some number that looks like a crc32 but isn't
            // these values are generally close to each other
        std::uint32_t uuid1;
    }> uuidPairs;
    PascalStringNULL initScript;
        // semi-colon-separated list of TSC commands
        // EX: "OpenBF WORLD\USA1_REGION_HUB_SALTLAKE_37923066;LoadWorldRef DB:>LEVELS>HUBS>QUARTIER_1>3DNODEGEOMETRY>HUB_SALTLAKE.TWORLDREF;CloseBF"
    PascalArray<crc32_t> nodeCRC32s;
    std::uint32_t zero;
        // Always 0
        // Never read by the game
};
//------------------------------------------------
//--- 010 Editor v11.0.1 Binary Template
//------------------------------------------------

struct WorldRef_Z
{
    uint32 unknown11;
    uint32 unknown12;
    uint32 unknown13;
    uint32 unknown14;
    uint32 unknown15;
    uint32 unknown16;
    uint32 unknown17Count;
    uint32 unknown17s[unknown17Count];
    uint32 unknownCount;
    byte unknowns[unknownCount];
    uint32 unknown0Count;
    float unknown0s[unknown0Count * 16];
    uint32 unknown1;
    uint32 unknown2;
    uint32 unknown3;
    uint32 unknown4;
    uint32 unknown5;
    uint32 unknown6;
    uint32 unknown7Count;
    struct Unknown7
    {
        uint32 unknown0;
        uint32 unknown1;
    } unknown7s[unknown7Count];
    uint32 unknown8Count;
    byte unknown8s[unknown8Count];
    uint32 unknown9Count;
    uint32 unknown9s[unknown9Count];
    uint32 zero;
} worldref;

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