Page 1 of 1

Object viewer

Posted: Fri Nov 28, 2008 1:45 am
by allmhuran
Not sure if this is already on the site somewhere, if not I suggest someone grab it and put it on mech2.org.

It's a 3d viewer for objects in the PRJ. Very useful for building new missions or mechs.

http://www.geocities.com/k_lupinsky/Mods/objv32.zip

Re: Object viewer

Posted: Fri Nov 28, 2008 1:58 am
by Skyfaller
As an alternative, you can use MechVM's "View File" option on MW2.PRJ, Database.MW2, NET.PRJ, even with some of MW3's ZBD files. It also supports exporting single files in more useful file types like BMP or OBJ and unpacking the entire PRJ. I haven't used or seen the other extractor/viewer, and would like to know how they compare. Could you post a screenshot?

Putting stuff back into the PRJ works only limited in MechVM. There may be errors when replacing files with larger ones, and reversing the conversion is not yet possible.

You can find MechVM screenshots here: 1, 2, 3.

Re: Object viewer

Posted: Fri Nov 28, 2008 2:01 am
by allmhuran
Nice!

There's not much to see in the program I linked. It shows a list of all asset names in the PRJ on the left, and a zoomable wireframe on the right. That's it. It was probably written over 10 years ago... :P

By the way... yes... the PRJ cannot be expanded simply by inserting data. All entities in the PRJ are referenced by the mechwarrior code by their absolute position in the file IIRC. Maybe wasm can get around this problem, but that's a complete guess.

Re: Object viewer

Posted: Sat Nov 29, 2008 9:57 am
by Col.Kell
There is yet another alternative, there is still a program called "mw2edit3D" on sarna.net in the downloads section of Mercenaries. It is primarily used to build missions whle giving you a 3D gods-eye-view of your map, but it has this tool that lets you view WTB files as well, it is better then MVM at displaying large terrain objects and the like. But the small stuff like mech pieces and vehicles, it is no good at that. But overall, you want MechVM. You'll soon find it is just riddled with goodies for mods.

Re: Object viewer

Posted: Fri Dec 05, 2008 3:47 am
by Endymion
I'm still amazed by what Mike and Pat did back then.

Re: Object viewer

Posted: Tue Feb 10, 2009 8:08 am
by Col.Kell
Here are some pix of the object viewer, I was stumbling around and I think this will work great as an alternitive to MechVM since I can't figure out a darn thing about OpenGL :)
objv32_a.png
objv32_a.png (41.8 KiB) Viewed 8448 times
objv32_b.png
objv32_b.png (53.53 KiB) Viewed 8446 times
What I like about this program is that there is an xyz axis in the middle of the screen as to provide a sense of scale to the viewed objects, and you can zoom in, out, and rotate the object wherever by just the click-and-hold of a mouse.