CMX skins/acessories file format

francot514

Well-Known Member
I have found this in the Edith version of The Sims 1, the cmx file format is completely readable, so will be easy to understand it and create a parser for the skins accessories.

Code:
CMX File:
    int32 skeletonCount;
    Skeleton skeletons[skeletonCount];
    int32 suitCount;
    Suit suits[suitCount];
    int32 skillCount;
    Skill skills[skillCount];

Skeleton:
    CountedString name;
    int32 boneCount;
    Bone bones[boneCount];

Bone:
    CountedString name;
    CountedString parentName;
    int32 hasProps;
        ? Props prop;
    float trans[3];
    float rot[4];
    int32 canTranslate;
    int32 canRotate;
    int32 canBlend;
    int32 canWiggle;
    int32 wigglePower;

Code:
Example cmx file

// Character File. Copyright 1997, Maxis Inc.
version 300
0
1
suit-adult-bball110
0
0
1
R_HAND
xskin-suit-adult-bball110-R_HAND-SUIT-ADULT-BBALL110
0
0
0
 
Back
Top