Update to SWBF MSH Viewer
Moderator: Moderators
-
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Sep 09, 2008 7:27 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: UK
- Contact:
Update to SWBF MSH Viewer
Hi - I've been out of it for a while, but I've updated the latest viewer for MSH files. All model file geometries now display correctly and load neatly (i.e. centred and zoomed)
I've finally mastered the transforms which means a model's skeleton (bones) could be edited in future versions. All I need to do now is master skinning! I've also included directory list files so you don't need to let the viewer scan through all the SWBF folders for 1st time users. These will only work correctly if you haven't modified the SWBF SDK directories (i.e. added/changed/deleted files). If in doubt, just let the viewer look for the files or click 'No' if you don't want to.
Have fun - here's the link http://sites.google.com/site/swbfmodding/swbf-tools
I've finally mastered the transforms which means a model's skeleton (bones) could be edited in future versions. All I need to do now is master skinning! I've also included directory list files so you don't need to let the viewer scan through all the SWBF folders for 1st time users. These will only work correctly if you haven't modified the SWBF SDK directories (i.e. added/changed/deleted files). If in doubt, just let the viewer look for the files or click 'No' if you don't want to.
Have fun - here's the link http://sites.google.com/site/swbfmodding/swbf-tools
- Fluffy_the_ic
- Hoth Battle Chief
- Posts: 3223
- Joined: Thu Jan 24, 2008 7:03 pm
- xbox live or psn: fluffytherc
- Location: she/her
- Contact:
Re: Update to SWBF MSH Viewer
niiiiiice.... So by editing a unit's skeleton, what do you mean by that? Change the skeleton, making new anims, rescale the skeleton, or just apply a skeleton? And are you still not doing bumpmaps?
-
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Sep 09, 2008 7:27 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: UK
- Contact:
Re: Update to SWBF MSH Viewer
... it means that the overall model (inc. skeleton) could be modified although I must admit altering the envelopes/weights is a little more complicated! I've got a grip on how these things work in the MSH file but it might take too much work to write an editor for them! Bumpmaps are possible using pixel shaders, but this needs further investigation too.Fluffy_the_ic wrote:niiiiiice.... So by editing a unit's skeleton, what do you mean by that? Change the skeleton, making new anims, rescale the skeleton, or just apply a skeleton? And are you still not doing bumpmaps?
For now, I'm continuing to write file converters in the Viewer so you can drop VRML/OBJ/3DS files in and save them as MSH. I've already finished VRML>MSH which can be seen in the BF1 demo I did.
- Sky_216
- Droid Pilot Assassin
- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Update to SWBF MSH Viewer
Hardly found any VRML files but converting obj.s (simply)
ANd editing stuff in viewer.....
Anyway, thanks for this, great program you've made here, very useful I (and I'm sure many many other) modders use this reguarly (so good for skinning...no more 'munge and play every time'). Great job!

ANd editing stuff in viewer.....

Anyway, thanks for this, great program you've made here, very useful I (and I'm sure many many other) modders use this reguarly (so good for skinning...no more 'munge and play every time'). Great job!

-
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Sep 09, 2008 7:27 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: UK
- Contact:
Re: Update to SWBF MSH Viewer
... erm, yes ... yo could say it 'hacks' the obj format for now! You can get VRML files from www.turbosquid.com, and be specific when searching in google; search for 'VRML buildings' or 'VRML avatar' etc... You can also search for X3D (based on VRML) and WRL files (these are VRML files)Skyhammer_216 wrote:Hardly found any VRML files but converting obj.s (simply)![]()
ANd editing stuff in viewer.....![]()
Anyway, thanks for this, great program you've made here, very useful I (and I'm sure many many other) modders use this reguarly (so good for skinning...no more 'munge and play every time'). Great job!
There's quite a bit out there although, as with all free stuff, you need to filter the junk
-
- Master of the Force
- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: Update to SWBF MSH Viewer
for end a version where the custom clone's model look good 

