Author Topic: FF7 PSX 1st frame of animation (request for FF7 PC data)  (Read 6176 times)

Cyberman

  • *
  • Posts: 1572
    • View Profile
Could someone dump the data that's in one of the character models in there PC version of FF7 for the first animation frame? I think this will be useful for me to find the animation data in the playstation version.  Hopefully at least. Yuffie Cloud I care not which you pick!

I just need the raw numbers or if you just hand me the file I suppose I can decode it myself.
I plan on finding the numbers in the character data. It's likely the rotation information is not identical (in fact it WON'T be).  This is because the PC and PS1 have different 'scales' used. (PS1 is all integer).  The PS1 uses 16bit signed ints for the rotation matrices.  FF7 on the playstation may compute the sine and cosine information then create the matrix in the GTE's registers (relatively speaking this is easy as they only need to compute a matrix for each rotation angle then multiplying each matrix  by each other the end result is a single matrix needed for all rotations).  
I think PS1 FF7 uses 1:15 format for its numbers (IE a signed int whole number), I'm sure the rotation information is likely identical between the two systems in terms of the actual numbers but probably not the storage (would take to long on the playstation to unpack all that data is what I base this idea on).  So I just need the #'s :)

Cyb

Messiah99

  • *
  • Posts: 235
    • View Profile
FF7 PSX 1st frame of animation (request for FF7 PC data)
« Reply #1 on: 2004-07-06 03:29:18 »
If I had the first clue about how to go about that I would gladly do that right now, as Im bored stupid anyway, haha. But I dont know much of anything about how all that works, Im not much of a data reader.

mirex

  • *
  • Posts: 1645
    • View Profile
    • http://mirex.mypage.sk
FF7 PSX 1st frame of animation (request for FF7 PC data)
« Reply #2 on: 2004-07-06 10:41:03 »
Me can't do it, mine ff7 is far far away, but Messiah99 could do it ...
I am not sure if you mean field models or battle models, i asume its battle ones.

rx = Yuffie and  rt = Cloud, that is for basic battle models ... so Messiah99 you have to extract files 'rxda' and 'rtda' from file 'battle.lpg' which is in your ff7/data directory. You can do it with Unmass here or with LGPtools.

Cyberman: you might want to take a look at anim docs at my homepage, there are descriptions of these PC anim files (they are also in Gears project now)

Cyberman

  • *
  • Posts: 1572
    • View Profile
FF7 PSX 1st frame of animation (request for FF7 PC data)
« Reply #3 on: 2004-07-06 19:17:16 »
Quote from: mirex
Me can't do it, mine ff7 is far far away, but Messiah99 could do it ...
I am not sure if you mean field models or battle models, i asume its battle ones.

rx = Yuffie and  rt = Cloud, that is for basic battle models ... so Messiah99 you have to extract files 'rxda' and 'rtda' from file 'battle.lpg' which is in your ff7/data directory. You can do it with Unmass here or with LGPtools.

Cyberman: you might want to take a look at anim docs at my homepage, there are descriptions of these PC anim files (they are also in Gears project now)


I have they are interesting but here is the problem:
[list=1]
  • I must have the data for a SPECIFIC model to compare with so I can find it in the PS1 version
  • PS1 does not use any floats.
  • 12 bit Rotation values are an unlikely format (I don't know why they used them in the PC now that I think about it) .  It's possible but very unlikely.
  • I need the data to verify that the prior 2 statements are 100% true.
  • [/list:o]

    I have the information, I just need the Data! ;)

    Cyb

Messiah99

  • *
  • Posts: 235
    • View Profile
FF7 PSX 1st frame of animation (request for FF7 PC data)
« Reply #4 on: 2004-07-07 03:45:37 »
Quote from: mirex
rx = Yuffie and  rt = Cloud, that is for basic battle models ... so Messiah99 you have to extract files 'rxda' and 'rtda' from file 'battle.lpg' which is in your ff7/data directory. You can do it with Unmass here or with LGPtools.

Ok, Ive downloaded Unmass, opened battle.lgp, and found rtda, but what from there? My apologies for not knowing what Im doing, Ive never messed with this kind of stuff before. I selected rtda and hit Extract, but Im not getting what to do from there. Does it extract this file to somewhere? I tried double clicking rtda, but it said there was an error creating the file. Im more than happy to assist in any way possible with anything thats needed, I just need to know how. Anyone who could tell me what to do please do, and I'll be willing to do the actual work. Thank you!

Edit: Ive extracted rtda using LGP Tools, I have the file, now what do I do with it? I'll get the numbers you ask for if someone will tell me what I need to read the file.

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
FF7 PSX 1st frame of animation (request for FF7 PC data)
« Reply #5 on: 2004-07-07 05:55:08 »
You need to open the file in a hex editor and translate the hexadecimal numbers into long floats (Or any format resembering that, it might be fixed too) and see if any of them match.

What's the format? Well that's what you are trying to find out, right? The answer is we don't exactly know. The field .a formats are availible and the battle animations are somewhat documented. Look at gears. (click on my WWW button) that will tell you what has been discovered.

