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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 12-23-24, 04:47 AM   #1
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
Default

Hey Jeff,

I most definitely have not kept up, but good to see you still rockin' it. I just stopped by out of curiosity to see how SH and the community was doing.

I always said I'd be interested to just release the code so its development can continue without my (active) intervention. But even though I did manage to release the file parsers like 4-5 years ago IIRC, just this alone took a lot of work because I had to modernize the toolchain to make it work (for general consumption) and remove a lot of licensed code, and address some other issues.

But to give you an idea, the S3D application itself (which uses those parsers) contains probably 8-10x more code, uses old dependencies, has similar issues (with regards to licensing, dependencies, etc.), has an installer project that no longer works, etc.

The amount of work needed to modernize S3D is not trivial, and I am not sure it is worth the time anymore. Surely, the SH (mod) scene is not as active as it used to be?

Perhaps when I retire IRL, who knows, getting there
skwasjer is offline   Reply With Quote
Old 12-25-24, 09:17 PM   #2
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,744
Downloads: 303
Uploads: 0


Default

Quote:
Originally Posted by skwasjer View Post
Hey Jeff,

I most definitely have not kept up, but good to see you still rockin' it. I just stopped by out of curiosity to see how SH and the community was doing.

I always said I'd be interested to just release the code so its development can continue without my (active) intervention. But even though I did manage to release the file parsers like 4-5 years ago IIRC, just this alone took a lot of work because I had to modernize the toolchain to make it work (for general consumption) and remove a lot of licensed code, and address some other issues.

But to give you an idea, the S3D application itself (which uses those parsers) contains probably 8-10x more code, uses old dependencies, has similar issues (with regards to licensing, dependencies, etc.), has an installer project that no longer works, etc.

The amount of work needed to modernize S3D is not trivial, and I am not sure it is worth the time anymore. Surely, the SH (mod) scene is not as active as it used to be?

Perhaps when I retire IRL, who knows, getting there
It's so wonderful to see you again! S3D as it is has been absolutely addictive to me, it has been so wonderful to tweak the game in ways we never could have dreamed of before 2010.

I still remember the nightmare of hand-altering individual id's to clone my [ugly] HMS Renown into existence, around 2007. We here owe you and other tool creators a huge debt .... things that took days can now be done in seconds. You are responsible for consuming so many of my days off.

Even though the modding community at Subsim is small (and smaller than it was back in the day), we are devoted. I would really like to give you some substantial support with respect to modding tool development. I will PM you shortly!
iambecomelife is offline   Reply With Quote
Old 01-28-25, 08:17 PM   #3
Rick Fortens
Seaman
 
Join Date: Jul 2009
Location: Québec city
Posts: 37
Downloads: 374
Uploads: 0
Default Changing shapes with s3d ?

How can I do, with Silent 3ditor, to change the SHAPE of a ship? I did a test: I opened the ATug .dat file and moved the funnel back to the back of the ship, then I saved the changes. S3d saved these changes without reporting any problems. I reopened the file and the change was saved.

But no way to see this change in the game. The Tugboat still has its funnel in the middle. What am I doing wrong or is it simply that this is not possible with s3d?

Thanks for your help

Rick
Rick Fortens is offline   Reply With Quote
Old 01-31-25, 09:23 PM   #4
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,744
Downloads: 303
Uploads: 0


Default

Quote:
Originally Posted by Rick Fortens View Post
How can I do, with Silent 3ditor, to change the SHAPE of a ship? I did a test: I opened the ATug .dat file and moved the funnel back to the back of the ship, then I saved the changes. S3d saved these changes without reporting any problems. I reopened the file and the change was saved.

But no way to see this change in the game. The Tugboat still has its funnel in the middle. What am I doing wrong or is it simply that this is not possible with s3d?

Thanks for your help

Rick
Did you make sure you are saving the changes to the DAT file in the game directory? One mistake I often make is, I copy an entire ship folder, save it somewhere else, and forget that the files I'm editing are not the ones in the actual game folder. Check the entire file path of the modded file to make sure you are saving to your game install - usually:

C:\Program Files\Ubisoft\SilentHunterIII\Data\Sea\[UNIT].dat
iambecomelife is offline   Reply With Quote
Old 02-01-25, 01:16 PM   #5
Rick Fortens
Seaman
 
Join Date: Jul 2009
Location: Québec city
Posts: 37
Downloads: 374
Uploads: 0
Default Yes, I checked that.

Thanks for your answer.


Yes, I checked that. It's as if the game, during a previous launch, had loaded the ship and that it was not going to take the file during a subsequent launch. I even changed the name of the ship file so that the game would not find it and crash. But it does not crash and opens normally by displaying the original ship.


What I want to do in fact is to attach the anti-aircraft balloon to a ship, as was actually done in many convoys. I managed to do it easily by replacing a funnel with the balloon in a .dat file, but that didn't work either.


According to your experience, is what I'm doing supposed to work, am I doing it right? Could the problem be due to the fact that I'm on GWX? Do I absolutely have to install the MOD via JSGME? Or maybe I should reinstall the whole game?


Thanks for your reply and I look forward to your further comments.


Rick
Rick Fortens is offline   Reply With Quote
Old 02-04-25, 09:42 AM   #6
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

Save what you have worked on thus far, but I would re-do SH3 and GWX, to be certain you use "fresh" files. S3D has a "Save file to New Mod..." and "Save file to existing mod..." function, and that is the route to go when trying to alter existing files in the game. Also, the way the game works, is to run off of the Save folder, which does not get updated by JSGME. Therefore, if you add a new ship, it is in the game folder, but NOT the Save folder. If you are not seeing your changes, delete the "C:\Users \UserName \Documents \SH3" folder, unless you've edited that with MultiSH3, and then maybe the proper ship hull / funnel change will show. However, it sounds more like you want to change the geometry of the hull, and for that, you need to export said hull to an obj file within S3d, then import or open said obj file in a 3D app, such as Blender or Wings3D, do your edits (properly, which can be quite involved), save the obj file, and then re-import it into S3D... it can get rather involved.
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 02-04-25, 11:50 AM   #7
Aktungbby
Gefallen Engel U-666
 
Aktungbby's Avatar
 
Join Date: Jul 2013
Location: On a tilted, overheated, overpopulated spinning mudball on Collision course with Andromeda Galaxy
Posts: 17,658
Downloads: 24
Uploads: 0


Default Welcome back!

Rick Fortens!...the infamous 7-year-itch strikes again, ending your 'silent run' since 2018!
__________________

"The world is too rediculous to even live in!"- Little Big Man
Aktungbby is offline   Reply With Quote
Old 02-05-25, 08:06 PM   #8
Rick Fortens
Seaman
 
Join Date: Jul 2009
Location: Québec city
Posts: 37
Downloads: 374
Uploads: 0
Default

Quote:
Originally Posted by propbeanie View Post
Save what you have worked on thus far, but I would re-do SH3 and GWX, to be certain you use "fresh" files. S3D has a "Save file to New Mod..." and "Save file to existing mod..." function, and that is the route to go when trying to alter existing files in the game. Also, the way the game works, is to run off of the Save folder, which does not get updated by JSGME. Therefore, if you add a new ship, it is in the game folder, but NOT the Save folder. If you are not seeing your changes, delete the "C:\Users \UserName \Documents \SH3" folder, unless you've edited that with MultiSH3, and then maybe the proper ship hull / funnel change will show. However, it sounds more like you want to change the geometry of the hull, and for that, you need to export said hull to an obj file within S3d, then import or open said obj file in a 3D app, such as Blender or Wings3D, do your edits (properly, which can be quite involved), save the obj file, and then re-import it into S3D... it can get rather involved.

I will follow those instructions.


Thank you for your help


Rick
Rick Fortens is offline   Reply With Quote
Old 10-18-26, 09:34 PM   #9
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
Default

Quote:
Originally Posted by iambecomelife View Post
It's so wonderful to see you again! S3D as it is has been absolutely addictive to me, it has been so wonderful to tweak the game in ways we never could have dreamed of before 2010.

I still remember the nightmare of hand-altering individual id's to clone my [ugly] HMS Renown into existence, around 2007. We here owe you and other tool creators a huge debt .... things that took days can now be done in seconds. You are responsible for consuming so many of my days off.

Even though the modding community at Subsim is small (and smaller than it was back in the day), we are devoted. I would really like to give you some substantial support with respect to modding tool development. I will PM you shortly!
Thanks, although it took me almost 2 years to reply, this does give me a warm fuzzy feeling
I can't believe it's been 17 years by now since I released 0.9.9 haha.

Anyway, I guess the good news is, I 'have' made a list of things that need to be done to make it make it suitable for release. The bad news, it's quite extensive:

- tool chain must be upgraded to .NET 10, this is a massive one.
- many compiler warnings to go through
- the way some things are implemented no longer work correctly and must be refactored/replaced
- old external dependencies that are no longer available/maintained need to be replaced. This includes some (previously) licensed work.
- DirectX 9 replaced with DX11/12 or even Vulkan. Added complexity is that most modern 3D libraries now use RH (convention of OpenGL/Vulkan) instead of LH coordinate system (DX convention). So even if I target DX11, but use these libs, I still have to talk RH to the API. S3D uses LH atm. Never mind that SH uses Z up vector instead of Y, so many areas for regression. Also rewrite shaders to HLSL4.
- in some cases, some functionality will be completely gutted, like auto update (idc) and the integrated hex viewer (unsupported chunk data)
- redistribution of the embedded font is no longer allowed. Using a different font breaks a lot of things, UX wise. This is quite a pain.
- DPI scaling issues / multi monitor
- Installer has to be rebuilt from scratch, or use some different tech (one click install). Although arguably, it could also just be some PS-script.
- user config/settings system needs to be replaced/refactored
- set up CI to aid with testing/building runtime artifacts
- expand the automated test suite, a lot of the code is insufficiently covered. And a major refactor/rewrite/update can cause havoc without it.
- the original app is based on .NET's System.Windows.Forms architecture, and while support is present in .NET 10, much has changed in UI ecosystem/tools since the days of Windows XP and Windows Vista. A decision has to be made whether or not this should be replaced with something else that is more future proof and fits modern OS's better. Not a trivial change mind you.
- and typical for any dev project: clean up all the unused or commented out facepalm code. I'm sure some of it had it's purpose or a 'clever' idea behind it, but some of it make 0 sense to me now, and should not be in a public code base xD

That is only high level, undoubtedly still missing things. Having said all that, I don't plan to work on S3D actively, even though I do have ideas for improvements. The goal is also not to tackle all the above immediately, but just to make it compile and in some kind of workable/shareable state. And the outcome will almost certainly be regressed from 0.9.9. But hopefully a starting point for others to learn, share and further contribute. Let me preface that even if nothing happens from then onwards, that is also ok, I have zero expectation.

I can't give a timeline, just that I wish to share it some day. I also won't start again to use this forum actively to provide updates. Any future development, feature request, bug report, if any, will solely have to take place on GitHub and/or perhaps a dedicated Discord server.

By then I can also start looking if there are other experienced C# devs and/or UX designers amongst you that are willing to contribute or even become secondary maintainer of S3D.

Last edited by skwasjer; 10-18-26 at 11:46 PM.
skwasjer is offline   Reply With Quote
Old 10-19-26, 12:55 AM   #10
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,744
Downloads: 303
Uploads: 0


Default

What an awesome surprise! Another visit. Thank you again for all that you did in making this tool available!

Although I don't think my family would like you very much... So many hours spent modifying everything I can, and so much grumpiness when chores needed to be done...just kidding.

I started modding not even understanding the concept of ship zone boxes/spheres, and S3d simply made it all so intuitive for us amateurs.

I am grateful that we can even edit some Silent Hunter 5 things, with a little tweaking & use of the "Multi S3d" method. Migrating SH5 explosions into GWX Knights Cross, for instance, gave an aging game a new lease on life.

It is tempting to always want more and new features, but I am glad you have a chance to relax and develop things at your own pace.
iambecomelife is offline   Reply With Quote
Old 10-19-26, 01:52 AM   #11
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
Default

Quote:
Originally Posted by iambecomelife View Post
Although I don't think my family would like you very much... So many hours spent modifying everything I can, and so much grumpiness when chores needed to be done...just kidding.
Surely you kicked out the kids by now?

Also, to add to my previous, in case anyone comes at me with a just use AI... Yea, I blew through my free plan in less than 45 minutes and I sure as hell ain't giving a dime to the tech bros atm... :p
skwasjer is offline   Reply With Quote
Old 10-19-26, 09:55 AM   #12
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

Interesting stuff. I'll keep an eye on things to see what, if any thing, is started.
Might be able to contribute but I'm not very knowledgable in SH stuff.

Last edited by Jeff-Groves; 10-19-26 at 10:05 AM.
Jeff-Groves is offline   Reply With Quote
Old 10-26-26, 12:34 PM   #13
Bladekill1298
Engineer
 
Join Date: Sep 2014
Location: Land of Corn
Posts: 210
Downloads: 63
Uploads: 0
Default

Quote:
Originally Posted by skwasjer View Post
Surely you kicked out the kids by now?

Also, to add to my previous, in case anyone comes at me with a just use AI... Yea, I blew through my free plan in less than 45 minutes and I sure as hell ain't giving a dime to the tech bros atm... :p
Do you think you could make a dark mode for the program?
__________________
Never Hurts to Try
Bladekill1298 is offline   Reply With Quote
Old 10-28-26, 01:42 AM   #14
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
Default

@Bladekill1298

The goal is just to make the source code available, while being able to compile again and run on newer architecture/runtimes properly. And this might take months, or perhaps years, since I am not dedicated on this or have a budget to let automation/AI handle it.

The only reason I am showing back some interest in this old project is that I want to get this off my hard disk, retained indefinitely, and I can use it as practice to modernize an old 'noobie' codebase, applying new skills I've learned over the years since.

There's absolutely no plan to work on new features. That said, once the source code is available, everyone can add features themselves.
skwasjer is offline   Reply With Quote
Old 10-19-26, 11:40 AM   #15
Bubblehead1980
Navy Seal
 
Join Date: Apr 2009
Location: USA
Posts: 8,645
Downloads: 697
Uploads: 61


Default

Quote:
Originally Posted by skwasjer View Post
Thanks, although it took me almost 2 years to reply, this does give me a warm fuzzy feeling
I can't believe it's been 17 years by now since I released 0.9.9 haha.

Anyway, I guess the good news is, I 'have' made a list of things that need to be done to make it make it suitable for release. The bad news, it's quite extensive:

- tool chain must be upgraded to .NET 10, this is a massive one.
- many compiler warnings to go through
- the way some things are implemented no longer work correctly and must be refactored/replaced
- old external dependencies that are no longer available/maintained need to be replaced. This includes some (previously) licensed work.
- DirectX 9 replaced with DX11/12 or even Vulkan. Added complexity is that most modern 3D libraries now use RH (convention of OpenGL/Vulkan) instead of LH coordinate system (DX convention). So even if I target DX11, but use these libs, I still have to talk RH to the API. S3D uses LH atm. Never mind that SH uses Z up vector instead of Y, so many areas for regression. Also rewrite shaders to HLSL4.
- in some cases, some functionality will be completely gutted, like auto update (idc) and the integrated hex viewer (unsupported chunk data)
- redistribution of the embedded font is no longer allowed. Using a different font breaks a lot of things, UX wise. This is quite a pain.
- DPI scaling issues / multi monitor
- Installer has to be rebuilt from scratch, or use some different tech (one click install). Although arguably, it could also just be some PS-script.
- user config/settings system needs to be replaced/refactored
- set up CI to aid with testing/building runtime artifacts
- expand the automated test suite, a lot of the code is insufficiently covered. And a major refactor/rewrite/update can cause havoc without it.
- the original app is based on .NET's System.Windows.Forms architecture, and while support is present in .NET 10, much has changed in UI ecosystem/tools since the days of Windows XP and Windows Vista. A decision has to be made whether or not this should be replaced with something else that is more future proof and fits modern OS's better. Not a trivial change mind you.
- and typical for any dev project: clean up all the unused or commented out facepalm code. I'm sure some of it had it's purpose or a 'clever' idea behind it, but some of it make 0 sense to me now, and should not be in a public code base xD

That is only high level, undoubtedly still missing things. Having said all that, I don't plan to work on S3D actively, even though I do have ideas for improvements. The goal is also not to tackle all the above immediately, but just to make it compile and in some kind of workable/shareable state. And the outcome will almost certainly be regressed from 0.9.9. But hopefully a starting point for others to learn, share and further contribute. Let me preface that even if nothing happens from then onwards, that is also ok, I have zero expectation.

I can't give a timeline, just that I wish to share it some day. I also won't start again to use this forum actively to provide updates. Any future development, feature request, bug report, if any, will solely have to take place on GitHub and/or perhaps a dedicated Discord server.

By then I can also start looking if there are other experienced C# devs and/or UX designers amongst you that are willing to contribute or even become secondary maintainer of S3D.

Glad to see you surface. I'll just add a massive thank you for S3D. Without it, much of the massive changes made in TMO and other mods likely would not have happened.
Bubblehead1980 is online   Reply With Quote
Reply

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 04:15 AM.


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