-
- Jedi
- Posts: 1192
- Joined: Thu Oct 16, 2008 4:05 pm
Re: Update to SWBF MSH Viewer
Great work Tipam!
I got a problem, though. Whenever I open up a BF1 msh, I get an error saying "an exception of class NilObjectException was not handled." How do I look at BF1 msh's? Do I need to move the BFBuilder folder?
I got a problem, though. Whenever I open up a BF1 msh, I get an error saying "an exception of class NilObjectException was not handled." How do I look at BF1 msh's? Do I need to move the BFBuilder folder?
-
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Sep 09, 2008 7:27 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: UK
- Contact:
Re: Update to SWBF MSH Viewer
... does this mean you haven't loaded any models yet or only BF1 ... if only BF1, can you give me an example just in case it crashes on my comp too?Null_1138 wrote:Great work Tipam!
I got a problem, though. Whenever I open up a BF1 msh, I get an error saying "an exception of class NilObjectException was not handled." How do I look at BF1 msh's? Do I need to move the BFBuilder folder?
-
- Corporal
- Posts: 144
- Joined: Sat Apr 05, 2008 4:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Update to SWBF MSH Viewer
The SWBF1 file list looks for the files in C:/LucasArts/BFBuilder/Assets, so if it isnt there make a folder called LucasArts then BFBuilder and then copy and paste the Assets folder there. This worked for meNull_1138 wrote:Great work Tipam!
I got a problem, though. Whenever I open up a BF1 msh, I get an error saying "an exception of class NilObjectException was not handled." How do I look at BF1 msh's? Do I need to move the BFBuilder folder?

- Delta-1035
- Sith Master
- Posts: 2651
- Joined: Mon Aug 04, 2008 10:32 am
- Projects :: TOR GCWII GCW1035 BF1035
- xbox live or psn: Johnny_Sciroppo
- Location: Pizza Land
Re: Update to SWBF MSH Viewer
Yes! this version works perfectly!
-
- Jedi
- Posts: 1192
- Joined: Thu Oct 16, 2008 4:05 pm
Re: Update to SWBF MSH Viewer
EDIT: Ok, copying the entire Assets folder would have taken me 3 hours. No way, I thought, so I copied the Sides and the Shipped Worlds folders and put them in Lucasarts/BFBuilder/Assets.MasterFang1 wrote:The SWBF1 file list looks for the files in C:/LucasArts/BFBuilder/Assets, so if it isnt there make a folder called LucasArts then BFBuilder and then copy and paste the Assets folder there. This worked for meNull_1138 wrote:Great work Tipam!
I got a problem, though. Whenever I open up a BF1 msh, I get an error saying "an exception of class NilObjectException was not handled." How do I look at BF1 msh's? Do I need to move the BFBuilder folder?.
But I still get the same error. I'm starting to think, by the looks of the error, it has something to do with the MSH's themselves. "NilObjectException" sounds like a) a LUA command, or b) a property of some sort of the MSH. Anyone have any ideas?
- Delta 47
- Jedi
- Posts: 1127
- Joined: Sun Dec 23, 2007 12:07 am
- xbox live or psn: Delta811
- Location: MI, USA
- Contact:
Re: Update to SWBF MSH Viewer
Gonna try out this new version right away, your really doing a great job with this!
-
- Private
- Posts: 41
- Joined: Tue Oct 23, 2007 12:54 am
Re: Update to SWBF MSH Viewer
Yeah, great job!!! I'm going to try this out too!
-
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Sep 09, 2008 7:27 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: UK
- Contact:
Re: Update to SWBF MSH Viewer
Have you tried dragging and dropping a MSH file onto the Viewer? ... if this still doesn't work, could you let me know what graphics card you're using (inc. mem size) ... the Viewer only supports OpenGL for now.Null_1138 wrote:EDIT: Ok, copying the entire Assets folder would have taken me 3 hours. No way, I thought, so I copied the Sides and the Shipped Worlds folders and put them in Lucasarts/BFBuilder/Assets.MasterFang1 wrote:The SWBF1 file list looks for the files in C:/LucasArts/BFBuilder/Assets, so if it isnt there make a folder called LucasArts then BFBuilder and then copy and paste the Assets folder there. This worked for meNull_1138 wrote:Great work Tipam!
I got a problem, though. Whenever I open up a BF1 msh, I get an error saying "an exception of class NilObjectException was not handled." How do I look at BF1 msh's? Do I need to move the BFBuilder folder?.
But I still get the same error. I'm starting to think, by the looks of the error, it has something to do with the MSH's themselves. "NilObjectException" sounds like a) a LUA command, or b) a property of some sort of the MSH. Anyone have any ideas?
Tks.
-
- Chief Warrant Officer
- Posts: 327
- Joined: Wed Jun 28, 2006 12:56 pm
- Projects :: The Pwnfest and Games Complex
- xbox live or psn: You and I Know
- Location: The Old Republic
- Contact:
Re: Update to SWBF MSH Viewer
Neat, I'll have to try this. Good work 

