Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Final Fantasy XIII-2 extraction

Post questions about game models here, or help out others!
Post Reply
Dazz
beginner
Posts: 21
Joined: Thu Mar 17, 2011 12:10 pm
Location: Peterborough, UK
Has thanked: 3 times
Been thanked: 1 time

Final Fantasy XIII-2 extraction

Post by Dazz »

I've got myself a Japanese copy of Final Fantasy XIII-2 for 360, opened it up, and it's surprisingly similar in contents to Final Fantasy XIII.

However, using QuickBMS to try and extract the delicious contents doesn't seem to work using the old script for the first game - anybody else got a copy they care to check out?

I would upload samples, but I'm not uploading 1.8gb of data...
rexil
veteran
Posts: 124
Joined: Tue Mar 15, 2011 3:14 pm
Has thanked: 36 times
Been thanked: 4 times

Re: Final Fantasy XIII-2 extraction

Post by rexil »

The contents of this post was deleted because of possible forum rules violation.
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 505 times

Re: Final Fantasy XIII-2 extraction

Post by MrAdults »

Image
Some small (but very weird) changes to the model format from FF13. chrrox and I are still working on extracting the data.
mariokart64n
ultra-veteran
ultra-veteran
Posts: 586
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 36 times
Been thanked: 243 times

Re: Final Fantasy XIII-2 extraction

Post by mariokart64n »

sexy :D
Maxscript and other finished work I've done can be found on my DeviantArt account
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 505 times

Re: Final Fantasy XIII-2 extraction

Post by MrAdults »

I'm pretty sure the filelist has a 48 byte header (as indicated by the size of actual data given 16 bytes in), so I've tried running the data through a whole bunch of different ciphers using the key from img.key. I've tried the 16 bytes at offsets 0 and 32 as IV's and I've tried decrypting each with the given cipher to use as the new IV for the file, but unfortunately none of that produced anything readable. The 8 zeroed bytes at the end of the file also seem suspicious. There are too many unknowns (like whether the img.key is the correct key to be using, if the IV is in the file itself or the xex, whether the encrypted data is segmented to intentionally throw people off, whether the encryption algorithm is something known or something modified/proprietary, etc.) to keep on randomly guessing without being able to disassemble the xex, and unfortunately I don't have a copy of IDA capable of doing that.

So, no correct filenames unless someone else wants to decrypt and decompile the xex for me.
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Final Fantasy XIII-2 extraction

Post by chrrox »

here is the best extractor that is possible at the moment.
viewtopic.php?f=33&t=4582&p=63683#p63683
livid123
ultra-n00b
Posts: 3
Joined: Tue Jun 15, 2010 8:37 pm

Re: Final Fantasy XIII-2 extraction

Post by livid123 »

hi, MrAdults

i have a question. where is UV in trb file? ff13-2 model format is not much change.

ff13 = 2 vertex stream
ff13-2 = 3 vertex stream, but last stream(uv) have empty data?

i got everything almost ok, like pos,bone weight/index, but not UV. can't find data anywhere.

need your help.. thank you very much.
livid123
ultra-n00b
Posts: 3
Joined: Tue Jun 15, 2010 8:37 pm

Re: Final Fantasy XIII-2 extraction

Post by livid123 »

I found uv in img bundle file by trace noesis.exe fopen(). and it's ok now.

great job, MrAdults.
652845095
beginner
Posts: 29
Joined: Tue May 31, 2011 5:22 am

Re: Final Fantasy XIII-2 extraction

Post by 652845095 »

how can i extract the .trb file from the bin file? pls :(
Darko
double-veteran
double-veteran
Posts: 723
Joined: Mon Jul 13, 2009 6:16 pm
Has thanked: 72 times
Been thanked: 138 times

Re: Final Fantasy XIII-2 extraction

Post by Darko »

652845095 wrote:how can i extract the .trb file from the bin file? pls :(
Lol:

Check the posts above and you'll find this:

viewtopic.php?f=33&t=4582&p=63683#p63683
Image
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 505 times

Re: Final Fantasy XIII-2 extraction

Post by MrAdults »

livid123 wrote:I found uv in img bundle file by trace noesis.exe fopen(). and it's ok now.

great job, MrAdults.
They also changed the vertex weights to use absolute indices and just sorted their bones so that the bones with weight influences come first. (so a maximum of 256 weighted bones per model is imposed, but plenty of models still go way beyond 256 bones...just not weighted ones)

Despite this they still have the bone index maps in the file, and this new method is probably slower because they don't sort their vertices well to optimize matrix palette accesses. Overall both the changes were a fairly bad idea (taking UV's out of your interleaved vertex array is another performance hit on both consoles, not on most PC hardware though), unless of course they're correcting the data on load, but that would be pretty silly.
652845095
beginner
Posts: 29
Joined: Tue May 31, 2011 5:22 am

Re: Final Fantasy XIII-2 extraction

Post by 652845095 »

when i extract the file "white_img.x360.bin" i got this error.
You do not have the required permissions to view the files attached to this post.
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Final Fantasy XIII-2 extraction

Post by chrrox »

update your quickbms
652845095
beginner
Posts: 29
Joined: Tue May 31, 2011 5:22 am

Re: Final Fantasy XIII-2 extraction

Post by 652845095 »

already updated the bms to 0.5.4,but still get the same error.... :(
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Final Fantasy XIII-2 extraction

Post by chrrox »

use command line
not sure what your doing.
tons of people already have it working so i cant do much to help.
Post Reply