3DS Max Import/Export Scripts

rosuto

New Member
Aug 1, 2011
69
1
0
#1
MGN/MSH Importer

-Import MGN and MSH files
-Apply most textures to the model without messing with UV maps
-Model parts are labeled to easier identify which texture goes to what

MSH Exporter

-Export new and modified static models from 3ds max
-Can create sht and apt files

Download
 
Last edited by a moderator:

luke9511

New Member
May 1, 2013
21
0
0
#4
RE: [Tool] 3DS Max Import/Export Scripts

thank you for the importer, im having a little trouble with a model though, when i apply the texture the texture looks as if it is stretched out, is there anyway to fix this? either in max or an update to the importer?
 

rosuto

New Member
Aug 1, 2011
69
1
0
#5
RE: [Tool] 3DS Max Import/Export Scripts

I've been sitting on a new version for months that fixes a number of bugs, simplifies a few things, and a new calculation for normal that improves lighting. So I have finally uploaded it because you reminded me to.

So I kind of need a bit more info on what you are working on before I have a clue of what might be the issue.

1) Is it a new model, edited model, or existing model?
2) Is it a new texture, edited texture, or old texture?
3) Is the issue in 3ds max or only in game?
 

luke9511

New Member
May 1, 2013
21
0
0
#6
RE: [Tool] 3DS Max Import/Export Scripts

rosuto said:
I've been sitting on a new version for months that fixes a number of bugs, simplifies a few things, and a new calculation for normal that improves lighting. So I have finally uploaded it because you reminded me to.

So I kind of need a bit more info on what you are working on before I have a clue of what might be the issue.

1) Is it a new model, edited model, or existing model?
2) Is it a new texture, edited texture, or old texture?
3) Is the issue in 3ds max or only in game?
sorry for the late reply, it is a model from the game itself, it is called corellian_corvette_2005e3_r66_bridge66_mesh_r66.msh i extracted it and the textures from the tre files, i can upload the model and some of its textures if you want me too, but there have been a few other models that have done the same, this screenshot is from 3d object converter but it is the exact same problem
http://imageshack.us/a/img687/7391/textureissues.jpg

EDIT i just downloaded the updated version you uploaded above and now it works perfectly! thanks!
 

luke9511

New Member
May 1, 2013
21
0
0
#7
RE: [Tool] 3DS Max Import/Export Scripts

i am getting an error when trying to import this file here
thm_spc_star_destroyer_s01_r45_reactorctrl_mesh_r45.msh
http://img18.imageshack.us/img18/5177/vrzk.jpg
http://img22.imageshack.us/img22/2374/s5qf.jpg

so far thats the only file i am having issues with
 

rosuto

New Member
Aug 1, 2011
69
1
0
#8
RE: [Tool] 3DS Max Import/Export Scripts

luke9511 said:
i am getting an error when trying to import this file here
thm_spc_star_destroyer_s01_r45_reactorctrl_mesh_r45.msh
http://img18.imageshack.us/img18/5177/vrzk.jpg
http://img22.imageshack.us/img22/2374/s5qf.jpg

so far thats the only file i am having issues with
Extract the file again. That is what I had to do after I noticed all my star destroyer files were actually empty. Once I did that, the file imported just fine.
 

luke9511

New Member
May 1, 2013
21
0
0
#9
RE: [Tool] 3DS Max Import/Export Scripts

rosuto said:
luke9511 said:
i am getting an error when trying to import this file here
thm_spc_star_destroyer_s01_r45_reactorctrl_mesh_r45.msh
http://img18.imageshack.us/img18/5177/vrzk.jpg
http://img22.imageshack.us/img22/2374/s5qf.jpg

so far thats the only file i am having issues with
Extract the file again. That is what I had to do after I noticed all my star destroyer files were actually empty. Once I did that, the file imported just fine.
nope that didnt work, i tried restarting my computer and the program tre explorer but when i try to import that one file i get that error
 

rosuto

New Member
Aug 1, 2011
69
1
0
#10
RE: [Tool] 3DS Max Import/Export Scripts

Ah, found the issue. In patch 5 the star destroyer was put into the game. In patch 11 the model was removed from the game by making all the files 0 kB. So if you want the files with actual data, go to patch 5.
 

luke9511

New Member
May 1, 2013
21
0
0
#11
RE: [Tool] 3DS Max Import/Export Scripts

rosuto said:
Ah, found the issue. In patch 5 the star destroyer was put into the game. In patch 11 the model was removed from the game by making all the files 0 kB. So if you want the files with actual data, go to patch 5.
strange i just checked that and both files have the same number but different names the one i could not open is thm_spc_star_destroyer_s01_r45_reactorctrl_mesh_r45 and the one from patch 5 was thm_spc_star_destroyer_s01_r45_cooling_mesh_r45 dont know if they were at some point the same or not but either way it works now though that one was the only one that didnt work but thanks anyway and thanks for the awesome importer!
 
Oct 13, 2010
108
0
16
www.moddb.com
#12
RE: [Tool] 3DS Max Import/Export Scripts

There seems to be an issue with the importer script and measurement units.

The script seemingly ignores the system units setting and just straight imports the mesh without scaling it to the chosen system unit.

I imported the cloning facility mesh with 1 unit = 1 meter, then I imported a character model that is around 5-6 feet tall converted over to meters.

The result was that the character was effectively a titan in comparison to the cloning facility (being the metric equivalent of 6 feet tall) while the cloning facility was considerably smaller than the character.
 

luke9511

New Member
May 1, 2013
21
0
0
#13
RE: [Tool] 3DS Max Import/Export Scripts

ok so i have been busy with rl work and just tried to import the interior for the VT49 ship and got the following error, hope you can help! it was also for the lounge part of the model and it also happend on a few others aswell
 

rosuto

New Member
Aug 1, 2011
69
1
0
#14
RE: [Tool] 3DS Max Import/Export Scripts

luke9511 said:
ok so i have been busy with rl work and just tried to import the interior for the VT49 ship and got the following error, hope you can help! it was also for the lounge part of the model and it also happend on a few others aswell
I tracked down the issue. The file in question uses a 28bpv, something I didn't know existed. So I will have to figure out what all 28 bits mean first before I can do anything about it.
 

luke9511

New Member
May 1, 2013
21
0
0
#15
RE: [Tool] 3DS Max Import/Export Scripts

no problem and thanks again for the awesome plugin, if i find any other errors i will let you know! keep up the great work!
 

Timbab

Administrator
Staff member
Administrator
Moderator
Oct 6, 2010
1,044
40
48
28
Magna Germania
#18
RE: [Tool] 3DS Max Import/Export Scripts

You can import new models with this too, anything model related really.

Works only for .msh though, .mgn is still off limits.
 

Melecon

New Member
Oct 13, 2015
6
0
1
#20
I am sorry for the resurrection post....

I am having issues with getting the textures with the models. Dos anyone still have documentation or a place to look on how to pull .msh from the TRE with the textures?