-
- Jedi
- Posts: 1192
- Joined: Thu Oct 16, 2008 4:05 pm
Re: Update to SWBF MSH Viewer
Drag and drop? I can't even click on a BF1 MSH without the error popping up. That's what happens, I click once on a MSH (working ones), and it shows up in the viewer.tipam wrote:Have you tried dragging and dropping a MSH file onto the Viewer? ... if this still doesn't work, could you let me know what graphics card you're using (inc. mem size) ... the Viewer only supports OpenGL for now.
Tks.
As for a graphics card: I'm running on a Radeon-9600. However, I solved the OpenGL problem when I downloaded Blender. I think the fix was an ATI driver, but that was a while ago...
-
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Sep 09, 2008 7:27 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: UK
- Contact:
Re: Update to SWBF MSH Viewer
OK - I think I know what it is - don't use the SWBF_BF1 file I put with the program (i.e. delete it). When you run up the viewer, it will ask to scan for BF1 files - say yes and it will take around 5 mins to scan all your BF1 models (seemingly doing nothing - please wait). The reason why you're getting "Nil Object ... " errors is because it can't find the file. I'll fix the code now so it throws a correct error.Null_1138 wrote:Drag and drop? I can't even click on a BF1 MSH without the error popping up. That's what happens, I click once on a MSH (working ones), and it shows up in the viewer.tipam wrote:Have you tried dragging and dropping a MSH file onto the Viewer? ... if this still doesn't work, could you let me know what graphics card you're using (inc. mem size) ... the Viewer only supports OpenGL for now.
Tks.
As for a graphics card: I'm running on a Radeon-9600. However, I solved the OpenGL problem when I downloaded Blender. I think the fix was an ATI driver, but that was a while ago...
-
- Jedi
- Posts: 1192
- Joined: Thu Oct 16, 2008 4:05 pm
Re: Update to SWBF MSH Viewer
Sounds good, Tipam. But uh, where do I delete the BF1 "you put with the program?"tipam wrote:OK - I think I know what it is - don't use the SWBF_BF1 file I put with the program (i.e. delete it). When you run up the viewer, it will ask to scan for BF1 files - say yes and it will take around 5 mins to scan all your BF1 models (seemingly doing nothing - please wait). The reason why you're getting "Nil Object ... " errors is because it can't find the file. I'll fix the code now so it throws a correct error.Null_1138 wrote:Drag and drop? I can't even click on a BF1 MSH without the error popping up. That's what happens, I click once on a MSH (working ones), and it shows up in the viewer.tipam wrote:Have you tried dragging and dropping a MSH file onto the Viewer? ... if this still doesn't work, could you let me know what graphics card you're using (inc. mem size) ... the Viewer only supports OpenGL for now.
Tks.
As for a graphics card: I'm running on a Radeon-9600. However, I solved the OpenGL problem when I downloaded Blender. I think the fix was an ATI driver, but that was a while ago...
-
- General
- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: Update to SWBF MSH Viewer
I can't seem to download this
-
- Recruit Womprat Killer
- Posts: 7
- Joined: Tue Sep 09, 2008 7:27 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: UK
- Contact:
Re: Update to SWBF MSH Viewer
The SWBF_BF1 file is the in the zip you downloaded - when you extracted the zip, it should have extract the SWBF_BF1 file which can be found in the same directory as the Viewer - this is the one you need to remove.Null_1138 wrote:Sounds good, Tipam. But uh, where do I delete the BF1 "you put with the program?"tipam wrote:
OK - I think I know what it is - don't use the SWBF_BF1 file I put with the program (i.e. delete it). When you run up the viewer, it will ask to scan for BF1 files - say yes and it will take around 5 mins to scan all your BF1 models (seemingly doing nothing - please wait). The reason why you're getting "Nil Object ... " errors is because it can't find the file. I'll fix the code now so it throws a correct error.