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

Post Reply
SergeantDogma
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?

Post by SergeantDogma »

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)
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: A swbf MSH Viewer update?

Post by Anakin »

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.
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: A swbf MSH Viewer update?

Post by Oceans14 »

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.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: A swbf MSH Viewer update?

Post by Marth8880 »

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.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: A swbf MSH Viewer update?

Post by Anakin »

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

https://www.dropbox.com/s/55qs8zcw9gfxr ... r.exe?dl=0
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: A swbf MSH Viewer update?

Post by thelegend »

It tells me that glut32.dll is missing.
Edit: Downloaded and it's working now.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: A swbf MSH Viewer update?

Post by Anakin »

all right so i know i need to add the dll to the download :D
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: A swbf MSH Viewer update?

Post by AceMastermind »

Anakin wrote:Someone wanna test whether this is working on every system?
Image
Windows XP SP3 :)
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: A swbf MSH Viewer update?

Post by Anakin »

: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
Post Reply