Toy Story 3 Game Models
-
SoapyLemons
- n00b
- Posts: 16
- Joined: Fri Feb 04, 2011 2:01 am
Toy Story 3 Game Models
The contents of this post was deleted because of possible forum rules violation.
-
ItsEasyActually
- n00b
- Posts: 18
- Joined: Fri Dec 17, 2010 12:49 am
Re: Toy Story 3 Game Models
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.
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.
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-
SoapyLemons
- n00b
- Posts: 16
- Joined: Fri Feb 04, 2011 2:01 am
Re: Toy Story 3 Game Models
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.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.
-
mariokart64n
- ultra-veteran

- Posts: 567
- Joined: Sun Jun 05, 2005 12:00 pm
- Location: Ontario, Canada
- Has thanked: 34 times
- Been thanked: 200 times
Re: Toy Story 3 Game Models
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

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

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.")
Maxscript and other finished work I've done can be found on my DeviantArt account
-
SoapyLemons
- n00b
- Posts: 16
- Joined: Fri Feb 04, 2011 2:01 am
Re: Toy Story 3 Game Models
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.
-
mariokart64n
- ultra-veteran

- Posts: 567
- Joined: Sun Jun 05, 2005 12:00 pm
- Location: Ontario, Canada
- Has thanked: 34 times
- Been thanked: 200 times
Re: Toy Story 3 Game Models
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
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
Maxscript and other finished work I've done can be found on my DeviantArt account
-
huckleberrypie
- ultra-veteran

- Posts: 330
- Joined: Mon Apr 26, 2010 6:51 am
- Has thanked: 95 times
- Been thanked: 13 times
Re: Toy Story 3 Game Models
Well, I'm getting such errors, too, when I try to import some of the meshes ingame.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
Re: Toy Story 3 Game Models
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)
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
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.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)
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.
-
huckleberrypie
- ultra-veteran

- Posts: 330
- Joined: Mon Apr 26, 2010 6:51 am
- Has thanked: 95 times
- Been thanked: 13 times
Re: Toy Story 3 Game Models
Probably due to endianness and other platform-specific quirks.jaden wrote:i think the script only work for pc version
Not the wii version,i think
-
ItsEasyActually
- n00b
- Posts: 18
- Joined: Fri Dec 17, 2010 12:49 am
Re: Toy Story 3 Game Models
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
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.huckleberrypie wrote: Probably due to endianness and other platform-specific quirks.
I second what Easy said. I can't find nothing but crap with keygens.
