Home Gallery Resources The Team Rules chat Login Register
Pages:  [1] 2 3
Author Topic: The .MOT (TvC, Naruto Animations) Research Thread  (Read 16602 times)
0 Members and 1 Guest are viewing this topic.
IWasAPerson
Mega Kitten
*****
Offline Offline

Posts: 196



View Profile Awards
« on: March 03, 2011, 05:48:43 PM »


Original Post:

I finally got around to making a copy of all the character files from Tatsunoko vs. Capcom. Between looking at them and seeing what people have said/documented about .mot files (which is little to nothing), I wanted to take a crack at them, figure out how to open them up in BrawlBox. Unfortunately, I don't know enough about the motionetc.pac header (and I'm having a lot of trouble finding documentation) to hex it to the .mot files, but they seem like they're similar. I'll keep going through them with a hex editor and look for patterns.

This is what I knew about .mot files prior to researching:
The format is similar to motionetc ARC files
They do indeed contain the animation files for each character
If a header is placed on them, they will open in BrawlBox.
Brawlbox displays an AnimationData string but has an odd ID.

-----

VILE and I are working on this, but we can use all the help that we can get. If you know anything about hexing, then it would help out the cause a lot. And VILE and I will update this post as we get more info. Also, I'll clean this up when I'm less busy.
« Last Edit: March 05, 2011, 09:23:53 PM by VILE » Logged



Psycho Philia
Lol Kitten
*********
Offline Offline

