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!
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 » Thu Feb 10, 2011 4:13 am

buzz worked out ok for me, though you can see his visor is missing.

Image

also the Wii format is different, the faces and verts are defined in different sizes. its more compact then before, maybe they written in triStrips now
Research: [DOA2U] [DOA5U]

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 2:48 pm

What version of buzz you use (high, ecc), mariokart64n?
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 10:39 pm

mariokart64n wrote:buzz worked out ok for me, though you can see his visor is missing.
Odd, he still doesn't import for me, and I've done everything correctly, maybe a list of working models would help?

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 » Thu Feb 10, 2011 10:50 pm

the error is cause by too many faces. cause I dont read the subMesh info, I read the files as one HUGE model.. but the face's go from say 1,2,3,4,5...200 etc.. then reset again to 1,2,3,... so the script I made only imports the first mesh. if there are more then one mesh, then it won't work.

however I stated a couple posts ago, just to move the arrays past the loop. that'll cause it to import the final mesh regardless.. of he face reseting

I'll just repost the script with that line swap

also keep in mind the other submeshes will be missing, like buzz's visor. so you'll have to get parts from the lowpoly models. which do not have submeshs

Code: Select all


fsource = GetOpenFileName \
caption:"ToyStory3 Importer" \
types: "Vertex Binary (*.vbuf)|*.VBUF|All files (*.*)|*.*|"
if (fsource!=undefined) AND ((doesFileExist fsource)==true) then(
f = fopen fsource "rb"
fext=           getFilenameType fsource
fpath=          getFilenamePath fsource
fsize=			getFileSize 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()
openLog (fpath+fname+"_log.txt") mode:"w" outputOnly:true
print (fname+fext+"\n"+localTime+"\n")
--===========================================================================
undo off(
with redraw off (
	Face_array=#()	
		Vert_array=#()

	UV_array=#()

while (ftell f)!=fsize AND check!=-1 do(
if keyboard.escPressed then exit





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]

--===========================================================================
Print ("Last Read @ 0x"+((bit.intAsHex(ftell f))as string))
gc()
fclose f
fclose g
fclose s
flushLog()
closeLog()
enableSceneRedraw()
Print ("Done! ("+((((timestamp())-st)/60)as string)+" Seconds)") --print time to finish
)))) else (Print "Aborted.")
Research: [DOA2U] [DOA5U]

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 11:01 pm

Thanks MK64, though there are some bugs. High Woody does import but...
Image

Woody is now eh... Well he's not Woody XD. Buzz imports fine though, but the parts of his backpack are a little... Fucked should I say?
Image

Also, I've been looking for the Nova Extractor, all I get is dead links. MarioKart, if you don't mind, could you please upload Nova somewhere?
Last edited by SoapyLemons on Thu Feb 10, 2011 11:45 pm, edited 1 time in total.

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 » Thu Feb 10, 2011 11:41 pm

yeah I know, I just said above that it reads too many face.. and you can see there that those extra faces still get drawn.

theres nothing I can do, unless I decipher the other files for the submesh info.


if your good with 3d editing, fixing the back shouldnt be too hard

Image
Research: [DOA2U] [DOA5U]

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 11:54 pm

How do you have that perfect texture?
You separate manually mesh?
Sorry bad english, I'm italian!

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 11:57 pm

But still thanks mario

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

Re: Toy Story 3 Game Models

Post by SoapyLemons » Fri Feb 11, 2011 12:29 am

grotesque wrote:How do you have that perfect texture?
You separate manually mesh?
You have to select the polygons manually, it's an ass, but it's well worth it.

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

Re: Toy Story 3 Game Models

Post by SoapyLemons » Sat Feb 12, 2011 7:09 am

I don't mean to double post...

update though, I ripped several models from MK64's script.

Here is what I ripped.
Image
Image
Image
Image
Image
Image
Image

I gotta fix up some models, like Bo and Jessie for example :P

Anyways, thanks again MK64, you're a big help.

User avatar
sidneymadmax
beginner
Posts: 35
Joined: Fri Sep 17, 2010 4:10 pm

Re: Toy Story 3 Game Models

Post by sidneymadmax » Tue Apr 12, 2011 7:18 pm

as it does to view or convert obj

KaLaC
ultra-n00b
Posts: 5
Joined: Tue May 18, 2010 4:12 pm

Re: Toy Story 3 Game Models

Post by KaLaC » Mon Apr 18, 2011 4:29 pm

@SoapyLemons: Can you plz send me the models? Because I don't know how to extract the textures from the OCT files.
If you can send me, I will appericate.

And also thanks mario for the code!!

Szkaradek123
mega-veteran
mega-veteran
Posts: 291
Joined: Wed May 05, 2010 8:21 pm
Location: Poland Głogów
Has thanked: 21 times
Been thanked: 585 times

Re: Toy Story 3 Game Models

Post by Szkaradek123 » Mon Dec 01, 2014 2:05 pm

Hello

Here is importer for models from PC .

It requires Blender version 249 and Python 2.6.

I use scene format research done by zzh8829 from viewtopic.php?p=93154#p93154

It works with .oct files from Toy Story 3 for PC.

It imports:
- models with weights and textures
- armature

After importing please rotate meshes along Z-axis ( key R and Z)
Because Blender use only 16 materials per mesh, importer split each mesh into many submeshes.


Example:
http://www.mediafire.com/download/o7tjd ... /model.zip
You do not have the required permissions to view the files attached to this post.

shoopdahoop22
n00b
Posts: 10
Joined: Mon Jun 27, 2016 6:16 pm

Re: Toy Story 3 Game Models

Post by shoopdahoop22 » Fri Aug 05, 2016 4:35 am

I hate to be bumping an old thread but...

are there any download links for Nova Extractor anywhere?

rballad
n00b
Posts: 12
Joined: Mon Aug 11, 2014 2:40 am
Has thanked: 3 times

Re: Toy Story 3 Game Models

Post by rballad » Fri Aug 05, 2016 12:43 pm

using szkaradek123' importer, you don't need nova extractor to get the textures

Post Reply