MSH to XSI

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
Nobandwidth25
Private
Posts: 32
Joined: Mon Jul 04, 2011 12:22 am
Projects :: No Mod project currently.
Games I'm Playing :: Battlefront II
xbox live or psn: No gamertag set

MSH to XSI

Post by Nobandwidth25 »

I've seen instances where people have tweaked stock props (adding interiors to the stock Tatooine buildings, etc.) How would you go about turning the .msh file back into a .exp file? I'm also still cloudy about how to turn an .exp into a .msh. The guides have confused me pretty badly.
User avatar
acryptozoo
Master Bounty Hunter
Master Bounty Hunter
Posts: 1642
Joined: Wed Jun 03, 2009 3:14 pm
Projects :: Yavin Mappack
Games I'm Playing :: Homeworld 2
xbox live or psn: acryptozoo
Location: in the jungles of Yavin IV
Contact:

Re: MSH to XSI

Post by acryptozoo »

Nobandwidth25 wrote:I've seen instances where people have tweaked stock props (adding interiors to the stock Tatooine buildings, etc.) How would you go about turning the .msh file back into a .exp file? I'm also still cloudy about how to turn an .exp into a .msh. The guides have confused me pretty badly.
you can use repsharpshooters meshtool to convert .msh to .obj and you can import obj in XSI
User avatar
Unlucky13
Sergeant Major
Sergeant Major
Posts: 239
Joined: Mon Jan 24, 2011 11:11 am
Projects :: Models models models
Games I'm Playing :: Random stuff

Re: MSH to XSI

Post by Unlucky13 »

I thought that I would make a simple tutorial since there is none.

SWBF II to Xsi
1. Download Meshtool.
http://www.gametoast.com/forums/viewtop ... 64&t=14857
2. Copy the msh file you want to convert to the same file as meshtool and run meshtool.
3. Type in the entire file name including .msh. Hit enter then type import and hit enter again.
4. Import the obj. into xsi and make the changes you wish.

Xsi to SWBF II
1. Download Meshex.
http://www.gametoast.com/forums/viewtop ... 64&t=15082
2. RepSharpshooter wrote this step a lot better than I could.
RepSharpshooter wrote:Instructions:
  1. Put everything you're going to export under a null (not the scene root).
  2. In the scene explorer, middle-mouse click the name of the null.
  3. Go to File, Crosswalk, Export (it should be on 6.0 text when it pops up).
  4. Click the Settings tab.
  5. Select a filename/filepath.
  6. CHECK "EXPORT SELECTION ONLY"
  7. CHECK "CONVERT GEOMETRY TO TRIANGLES" or "CONVERT MESHES TO TRIANGLES"
  8. CHECK "EXPORT XSI NORMALS"
  9. UNCHECK "Keep referenced paths relative"
  10. Press Export.
  11. Run mshex in same directory and convert file to a msh. (and if you're really stupid to put it bluntly, this means put the .xsi file in the same folder as mshex.exe and hedr.msh, then double click on mshex. Then type in the .xsi name such as box.xsi)
3. Open notepad and make a file called example.odf (example is the name of your .msh).
4. Open the odf and paste this in it and save (again example is the name of your .msh).
[GameObjectClass]

ClassLabel = "prop"
GeometryName = "example.msh"


[Properties]

GeometryName = "example"

FoleyFXGroup = "stone_foley"
5. Copy the msh file, the odf file, and the texture files that you used into your world1 folder and try it out.
GrownCow
Private Recruit
Posts: 27
Joined: Thu Jul 28, 2011 4:43 pm
Projects :: idk
Games I'm Playing :: MOH EuropeanAssualt
xbox live or psn: GrownCow
Location: climbing Mamayev Hill

Re: MSH to XSI

Post by GrownCow »

ive been waiting for a simple tut like this one and im sure it will help new modelers like myself cause the guides can get pretty confusing at times, and i might ask if you dont put that foley effects line in the odf will your object not show up in ze (i would try but im on vacations on someone else's conputer)
User avatar
Unlucky13
Sergeant Major
Sergeant Major
Posts: 239
Joined: Mon Jan 24, 2011 11:11 am
Projects :: Models models models
Games I'm Playing :: Random stuff

Re: MSH to XSI

Post by Unlucky13 »

Yes it shows up in ze and ingame. Correct my if I am wrong but the the stone part in FollyFx tells the game what the object is made of so that the weapons and such can respond acordingly.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: MSH to XSI

Post by THEWULFMAN »

Unlucky13 wrote:Correct my if I am wrong but the the stone part in FollyFx tells the game what the object is made of so that the weapons and such can respond acordingly.
Close. It actually just sets what it sounds like to walk on.
Nobandwidth25
Private
Posts: 32
Joined: Mon Jul 04, 2011 12:22 am
Projects :: No Mod project currently.
Games I'm Playing :: Battlefront II
xbox live or psn: No gamertag set

Re: MSH to XSI

Post by Nobandwidth25 »

I'm still lost... how do you get all you objects from the scene root to a null?
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: MSH to XSI

Post by Darth_Spiderpig »

Create the null, name it DummyRoot, hit 8 to bring up the explorer, select all your components and drag n drop them under the null.
Easy peasy.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: MSH to XSI

Post by Fiodis »

Just as an alternative conversion option, Skyhammer a while back used MSH Viewer to convert models to VRML 2.0 and used Vivaty to convert those to .xsi. I've used that method many times myself, especially with more complex models like vehicles, since MSH Viewer only converts the model to VRML and not the collision mesh/primitives/shadow volume, unlike Meshtool which lumps everything into one .obj file.
Post Reply