READ THE RULES: Click here

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

Toy Story 3 Game Models

Post questions about game models here, or help out others!
SoapyLemons
n00b
Posts: 16
Joined: Fri Feb 04, 2011 2:01 am

Toy Story 3 Game Models

Post by SoapyLemons » Fri Feb 04, 2011 2:11 am

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

jaden
mega-veteran
mega-veteran
Posts: 209
Joined: Sat Feb 05, 2011 1:41 am
Been thanked: 1 time

Re: Toy Story 3 Game Models

Post by jaden » Sat Feb 05, 2011 1:48 am

its gonna be great if we can extract the model

ItsEasyActually
n00b
Posts: 18
Joined: Fri Dec 17, 2010 12:49 am

Re: Toy Story 3 Game Models

Post by ItsEasyActually » Sun Feb 06, 2011 6:41 am

Alright, so I believe the .bent files are the models and the .oct files are something that I don't know of. I did the basic part of the header which is the same for both .bent and .oct. I think the other files, aside from the .dbl uses the same header.

Code: Select all

Toy Story 3 model research
x08 - Header (29 76 01 45 CD CC 8C 3F)
x35 - Unknown (Come back to)
Starts "Compiler?" information
It follows that format for each .bent and .oct file. I don't know anything else at this current time. Hopefully this'll help anyone who looks into this format later on.

SoapyLemons
n00b
Posts: 16
Joined: Fri Feb 04, 2011 2:01 am

Re: Toy Story 3 Game Models

Post by SoapyLemons » Wed Feb 09, 2011 2:52 am

ItsEasyActually wrote: It follows that format for each .bent and .oct file. I don't know anything else at this current time. Hopefully this'll help anyone who looks into this format later on.
Something tells me that Avalanche made that format on purpose so people like us couldn't crack it so easily. And before anyone says "OH USE 3D RIPPER DX LOLOLOLOL", it does not work with the game. And even if it did, LuigiMario on facepunch would've had them ripped ages ago.

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

Re: Toy Story 3 Game Models

Post by mariokart64n » Wed Feb 09, 2011 5:47 am

I've been using 3dripperdx for years..
I've never encountered a dx9 game that wasn't possible to capture with 3dripperdx or another dx9 debugger.

I'm sure luigi would take my word for it too, I was involved with ripping when I was at FP and I stand by 3dripperDX.

anyways, the format was super easy. so I wrote up a simple maxscript to import the model.
use nova extract on the oct files to dump the textures. the OCT files hold DDS textures, nova extract scans for the dds headers and dumps them accordingly

Image Image

Code: Select all

fsource = GetOpenFileName \
caption:"ToyStory3AssRaper" \
types: "Vertex Binary (*.vbuf)|*.VBUF|All files (*.*)|*.*|"
if (fsource!=undefined) AND ((doesFileExist fsource)==true) then(
f = fopen fsource "rb"
fpath=          getFilenamePath fsource
fname=  getFilenameFile fsource
if (doesFileExist (fpath+fname+".ibuf"))==true do(
g = fopen (fpath+fname+".ibuf") "rb"
gsize=getFileSize (fpath+fname+".ibuf")
st = timestamp() --get start time in milliseconds
clearlistener()
print (fname+"\n"+localTime+"\n")
--===========================================================================
undo off(
with redraw off (
while (ftell f)!=fsize AND check!=-1 do(
if keyboard.escPressed then exit
	Vert_array=#()
	Face_array=#()
	UV_array=#()
check=readlong f;fseek f -4 #seek_cur
Counter=0	
do(
tv=readfloat f
tu=(readfloat f*-1)+1
tw=readfloat f
vx=readfloat f*39.34
vy=readfloat f*39.34
vz=readfloat f*-39.34
w1=readbyte f #unsigned
w2=readbyte f #unsigned
w3=readbyte f #unsigned
w4=readbyte f #unsigned
weight=w1+w2+w3+w4
if weight==0xFF do(
Counter+=1
append Vert_array[vx,vz,vy]
append UV_array[tv,tu,0]
)) while weight==0xFF
fseek f -28 #seek_cur
Print ("Vert Read @ 0x"+((bit.intAsHex(ftell f))as string))
Print Counter
for x = 1 to Counter do(
nx=readfloat f
ny=readfloat f
nz=readfloat f
un=readfloat f
))
while (ftell g)!=gsize 
do(
fa=readshort g #unsigned+1
fb=readshort g #unsigned+1
fc=readshort g #unsigned+1
append Face_array[fa,fb,fc]
)
msh = mesh vertices:Vert_array faces:Face_array
msh.numTVerts = UV_array.count
buildTVFaces msh
msh.name=fname
for j = 1 to UV_array.count do setTVert msh j UV_array[j]
for j = 1 to Face_array.count do setTVFace msh j Face_array[j]
--===========================================================================
gc()
fclose f
fclose g
enableSceneRedraw()
Print ("Done! ("+((((timestamp())-st)/60)as string)+" Seconds)") --print time to finish
)))) else (Print "Aborted.")
Research: [DOA2U] [DOA5U]

