Page 1 of 1

Soul Calibur 1-6 .mot animation file

Posted: Tue Nov 13, 2018 5:32 am
by JohnHudeski
It appears as though every soul calibur game has shared the same animation file format (ios, ps2, pc...)

I have been able to extract individual entries from the .mot archive
But i havent been able to make sense of the entries


.mot

Code: Select all


int idType[2]<hidden=true>;
if(idType[1] == 0) //SC6
{
    FSeek(0);
    int64 count;
}
else //==2 SC3
{
    FSeek(0);
    int count;
    int unkn;
}


int offset[count]<bgcolor=cLtGreen>;
typedef struct(int size)
{
    byte data[size];
}Data<optimize=false>;

local int i = 0;
local int size = 0;
local int id = 0;
local int minID = 0;
local int maxID = 0;
local int minSize = 9999999;
local int maxSize = -9999999;
for(i = 0; i < count; i++)
{
    FSeek(offset[i]);
    if(i == count-1)
        size = FileSize() - offset[i];
    else
        size = offset[i+1] - offset[i];

    if( i%2)
        SetBackColor(cLtRed);
    else
        SetBackColor(cLtBlue);

    if(size == 0)
        continue;

    if(size < minSize)
    {
        minSize = size;
        minID = id;
    }
    
    if(size > maxSize)
    {
        maxSize = size;
        maxID = id;
    }


    Data data(size)<optimize=false>;
    id++;
}

SetBackColor(cNone);
Printf("Min: [%d] %d Max: [%d] %d  -> Count: %d\n", minID, minSize, maxID, maxSize, id);

MOTION Entry

Code: Select all

short id;
short size; //mostly varies with size
short flagA, flagB; //flag a is not a size

byte pad0[3]; //fffff

short count0;
short count1;
short count2;
short count3;

byte pad1[8];
byte pad2;

if(flagA == 0)
{

}
else
{
    int count;

}

Re: Soul Calibur 1-6 .mot animation file

Posted: Wed Feb 20, 2019 7:27 am
by JohnHudeski
Kinda sad. No progress

Re: Soul Calibur 1-6 .mot animation file

Posted: Fri May 05, 2023 9:35 am
by zsjcoral
Can no one conquer this difficult problem??

Re: Soul Calibur 1-6 .mot animation file

Posted: Fri May 05, 2023 1:19 pm
by shakotay2
zsjcoral wrote: Fri May 05, 2023 9:35 am Can no one conquer this difficult problem??
It simply doesn't work this way: jumping into a format trying to get animations.
It should start with the skeleton. If you don't nothing will happen. In my experience, at least.

I don't have any overview of the different Soul Calibur versions.

SC3 format seems to be a little bit complex so I dunno whether it's a good idea to start with:
zaramot wrote: Tue Sep 16, 2014 3:46 pm
(Leap in time, 5 and a half years later :D )
mariokart64n wrote: Fri Apr 17, 2020 5:04 pm
At least you find "skeleton" in the block diagram and, more important, a skeleton section in the appended maxscript:
(see -- Construct Skeleton)

Re: Soul Calibur 1-6 .mot animation file

Posted: Thu May 11, 2023 3:15 pm
by zsjcoral
I really hope someone can conquer their MOT animation format, I really like their actions

Re: Soul Calibur 1-6 .mot animation file

Posted: Thu May 11, 2023 11:03 pm
by einherjar007
Probably not. More than Tekken, SC, especially SC2, has been modded for years, but no one has been able to analyze the mot about it.
This is despite the fact that there are modders who can port data from other models to other models and do complete endian flips.
In short, while some people have a complete understanding of the file structure itself, no one understands how it is actually parsed as animation data and assigned to bones.

The most practical way is to get the coordinates and angles from the actual 3D data being drawn to get the animation frame data,
as I and sadamitsu from Tekken modder do. It is primitive and forceful, but reliable.

Re: Soul Calibur 1-6 .mot animation file

Posted: Fri May 12, 2023 4:06 pm
by zsjcoral
Unfortunately, the MOT animation files of tekken cannot be obtained or modified either