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!
Seyiji
n00b
Posts: 10
Joined: Tue Sep 20, 2011 4:37 pm
Location: USA
Has thanked: 31 times
Been thanked: 2 times

Re: Final Fantasy XIII-2 extraction

Post by Seyiji »

chrrox wrote:use command line
not sure what your doing.
tons of people already have it working so i cant do much to help.
I had the same error as 652845095 and I "fixed" it by editing the script you posted here

Code: Select all

get NAME BASENAME
log MEMORY_FILE 0 0
put NAME string MEMORY_FILE
get size asize MEMORY_FILE
math size - 4
goto size MEMORY_FILE
getdstring EXT2 4 MEMORY_FILE
if EXT2 == "360"
set EXT "x360"
else
set EXT ps3
endif

comtype unzip_dynamic
for
findloc START string \x78\xDA
goto START
findloc END string \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
set SIZE end
math SIZE - START
goto END
if SIZE > 0x40
clog MEMORY_FILE START SIZE SIZE
getdstring SEDB 8 MEMORY_FILE
if SEDB == "SEDBRES "
goto 0x30 MEMORY_FILE
get COUNT long MEMORY_FILE
math COUNT * 16
math COUNT + 0x40
goto COUNT MEMORY_FILE
getdstring TRB 7 MEMORY_FILE
if TRB == "SEDBtxb"
string START + .
string START + EXT
get SIZE asize MEMORY_FILE
set NAME START
string NAME + .trb
log NAME 0 SIZE MEMORY_FILE
set NAME START
string NAME + .imgb
clog NAME OFFSET ZSIZE2 SIZE2
endif
endif
if SEDB != "SEDBRES "
set OFFSET START
set ZSIZE2 SIZE
get SIZE2 asize MEMORY_FILE
endif
endif
next
I have no idea if this will solve your problem 652845095 and I take no credit for this script it is all chrrox's work all I did was move the line "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" to be in line with "findloc END string" which then allowed me to get past the error 652845095 was experiencing although when I ran it on the sample files provided by rexil it found nothing to extract.
652845095
beginner
Posts: 29
Joined: Tue May 31, 2011 5:22 am

Re: Final Fantasy XIII-2 extraction

Post by 652845095 »

yeah! it works,thanks a lot... :D
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 »

Stupid question: is there any difference between ps3 and 360 models??
Image
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 »

no
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 »

chrrox wrote:no
Thnks
Image
unlimited32
beginner
Posts: 38
Joined: Sat Oct 16, 2010 1:27 pm
Has thanked: 1 time

Re: Final Fantasy XIII-2 extraction

Post by unlimited32 »

Hello, how do i extract the game data from the PS3 version?
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 »

the same way
purupeo
ultra-n00b
Posts: 2
Joined: Sat Jul 10, 2010 7:55 pm
Has thanked: 8 times

Re: Final Fantasy XIII-2 extraction

Post by purupeo »

Hello, models are too small, but they say "the game uses real time rendering movies", maybe on the disc have hq models?
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 »

those are the only models on the disk. its the shaders they use.
you need to set up the textures correctly.
Image

if you want i looked and dint see anything but this script will extract everything from the game but it wont match anything to its textures and it will name some files trb that contain no mesh data.
I looked and dint see anything the first script missed but ill throw this out there for those that think something might be missing.

Code: Select all

get NAME BASENAME
log MEMORY_FILE 0 0
put NAME string MEMORY_FILE
get size asize MEMORY_FILE
math size - 4
goto size MEMORY_FILE
getdstring EXT2 4 MEMORY_FILE
if EXT2 == "360"
set EXT "x360"
else
set EXT ps3
endif

comtype unzip_dynamic
for
findloc START string \x78\xDA
goto START
findloc END string \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
set SIZE end
math SIZE - START
goto END
if SIZE > 0x40
clog MEMORY_FILE START SIZE SIZE
getdstring SEDB 8 MEMORY_FILE
string START + .
string START + EXT
if SEDB == "SEDBRES "
set NAME START
string NAME + .trb
else
set NAME START
string NAME + .imgb
endif
get size asize MEMORY_FILE
log NAME 0 SIZE MEMORY_FILE
endif
next
livid123
ultra-n00b
Posts: 3
Joined: Tue Jun 15, 2010 8:37 pm

Re: Final Fantasy XIII-2 extraction

Post by livid123 »

wow, is that Lighting animation come from .mot file?

may be it's skin matrix animation, but hard to disassemble shader-pcode in console format :(
amano
ultra-n00b
Posts: 2
Joined: Fri Nov 11, 2011 11:46 am

Re: Final Fantasy XIII-2 extraction

Post by amano »

I want to know how to get the model files Or can you send them to me? :?:
cenjianneng
ultra-n00b
Posts: 7
Joined: Tue Nov 01, 2011 7:58 pm

Re: Final Fantasy XIII-2 extraction

Post by cenjianneng »

chrrox wrote:those are the only models on the disk. its the shaders they use.
you need to set up the textures correctly.
Image

if you want i looked and dint see anything but this script will extract everything from the game but it wont match anything to its textures and it will name some files trb that contain no mesh data.
I looked and dint see anything the first script missed but ill throw this out there for those that think something might be missing.
how did you do that?
use itself shader?
it so cool! :keke:

can you show the shader map?
sorry for my bad english!
Krisan Thyme
advanced
Posts: 49
Joined: Fri Jan 14, 2011 9:04 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Final Fantasy XIII-2 extraction

Post by Krisan Thyme »

The contents of this post was deleted because of possible forum rules violation.
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 »

not all models are matched up correctly. you will have to match some up manually.
The uv's are paired with the textures.
Krisan Thyme
advanced
Posts: 49
Joined: Fri Jan 14, 2011 9:04 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Final Fantasy XIII-2 extraction

Post by Krisan Thyme »

I'm not sure you understand the problem I'm having. That or I misunderstand what you're asking me to do here. The IMGB file was manually matched the the 7kb TRB, which is the only TRB it will export the textures with. When matched to either of the other two Noel models, the textures don't export at all and his UV's come out as spaghetti. It's like the 7kb TRB is suppose to be apart of his model file, but for whatever reason it's not? I'm not even sure I'd say it's a problem with your script, so much as it's an oddity with the game.. But uh, yeah. I don't know what to do here to get his UV's exported intact.
Post Reply