Jump to content

Fable 2 .loco, .animation_data & .animation_toc


Recommended Posts

Posted

Back again. 

This time seeking help with animation files. 

There are 3 animation files as far as I can tell, which are locomotion.loco, fable2_anims.animation_toc, and fable2_anims.animation_data.

I have an 010 script that provides a basic outline of the .loco file:
 

//------------------------------------------------
//--- 010 Editor v5.0 Binary Template
//
//      File: locomotion.loco
//   Authors: 
//   Version: 
//   Purpose:
//  Category: 
// File Mask: 
//  ID Bytes: 
//   History: 
//------------------------------------------------

BigEndian();

typedef struct
{
    uint32  Unknown;
    float   X;
    float   Y;
    float   Z;
} LocoEntry1Coords;

typedef struct
{
    uint32           Unknown0;
    char             Name[16];
    uint32           Unknown1;   // always == 0x0820 ?
    uint32           Unknowns2[94];
    LocoEntry1Coords Coords[16];
} LocoEntry1;

typedef struct
{
    uint32   Unknowns1[6];
    float    Unknowns2[94];
} LocoEntry2;

typedef struct // environment map
{
    uint32 Unknown1;
    uint32 Unknown2;
    uint32 LocoEntry1Size;
    uint32 LocoEntry2Size;
    uint32 Unknown3;
    uint32 Entry1Count;
    uint32 Entry2Count;
    uint32 Entry3Count;
    uint32 StringsSectionSize;
    uint32 Unknown7;
    
    LocoEntry1 Entries1[Entry1Count];
    LocoEntry2 Entries2[Entry2Count];
    uint32     Entries3[Entry3Count];
    char       StringsSection[StringsSectionSize];
    
} LOCO;

LOCO loco;

Attached a raw .mdl file, the converted .glb, the files referred to above. 

Any help would be appreciated.

New WinRAR archive.rar

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...