Alpha 1.1 Update
Greatly improved performance and camera navigation. Added a normal map generation tool, and a property viewer for packets.
The MDB Viewer allows the user to view the NWN2 MDB files in a graphical user interface. To Install just expand the zip into the same directory you installed the NWN2 pre-sale Toolset(The file placement will be different for the final game).
Please note this is an Alpha version and may contain bugs.
Added the significantly updated source for the viewer, I doubt I'll have time to update it, so I leave it to the community to do with what they will.
Posted by jester_v01 at 2007-03-13 06:14:43 Voted 9.00 on 03/13/07
This would be a very useful program for texture development - previewing stuff in the toolset is a pain. When you redo it would you please include an 'update' button that reloads the .mdb (and updated textures)
I apologize I've let this sit so long, real life intruded. The good news is over time I have been able to expand things a good bit, once I get a last couple of features nailed down and the bugs worked out I should have a new release with a good number of improvements and new features.
I'll probably release the file handling source at that time, the DX stuff is too ugly to let anyone see, though the file handling is at least a smidge better. Good news bad news is I'll probably be starting over using only said file handling bits, but I'll be making a system that should let development work much much faster and look better overall.
The error is likely due to the updated libraries for the final version of the toolset as compared to the pre-sale it was compiled under. I'm going to get a new version here soon. The CPU usage at 100% is expected, it's a DX app designed to hog as much as possible, but it should be playing nice with other threads. I'll look into getting the performance up a bit. Sorry I haven't been watching this space recently.
ok, series issues here. 1st off when i start the program up it uses my 3700+ san diego amd cpu at 100% non stop. wole system lags. like an endless loop issue in code.
next: i get a massive .Net error in application. too long to copy paste here.
next: when i try to actually open a model file it gives me this error message.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'OEIShared, Version=1.0.780.0, Culture=neutral, PublicKeyToken=6bb96f3d82daa243' or one of its dependencies. The system cannot find the file specified.
File name: 'OEIShared, Version=1.0.780.0, Culture=neutral, PublicKeyToken=6bb96f3d82daa243'
at cMDB_util.cMDBFile.parseFile()
at cMDB_util.cMDBFile..ctor(String path)
at MDB_TEST_FE.front_end.openMDB_dialog_FileOk(Object sender, CancelEventArgs e)
at System.Windows.Forms.FileDialog.OnFileOk(CancelEventArgs e)
at System.Windows.Forms.FileDialog.DoFileOk(IntPtr lpOFN)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: Link
----------------------------------------
MDB_Viewer
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: Link
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: Link
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: Link
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: Link
----------------------------------------
MDB_UTIL
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: Link
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: Link
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: Link
----------------------------------------
Microsoft.DirectX.Direct3DX
Assembly Version: 1.0.2911.0
Win32 Version: 9.12.589.0000
CodeBase: Link
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Great tool! But I have a problem when I try to open a sky ring model. Here it is what it says:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'OEIShared, Version=1.0.780.0, Culture=neutral, PublicKeyToken=6bb96f3d82daa243' or one of its dependencies. The system cannot find the file specified.
File name: 'OEIShared, Version=1.0.780.0, Culture=neutral, PublicKeyToken=6bb96f3d82daa243'
at cMDB_util.cMDBFile.parseFile()
at cMDB_util.cMDBFile..ctor(String path)
at MDB_TEST_FE.front_end.openMDB_dialog_FileOk(Object sender, CancelEventArgs e)
at System.Windows.Forms.FileDialog.OnFileOk(CancelEventArgs e)
at System.Windows.Forms.FileDialog.DoFileOk(IntPtr lpOFN)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: Link
----------------------------------------
MDB_Viewer
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: Link
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: Link
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: Link
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: Link
----------------------------------------
MDB_UTIL
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: Link
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: Link
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: Link
----------------------------------------
Microsoft.DirectX.Direct3DX
Assembly Version: 1.0.2911.0
Win32 Version: 9.12.589.0000
CodeBase: Link
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Hope it helps!
Posted by wisdomknight at 2006-11-07 11:23:57 Voted 10.00 on 11/07/06
I think its excellent work, wish i knew how to even begin to program, such a program. I can script in nwn toolset with ease, and have a c++ compiler, but this.... just don't know how.. anyhow..... I'll be watching this program and i just can't wait for the export function. I use gmax to model being able to import into that would be AWESOME!!
Posted by tazpn at 2006-10-30 05:59:43 Voted 10.00 on 10/30/06
Excellent tool. Love the editor as that will make certain workflows so much easier. Would be nice to view the vertices and faces as an advanced option. Things like the Hook/Helm/Hair points have special values that may need to manually edited. Walk meshs also have that unknown value in the face data that would be nice to see. (Perhaps put this data in a GridView?) Anyway it would be nice to view all of the different packets that are contained in the mdb. Keep up the good work.
You must be Logged In to post comments in this section.
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone