SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-05-16, 04:20 AM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Well done Rosomaha, thank you for sharing!

Just a suggestion: how difficult would be making S3ditor still able to read/edit old controller versions when in SH5 mode, maybe marking od controller versions with a different color?

...and a question:

Quote:
Originally Posted by Rosomaha View Post
  • Added new controllers. In a total quantity added / edited about 50 controllers.
    Controllers implemented on the basis of information from the *.act, *.dll, *.exe files.
If I got you right, you have found a number of controllers unused in stock SH's and/or unsupported by S3D? It would be interesting seeing a list of these new controllers.
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-05-16, 06:29 AM   #2
Rosomaha
Loader
 
Join Date: Nov 2012
Location: Russia
Posts: 83
Downloads: 72
Uploads: 1
Default

Hi, Gap!
Quote:
Originally Posted by gap View Post
Just a suggestion: how difficult would be making S3ditor still able to read/edit old controller versions when in SH5 mode, maybe marking od controller versions with a different color?
What for? If at any moment you can switch to a different configuration SH? - 3 configurations are done for this purpose.
But besides, in a single program S3D I do not see the possibility of the simultaneous presence of one operator with several different codes.

Quote:
Originally Posted by gap View Post
If I got you right, you have found a number of controllers unused in stock SH's and/or unsupported by S3D? It would be interesting seeing a list of these new controllers.
Just in case clarification: All controllers - this is an internal integral part of Silent Hunter. Other editors-programs can use them - if the “mirror” of the controller is recorded in the program code. To add a new controller - is to create a new “mirror” which was not previously in the program. To create a controller - this is Devs of SilentHunters. )

Yes.
In the file "SH-source documentation.pdf" which will appear in the root folder of S3D, when you install S3D-Configurator, you can see the details of this information. The new controllers highlighted in bold black.
-
more: adjusting each separate configuration, I not only changed a set of controllers, but also took into account the relevant operators / description of each part (DIAL_ / CMD_)

Last edited by Rosomaha; 10-05-16 at 07:08 AM.
Rosomaha is offline   Reply With Quote
Old 10-05-16, 07:11 AM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Rosomaha View Post
What for? If at any moment you can switch to a different configuration SH? - 3 configurations are done for this purpose.
Several units from SHIII-IV were imported in SH5. Some of them, still feature old controller versions which were updated in SH5. I suspect these old controllers being a potential cause of, so far, unexplained problems when used in SH5. Being able to see/edit the settings of SHIII-IV-5 controllers at once would ease the process of replacing old controller versions with their SH5 counterparts.

Quote:
Originally Posted by Rosomaha View Post
But besides, in a single program S3D I do not see the possibility of the simultaneous presence of one operator with several different codes.
Okay

Quote:
Originally Posted by Rosomaha View Post
Yes.
In the file "SH-source documentation.pdf" which will appear in the root folder of S3D, when you install S3D-Configurator, you can see the details of this information. The new controllers highlighted in bold black.
Thank you mate!
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-05-16, 09:18 AM   #4
Rosomaha
Loader
 
Join Date: Nov 2012
Location: Russia
Posts: 83
Downloads: 72
Uploads: 1
Default



The application - still crude and rough.. and do not forget, antivirus can block the process of installing and switching.
Practice and testing are necessary. I found one problem, now I think that I in vain separated group (inside S3D app blocks) of sh3 and sh4 controllers...
So, please report bugs.

Nevertheless, controllers adapted to Silent3Ditor and workable. Already now allow to edit in S3D the main part of parameters of units of SH5: characteristics of the units and weapons; FX effects - particle generators; *.sim submarines and etc.

Now we can edit already almost every files of units SH5 in S3D that we want, except GR2 files. ;
Rosomaha is offline   Reply With Quote
Old 10-05-16, 10:23 AM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Rosomaha View Post


The application - still crude and rough.. and do not forget, antivirus can block the process of installing and switching.
On my Windows 8.1 system, I had to lauch your program in administrator mode.

Quote:
Originally Posted by Rosomaha View Post
Practice and testing are necessary. I found one problem, now I think that I in vain separated group (inside S3D app blocks) of sh3 and sh4 controllers...
So, please report bugs.
So far I didn't find any, but talking about controller grouping I agree with you that it could be more intuitive. Personally, I would rather suppress the separation between SH3, SH4 and SH4 controllers.

Quote:
Originally Posted by Rosomaha View Post
Nevertheless, controllers adapted to Silent3Ditor and workable. Already now allow to edit in S3D the main part of parameters of units of SH5: characteristics of the units and weapons; FX effects - particle generators; *.sim submarines and etc.

Now we can edit already almost every files of units SH5 in S3D that we want, except GR2 files. ;
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-06-16, 03:59 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Rosomaha View Post
Just in case clarification: All controllers - this is an internal integral part of Silent Hunter. Other editors-programs can use them - if the “mirror” of the controller is recorded in the program code. To add a new controller - is to create a new “mirror” which was not previously in the program. To create a controller - this is Devs of SilentHunters. )
Sorry, I have just seen your edit.

Of course the real controllers are store in the executable or in the act, dll, etc files, and only someone who knows the source code could add new ones.

The way I see them, "controllers" stored in sim, zon, val, etc. files, are just tags, telling the game to apply a certain action (as defined by the corresponding hardcoded controller) to a certain object, followed by a list of configurable properties which are specific of that objec
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-09-16, 05:11 AM   #7
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Hi Rosomaha,
I think I have spotted a bug.

When I try previewing a model in SH5 mode, I get an unmanaged exception and the preview screen becomes black.
Text of the exception:

Code:
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   in System.ThrowHelper.ThrowKeyNotFoundException()
   in System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   in h5.h()
   in h5.c(c A_0)
   in bq.j(Object A_0, EventArgs A_1)
   in bm.a(EventArgs A_0)
   in bm.a(Boolean A_0)
   in bm.OnMouseClick(MouseEventArgs e)
   in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   in System.Windows.Forms.ContainerControl.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Assembly caricati **************
mscorlib
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000)
    Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
S3D
    Versione assembly: 1.0.0.0
    Versione Win32: 0.9.9.0
    Base di codice: file:///C:/Program%20Files%20(x86)/skwas/Silent%203ditor/S3D.EXE
----------------------------------------
System.Drawing
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.8019 (FX35W81RTMGDR.050727-8000)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Windows.Forms
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.8015 (FX35W81RTMGDR.050727-8000)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
skwas.Forms
    Versione assembly: 1.4.3504.37461
    Versione Win32: 1.4.3504.37461
    Base di codice: file:///C:/Program%20Files%20(x86)/skwas/Silent%203ditor/Bin/skwas.Forms.DLL
----------------------------------------
Dat
    Versione assembly: 1.4.3504.37462
    Versione Win32: 1.4.3504.37462
    Base di codice: file:///C:/Program%20Files%20(x86)/skwas/Silent%203ditor/Bin/Dat.DLL
----------------------------------------
System
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.8686 (QFE.050727-8600)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
S3D.Resources
    Versione assembly: 1.4.3504.37462
    Versione Win32: 1.4.3504.37462
    Base di codice: file:///C:/Program%20Files%20(x86)/skwas/Silent%203ditor/Bin/S3D.Resources.DLL
----------------------------------------
Microsoft.DirectX
    Versione assembly: 1.0.2902.0
    Versione Win32: 5.04.00.2904
    Base di codice: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
Microsoft.DirectX.Direct3DX
    Versione assembly: 1.0.2911.0
    Versione Win32: 9.12.589.0000
    Base di codice: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3DX/1.0.2911.0__31bf3856ad364e35/Microsoft.DirectX.Direct3DX.dll
----------------------------------------
Microsoft.DirectX.Direct3D
    Versione assembly: 1.0.2902.0
    Versione Win32: 9.05.132.0000
    Base di codice: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
System.Xml
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.8018 (FX35W81RTMGDR.050727-8000)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Dat.Shared
    Versione assembly: 1.4.3504.37461
    Versione Win32: 1.4.3504.37461
    Base di codice: file:///C:/Program%20Files%20(x86)/skwas/Silent%203ditor/Shared/Dat.Shared.DLL
----------------------------------------
System.Configuration
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.8007 (FX35W81RTMGDR.050727-8000)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Controllers
    Versione assembly: 0.0.0.0
    Versione Win32: 0.0.0.0
    Base di codice: file:///C:/Users/Gabriele.gap/AppData/Local/skwas/S3D_Asm/6d89b983/S3D/Controllers.DLL
----------------------------------------
skwas.Drawing
    Versione assembly: 1.4.3504.37461
    Versione Win32: 1.4.3504.37461
    Base di codice: file:///C:/Program%20Files%20(x86)/skwas/Silent%203ditor/Bin/skwas.Drawing.DLL
----------------------------------------
Accessibility
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.8007 (FX35W81RTMGDR.050727-8000)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Windows.Forms.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.7905 (win9rel.050727-7900)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
kohibqdj
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.8686 (QFE.050727-8600)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
skwas.IO
    Versione assembly: 1.4.3504.37461
    Versione Win32: 1.4.3504.37461
    Base di codice: file:///C:/Program%20Files%20(x86)/skwas/Silent%203ditor/Bin/skwas.IO.DLL
----------------------------------------
System.resources
    Versione assembly: 2.0.0.0
    Versione Win32: 2.0.50727.7905 (win9rel.050727-7900)
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_it_b77a5c561934e089/System.resources.dll
----------------------------------------
Microsoft.VisualC
    Versione assembly: 8.0.0.0
    Versione Win32: 8.00.50727.8428
    Base di codice: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------
I have tried with diffrent models/dat files, but the result is always the same.
Reverting to "Clean" mode solves the issue. I didn't try with other modes though.

Not a big problem, but it would be nice if you could have a look inot it
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-09-16, 10:49 PM   #8
Rosomaha
Loader
 
Join Date: Nov 2012
Location: Russia
Posts: 83
Downloads: 72
Uploads: 1
Default

Hi, Gap! Thank you for report.

It can be fixed. I have to make some changes and to return sh3 controllers in sh4 hierarchy, at least some of them. Maybe later, I'll do.

Last edited by Rosomaha; 10-09-16 at 11:09 PM.
Rosomaha is offline   Reply With Quote
Old 10-10-16, 06:16 AM   #9
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Rosomaha View Post
Hi, Gap! Thank you for report.

It can be fixed. I have to make some changes and to return sh3 controllers in sh4 hierarchy, at least some of them. Maybe later, I'll do.
Thank you too
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-20-16, 03:59 PM   #10
tonschk
Admiral
 
Join Date: Mar 2007
Posts: 2,200
Downloads: 172
Uploads: 0
Default

Thank you very much Rosomaha,..
tonschk is offline   Reply With Quote
Reply

Tags
s3d, s3d cfg, s3dconfigurator, silent 3ditor, silent3ditor configurator


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:21 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.