Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Yukes Model converter

Post questions about game models here, or help out others!
falconcool
veteran
Posts: 105
Joined: Tue Jun 16, 2009 4:41 am
Has thanked: 19 times
Been thanked: 11 times

Re: Yukes Model converter

Post by falconcool »

plodtrew wrote:
falconcool wrote:There is a picture in the right corner.press it and it will show up.

this is what my environment looks like. Which picture are you referring to?:
here it is.Image

I fixed some lines from
f1 = ReadBEword f + 1??-read face indices, games are start form 0, but Max start from 1
f2 = ReadBEword f + 1??-so we add 1 to each index


to

f1 = ReadBEword f + 1--read face indices, games are start form 0, but Max start from 1
f2 = ReadBEword f + 1--so we add 1 to each index



And
msh = mesh vertices:Vert_array faces:Face_array??-build mesh
msh.numTVerts = UV_array.count
buildTVFaces msh
for j = 1 to UV_array.count??o setTVert?msh j UV_array[j]
for j = 1 to Face_array.count?o setTVFace msh j Face_array[j]
for j = 1 to Normal_array.count do setNormal msh j Normal_array[j]



I think this section is damaged something,,,i can't load yobj mesh,,how about your condition?
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Yukes Model converter

Post by chrrox »

you do not need to edit anything 3ds max can be stupid when it wants to be.
you must run any other script then run this one.
just run this script then run the yobj importer it must initialize the plugin then it will work.
You do not have the required permissions to view the files attached to this post.
falconcool
veteran
Posts: 105
Joined: Tue Jun 16, 2009 4:41 am
Has thanked: 19 times
Been thanked: 11 times

Re: Yukes Model converter

Post by falconcool »

Well,it's the encode problem between different language,i've fixed it.
Here is my working scription.ppl who have the same problem with me can try this.
Thank you Chrroxx :)
You do not have the required permissions to view the files attached to this post.
fireninja
ultra-n00b
Posts: 8
Joined: Tue Dec 01, 2009 7:49 am
Has thanked: 5 times
Been thanked: 2 times

Re: Yukes Model converter

Post by fireninja »

chroxx i have always an error when i import yobj with your script,but i notice something,when i run "rumble roses2.ms"first i get an error but i close it and run yukes.ms,and now i can open my .yobj files !!!
User avatar
plodtrew
mega-veteran
mega-veteran
Posts: 177
Joined: Wed Jul 18, 2007 7:14 am
Has thanked: 13 times
Been thanked: 6 times
Contact:

Re: Yukes Model converter

Post by plodtrew »

chrrox wrote:you do not need to edit anything 3ds max can be stupid when it wants to be.
you must run any other script then run this one.
just run this script then run the yobj importer it must initialize the plugin then it will work.
Awesome, it works perfectly now.
fireninja
ultra-n00b
Posts: 8
Joined: Tue Dec 01, 2009 7:49 am
Has thanked: 5 times
Been thanked: 2 times

Re: Yukes Model converter

Post by fireninja »

ok,i forget to read this part :D ,i get an error with rumble rose.ms but it work,thanks chroxx :wink:
User avatar
plodtrew
mega-veteran
mega-veteran
Posts: 177
Joined: Wed Jul 18, 2007 7:14 am
Has thanked: 13 times
Been thanked: 6 times
Contact:

Re: Yukes Model converter

Post by plodtrew »

Is there anyway to import the ps2 version models into the 360 game? the model is also in yobj format but seems to be a slightly different format.
snyperstyle
advanced
Posts: 69
Joined: Sun May 20, 2007 4:29 am
Has thanked: 6 times
Been thanked: 7 times

Re: Yukes Model converter

Post by snyperstyle »

i dont think so bro because the ps2 has alot less polygons and lower resolution textures and the models themselves I believe are smaller than the next gen counterpart. the Model bone structure is prolly completely different as well. I would love to have all the htcp guys too though lol.
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Yukes Model converter

Post by chrrox »

I have updated the first post with a problem in the script it will now run without running the one script first.
funso
ultra-n00b
Posts: 1
Joined: Tue Dec 01, 2009 11:25 pm

Re: Yukes Model converter

Post by funso »

This is very frustrating. - NM, fixed the plug-in problem now.

Models are pretty interesting, textures are fantastic. Would love to get hold of bone, animation data. Perhaps one day, great work so far.

The textures look pretty awful in Max. In Photoshop, they are clearly great textures, wonder why they look so bad in Max renders.
absarhegde
n00b
Posts: 10
Joined: Wed Aug 20, 2008 7:52 pm
Has thanked: 1 time

Re: Yukes Model converter

Post by absarhegde »

i have run both the script..the rumble roses show script error when run
but yukes show no error..
but i cant see any option for importing the yukes file..please help

m really new to this
User avatar
plodtrew
mega-veteran
mega-veteran
Posts: 177
Joined: Wed Jul 18, 2007 7:14 am
Has thanked: 13 times
Been thanked: 6 times
Contact:

Re: Yukes Model converter

Post by plodtrew »

@chrrox, any progress with saving models/importing back into the yobj format?
alvincx
n00b
Posts: 11
Joined: Tue Nov 24, 2009 12:15 pm
Has thanked: 4 times

Re: Yukes Model converter

Post by alvincx »

could somebody please help me, what could i be doing wrong? i can't seem to make this work..

i have both 3ds max 9 and 2010, where should i put the endian file?

and what do you mean by run other scripts?
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Yukes Model converter

Post by chrrox »

for everyone who had problems i updated my script to no longer need the converter.
it should work easier for most people now.
mariokart64n
ultra-veteran
ultra-veteran
Posts: 586
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 36 times
Been thanked: 243 times

Re: Yukes Model converter

Post by mariokart64n »

I got this error running under max8
Syntax Error: at bad, expected <factor>
In line: Vert_array = #()*

:( guess it still requires max2009 or higher eh
Maxscript and other finished work I've done can be found on my DeviantArt account
Post Reply