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

Kinect Star Wars dfm

Post questions about game models here, or help out others!
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Kinect Star Wars dfm

Post by chrrox »

Here is a noesis script to load the 3d models and the modified .tga textures.
to extract the models you need to run xbdecompress.exe (in the official xbox sdk will not be provided) on the podlzx files.
then to extract the podlzx files use this bms script. viewtopic.php?f=13&p=70398#p70398
then on the resulting pac files it spits out run this bms script.

Code: Select all

for
set MAGIC 0
Do
getdstring MAGIC 4
While MAGIC != "adoY"
getdstring MAGIC2 4
if MAGIC2 == "oMoN"
cleanexit
endif
get SIZE long
getdstring NAME 0x54
savepos OFFSET
log NAME OFFSET SIZE
math offset + size
goto offset
Padding 16
next
Image
You do not have the required permissions to view the files attached to this post.
mazor
advanced
Posts: 44
Joined: Tue Jun 07, 2011 9:22 pm
Has thanked: 157 times
Been thanked: 2 times

Re: Kinect Star Wars dfm

Post by mazor »

Wow, thank you very much! The scripts for Noesis work great, though some DFM models in the HVS, MR, and Vehicles folder don't load and somtimes cause Noesis to crash. I'm not sure why this is, but I know I have the latest version of Noesis.
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Kinect Star Wars dfm

Post by chrrox »

to get those models to load all you have to do is copy them out one directory
for instance
\cinematics_pod_bespin_cinematic_hangar_bespin\vehicles\podracers\anakin_pod_cine.dfm
the reason this fails to load is it cant find the material file so just copy the entire folder
\cinematics_pod_bespin_cinematic_hangar_bespin\vehicles\podracers\
to
\cinematics_pod_bespin_cinematic_hangar_bespin\vehicles\
and then they load fine.
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Kinect Star Wars dfm

Post by chrrox »

here is a small script update so if the files are in the wrong path it wont crash it just won't load the external files.
Image
You do not have the required permissions to view the files attached to this post.
grotesque
advanced
Posts: 54
Joined: Wed Mar 17, 2010 9:12 pm
Has thanked: 2 times

Re: Kinect Star Wars dfm

Post by grotesque »

I have some problem with xbdecompress.
I have to use like his?
xbdecompress file.podlzx out.podlzx
Sorry bad english, I'm italian!
rexil
veteran
Posts: 124
Joined: Tue Mar 15, 2011 3:14 pm
Has thanked: 36 times
Been thanked: 4 times

Re: Kinect Star Wars dfm

Post by rexil »

grotesque wrote:I have some problem with xbdecompress.
I have to use like his?
xbdecompress file.podlzx out.podlzx
That's correct.

The weights aren't working correctly or it's just me?
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Kinect Star Wars dfm

Post by chrrox »

i dint have any issues you would have to tell me the file.
rexil
veteran
Posts: 124
Joined: Tue Mar 15, 2011 3:14 pm
Has thanked: 36 times
Been thanked: 4 times

Re: Kinect Star Wars dfm

Post by rexil »

chrrox wrote:i dint have any issues you would have to tell me the file.
I'm not at home atm so I can't check but I'll be there soon. I'll check it then.


EDIT: The ones I tested have the same problem, exported as .fbx/.psk
Image
It's the togruta_female in the dance directory
Last edited by rexil on Thu Apr 12, 2012 11:05 pm, edited 1 time in total.
mazor
advanced
Posts: 44
Joined: Tue Jun 07, 2011 9:22 pm
Has thanked: 157 times
Been thanked: 2 times

Re: Kinect Star Wars dfm

Post by mazor »

Although your script update fixed the issue with files not finding the proper materials, there still seems to be an issue with a number of models that causes Noesis to crash for another reason I can't understand. Some of these models include:

R2D2.dfm
tie_fighter.dfm
droid_enforcer_big.dfm
gasgano_pod_rampage.dfm
mars_guo_pod_rampage.dfm
Delta_7b_Cinema.dfm
b2_droid.dfm

Is anyone else having this problem with these models?
junk angel
veteran
Posts: 82
Joined: Thu Jan 14, 2010 4:38 pm
Has thanked: 1 time
Been thanked: 4 times

Re: Kinect Star Wars dfm

Post by junk angel »

Out of curiosity, do the TEX files in Art provide anything. I noticed that there seem to be model textures there. But the model packs themselves have those packaged tga's too.

I guess I'm a wee bit lost. But in which of the pk2s are the dancers? I seem to overall have very few of the DFM's


EDIT

Was probably a bug with BMS
grotesque
advanced
Posts: 54
Joined: Wed Mar 17, 2010 9:12 pm
Has thanked: 2 times

Re: Kinect Star Wars dfm

Post by grotesque »

Same weights problem here with slave Leia (not only in that part of model):

Image
Sorry bad english, I'm italian!
grotesque
advanced
Posts: 54
Joined: Wed Mar 17, 2010 9:12 pm
Has thanked: 2 times

Re: Kinect Star Wars dfm

Post by grotesque »

chrrox wrote:the problem is in the stupid format itself I need to fix the vertex weights because the developers were lazy when they made the exporter for star wars. I should have a fix soon.
Thanks for your work!
Sorry bad english, I'm italian!
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Re: Kinect Star Wars dfm

Post by Mr.Mouse »

viewtopic.php?f=28&t=1270 Please review the new forum rules.
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Kinect Star Wars dfm

Post by chrrox »

actually the models seem fine you just cant move the twist bones.
JakeGreen
mega-veteran
mega-veteran
Posts: 164
Joined: Sun Aug 22, 2010 10:14 pm
Has thanked: 40 times
Been thanked: 11 times

Re: Kinect Star Wars dfm

Post by JakeGreen »

very sorry if i missed something but i have been trying to extract the podlzx do need to run xbdecompress or is there a bms script to extract them?
Post Reply