jaden
mega-veteran
mega-veteran
Posts: 209
Joined: Sat Feb 05, 2011 1:41 am
Been thanked: 1 time

Re: Toy Story 3 Game Models

Post by jaden » Wed Feb 09, 2011 1:31 pm

That was fantastic mario
Thanks for the script

SoapyLemons
n00b
Posts: 16
Joined: Fri Feb 04, 2011 2:01 am

Re: Toy Story 3 Game Models

Post by SoapyLemons » Wed Feb 09, 2011 10:38 pm

MK64N, you're my freaking hero! Thank you for contributing to the thread. I am surprised someone was able to do this so quickly too. Again, I cannot thank you enough.

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

Re: Toy Story 3 Game Models

Post by mariokart64n » Wed Feb 09, 2011 10:46 pm

chrrox noticed that my script doesnt work on all the submeshes :(

if you get an error, all you can do is move the arrays above the "while statement" to get the meshes correct we'd need to crack the other index files.. which is too much work for me :P
Research: [DOA2U] [DOA5U]

huckleberrypie
mega-veteran
mega-veteran
Posts: 319
Joined: Mon Apr 26, 2010 6:51 am
Has thanked: 95 times
Been thanked: 13 times

Re: Toy Story 3 Game Models

Post by huckleberrypie » Thu Feb 10, 2011 1:47 am

mariokart64n wrote:chrrox noticed that my script doesnt work on all the submeshes :(

if you get an error, all you can do is move the arrays above the "while statement" to get the meshes correct we'd need to crack the other index files.. which is too much work for me :P
Well, I'm getting such errors, too, when I try to import some of the meshes ingame.

grotesque
advanced
Posts: 52
Joined: Wed Mar 17, 2010 9:12 pm
Has thanked: 2 times

Re: Toy Story 3 Game Models

Post by grotesque » Thu Feb 10, 2011 1:50 am

I have Wii version of game, some file are the "same", but I can't extract dds or open 3D models.
Here Buzz and Woody!

http://hotfile.com/dl/103296319/502cb3d ... i.rar.html

With the 2 models in first post, the script crash in 3dsmax 2011 (I try both "high" version) :-(
Sorry bad english, I'm italian!

SoapyLemons
n00b
Posts: 16
Joined: Fri Feb 04, 2011 2:01 am

Re: Toy Story 3 Game Models

Post by SoapyLemons » Thu Feb 10, 2011 2:40 am

grotesque wrote:I have Wii version of game, some file are the "same", but I can't extract dds or open 3D models.
Here Buzz and Woody!

http://hotfile.com/dl/103296319/502cb3d ... i.rar.html

With the 2 models in first post, the script crash in 3dsmax 2011 (I try both "high" version) :-(
The "High" models do not work from my experience, I believe Buzz will only extract (darkspines being the one who ripped him recently), but we'll keep trying until they work, now I'm gonna look into rigging for the source engine, because I plan to port these like I said before.

By the way, hilarious humor MK64n. I laughed when I say "Ass Raper" in your MAXscript.

Edit: Seems that there's a vertex error upon importing the High Buzz model with the script, otherwise no other models will import.

jaden
mega-veteran
mega-veteran
Posts: 209
Joined: Sat Feb 05, 2011 1:41 am
Been thanked: 1 time

Re: Toy Story 3 Game Models

Post by jaden » Thu Feb 10, 2011 3:18 am

i think the script only work for pc version
Not the wii version,i think

huckleberrypie
mega-veteran
mega-veteran
Posts: 319
Joined: Mon Apr 26, 2010 6:51 am
Has thanked: 95 times
Been thanked: 13 times

Re: Toy Story 3 Game Models

Post by huckleberrypie » Thu Feb 10, 2011 3:24 am

jaden wrote:i think the script only work for pc version
Not the wii version,i think
Probably due to endianness and other platform-specific quirks.

ItsEasyActually
n00b
Posts: 18
Joined: Fri Dec 17, 2010 12:49 am

Re: Toy Story 3 Game Models

Post by ItsEasyActually » Thu Feb 10, 2011 3:25 am

Anyone know where this Nova program can be found? A quick Google search gave me shit. A search on these boards resulted in dead links. So...anyone got a mirror of it somewhere?

SoapyLemons
n00b
Posts: 16
Joined: Fri Feb 04, 2011 2:01 am

Re: Toy Story 3 Game Models

Post by SoapyLemons » Thu Feb 10, 2011 3:26 am

huckleberrypie wrote: Probably due to endianness and other platform-specific quirks.
Sounds about right. I guess whenever I get bored I'll look at the Wii and PC versions of the models in Notepad++ or some sort of Hex editor.
I second what Easy said. I can't find nothing but crap with keygens.

Post Reply