MSH Suite

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

User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: MSH Suite

Post by ANDEWEGET »

Yeah, I write everything in python if possible. I only switch to other languages if python is clearly not fast enough (or if python is not supported as a plug in/script language). I used quite some languages in the last year or so and IMO python beats them all (except in performance). It's straight forward and minimalistic, that suites me very well. :D
Unless you want to render complex 3D scenes in real time(like games) or want to do some very heavy processing I would recommend it to anyone. ;)
It's possible to extend python with C(++) and you can incorporate python into C(++) programs, so if you know python and C(++) nothing can stand in your way (at least for desktop applications). :D
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: MSH Suite

Post by AceMastermind »

I'm encountering this error whenever I click on the Bounding Box button from the Scene Info tab:

Code: Select all

Traceback (most recent call last):
  File "mshsuite.py", line 100, in edit_bbox
    self.bd = dialogs.BBoxDialog(self.info.bbox,
NameError: global name 'dialogs' is not defined
I'm also seeing these regularly when opening a msh:

Code: Select all

Unrecognized chunk CL1L in GeometryUnpack.
Model Segments: Header, Size: CL1L, 0
Unrecognized chunk CL1L in ModelUnpack(Geometry)
Model: Header, Size: CL1L, 0
Unrecognized chunk CL1L in ModelUnpack.
Header, Size: CL1L, 0
Those errors don't exist in version 2.

Python 2.6
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: MSH Suite

Post by ANDEWEGET »

ANDEWEGET wrote:
ANDEWEGET wrote:1. I switched some things around before the last release, seems I forgot to change that variable name.
2. These are no 'real' errors. It just prints that because CL1L doesn't belong to for example MODL and it's children. It shouldn't 'crash' or break any functionality.

I suppose I'll switch to github for the 'hosting' of this project. Makes it a lot easier to make quick fixes/changes than uploading a 7z everytime. Then I can fix that problem with spaces in the path and that dialog error, too.
You can find the mshsuite at https://github.com/Schlechtwetterfront/mshsuite now.
Press the ZIP button on that page to download the mshsuite (without PySide or pywin).
The archive and folder will be called mshsuite-master, which fits awesomely but just is the name of the main branch.

That BBox dialog error is already fixed, I just forgot to upload the latest version.
These updates truly are sporadic.
Implemented the beginnings of geometry editing because I felt like it. You can now edit vertices (position, normal, UV, color). However if there was no vertex colors chunk in the original .msh file it won't be changed.
Edit them by double-clicking any model, then choose the Segment you want to edit and hit 'Edit'. Then you can double click any Vertex and change stuff.

As mentioned up there in the quotes you can download it from the repository with the ZIP button.
Post Reply