Star Wars: Clone Wars Adventures (*.dme)

Post questions about game models here, or help out others!
User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Star Wars: Clone Wars Adventures (*.dme)

Post by Acewell » Sun May 29, 2016 4:46 am

*script updated December 1, 2016*

made my first model import script for Noesis to open these models :D
fmt_SWCWA_dme.zip
Image

supports mesh and UVs only
textures will load if they are in the same folder with the model :D

some models might display transparent if the texture has an alpha channel,
but i don't know how to turn off displayed transparency :(

3d object converter can open these models too (:
You do not have the required permissions to view the files attached to this post.
Last edited by Acewell on Fri Dec 02, 2016 12:28 am, edited 3 times in total.

User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 2654
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 654 times
Been thanked: 1362 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by shakotay2 » Sun May 29, 2016 6:31 am

great to see your progress! (though I find this python crxp is harder to deal with than 'C' or maxscript in many cases :D )
Bigchillghost, Reverse Engineering a Game Model: viewtopic.php?f=29&t=17889
extracting simple models: viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip
"You quoted the whole thing, what a mess."

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by Acewell » Sun May 29, 2016 11:04 am

thanks! i have no clue how to do this in C or maxscript and i'm still not sure of many things in python, i mostly just used what i learned from texture scripts. :D
i used your Hex2obj program to confirm vertex and face counts, vertex strides and UV positions for each model type, this would not have been possible for me otherwise so thank you for wonderful program. :rock:
now is time for some of these :gulp: :drunken:

Karpati
mega-veteran
mega-veteran
Posts: 303
Joined: Thu Dec 07, 2006 11:25 pm
Has thanked: 7 times
Been thanked: 58 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by Karpati » Mon May 30, 2016 6:19 pm

AceWell wrote: 3d object converter can open these models too but it mirrors and rotates them for some reason :P
Thank you for your information.

It loads the 3d points as X,Z,Y, but I did not realized it mirrors the loaded objects.
I fixed it (X,Y,Z vertex order + transformation matrix to get the correct view in my program).

I released the v6.408 as a web update now, so just use the Help/Check for updates... function to get it.

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by Acewell » Sat Jun 04, 2016 11:25 am

i have updated the script in the top post so it prints the texture names in a more readable vertical list under the model name in the logPopup so it looks like this

Code: Select all

 * * * modelname.dme * * *
texturename.dds
texturename.dds
and i added mesh IDs to each submesh so Noesis won't merge them all into a single megamesh! :D
this was a problem when models had more than one submesh that used different textures and
the UVs were layered making it difficult to apply textures to the right parts.

Sir Kane
veteran
Posts: 98
Joined: Mon Aug 06, 2012 4:14 am
Been thanked: 76 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by Sir Kane » Mon Jun 06, 2016 1:54 am

That's the older version of the format used by Planetside 2/H1Z1.

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by Acewell » Fri Dec 02, 2016 12:32 am

i have updated the script in the first post so it auto loads the textures as long as they are in the same folder as the model. :D
if a texture has an alpha channel the model or just parts will display transparent, i don't know how to turn off this transparency. :(
also, if someone knows how to read normals properly for the dme format i will gladly fix the script. :)
i am not 100% certain i am doing it right as of now. :oops:

lyutor1945
beginner
Posts: 38
Joined: Mon Nov 02, 2015 6:24 pm
Has thanked: 23 times
Been thanked: 2 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by lyutor1945 » Fri Dec 02, 2016 1:00 pm

AceWell wrote:i have updated the script in the first post so it auto loads the textures as long as they are in the same folder as the model. :D
if a texture has an alpha channel the model or just parts will display transparent, i don't know how to turn off this transparency. :(
also, if someone knows how to read normals properly for the dme format i will gladly fix the script. :)
i am not 100% certain i am doing it right as of now. :oops:
AceWell, how can I contact you? I can provide you some help

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by Acewell » Fri Dec 02, 2016 11:38 pm

you can contact me right in this very thread about this format, that is why this thread exist :D
i don't own the format so i don't discuss the research in private any more, i think everyone has a right
to see the research and add on to it if they know something so they don't have to start from nothing. :)

Karpati seems to have this dme format figured out and i'm hoping he will share some specs :D

lyutor1945
beginner
Posts: 38
Joined: Mon Nov 02, 2015 6:24 pm
Has thanked: 23 times
Been thanked: 2 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by lyutor1945 » Sat Dec 03, 2016 12:22 am

AceWell wrote:you can contact me right in this very thread about this format, that is why this thread exist :D
i don't own the format so i don't discuss the research in private any more, i think everyone has a right
to see the research and add on to it if they know something so they don't have to start from nothing. :)

Karpati seems to have this dme format figured out and i'm hoping he will share some specs :D
I would like to speak with you privately fist, but if you insist. You have only DME files, or you have CWA game on your computer with all the files?

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by Acewell » Sat Dec 03, 2016 12:45 am

i have all game files, but i only research dme files because i am only interested in the models and textures :D

lyutor1945
beginner
Posts: 38
Joined: Mon Nov 02, 2015 6:24 pm
Has thanked: 23 times
Been thanked: 2 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by lyutor1945 » Mon Dec 05, 2016 3:49 pm

AceWell wrote:i have all game files, but i only research dme files because i am only interested in the models and textures :D
I also have this game and I wanted to share all the necessary files,but looks like you have everything you need.

Do you add bones support in the future? As far as I know the skeleton is stored in dsk files.

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by Acewell » Mon Dec 05, 2016 10:02 pm

i have no plans to add bones, skinning or animations unless you can show
me the python code that is needed to add these things to the script. :]

lyutor1945
beginner
Posts: 38
Joined: Mon Nov 02, 2015 6:24 pm
Has thanked: 23 times
Been thanked: 2 times

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by lyutor1945 » Wed Dec 07, 2016 4:28 pm

AceWell wrote:i have no plans to add bones, skinning or animations unless you can show
me the python code that is needed to add these things to the script. :]
What is the point in the models without bones?

User avatar
Tosyk
double-veteran
double-veteran
Posts: 936
Joined: Thu Oct 22, 2009 10:24 am
Location: Russia, Siberia
Has thanked: 226 times
Been thanked: 107 times
Contact:

Re: Star Wars: Clone Wars Adventures (*.dme)

Post by Tosyk » Wed Dec 07, 2016 4:35 pm

lyutor1945 wrote:
AceWell wrote:i have no plans to add bones, skinning or animations unless you can show
me the python code that is needed to add these things to the script. :]
What is the point in the models without bones?
not the point of discussion this in here for sure.
Thank you for all you do here
my blog | my forum

Post Reply