Author Topic: FF7 PSX Models  (Read 6337 times)

Pursuit

  • Guest
FF7 PSX Models
« on: 2004-08-06 07:17:51 »
Ive read threw this entire board for HOURS.... What ive been looking for is a ff7 psx model extracter... Ive seen and used ff7vMe. But as others have stated, it cant export the models. Ive seen a promising thread but to no avail, it died.... So i thought id ask this question in hopes that someone out there has seen a recent program or has one in the dusts of their hard drive.

Also, I know about the pc ff7 viewers like levithian, it works and such, but i would like psx... So PLZ lil help here... lol..

And btw: I love this board! Its awesome, i just hope that they have what i am looking for. Cuz even google didnt help... and that doesnt happen often....

mirex

  • *
  • Posts: 1645
    • View Profile
    • http://mirex.mypage.sk
FF7 PSX Models
« Reply #1 on: 2004-08-06 08:36:05 »
psx model extractor ... i dont know about any working yet.
But for your information i'm going to insert PSX model support into Biturn sometime soon thanks to Cyberman (but i cannot tell you when it will be done), and also Cyberman is working on some viewer/convertor AFAIK.

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
FF7 PSX Models
« Reply #2 on: 2004-08-06 12:30:41 »
And as soon as Mirex can verify the PSX formats, they will be going into Gears so we will have full documentation of the format.

That is, If Naru (My webserver) will ever come back to life again...

Relf

  • *
  • Posts: 709
    • View Profile
FF7 PSX Models
« Reply #3 on: 2004-08-06 13:30:19 »
Quote
That is, If Naru (My webserver) will ever come back to life again...

The awnser is simple, get a Bible, a rosary, a bottle of holy water, a priest
and a crucifix  :lol:

Or mabye you could just get a new primary bootsector, unless something else that you did'nt menton went wrong? :-?

Cyberman

  • *
  • Posts: 1572
    • View Profile
Re: FF7 PSX Models
« Reply #4 on: 2004-08-06 16:59:32 »
Quote from: Pursuit
Ive read threw this entire board for HOURS.... What ive been looking for is a ff7 psx model extracter... Ive seen and used ff7vMe. But as others have stated, it cant export the models. Ive seen a promising thread but to no avail, it died.... So i thought id ask this question in hopes that someone out there has seen a recent program or has one in the dusts of their hard drive.

Also, I know about the pc ff7 viewers like levithian, it works and such, but i would like psx... So PLZ lil help here... lol..

And btw: I love this board! Its awesome, i just hope that they have what i am looking for. Cuz even google didnt help... and that doesnt happen often....

Well.. it's going to happen sometime :D
Believe it or not getting the model data isn't the problem anymore. That's been well known for months and recently my brain worked right (amazing isn't that?) and the rest of the skeleton information was automagically revealed (it was a Disney moment). So what might be the problem here? hmmmm animation.  Yes that's the problem.

Each object in the model is placed relative to each other with a bone. It's all neatly and heirarchically arranged.  Unfotunately the bone has no position information, it's just a fixed length.  Thus one needs the rotation information from the root bone for all the bones and joints that work off of it. Otherwise one hasn't a clue how the model is put together right.

Now to directly answer your question NO.  Maybe in a while but it's not currently possible, but nothing worth while is easy, a good thing to remember.  :lol:

Cyb

Pursuit

  • Guest
FF7 PSX Models
« Reply #5 on: 2004-08-06 18:02:10 »
Quote
That is, If Naru (My webserver) will ever come back to life again...


Id love to help ease the process in anyway. So if a webserver is in need, i can do that! Just ask!
 
And good work so far!

~Pursuit

Pursuit

  • Guest
Re: FF7 PSX Models
« Reply #6 on: 2004-08-06 18:06:48 »
So, if i am reading this right. You can view all the models "pieces" (hands, torso, legs... But cannot animate them? Or is it that you dont know how to piece the pieces together. Also, if I can get ahold of "gears" id love to see what you guys come up with so far and lend my hand. Wouldnt hurt....

Micky

  • *
  • Posts: 300
    • View Profile
Re: FF7 PSX Models
« Reply #7 on: 2004-08-06 18:26:02 »
Quote from: Pursuit
So, if i am reading this right. You can view all the models "pieces" (hands, torso, legs... But cannot animate them?

That's roughly it. All pieces are stored in joint space, so if you export them into a modelling program you've got all meshes at the origin. And we know the hierarchy used for the skeleton, which mesh belongs to which bone and how long each bone is.
What is missing is the orientation of each bone to it's parents, so you can't properly display the whole model. Once that is decoded it's a matter of a lazy afternoon to write a viewer or exporter.

Pursuit

  • Guest
FF7 PSX Models
« Reply #8 on: 2004-08-06 19:18:59 »
Alright, i get it. Id love to help decode this mess. How would i start from where others left off?

Cyberman

  • *
  • Posts: 1572
    • View Profile
FF7 PSX Models
« Reply #9 on: 2004-08-08 16:43:52 »
Quote from: Pursuit
Alright, i get it. Id love to help decode this mess. How would i start from where others left off?

Ohh.. well it's not left off but here you go to get an idea :D

Don't forget about LZS decompression either.  Each model is compressed in the PSX version. So here is what I suggest.

Code: [Select]

fstream File;
unsigned long Size;

File.open(FileName, fstream::in | fstream::binary);

if (File.is_open())
{
 File.read((char *)&Size, sizeof(Size));
}

that will get you started for decoding the following data (LZS) after that you have the Index COUNT data to read then the indexs in the model file you need to read (all 32bit little endian offset).  Immediately following that data are the sections pointed to by the offsets.

currently I am workibng through some PC data and comparing it to PSX data. It's one of those 'special' moments of 'Maybe these are close'  :lol:[

Look at the thread I gave a link to before you think this will be easy!

Cyb

Micky

  • *
  • Posts: 300
    • View Profile
FF7 PSX Models
« Reply #10 on: 2004-08-08 18:33:14 »
Quote from: Pursuit
Alright, i get it. Id love to help decode this mess. How would i start from where others left off?

You could rip some loading, lzs and OpenGL code out of my PSX background viewer... if you can get it to work.
http://forums.qhimm.com/viewtopic.php?t=3152

halkun

  • Global moderator
  • *
  • Posts: 2097
  • NicoNico :)
    • View Profile
    • Q-Gears Homepage
FF7 PSX Models
« Reply #11 on: 2004-08-08 20:05:37 »
A correct non-windowfied version of gears is up so you can go though that for all the known formats for now.

qwerty

  • *
  • Posts: 251
    • View Profile
FF7 PSX Models
« Reply #12 on: 2004-08-09 13:43:43 »
Umm, I think he ran away! :lol: