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-04-16, 05:28 AM   #1
Rosomaha
Loader
 
Join Date: Nov 2012
Location: Russia
Posts: 83
Downloads: 72
Uploads: 1
Default Silent3Ditor Configurator (S3D-CFG)

S3D-Configurator

[REL]

S3D-Configurator – extension to customize the editor for each version (III, IV, V) Silent Hunter. S3D CFG will allow to adjust in one click the S3D for desired version of the SH.

DESCRIPTION

  1. Provides a set of controllers in SH5. Will allow to edit Silent Hunter files of the 5 version: *.prt *.fx *.val *.cam *.zon *.sim *.dsd *.dat
  2. Set of SH4 controllers, including changes and additional controllers.
  3. Set of SH3 controllers, removing the excess. Including changes and additional controllers.
  4. Only original S3D (version 0.9.9) controllers - rollback of all changes.
  5. Useful information for mod about some of the operators in all the Silent Hunter's.
PROBABLY ASKED QUESTIONS

“What gives SH5-configuration unlike Goblin Editor?”
A - familiar convenient control ID-numbers in an intuitive S3Dditor, visibility relations "parent – child"

“Why have divided into separate configurations of SH3, SH4?”
A - In each configuration there will be a set of controllers which are relevant for a specific version (for example: in SH3 configuration removed the SH4 controllers). And also: I took into account the appropriate settings of some operators for the different versions of the game Silent Hunter (See the SH-source documentation.pdf for more details).

ADDITIONAL CHANGELOG
  • Changes of hierarchy of controllers in S3D – for convenience and order, I divided the controllers in appropriate groups: SH3, SH4, SH5.
    Note/exception: group SH5-controllers to be included in the unit SH3, SH4:
  • Some changes of former controllers (e.g. fixed known bug with sensors in the controller obj_Sensor.)
  • 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.

Disclaimer: Use at your own risk. Distribution, commercial use and or (re)selling of this program are prohibited.

CREDITS

Special thanks: Skwasjer (Great mod-tool for SilentHunter - S3D).
Anvart (AnimatedTexture, TextUnits, ShiftTexture, EventCamera controllers).

INSTALLATION

Run the installer from the archive. Install into the main directory of the S3D program (Silent 3ditor). Use Browse button to select the destination folder from the folders tree: .../skwas/Silent 3ditor.

IMPORTANT!

After installing, delete the old label (shortcut) Silent 3Ditor from the Desktop. Take the first S3D start from the root folder and then create a new one (if you need it on your desktop).

-------------------------------




[TEC]

Editing *.prt *.fx files:

The *.prt *.fx files will not appear in the list of the available Silent 3Ditor files. The program will not work directly with these files (extensions of source files written in S3D.exe © skwas), but you can edit them using the following method:


Rename / append file extension available (.sim .dat .val .cam .zon), save the changes and edit this in S3D. After editing change expansion at initial *.prt *.fx .

-------------------------------

DOWNLOAD
(updated 02-25-2017)

Have fun using S3D with S3D-CFG!
rosomaha

Last edited by Rosomaha; 02-24-17 at 01:45 PM.
Rosomaha is offline   Reply With Quote
Old 10-04-16, 01:49 PM   #2
Rosomaha
Loader
 
Join Date: Nov 2012
Location: Russia
Posts: 83
Downloads: 72
Uploads: 1
Default

Posted. While I finished. Weary. )
Maybe later will be corrections and additions.

application testing. report if find errors .
Rosomaha is offline   Reply With Quote
Old 10-04-16, 03:00 PM   #3
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,078
Downloads: 581
Uploads: 13


Icon14

Quote:
Originally Posted by Rosomaha View Post
Posted. While I finished. Weary. )
Maybe later will be corrections and additions.

application testing. report if find errors .
Very useful. Thank you very much !
vdr1981 is offline   Reply With Quote
Old 10-05-16, 04:20 AM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
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   #5
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   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
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   #7
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   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
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   #9
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
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   #10
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
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   #11
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   #12
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
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   #13
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
Old 11-17-16, 04:14 AM   #14
Rosomaha
Loader
 
Join Date: Nov 2012
Location: Russia
Posts: 83
Downloads: 72
Uploads: 1
gear

Hi!
Download link updated. (can be installed over the old version with the replacement files)

Fixed bug with 3d-viewer (in model preview);
and some insignificant changes.
Rosomaha is offline   Reply With Quote
Old 11-17-16, 07:14 AM   #15
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,078
Downloads: 581
Uploads: 13


Default

Quote:
Originally Posted by Rosomaha View Post
Hi!
Download link updated. (can be installed over the old version with the replacement files)

Fixed bug with 3d-viewer (in model preview);
and some insignificant changes.
vdr1981 is offline   Reply With Quote
Reply

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

Thread Tools
Display Modes

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 11:39 PM.


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