Page 1 of 9
Final Fantasy XIII-2 extraction
Posted: Thu Dec 15, 2011 2:03 pm
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...
Re: Final Fantasy XIII-2 extraction
Posted: Fri Dec 16, 2011 11:23 pm
by rexil
The contents of this post was deleted because of possible forum rules violation.
Re: Final Fantasy XIII-2 extraction
Posted: Sat Dec 17, 2011 3:56 am
by MrAdults

Some small (but very weird) changes to the model format from FF13. chrrox and I are still working on extracting the data.
Re: Final Fantasy XIII-2 extraction
Posted: Sat Dec 17, 2011 4:30 am
by mariokart64n
sexy

Re: Final Fantasy XIII-2 extraction
Posted: Sat Dec 17, 2011 11:26 am
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.
Re: Final Fantasy XIII-2 extraction
Posted: Sat Dec 17, 2011 11:36 pm
by chrrox
here is the best extractor that is possible at the moment.
viewtopic.php?f=33&t=4582&p=63683#p63683
Re: Final Fantasy XIII-2 extraction
Posted: Mon Dec 19, 2011 3:12 am
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.
Re: Final Fantasy XIII-2 extraction
Posted: Mon Dec 19, 2011 8:34 am
by livid123
I found uv in img bundle file by trace noesis.exe fopen(). and it's ok now.
great job, MrAdults.
Re: Final Fantasy XIII-2 extraction
Posted: Mon Dec 19, 2011 9:35 am
by 652845095
how can i extract the .trb file from the bin file? pls

Re: Final Fantasy XIII-2 extraction
Posted: Mon Dec 19, 2011 4:15 pm
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
Re: Final Fantasy XIII-2 extraction
Posted: Mon Dec 19, 2011 10:07 pm
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.
Re: Final Fantasy XIII-2 extraction
Posted: Tue Dec 20, 2011 2:11 am
by 652845095
when i extract the file "white_img.x360.bin" i got this error.
Re: Final Fantasy XIII-2 extraction
Posted: Tue Dec 20, 2011 3:10 am
by chrrox
update your quickbms
Re: Final Fantasy XIII-2 extraction
Posted: Tue Dec 20, 2011 4:03 am
by 652845095
already updated the bms to 0.5.4,but still get the same error....

Re: Final Fantasy XIII-2 extraction
Posted: Tue Dec 20, 2011 4:59 am
by chrrox
use command line
not sure what your doing.
tons of people already have it working so i cant do much to help.