READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

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
Contact:

Final Fantasy XIII-2 extraction

Post by Dazz » Thu Dec 15, 2011 2:03 pm

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: 3 times

Re: Final Fantasy XIII-2 extraction

Post by rexil » Fri Dec 16, 2011 11:23 pm

The contents of this post was deleted because of possible forum rules violation.

User avatar
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 498 times

Re: Final Fantasy XIII-2 extraction

Post by MrAdults » Sat Dec 17, 2011 3:56 am

Image
Some small (but very weird) changes to the model format from FF13. chrrox and I are still working on extracting the data.

User avatar
mariokart64n
ultra-veteran
ultra-veteran
Posts: 529
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 23 times
Been thanked: 163 times
Contact:

Re: Final Fantasy XIII-2 extraction

Post by mariokart64n » Sat Dec 17, 2011 4:30 am

sexy :D
Research: [DOA2U] [DOA5U]

User avatar
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 498 times

Re: Final Fantasy XIII-2 extraction

Post by MrAdults » Sat Dec 17, 2011 11:26 am

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.

User avatar
chrrox
Moderator
Posts: 2552
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1286 times

Re: Final Fantasy XIII-2 extraction

Post by chrrox » Sat Dec 17, 2011 11:36 pm

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 » Mon Dec 19, 2011 3:12 am

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 » Mon Dec 19, 2011 8:34 am

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 » Mon Dec 19, 2011 9:35 am

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

Darko
double-veteran
double-veteran
Posts: 702
Joined: Mon Jul 13, 2009 6:16 pm
Has thanked: 70 times
Been thanked: 118 times

Re: Final Fantasy XIII-2 extraction

Post by Darko » Mon Dec 19, 2011 4:15 pm

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

User avatar
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 498 times

Re: Final Fantasy XIII-2 extraction

Post by MrAdults » Mon Dec 19, 2011 10:07 pm

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 » Tue Dec 20, 2011 2:11 am

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.

User avatar
chrrox
Moderator
Posts: 2552
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1286 times

Re: Final Fantasy XIII-2 extraction

Post by chrrox » Tue Dec 20, 2011 3:10 am

update your quickbms

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

Re: Final Fantasy XIII-2 extraction

Post by 652845095 » Tue Dec 20, 2011 4:03 am

already updated the bms to 0.5.4,but still get the same error.... :(

User avatar
chrrox
Moderator
Posts: 2552
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1286 times

Re: Final Fantasy XIII-2 extraction

Post by chrrox » Tue Dec 20, 2011 4:59 am

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

Post Reply