![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
12-25-11, 04:12 AM
|
#1 |
|
Captain
![]() Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
|
Watching TDW working on improving SH5 is the best Christmas present!
|
|
|
12-25-11, 04:49 AM
|
#2 |
|
Watch
![]() Join Date: Dec 2009
Posts: 20
Downloads: 91
Uploads: 0
|
|
|
|
12-25-11, 08:05 AM
|
#3 |
|
Weps
![]() Join Date: Sep 2002
Location: SW France
Posts: 358
Downloads: 137
Uploads: 0
|
Seasons Greetings to all.
Thanks for the latest version TDW. Unfortunately, I am still getting the error and it now appears before I try to load anything. It is slightly different, as follows:- "Exception is: Error in the application. ********* ********* Exception caught in OnPaint" When I ran DbgView I also noticed quite a few lines with the following error message:- 00000714 13.52196884 [4080] LODError 0x10B3C (0x10D04) Any ideas, please? I also note that the application window doesn't fit on my resolution (1440 x 900) - what resolution do you run at? Regards MLF
__________________
Je pense donc je fuis! |
|
|
12-25-11, 10:17 AM
|
#4 |
|
The Old Man
![]() |
Merry XMass to all.
![]() Using new version I was able to edit the Conning_7B_01.GR2 file. ![]() @ TDW Do you know when adding new Node's will be implemented? ![]() I currently see refferences that suggest this functionality is being worked on. Regards! TheBeast |
|
|
12-25-11, 11:49 AM
|
#5 |
|
Black Magic
![]() |
It's continually being worked on. Once I find an algorithm that works then I can finally start adding new items to GR2 files. The algorithm that I'm looking for is the order in which to redo the pointers (that I know of - there may be more pointers that I'm not aware of which would invalidate the algorithm all together).
|
|
|
12-25-11, 11:59 AM
|
#6 | |
|
Black Magic
![]() |
Quote:
That LODError is from a file. It appears you tried to load a file. It's something it read from the file. I'd like to see the full DbgView output if possible. What I'd like to see from it is you run the app. After it's loaded don't try to load anything. Move the camera around with the mouse for a little bit. Then try to load a file. Ensure Debug is enabled (under Misc tab) I might also code up something that will read your video card's capabilities and output it all to text file so I can see if there's something I've coded in thinking will work with anyone's video card that actually isn't and have you run it ![]() Can you run my SH map viewer app found in \data\Applications of my UIs mod without problem? |
|
|
|
12-25-11, 02:50 PM
|
#7 |
|
Lieutenant
![]() Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
|
I've tried to open CharacterBodyParts.gr2 in /data/Characters it gave a lot of 'this app cannot open image...' errors then complained about unknown 'BoneWeight' vertex.
Is it yet to early to open this file in GR2EVI? |
|
|
12-25-11, 03:36 PM
|
#8 |
|
Black Magic
![]() |
|
|
|
12-25-11, 05:04 PM
|
#9 |
|
Black Magic
![]() |
Have the unknown vertex component names added - all is good there.
The bad: what I interpreted bone bindings as was which bone (only 1) the mesh was bound to. This was a totally incorrect assumption from trying to load the \data\CharactersCharacterBodyParts.gr2 Now I see what the purpose of these bone bindings are: for skinned meshes.This causes me to rethink many things I assumed when creating this... I think the assumption I made about the bone binding (only 1) still holds true for how a mesh is placed in the world. But this makes me question if SH5 is following this rule Has anyone tried moving a bone (say a funnel or something) and seeing what the effects are in-game yet?
|
|
|
12-30-11, 04:07 PM
|
#10 | |
|
Weps
![]() Join Date: Sep 2002
Location: SW France
Posts: 358
Downloads: 137
Uploads: 0
|
Quote:
Sorry for the delay in replying - family chrimbo type things took over. I have tried on a 3rd PC and also on a vmware install and same problem. Directly it loads and shows the "Mickey Mouse" screen it errors in the status window. One time I got the following when exiting:- See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at TheDarkWraith.SilentHunter5.GR2File.HasBeenModifie d() at TheDarkWraith.SilentHunter5.GR2EditorViewer.tsmiFi le_DropDownOpening(Object sender, EventArgs e) at System.Windows.Forms.ToolStripDropDownItem.OnDropD ownShow(EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnDropDownS how(EventArgs e) at System.Windows.Forms.ToolStripDropDownItem.ShowDro pDownInternal() at System.Windows.Forms.ToolStripDropDownItem.ShowDro pDown(Boolean mousePush) at System.Windows.Forms.ToolStripMenuItem.OnMouseButt onStateChange(MouseEventArgs e, Boolean isMouseDown) at System.Windows.Forms.ToolStripMenuItem.OnMouseDown (MouseEventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseDown (MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventIntera ctive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(Event Args e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseDown(MouseEv entArgs mea) at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.MenuStrip.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3082 (QFE.050727-3000) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- GR2EditorViewer Assembly Version: 1.0.477.0 Win32 Version: 1.0.477.0 CodeBase: file:///E:/GR2EditorViewerLatest/GR2EditorViewer.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Microsoft.DirectX.Direct3DX Assembly Version: 1.0.2902.0 Win32 Version: 5.04.00.3900 CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll ---------------------------------------- Microsoft.DirectX.Direct3D Assembly Version: 1.0.2902.0 Win32 Version: 9.05.132.0000 CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll ---------------------------------------- System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.21022.8 built by: RTM CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- Microsoft.DirectX Assembly Version: 1.0.2902.0 Win32 Version: 5.04.00.2904 CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll ---------------------------------------- Microsoft.VisualC Assembly Version: 8.0.0.0 Win32 Version: 8.00.50727.3053 CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll ---------------------------------------- ************** 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: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> 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. I cannot run SH map viewer without erroring. All in all I'm up the creek without a periscope which is a shame as this application looks like the works as far as adding new units, and modifying others. Don't like the feeling I'm missing something..... Regards MLF
__________________
Je pense donc je fuis! |
|
|
|
12-30-11, 05:33 PM
|
#11 |
|
Black Magic
![]() |
Franken-NVV was successfully saved to GR2 file and reloaded
![]() It even passed the Granny Viewer test (it loaded and loaded correctly) ![]() Such a simple exploit... |
|
|
12-30-11, 06:55 PM
|
#12 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
12-31-11, 12:42 AM
|
#13 |
|
Black Magic
![]() |
In order to verify that the texture coordinates are being written/read correctly I coded in something to view them. These are the first set of texture coordinates for the NVV hull 03. Something doesn't look right as they seem displaced a little to the right and down (things just don't line up right like the door below)
![]() I took the texture coordinates and subtracted 0.5f from X and added 0.5f to Y to get to screen coordinates (rendered as transformed primitives - thus already specified in screen space). I rendered them to a surface where the surface is the diffuse texture for NVV hull 03. I then saved this texture to a graphics stream and used that stream as input into creating an new image. The new window's background image was set to this image. I had the TextureLoader class save the texture (and thus the rendered surfaced) to file so I could display it here. Anyone have any ideas why it seems displaced?
|
|
|
01-02-12, 01:47 PM
|
#14 |
|
Weps
![]() Join Date: Sep 2002
Location: SW France
Posts: 358
Downloads: 137
Uploads: 0
|
I tried PM'ing this to you but failed - too big. Not sure how to get it to you, really
I had dbgview output for V1.409 when it errored on loading a GR2 file - that's what I'm trying to send. However I cannot get any dbgview output for later versions which error on loading the app (before loading a GR2) and when moving the mouse. Should I be able to run this app just by clicking on GR2EditorViewer.exe from any location on my PC? Regards, MLF
__________________
Je pense donc je fuis! |
|
|
12-25-11, 11:23 PM
|
#15 |
|
Ace of the deep .
|
Quite a few editions ago i could open the C:\Ubisoft\Silent Hunter 5\data\Env\cloud_models
Cannot open with the latest ones though . |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
