PSX model formats?

  • Thread starter Thread starter halkun
  • Start date Start date
Status
Not open for further replies.
H

halkun

Guest
Holy Moly I just finished my final Thesis. My goodess did that suck!

Anyone have a coherant document on the FF7 PSX file format for the battle models?

How about the battle settings?

Does anyone have a cohearant document on the Fieldscript or the Battle script systems?

If I posted the (Free, legal and GPLed) code to be able to read PSX movies diretcly off the PSX disk, can someone put it into a cohearant explanation.

Just wondering.

-halkun
 
I still have the FF7PC script work from a while back, and I'm assuming that format is pretty much identical between PC and PSX (the PC script interpreter looks directly ported). While the work is not complete, I suppose I could put together a document on it... heck, I even structured the script-reader's code itself so it could also produce op-code documentation, all I've got to do is fill in the numerous blanks in the op-code mapping...

Terence mapped out the battle script for PC (I think) a while back as well, even reverse-engineering the scripts themselves to high-level code. His doc on this should be floating around somewhere.
 
I can wait till the opcode matrix is complete. I didn't know if you dropped everything and simply started chasing skirts in Japan.

Heaven knows I would.
 
Yea, lucky you. Four years I was there and didn't have a single girlfriend the entire time.

Send one to me, or if you have an email address, pitch one over ^_^

Noy excuse me, I have to wollow in my own self-pity now.
 
:D

i had one brief description of ff7 psx battle models ... i got it from Cyberman; You can ask him for it or ...
 
Well this is fan-fucking-tastic, I opened up my extremely well-documented disassembly of FF7.exe and the program suddenly reasoned "Ooops it seems I crashed while trying to read this file. I'd better corrupt it completely so I'll never try again."

Sigh, gotta go home and look for backups now...
 
Damn!  :( I wrote a very detailed PSone FFVII battle model file format specification incl. LZS decompression, figures and so on and as likely as not it was the most complete one out there if no one have make further progress on the animations. Again, I met my fate and forgot to back it up before I formatted my HDD due to reinstallation of my OS...
 
Wow, sorry I asked.... O_o

It's almost like I should watch my copies of Gears. (Three backups on two drives and a floppy in three formats)

You guys make it sound like my hard drive platters are going to shoot out of my case now because I have the forbidden knowlage.
 
How about the battle settings?
Description and example code: http://forums.qhimm.com/viewtopic.php?t=3152&highlight=battle+backgrounds
If I posted the (Free, legal and GPLed) code to be able to read PSX movies diretcly off the PSX disk, can someone put it into a cohearant explanation.
I didn't find code that actually works and is open source recently. If you have one we can have a look. I know the general direction from your psx doc and from ffmpeg, but I don't know how it fits together.
 
I have ffmpg too. I was hoping the mdec.c was helpful.

My PSX doc, in respect to the MDEC is broken. I was going by some Japanese translated doc that I put into english. I bearly had an idea of how it worked.

When you start in with DCT and Q values, you begin to lose me.
 
I tried one of the recent versions of ffmpeg with streams I dumped from my psx discs. While some of the code matches the data it doesn't actually decode anything.
The problem is, while the mdec data required for the hardware is fixed the file format and further compression depend on the libraries the game used. For example ffmpeg runs some huffman decompression before delivering the data to the mdec decoder.
If your version of ffmpeg works with the streams from ff7 tell me which version number it is and I'll have a look for myself.
 
I just grabbed from the current CVS, never tried it because I can't mount FF7 on my computer ;_;
 
I still have my data from abusing FF7 see, I always make redundant backups. (Coughs) I got that habit from work and my computer dying (because of @#$@#% win98 and Protel 99SE).   I suggest if you have 2 computers network them and use the other computers hard disk for storage. It's slow clunky but I guarentee you aren't likely to loose anything, namely it seems MS's networking software is better than there OS for anything prior to Win2K.  Win2K is a real pain to share partions with but it is much more stable. However it still dies and looses data. So I use an old machine to store important data.

Ahem, now if you want it I can send it to you.

Mirex- I thought Halkun was waiting for you to send it to him?

The confusion continues. ;)

Cyb
 
Mirex- I thought Halkun was waiting for you to send it to him?
Oh well then bad news - i cant do it now Im off from my cpu `till next monday .. thats why i suggested asking you for it.

--searching--
huh did not find it ... Cyberman do you know where is the forum where we discussed ff7 psx models ? I cannot find it ...
 
I can wait till the opcode matrix is complete.
Well just to let you know, it could take a while. Most of the opcodes are very specific for the game system, so mapping the opcodes pretty much involves having to figure out most parts of the field module.

opcode.png
My script viewer can decode all known scripts though, it just doesn't have the information to properly decode the parameters for each opcode. Mapping out the plot progression variable for example would be quite doable even in this early stage.
 
Mirex- I thought Halkun was waiting for you to send it to him?
Oh well then bad news - i cant do it now Im off from my cpu `till next monday .. thats why i suggested asking you for it.

--searching--
huh did not find it ... Cyberman do you know where is the forum where we discussed ff7 psx models ? I cannot find it ...

This thread I believe Mirex but it's a VERY long thread. Quite a bit of discusion too. :)
L Spiro was going well with decoding the animation portion but things got quiet. :)
With rudimentary animatiion decoding the entire model is viewable at least.


Qhimm: Cool I've been wanting to add a SCRIPT viewer (a good one not one that dumps of bunch of information).  I suppose I can add one when I get around to writting up a syntax for syned so it will highlight everything properly :D

Cyb
 
I just tried to find a definite documentation of the PSX field background format, especially how to calculate the offset to the tile data. Did anyone compile all the posts into a definite document? There seems to be quite a lot, but most seems to be specific to the PC version.
(Has anyone thought about starting a WIKI for this?)
 
I have found tech wikis to lack. That's why I'm putting the effort into collecting it all togeather into gears. It will be cohearent one day.
 
I just tried to find a definite documentation of the PSX field background format, especially how to calculate the offset to the tile data. Did anyone compile all the posts into a definite document? There seems to be quite a lot, but most seems to be specific to the PC version.
(Has anyone thought about starting a WIKI for this?)
A few people have successfully decoded the FF7 for the PSX background format, they are in the MIM files by the way. One is snailrush but he wasn't too forthcoming with the information I suppose if I had a coherent question to ask him I would. However I stoped working on it because it wasn't as interesting as the 3d model stuff, and I sort of stumbled through decoding that.  I am going to add battle backgrounds sometime too.  However I would like to get the textures working with FF7.  The format consists of palletes and pixel blocks, I've never been able to find the reference information of how they are assembled together.  I've just been able to view the RAW data in color.

From what someone said the FF7 field format people models are very similar to the battle models, the primary difference is the textures are in one file instead of the field files.  

Hmmm maybe we should get all the information together and pick through it now that I think about it.

Cyb
 
Status
Not open for further replies.
Back
Top