The animation files are not generic. You can't put them into 3d max or something and get a bunch of bones. You have to get dirty and rip the file apart using a hex editor to find what you are looking for.

Don't know what you are looking for?

Well, none of us do. The data doesn't lay out in front of you clear as day. For example I have 248 opcodes to go through I don't know what they do. I have to use clues (Like the command AOKI, which deals with sound, I know it's sound because on yuffies menu in the debug room you ask her to kill the sound and she does. The command calls 10 AOKI commands to do it. I don't know what each command exactly does, but obvoius that all of them togeather kills the sound.

It also helps to know that AOKI is the last name of the sound programmer. He named the cammand after himself.

KAWAI is the same thing, that's the name of the animation programmer, and there are wierd calls to that comman that controld animation. I don't know what they do, but it's animation-related...

Messiah99

  • *
  • Posts: 235
    • View Profile
FF7 PSX 1st frame of animation (request for FF7 PC data)
« Reply #6 on: 2004-07-07 06:25:49 »
Quote from: halkun
You need to open the file in a hex editor and translate the hexadecimal numbers into long floats (Or any format resembering that, it might be fixed too) and see if any of them match.

Hmm, then it appears that I may be getting into more than I can do. Translating hex into long floats is something I dont know how to do. In fact my work with hex editors hasnt been very extensive, just editing and playing with command strings. (I used this to edit chatroom commands for a p2p program, and Im sure thats not very applicable to the present issue) But if anyone would care to give me a crash course in that Id be grateful, and may even be able to be of some help down the road.

Quote from: halkun
What's the format? Well that's what you are trying to find out, right? The answer is we don't exactly know. The field .a formats are availible and the battle animations are somewhat documented. Look at gears. (click on my WWW button) that will tell you what has been discovered.

The animation files are not generic. You can't put them into 3d max or something and get a bunch of bones. You have to get dirty and rip the file apart using a hex editor to find what you are looking for.

So in other words theres no program that anyone may have (preferably written by someone here so I can have a copy to use) that can read the animation file data simply? I'll look in a moment for the hex editor that I have backed up on cd and install it, and see where things go from there...

Edit: Ok, Ive installed a hex editor again, but no idea where to go from here.

mirex

  • *
  • Posts: 1645
    • View Profile
    • http://mirex.mypage.sk
FF7 PSX 1st frame of animation (request for FF7 PC data)
« Reply #7 on: 2004-07-07 07:38:57 »
Quote from: Messiah99
I selected rtda and hit Extract, but Im not getting what to do from there. Does it extract this file to somewhere?

It is extracted at the path ff7/data/battle/rtda (or somewhere around). There is a button for destination directory next to Extract button.
Quote from: Messiah99
Edit: Ive extracted rtda using LGP Tools, I have the file, now what do I do with it?

I'd say you should send it to Cyberman, he can make use of it.

Messiah99

  • *
  • Posts: 235
    • View Profile
FF7 PSX 1st frame of animation (request for FF7 PC data)
« Reply #8 on: 2004-07-07 07:46:08 »
Quote from: mirex
Quote from: Messiah99
Edit: Ive extracted rtda using LGP Tools, I have the file, now what do I do with it?

I'd say you should send it to Cyberman, he can make use of it.

Sounds fair, cuz I sure dont know how to get the info he's asking for, unless he wants the raw hex code, which I doubt, haha. All that's left is getting it to him. I dont have a site or any such way to upload the file and link it, but Id be happy to email it, just need an address to send it to.

Cyberman

  • *
  • Posts: 1572
    • View Profile
FF7 PSX 1st frame of animation (request for FF7 PC data)
« Reply #9 on: 2004-07-07 18:22:42 »
Quote from: Messiah99
Quote from: mirex
Quote from: Messiah99
Edit: Ive extracted rtda using LGP Tools, I have the file, now what do I do with it?

I'd say you should send it to Cyberman, he can make use of it.

Sounds fair, cuz I sure dont know how to get the info he's asking for, unless he wants the raw hex code, which I doubt, haha. All that's left is getting it to him. I dont have a site or any such way to upload the file and link it, but Id be happy to email it, just need an address to send it to.


I've updated my profile etc. However if you ASK me I'll give you an Email address to send stuff too :)

What I need is the animation data for any of the characters (cloud is prefered because I know it's structure better) extracted from the LGP on the PC version, I can make something to get the raw data from it (Brute Force ;) ).

Cyb

Messiah99

  • *
  • Posts: 235
    • View Profile
FF7 PSX 1st frame of animation (request for FF7 PC data)
« Reply #10 on: 2004-07-08 04:25:26 »
Ok, rtda (Could's animation data) is sent, hope you can make good use of it. :D

Cyberman

  • *
  • Posts: 1572
    • View Profile
FF7 PSX 1st frame of animation (request for FF7 PC data)
« Reply #11 on: 2004-07-08 23:34:33 »
Thanks maybe I can find something in it to match the PS1's data.

:)

Cyb