A swbf MSH Viewer update?

Talk and share anything related to Star Wars Battlefront 2. No maps or mod announcements here. Use Work in Progress forum.

Moderator: Moderators

Recruit Womprat Killer
Posts: 7
Joined: Fri Aug 19, 2016 10:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: BFII
xbox live or psn: No gamertag set

A swbf MSH Viewer update?

Postby SergeantDogma » Fri Aug 19, 2016 10:43 pm

Is the source files for the msh viewer are released?

Can we make changes? For example in the same time as viewing the .msh I want to see the model's texture(like in gimp)

Master of the Force
User avatar
Posts: 4754
Joined: Sat Sep 19, 2009 11:37 am
Location: Mos Espa (germany)
Projects :: Republic Commando Side Mod

Re: A swbf MSH Viewer update?

Postby Anakin » Sat Aug 20, 2016 4:53 am

i always wanted to update it. As far as i know it is written in C++. But we don't have the source. I wanted to fix the mesh movement when you press the keys outside the program and that there is the right menu shown by default at every start.
But we don't have the source and i don't know how to handle 3d objects in C++ and don't had the time to figure it out.

Command Sergeant Major
User avatar
Posts: 260
Joined: Mon Apr 27, 2015 7:09 pm
Location: New England
Games I'm Playing :: SWBF2

Re: A swbf MSH Viewer update?

Postby Oceans14 » Sat Aug 20, 2016 8:40 am

Since we're naming things we wish we could have in the viewer... It would be cool if it displayed a list of nulls in the model, useful if you forget the name of a hardpoint. Also perhaps some way to show/hide collision?
+1 to not having the side menu shown by default.

Resistance Leader
User avatar
Posts: 5104
Joined: Tue Feb 09, 2010 8:43 pm
Location: Greater Seattle Area
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Civ3 + DEHR
xbox live or psn: Marth8880

Re: A swbf MSH Viewer update?

Postby Marth8880 » Sat Aug 20, 2016 2:47 pm

Oceans14 wrote:It would be cool if it displayed a list of nulls in the model, useful if you forget the name of a hardpoint.

You can already sort of do that by looking through the mesh's hierarchy in the Debug window.
Hidden/Spoiler:
Image

Image

You can also do it by opening up the mesh in mshsuite. I too would like a visual solution, though.

Master of the Force
User avatar
Posts: 4754
Joined: Sat Sep 19, 2009 11:37 am
Location: Mos Espa (germany)
Projects :: Republic Commando Side Mod

Re: A swbf MSH Viewer update?

Postby Anakin » Mon Aug 22, 2016 6:31 am

Someone wanna test whether this is working on every system??

https://www.dropbox.com/s/55qs8zcw9gfxr ... r.exe?dl=0

Sith
User avatar
Posts: 1447
Joined: Thu Jan 23, 2014 6:01 am
Location: Right behind you :)
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#

Re: A swbf MSH Viewer update?

Postby thelegend » Mon Aug 22, 2016 6:48 am

It tells me that glut32.dll is missing.
Edit: Downloaded and it's working now.

Master of the Force
User avatar
Posts: 4754
Joined: Sat Sep 19, 2009 11:37 am
Location: Mos Espa (germany)
Projects :: Republic Commando Side Mod

Re: A swbf MSH Viewer update?

Postby Anakin » Mon Aug 22, 2016 7:03 am

all right so i know i need to add the dll to the download :D

Gametoast Staff
Posts: 3468
Joined: Mon Aug 21, 2006 6:23 am

Re: A swbf MSH Viewer update?

Postby AceMastermind » Mon Aug 22, 2016 11:57 am

Anakin wrote:Someone wanna test whether this is working on every system?


Image
Windows XP SP3 :)

Master of the Force
User avatar
Posts: 4754
Joined: Sat Sep 19, 2009 11:37 am
Location: Mos Espa (germany)
Projects :: Republic Commando Side Mod

Re: A swbf MSH Viewer update?

Postby Anakin » Sun Oct 16, 2016 10:36 am

:shock: you are still using XP??

Can i may ask you to try the new version of the pre alpha??
https://www.dropbox.com/s/bob59x30yn0iv ... a.rar?dl=0

i managed the uncompressed 24 and 23 bit tga files. You can move and rotate the cube. I used wasd for moving the camera and the arrow keys for rotating in x/y direction. for zooming you use e and q. Please tell me whether you used intuitive the right keys for moving left/right up/down zoom in/out and rotating. Or if you'd change the direction of the keys.

Your firewall may will say this is a virus. I needed to deactivate it to put the files in an archive :?

==UPDATE==

Ok i finished a first dummy test cube with imported texture. You can move the cube with left, right mouse klick and use scrolling for the zoom. If it moves too slowly for you, you can press + and - on the keyboard (german layout) or at the number pad to fasten/slow down the speed.

Please let me know if this works for you now. I'm using OpenGL 4.5 so if you may have an older driver it won't work. But i'm gonna make it possible to run it with lower OpenGL with the next updates.
The latest stable version can be found here:
https://github.com/GT-Anakin/MshViewer/ ... er/Release
You need to download the whole Release folder and run the exe. If you wanna look in the code, or try the latest updates, you need to compile the source at https://github.com/GT-Anakin/MshViewer/ ... /MshViewer
The 3DViewer Project is just old and ugly code :D


==UPDATE2==

So an other big update.
Hidden/Spoiler:
Image


Ok the triangles are still not 100% at the right position, but i got something from my file :D UV is still dummy, cause it Crashs and the texture file isn't read in but hardcoded.
But i'm getting closer :D

Return to SWBF2 General

Who is online

Users browsing this forum: No registered users and 1 guest