Posts: 898


  • Awards Heart Container Ninja Tutorial Writer

  • View Profile Awards
    « Reply #1 on: March 03, 2011, 06:01:40 PM »


    Just a question, the Zero model, from what file was it extracted? What type of file? A bin file or an other format of file?
    Logged



    Oh bomb, no one understands you. You have to be expressive with your feelings. Don't worry, Philia will help you with that. Fu fu fu fu....

    Kitare, Saitan no Ikazuchi! Ikare, sousei no daichi! Ribaasukuruseidaaa!

    IWasAPerson
    Mega Kitten
    *****
    Offline Offline

    Posts: 196



    View Profile Awards
    « Reply #2 on: March 03, 2011, 06:07:49 PM »


    Just a question, the Zero model, from what file was it extracted? What type of file? A bin file or an other format of file?

    That was made from a brres file. You have to extract 0000.fpk from Zero's folder using the fpk extractor, then use FortWaffle's automatic mdl0 hexing program on 0000.brres. Then you have to resize the model to about 11 times it's size and fix any inherent problems with the polygons or shapes. In Zero's case, the palette was bad on his mouth.

    Hope that answers your question...
    Logged



    Psycho Philia
    Lol Kitten
    *********
    Offline Offline

    Posts: 898


  • Awards Heart Container Ninja Tutorial Writer

  • View Profile Awards
    « Reply #3 on: March 03, 2011, 06:14:23 PM »


    Yeah it answered my question. Unfortunately, it seems the animations of this game are not in the Chr0 format isn't it? I mean, in this brres file, you didn't found these letters did you, I mean when you opened this file in your hex editor?

    If it's the case, it should be much harder to get Zero's animations....
    Logged



    Oh bomb, no one understands you. You have to be expressive with your feelings. Don't worry, Philia will help you with that. Fu fu fu fu....

    Kitare, Saitan no Ikazuchi! Ikare, sousei no daichi! Ribaasukuruseidaaa!

    IWasAPerson
    Mega Kitten
    *****
    Offline Offline

    Posts: 196



    View Profile Awards
    « Reply #4 on: March 03, 2011, 06:45:33 PM »


    I never found the chr0 string, but there are some areas that look very similar to chr0 format. And based on what I've read TvC uses the same format for animations as Brawl, what I have found for animation has backed that up. I just can't find the start or end of something.

    No one ever said it was going to be easy, and it's bugging me enough for me to make it a challenge. But, my first thing to do is start messing around with the header.
    Logged



    Psycho Philia
    Lol Kitten
    *********
    Offline Offline

    Posts: 898


  • Awards Heart Container Ninja Tutorial Writer

  • View Profile Awards
    « Reply #5 on: March 04, 2011, 04:43:35 AM »


    If you have the time, can you upload for me the file where you got the model and where the animations should be of course? Send me it by private message if you can. And if you want too.
    Logged



    Oh bomb, no one understands you. You have to be expressive with your feelings. Don't worry, Philia will help you with that. Fu fu fu fu....

    Kitare, Saitan no Ikazuchi! Ikare, sousei no daichi! Ribaasukuruseidaaa!

    VILE
    Badass.
    Holy Kitten
    *
    Offline Offline

    Posts: 1455

  • Awards Fiery Topic Heart Container KCMM Old Timer Tutorial Writer

  • View Profile Awards
    « Reply #6 on: March 04, 2011, 05:08:36 AM »


    You want any help with this? I'm pretty interested in this actually.
    Logged

    Zephiel:
    You know what I really like on my stack smash?
    Texture updates.

    Androu1:
    @Zephiel: “your” Stack Smash?

    IWasAPerson
    Mega Kitten
    *****
    Offline Offline

    Posts: 196



    View Profile Awards
    « Reply #7 on: March 04, 2011, 09:48:42 AM »


    You want any help with this? I'm pretty interested in this actually.

    Yeah, definitely, I could use all the help I can get on this since it'd help a lot with character ports. So, please, help out however you can on this.

    Also, I'm taking a look through the .seq files to see if there's anything interesting in them. So far I've found a few labels but I'm trying to figure out what they're supposed to do.
    Logged



    RandomTBush
    Extreme Kitten
    *******
    Offline Offline

    Posts: 490


  • Awards Featured Hot Topic Starstormer Dedicated Hacker

  • View Profile WWW Awards
    « Reply #8 on: March 04, 2011, 12:10:03 PM »


    Also, I'm taking a look through the .seq files to see if there's anything interesting in them. So far I've found a few labels but I'm trying to figure out what they're supposed to do.
    As far as I know, the *.SEQ files are basically for the AI of the characters.
    Logged


    VILE
    Badass.
    Holy Kitten
    *
    Offline Offline

    Posts: 1455

  • Awards Fiery Topic Heart Container KCMM Old Timer Tutorial Writer

  • View Profile Awards
    « Reply #9 on: March 04, 2011, 05:59:38 PM »


    I wrote a quick program to extract .mot files.

    Here is what I got from Zero's .mot file.

    http://www.mediafire.com/?n6no12p8bnbq6fz

    Keep in mind that .anim is not the actual extension and the names aren't correct either, these are just temporary since these motion archives don't use any sort of naming protocol (not that I know of anyway).
    Logged

    Zephiel:
    You know what I really like on my stack smash?
    Texture updates.

    Androu1:
    @Zephiel: “your” Stack Smash?

    SSJCerious
    Holy Kitten
    *
    Offline Offline

    Posts: 1390

  • Awards Super Saiyan Topic >9000 Famous Hacker KCMM Veteran

  • View Profile Awards
    « Reply #10 on: March 04, 2011, 08:37:56 PM »


    These files, they arnt previewable in anyway are they? Theyre just individual animations, with no way to view them, right?
    Logged


    Thanks to soul for this sexy siggy!
    Central Thread:
    http://forums.kc-mm.com/index.php?topic=21501.msg402601#msg402601

    IWasAPerson
    Mega Kitten
    *****
    Offline Offline

    Posts: 196



    View Profile Awards
    « Reply #11 on: March 04, 2011, 09:13:21 PM »


    As far as opening up the file, it's not going to work. Slapping a Chr0 header on them isn't going to help out, either. Since they seem to have distinctive patterns on them I'll take a look at them, but at the moment my video drivers got trashed so I may end up having to reinstall them all night.

    Thanks for your work on this Vile, these are making a bit more sense now. And adding different headers to the .mot file yields different offset values. Hopefully I can try to figure out this stuff (or someone else does before I can, proving how horrible I am at reverse-engineering  Im srs here )

    But again, thanks for this, really appreciate it.
    Logged



    VILE
    Badass.
    Holy Kitten
    *
    Offline Offline

    Posts: 1455

  • Awards Fiery Topic Heart Container KCMM Old Timer Tutorial Writer

  • View Profile Awards
    « Reply #12 on: March 04, 2011, 09:50:29 PM »


    As far as opening up the file, it's not going to work. Slapping a Chr0 header on them isn't going to help out, either. Since they seem to have distinctive patterns on them I'll take a look at them, but at the moment my video drivers got trashed so I may end up having to reinstall them all night.

    Thanks for your work on this Vile, these are making a bit more sense now. And adding different headers to the .mot file yields different offset values. Hopefully I can try to figure out this stuff (or someone else does before I can, proving how horrible I am at reverse-engineering  Im srs here )

    But again, thanks for this, really appreciate it.

    No problem man, it took under 30 minutes of straight work to figure out the archive and write an extractor.

    I'm gonna start working on figuring out these .anim files. I'm thinking an appropriate extension for them should be .tcan or .tvca . When I get something to show would you mind if I made another thread or do you want it all to be confined to this thread?
    Logged

    Zephiel:
    You know what I really like on my stack smash?
    Texture updates.

    Androu1:
    @Zephiel: “your” Stack Smash?

    IWasAPerson
    Mega Kitten
    *****
    Offline Offline

    Posts: 196



    View Profile Awards
    « Reply #13 on: March 05, 2011, 10:06:48 AM »


    It doesn't matter at all as far as a thread goes, you can make one if you want. I can update this OP so I feel kinda important and keep a log of everything. Also there isn't too much in this thread to begin with, but either way it doesn't matter.

    I have an explanation for the random sets of 00's in the header, since I've done the same thing hacking other things. The dev team got really, really lazy and had done lots of other animations. They're all 32-bit non-byteswapped pointers, but everything that is set to all 0's is dummied out pointers. It explains the long gap of zero's before other pointers start up, especially when comparing other .mot's. For example, in that first long gap of zero's in Chun-Li's animation file, there is one valid pointer in the long set of blank pointers, and then follows back up. Plus, the length of blank zero's isn't consistent between .mot files.

    So basically there's nothing significant about the sets of zeros. The developers got lazy (and I fall guilty to the same thing when hacking too) and didn't want to fix all of the pointers, so they deleted old ones.

    What I'm going to do is see what happens with the animations when I change the pointers in the .mot files. I'm armed with Wiiscrubber and Dolphin, and if they do work when changed, I'll go and label all of Zero's .mot files.

    EDIT: the FPK packer causes TvC to freeze, that's not going to work. So, I'll go start to look for patterns in each anim file.
    « Last Edit: March 05, 2011, 12:37:38 PM by IWasAPerson » Logged



    VILE
    Badass.
    Holy Kitten
    *
    Offline Offline

    Posts: 1455

  • Awards Fiery Topic Heart Container KCMM Old Timer Tutorial Writer

  • View Profile Awards
    « Reply #14 on: March 05, 2011, 05:23:17 PM »


    I had a quick look over the .anim (.tvca I've decided to call them) files and before I got sidetracked, I got a little bit of info.

    Code:
    Check first post

    There is a big chance that there is no relocation data and those are just blocks to define bones. I looked at a CHR0 and these and they look fairly similar. I'm going to look more in depth today.
    « Last Edit: March 05, 2011, 09:06:31 PM by VILE » Logged

    Zephiel:
    You know what I really like on my stack smash?
    Texture updates.

    Androu1:
    @Zephiel: “your” Stack Smash?

    Pages:  [1] 2 3
    Print
    Jump to: