FF7 Crisis Core - File Format and Data Investigation

  • Thread starter Thread starter koral
  • Start date Start date
Status
Not open for further replies.
:-D
As promised, I've uploaded the first public version of my FF7-CC File-Viewer proggy. Check out the first post, the link's there right on top.

I've browsed through some of the ATEL files [01457 - 02011] but haven't spotted anything tooo important. Seems like story-event related storage mainly, especially if you consider that the GT Chapter-End images were also mixed in.
But obviously I haven't been through ALL these ATEL files, so if anyone manages to spot anything REALLY interesting then do let me know here.

So far its only been Textures, but until I find the Character Textures I'm not going to get distracted with all the other chunks in those ATEL files (sound, mesh, animations?).
Unless someone wants to help out  :-P
 
Anyways I believe people like zande, darkwings or shinra inc. are interested in these, maybe you should contact them.
Very interested, and in Dirge of Cerberus as well.  Unfortunately, my technical knowledge is somewhat lacking, so I'm not sure what I could do to help at this stage.  In the past I've mostly helped with testing out some of the viewers and editors that were developed here (Ultima, Ifalna, Leviathan, Zangan come to mind), and also with sorting/identifying the extracted data.

I'll try and keep up with what's going on as best I can here, but feel free to drop me a line on AIM if there's something you think I can help with.
 
Thanks for offering ShinRa, so far things seem to be going smootly though, so feel free to just sit back and enjoy  :wink:


GOOD NEWS ALL!
I found the CHARACTERS!  :-D

Not just Characters, but most (if not all) the Models too, including Monsters, weapons, NPCs, some sky-dome images and other stuff (which came out garbled, probably just sprites or particles or something).



There's a good 360 files, and what you see above is only a small selection  :-P


Some more information on how I got these:

Files: 02012 - 02457 = what I call [!]-Files

These files seem to contain a number of different chunks too, similar to ATEL files except not as obvious. I managed to decipher the offsets in the header and load the Texture-data from within each file.
So what you see above are ONLY the textures from within each of these [!] files, seemingly one texture per file.

[!] FILE
Code: [Select]
Code:
Header: 127 bytes   0x00   6 bytes: magic hex values ( 00 00 00 00 21 27 )   0x10   DWORD: offset to [unknown chunk 1]   0x14   DWORD: offset to [unknown chunk 2]   0x1C   DWORD: offset to [TEXTURE Chunk]   0x34   DWORD: offset to [unknown chunk3]Unknown Chunk 1   14 (0xE) 32-byte chunks - vertex info? bones?Unknown chunk 2   header: 32-bytes       0x02   DWORD: offset to data start   data: 40 bytes chunks - vertex data? lots of data availableTEXTURE Chunk   header: 16-bytes  0x00  = SHORT: image width  0x02  = SHORT: image height  0x08  = DWORD: offset to PALLETE-data start offset  0x0c  = DWORD: offset to PIXEL-data start offset   PALLETE data:  255 4-byte [RGBA] chunks - Texture Colour Pallete [255 entries]   PIXEL data:  bytes referencing to Pallete-EntryUnknown chunk 3 mostly 0xff
The texture-data is exactly like [TEX] files (minus the TEX header) so there were no problems viewing those.
Mesh data HAS to be present in the same files too, just a matter of finding the correct chunk and understanding the face-indices to be able to render them.
Not long now :lol:
 
Thanks for offering ShinRa, so far things seem to be going smootly though, so feel free to just sit back and enjoy  :wink:


GOOD NEWS ALL!
I found the CHARACTERS!  :-D

Not just Characters, but most (if not all) the Models too, including Monsters, weapons, NPCs, some sky-dome images and other stuff (which came out garbled, probably just sprites or particles or something).


The texture-data is exactly like [TEX] files (minus the TEX header) so there were no problems viewing those.
Mesh data HAS to be present in the same files too, just a matter of finding the correct chunk and understanding the face-indices to be able to render them.
Not long now :lol:
Did i ever mention that I love you? haha lol :-P :-P :-P
 
This is incredible Koral. Im sure when you fully decoded CC and created a "CC model viewer" people will start worshipping you  8-) . It might even revive this half-dead community. The combination of KH models and CC models in FF7 will result in an epic mod xD.
 
Uhh, for some reason, the Texture files close down the Viewer when you try to open them, in fact every single file apart from the ones that came with the .rar make it randomly close. any help? i REALLY wanna see those textures :D
 
Last edited:
I support you for this project !!
"CC model viewer" !

PS: we can see reno and rude...awesome  :mrgreen:
 
ultima espio: I love you too!  :-D
Thanks for (sortof) quoting my post, makes it easier to see what I said in the new page

NeoCloudstrife:
sorry about that, but that was the [GT] file viewer only which closed down automatically when it tried loading a non-[GT] file.
Use my newer FF7-CC-File-Viewer program instead (v0.2), which loads [GT] as well as [TEX] and [ATEL] files too: http://www.mediafire.com/?zowymgf3jmo
(has no-one checked the first-post?  :-P)

NameSpoofer & spidergaby:
I'm glad things are getting interesting again around here. I missed the "golden era" when FF7 file-format discoveries were going on, and things haven't really picked up much since. It'd be cool to get some of these models into a mega FF7-mod, the Turks would finally have their say ;)
There's also the near-perfect Sephiroth, Tifa (tour-guide) and Yuffie models too.

I have made a new version of the Viewer which loads [!] Texture files too (as demonstrated in my last post), but I haven't uploaded it yet.
I'll get around to it in a couple of days, fix a few things here and there.
 :wink:
 
NeoCloudstrife:
sorry about that, but that was the [GT] file viewer only which closed down automatically when it tried loading a non-[GT] file.
Use my newer FF7-CC-File-Viewer program instead (v0.2), which loads [GT] as well as [TEX] and [ATEL] files too: http://www.mediafire.com/?zowymgf3jmo
(has no-one checked the first-post?  :-P)


I have made a new version of the Viewer which loads [!] Texture files too (as demonstrated in my last post), but I haven't uploaded it yet.
I'll get around to it in a couple of days, fix a few things here and there.
 :wink:
thanks for that, and sorry, i thought they were the same thing :P

BTW, i'm REALLY looking forward to seeing textures and even getting these models!
keep up the good work!
 
--------------------------------------------------------------------------------------
[time saver]

Grab the latest version of my FF7-CC File-Viewer here: http://www.mediafire.com/?2ez4jmmmlki

Latest version: v0.2 on 27 Jan 2009
Aww invalid file :-(
[2]
This Works
http://www.mediafire.com/?zowymgf3jmo

The scripts is in this files ATEL headers and some other I don't remember

Inside these files have headers MBD in after these have the scripts then in Japanese and American have a table of 4 bytes

Here this table in format Thingy

Code: [Select]
Code:
80000000=A80000100=B80000200=C80000300=D80000400=E80000500=F80000600=G80000700=H80000800=I80000900=J80000A00=K80000B00=L80000C00=M80000D00=N80000E00=O80000F00=P80001000=Q80001100=R80001200=S80001300=T80001400=U80001500=V80001600=W80001700=X80001800=Y80001900=Z80001A00=a80001B00=b80001C00=c80001D00=d80001E00=e80001F00=f80002000=g80002100=h80002200=i80002300=j80002400=k80002500=l80002600=m80002700=n80002800=o80002900=p80002A00=q80002B00=r80002C00=s80002D00=t80002E00=u80002F00=v80003000=w80003100=x80003200=y80003300=z80003400=080003500=180003600=280003700=380003800=480003900=580003A00=680003B00=780003C00=880003D00=980003E00=!80003F00=?80004000= 80004100="80004200='80004300=,80004400=.80004500=:80004600=;80004700=--80004800=/80004900=(80004A00=)80004B00=$80004C00=<80004D00=>80004E00=%80004F00=[80005000=]80005100=YEN80005200=@Cruz80005300=#80005400=_80005500=|80005600=^80005700=º80005800=-80005900=+80005A00==
but the Pointers I don't found.
Someone found please post because I want to translate to PT-BR(Portuguese-Brazil) this game and I don't have a PSP, my friend have.

---------------------------------------------------------------------------
00006 - 00062
Header: "PSMF001" - possibly PSP format Movies / Video files
This videos in the games when Zack's remind somebody o some thing in the DMW*

08707 - 08725
Header: "PSMF0015" - more Videos?
These are videos em CG and Real cutcenes. That not have none of realtime on PSP XP


These two files are PMF Video Files
Can play in Media Player Classic with AVC/H264 Decoder, the audio Not

Can play with audio with a homebrew in the PSP custom firmware

I don't know how to decode the AT3 in PMF files to reencode

-----------------------------------------------------------------------------
Problem with your program
I don't know what s this

BUG-FF7CC-FileViewer.jpg
 
Last edited:
First of all, thank you so much for the great work :D
And, I think I know how to get the audio within a pmf file. You need MPlayer to extract the at3 from pmf file and use a homebrew called 'at3decode test' written by Z33 to decode it to wav.

*edit: here is the guide http://www.psp-hacks.com/forums/f134/guide-convert-pmf-to-avi-t159985
Thanks for the tip
I doing this but
The PMF Ending AT3 it's brick my PSP because is to big.
And PSP FAT is hard to found. Can anyone interest to make a Windows decode? I'm not a excelent programer to make a decomrpession audio or video.

It's strange a Square games that not have a LZ compression like FFT FF7 FF8

Here's a DUMP of the first MBD 0000.raw
Code: [Select]
Code:
// 00000.raw CETRANSLATORS - Final Fantasy VII - Script Dump [$9F3-$CF0] - Thu Jan 29 15:03:00 2009//Script extraído por IGNITZ//www.cetranslators.com.br// [$9F3]<$00><NL><$84><$00><$00><$00><$0C><$00><$00><$00>Where do you want to go?<END>// [$A64]<$40><$05><$00><$08> Battle<END>// [$A88] Ms. Ishibashi<END>// [$AC4] Mr. Oka<END>// [$AE8] Mr. Kitase<END>// [$B18] Mr. Kunikata<END>// [$B50] Mr. Shindo<END>// [$B80] Mr. Terada<END>// [$BB0] Mr. Maeda<END>// [$BDC] Moriya kun<END>// [$C0C]<$40><$04><$00><$00>
How to find the first script?
 I dump the RAM and search for 3º MBD script and search in the ISO
XD

First the 1º script that I have dumped a very long time ago
Code: [Select]
Code:
Zack speaking.Making progress,Zack?What's going on, Angeal?Why are we fighting Shinra troops?They're Wutai troops in disguise.Now, head to the open area above. Towards Sector 8? Yes.But first, you have to clear a path.Clear a path?You'll see what I mean.Be careful.I can cut loose, right?Use some discretion.It's showtime!Not too bad.Piece of cake!I'll make 1st in no time!Go up the stairs at the end of the platform.You got it!Wutai troops have hijacked Shinra Express MK93 II.The train is currently headed to Midgar Sector 8.SOLDIER operative will be inserted to neutralize the situation.We are to proceed as scheduled.Commence mission in       Commence mission in 3     Commence mission in 3 2   Commence mission in 3 2 1 Commence mission in 3 2 1 mark.Begin mission.CAOperative is ready for insertion.The train has been overrun by Wutai troops.Eliminate them and regain control of the train.Oh yeah!Get serious!Zack!Zack, focus!here are no Shinra troops on this train.A CAUnderstood?Hello to you, too!Come and get it!SOLDIER 2nd Class Zack, on the job!Train MK93 II re--routed to Sector 1 Station near Mako Reactor 1.!Proceed to mission phase 2 and change surveillance rank...Control Zack using the directional buttonsor the analog stick.Enemies in the direction that Zack is facingwill be targeted automatically.Cycle through commands using the L or R button,and press A GA to confirm.Press A HA to guard, and A IA to dodge.
I found pointer in the MDB FIles of 0001.raw but of this first script (tat I don't remeber what file is) I'm not found

Here
http://i464.photobucket.com/albums/rr10/ignitzhjfk/TABELA.jpg
I found thias in the lost files
XD
I delete the header to make this table font to be visualizble

Sorry for my ENGLISH

-------------------------------------------------------------------------

I found a piece of file os the firs script and dumped
Code: [Select]
Code:
// 1 script CETRANSLATORS - Final Fantasy VII - Script Dump [$0-$1A7F] - Thu Jan 29 15:33:06 2009//Script extraído por IGNITZ//www.cetranslators.com.br// [$0]<$4D><$42><$44><$00><NL><$12><$00><$00><$00><$0C><$00><$00><$00> <END>// [$18]Zack speaking.<END>// [$54]<$40><$04><$00><$00><NL><$1A><$00><$00><$00><$0C><$00><$00><$00> <END>// [$6C]Making progress, Zack?<END>// [$C8]<$40><$04><$00><$00><NL><$3D><$00><$00><$00><$0C><$00><$00><$00>What's going on, Angeal?<END>// [$13C]Why are we fighting Shinra troops?<END>// [$1C8]<$40><$04><$00><$00><NL><$45><$00><$00><$00><$0C><$00><$00><$00>They're Wutai troops in disguise.<END>// [$260]Now, head to the open area above.<END>// [$2E8]<$40><$04><$00><$00><NL><$15><$00><$00><$00><$0C><$00><$00><$00> <END>// [$300]Towards Sector 8?<END>// [$348]<$40><$04><$00><$00><NL><$2B><$00><$00><$00><$0C><$00><$00><$00>Yes.<END>// [$36C]But first, you have to clear a path.<END>// [$400]<$40><$04><$00><$00><NL><$11><$00><$00><$00><$0C><$00><$00><$00> <END>// [$418]Clear a path?<END>// [$450]<$40><$04><$00><$00><NL><$25><$00><$00><$00><$0C><$00><$00><$00>You'll see what I mean.<END>// [$4C0]Be careful.<END>// [$4F0]<$40><$04><$00><$00><NL><$1F><$00><$00><$00><$0C><$00><$00><$00> <END>// [$508]So, I can cut loose, right?<END>// [$578]<$40><$04><$00><$00><NL><$18><$00><$00><$00><$0C><$00><$00><$00> <END>// [$590]Use some discretion.<END>// [$5E4]<$40><$04><$00><$00><NL><$12><$00><$00><$00><$0C><$00><$00><$00> <END>// [$5FC]It's showtime!<END>// [$638]<$40><$04><$00><$00><NL><$10><$00><$00><$00><$0C><$00><$00><$00> <END>// [$650]Not too bad.<END>// [$684]<$40><$04><$00><$00><NL><$2A><$00><$00><$00><$0C><$00><$00><$00>Piece of cake!<END>// [$6D0]I'll make 1st in no time!<END>// [$738]<$40><$04><$00><$00><NL><$30><$00><$00><$00><$0C><$00><$00><$00> <END>// [$750]Go up the stairs at the end of the platform.<END>// [$804]<$40><$04><$00><$00><NL><$0F><$00><$00><$00><$0C><$00><$00><$00> <END>// [$81C]You got it!<END>// [$84C]<$40><$04><$00><$00><NL><$36><$00><$00><$00><$0C><$00><$00><$00> <END>// [$864]Wutai troops have hijacked Shinra Express MK93 II.<END>// [$930]<$40><$04><$00><$00><NL><$36><$00><$00><$00><$0C><$00><$00><$00> <END>// [$948]The train is currently headed to Midgar Sector 8. <END>// [$A14]<$40><$04><$00><$00><NL><$45><$00><$00><$00><$0C><$00><$00><$00> <END>// [$A2C]A SOLDIER operative will be inserted to neutralize the situation.<END>// [$B34]<$40><$04><$00><$00><NL><$23><$00><$00><$00><$0C><$00><$00><$00> <END>// [$B4C]We are to proceed as scheduled.<END>// [$BCC]<$40><$04><$00><$00><NL><$1E><$00><$00><$00><$0C><$00><$00><$00> <END>// [$BE4]Commence mission in       <END>// [$C50]<$40><$04><$00><$00><NL><$1E><$00><$00><$00><$0C><$00><$00><$00> <END>// [$C68]Commence mission in 3     <END>// [$CD4]<$40><$04><$00><$00><NL><$1E><$00><$00><$00><$0C><$00><$00><$00> <END>// [$CEC]Commence mission in 3 2   <END>// [$D58]<$40><$04><$00><$00><NL><$1E><$00><$00><$00><$0C><$00><$00><$00> <END>// [$D70]Commence mission in 3 2 1 <END>// [$DDC]<$40><$04><$00><$00><NL><$23><$00><$00><$00><$0C><$00><$00><$00> <END>// [$DF4]Commence mission in 3 2 1 mark.<END>// [$E74]<$40><$04><$00><$00><NL><$12><$00><$00><$00><$0C><$00><$00><$00> <END>// [$E8C]Begin mission.<END>// [$EC8]<$40><$04><$00><$00><NL><$25><$00><$00><$00><$0C><$00><$00><$00> <END>// [$EE0]Operative is ready for insertion.<END>// [$F68]<$40><$04><$00><$00><NL><$5D><$00><$00><$00><$0C><$00><$00><$00>The train has been overrun by Wutai troops.<END>// [$1028]Eliminate them and regain control of the train.<END>// [$10E8]<$40><$04><$00><$00><NL><$0C><$00><$00><$00><$0C><$00><$00><$00> <END>// [$1100]Oh yeah!<END>// [$1124]<$40><$04><$00><$00><NL><$10><$00><$00><$00><$0C><$00><$00><$00> <END>// [$113C]Get serious!<END>// [$1170]<$40><$04><$00><$00><NL><$09><$00><$00><$00><$0C><$00><$00><$00> <END>// [$1188]Zack!<END>// [$11A0]<$40><$04><$00><$00><NL><$10><$00><$00><$00><$0C><$00><$00><$00> <END>// [$11B8]Zack, focus!<END>// [$11EC]<$40><$04><$00><$00><NL><$37><$00><$00><$00><$0C><$00><$00><$00>There are no Shinra troops on this train.<END>// [$12A4]Understood?<END>// [$12D4]<$40><$04><$00><$00><NL><$16><$00><$00><$00><$0C><$00><$00><$00> <END>// [$12EC]Hello to you, too!<END>// [$1338]<$40><$04><$00><$00><NL><$14><$00><$00><$00><$0C><$00><$00><$00> <END>// [$1350]Come and get it!<END>// [$1394]<$40><$04><$00><$00><NL><$27><$00><$00><$00><$0C><$00><$00><$00> <END>// [$13AC]SOLDIER 2nd Class Zack, on the job!<END>// [$143C]<$40><$04><$00><$00><NL><$44><$00><$00><$00><$0C><$00><$00><$00> <END>// [$1454]Train MK93 II re--routed to Sector 1 Station near Mako Reactor 1.<END>// [$1558]<$40><$04><$00><$00><NL><$3E><$00><$00><$00><$0C><$00><$00><$00> <END>// [$1570]Proceed to mission phase 2 and change surveillance rank...<END>// [$165C]<$40><$04><$00><$00><NL><$01><$01><$00><$00><$0C><$00><$00><$00>Control Zack using the directional buttons <END>// [$171C]or the analog stick.<END>// [$1770] <END>// [$1778]Enemies in the direction that Zack is facing <END>// [$1830]will be targeted automatically.<END>// [$18B0] <END>// [$18B8]Cycle through commands using the L or R button, <END>// [$197C]and press <$40><$06><$00><$00> to confirm.<END>// [$19DC] <END>// [$19E4]Press <$40><$07><$00><$00> to guard, and <$40><$08><$00><$00> to dodge.<END>// [$1A6C]<$40><$04><$00><$00><$07><$14><$09><$05><$05><$24><$16><$05><$18><$20><$00><$00><$00><$00><$00><$00>
01000000=<NL>
 
Last edited:
The PMF Ending AT3 it's brick my PSP because is to big.
I dont really get what your problem is.

Anyway, you CAN run the homebrew on PSP slim using Time Machine instead of looking for a FAT one. I think your psp has custom firmware installed so what you need is a Pandora battery which is easily created from a standard battery by homebrew.

Finally, as far as I know, there is no other way to decode the at3 to wav in Windows or any environments. It can be done only on PSP. In short, psp system has to decode the at3 first to play it and Z33's homebrew simply takes this moment to decode it to wav (of course, it's not as "simple" to complete such great work at all :D)

ps: I'm very sorry for being off the topic  :-)
To ignitz, if you have any question, feel free to pm me, I'll help you as far as I can :-)
 
Last edited:
Here more Lost screenshots lost in my PC
XD

http://i464.photobucket.com/albums/rr10/ignitzhjfk/file004014.jpg

http://i464.photobucket.com/albums/rr10/ignitzhjfk/file004013.jpg

http://i464.photobucket.com/albums/rr10/ignitzhjfk/file004012.jpg

http://i464.photobucket.com/albums/rr10/ignitzhjfk/file004011.jpg

Extracted with xpert with plugins properply

file004002 ==== Table image
file004003 ==== Monster ???
file004004 ==== unknow... bear???
file004005 ==== Chocobo Image
file004006 ==== Cait image
file004007 ==== Moogle
file004008 ==== Goblin
file004009 ==== Não lembro
file004010 ==== ????????
file004011 ==== Summons
file004012 ==== Small Summons
file004013 ==== ??????????

The header that deforme the image.
 
Last edited:
what'd I miss? What'd I miss?  :-o

Wowzers, that's some impressive work ignitz! is that your own CC File decoding program or someone elses, because it looks really cool.
I'm sorry my viewer doesn't work properly for you, the problem is definitly todo with Irrlicht's font-encoding system which is probably incompatible with your OS Language settings. I'll try using MSCVC or something else in the future to handle the GUI for the viewer (or maybe try get Japanese fonts working or something)

MDB files contain tables for script-characters? the [ATEL] files should have those dialogue-scripts within them after the MDB data, I can't imagine them being anywhere else.

Silver Wings: thanks for the video and audio conversion info, :-)

ultima espio
sorry about all the wrong link, it gets confusing sometimes  :-P


I've uploaded the latest version of the viewer here (v0.25): http://www.mediafire.com/?dac2zmtkzjo

The layout has changed a bit to make it easier to find and select files. Just dump all your FF7-CC files into the "CCDATA" folder and the program should list them all automatically.
The biggest change is that it allows you to view the textures inside those yummy [!] files.
I've included samples of the 3 different File-Types with the program so you can immedietly test it.

IMO this File-Format business is getting a little out of hand. I wish we could have a Wiki or something so we can document all our findings there in an organised way  :|
 
How about a feature that lets us save the texture so that we dont have to printscreen it? It would be nice to see the texture transparency too. Great Job! :-D :-D
 
Status
Not open for further replies.
Back
Top