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 10-13-24, 08:09 AM   #6121
fitzcarraldo
Argentinian Skipper
 
fitzcarraldo's Avatar
 
Join Date: Jul 2009
Location: Somewhere between Buenos Aires and the Bungo Suido
Posts: 5,381
Downloads: 3484
Uploads: 0


Default

I do not have this problem, and I play a patrol in many sessions, I'm an slow player using low TC.

Do you overwrite savegames? Ever I save the sessions with a new name. Also, I do not use TC 》4 arriving to the base at the end of the patrol.

When you are returning in the last session do you see in the map all the sunk ships? (icons)

Best regards

Fitzcarraldo
__________________



My subject is War, and the pity of War. The Poetry is in the pity - Wilfred Owen.
fitzcarraldo is offline   Reply With Quote
Old 10-13-24, 09:58 AM   #6122
JapLance
Sparky
 
Join Date: Feb 2024
Posts: 155
Downloads: 168
Uploads: 0
Default

Quote:
Originally Posted by fitzcarraldo View Post
I do not have this problem, and I play a patrol in many sessions, I'm an slow player using low TC.

Do you overwrite savegames? Ever I save the sessions with a new name. Also, I do not use TC 》4 arriving to the base at the end of the patrol.
No, I don't overwrite games, I know it can create problems. But I do use time compression, usually 512/1024 max. Occasionally I can move to 2048, for example when I was returning home in the Coral Sea out of Japanese air bases range. Otherwise instead of 3 hour sessions they would last days!


Quote:
Originally Posted by fitzcarraldo View Post
When you are returning in the last session do you see in the map all the sunk ships? (icons)

Best regards

Fitzcarraldo
Yes the map had all the sinkings, and as you can see in the screenshot, they were properly credited both in the map and in the notebook. It all went wrong only when I pressed "End patrol" and you get the summary.

JapLance is offline   Reply With Quote
Old 10-13-24, 11:13 AM   #6123
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

Quote:
Originally Posted by JapLance View Post
I've just had a wonderful patrol (the 4th in this career, and definitely the most successful I think I've ever had in an S boat) but I've come into something is bothering me a bit.

The question is that I got 5 sinkings in this patrol:
 

but when I reach home, only the ones achieved during the current session are credited. I sunk 1 ship in the first saved part of the patrol and 2 more in the second, but only the ones sunk in the third one are shown:
 

The first time it happened I found the way to edit the saved game to add the missing ships, extra renown and tonnage (I was lucky enough to have a capture where all the details were shown), but I'm not sure if I really want to do that every time I get home, since as patrols amount it will be harder to keep track of everything. It's also probably costing me some promotions and medals for my crew, because I don't know how to edit the save files to get some more.

Now this is the second time it happens in this career, and since I never used to save games at sea before, I'm not sure if it's a SH4 general issue or related to the use of mods. Can it be remedied somehow?

The problem is that I'm recording this for YouTube, and one patrol lasts too long in real time to play it in a single session. I need to split the patrols in a few game sessions.
We have seen the phenomenon also. There seems to be several factors at work here. Number one of course is that SH4 will be SH4, in that there never was a modders bible or any SDK for modders, so most of what is done in a mod is guess work (as you're well aware). Secondly, you will notice that the original game's Patrol Objective mis file (what you are assigned when going on patrol) have a "Prefix=" line at the bottom of that mis file that includes that file's name, such as "Prefix=Patrol Honshu 01" or "Prefix=Guard IwoJima Islands 01".

From when you have edited the Save folder data, you might notice the way the game keeps that data includes that 'phrase', such that when you sink a ship, you will see "Patrol Honshu 01 Fast Hansa Merchant". I do not recall the exact paradigm of it at the moment, but that is the gist of what the game does. When you then do a Status Update and get more Objective assignments, those "Prefix=" names are recorded. That is what you are seeing in your final report - the last Objective mis assignment. However, you should still 'see' the ships sunk in the original Objective assignment listed in the Save data, but further up in the file. You should also see the renown awarded. If you did not do a Status Update and did not get another Objective, there is also another potential issue... (but let us know if you didn't do Status Update)

My other suspicion is that the game can only hold a 'name' of a certain number of characters. While it is nice to have descriptive names for us mere humans to understand, the game has only so much address space in the 32-bit Windows virtual machine to use. If that space is exceeded, the game truncates the data. We want the ships' names to show, and not to use the namespace for it with an elongated path name. We are currently working on a number of different 'schemes' to try to alleviate that... but as the word 'scheme' intimates, it is a work-a-round...

Still making edits, still testing the next release...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 10-13-24, 01:02 PM   #6124
JapLance
Sparky
 
Join Date: Feb 2024
Posts: 155
Downloads: 168
Uploads: 0
Default

Quote:
Originally Posted by propbeanie View Post
...
Thanks pb,

Yeah, I did one status update when initial mission (patrolling Bismarck Sea) was finished, and I got sent to the Carolines with complete autonomy.

Now that you say about those "prefixes"... here are the entries for the 2 ships I sunk in today's session.

Code:
[CareerTrack 1.CareerStatusSave 24]
ID=ID
Reason=CSS_UnitDestroyed
NameDisplayable=SnCIs02_JP Armed Merchant#4
CurrentDate=1942-08-06 08:02:00
LocationName=
Location=0,0
TargetLocation=-3.81207,7.14486e+031
UnitDestroyed=JPAuxCruiser,SnCIs02_JP Armed Merchant#4
EUnitType=13

[CareerTrack 1.CareerStatusSave 25]
ID=ID
Reason=CSS_UnitDestroyed
NameDisplayable=SnCIs02_JP Small Old Oiler#2
CurrentDate=1942-08-06 08:39:00
LocationName=
Location=0,0
TargetLocation=-6.50402,7.14486e+031
UnitDestroyed=OSHaruna,SnCIs02_JP Small Old Oiler#2
EUnitType=101
I didn't understand what they were, and some read like gibberish to me. Thanks to your explanation now I know what they mean and where to find the info .

Still some fields I don't know what they mean or how to add (format of TargetLocation, for example), but they don't seem to matter much.

Thanks!
JapLance is offline   Reply With Quote
Old 10-13-24, 01:22 PM   #6125
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

Quote:
Originally Posted by JapLance View Post
...
NameDisplayable=SnCIs02_JP Armed Merchant#4
...
NameDisplayable=SnCIs02_JP Small Old Oiler#2
...
That "SnCIs02" is the initial v1.8 of the mod's partial "small fix" for that. That was not fully implemented in v1.8. But we took the old line of "Sink Caroline Islands 02" and made it that "SnCIs02" on the "Prefix" line in the actual mis file. Each of those has to be a unique designation. So we went from a name of "Sink Caroline Islands 02_JP Armed Merchant" to what you have. Another small, potentially LARGE aspect of that naming convention they use there is the "#4" and "#2" in the ship names... The current paradigm in the game is that each group can have several "JP Armed Merchant" ships, and there are multiple files 'running' at a given time in the game. Each specific ship would be numbered, as that #4 is. However, there might be several groups, or even single ships with that "#4" designation. What happens if you happens to sink 2 ships with that particular identical #4 name? This involves a very complex "find and replace" operation, if we want to delve further, well beyond just a Search and Replace in Notepad++, and one that requires some logical programming. I am not certain how often a player would encounter that anyway... but it is there.
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 10-13-24, 01:39 PM   #6126
JapLance
Sparky
 
Join Date: Feb 2024
Posts: 155
Downloads: 168
Uploads: 0
Default

Quote:
Originally Posted by propbeanie View Post
What happens if you happens to sink 2 ships with that particular identical #4 name? This involves a very complex "find and replace" operation, if we want to delve further, well beyond just a Search and Replace in Notepad++, and one that requires some logical programming. I am not certain how often a player would encounter that anyway... but it is there.
Oh oh, this is the point where my head starts aching .

I just edited the saved game and it seems to load fine (I won't play again till next weekend). The three ships I added appear as they should, I added their renown, updated the sunk tonnage and number of ships sunk, and gave my crew a few promotions as well. I'd like to give some medals to the deck gun crew, but for the moment I'm not sure how to do it.

JapLance is offline   Reply With Quote
Old 10-13-24, 04:38 PM   #6127
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Gone to Texas. No More Kleptocratic Government for me!
Posts: 4,710
Downloads: 508
Uploads: 31


Default

Quote:
Originally Posted by JapLance View Post
I'd like to give some medals to the deck gun crew, but for the moment I'm not sure how to do it.

in the same folder as ActiveUserPlayerUnits.upc where you made your aforementioned change, there is a file CareerTrack.upc. open that with the same text editor and look for the line: CrewMembersCurrentMedalsRepository=

add the text for your medals after the equal, separated by commas. Like so:
CrewMembersCurrentMedalsRepository=NULL,Dist Service Medal,Bronze Star

of course you will have to use the German counterpart medals. you can get those from Medals.upc in the \Data\UPCDataGE\UPCUnitsData folder.

good luck!
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is offline   Reply With Quote
Old 10-15-24, 04:28 AM   #6128
JapLance
Sparky
 
Join Date: Feb 2024
Posts: 155
Downloads: 168
Uploads: 0
Default

Quote:
Originally Posted by KaleunMarco View Post
in the same folder as ActiveUserPlayerUnits.upc where you made your aforementioned change, there is a file CareerTrack.upc. open that with the same text editor and look for the line: CrewMembersCurrentMedalsRepository=

add the text for your medals after the equal, separated by commas. Like so:
CrewMembersCurrentMedalsRepository=NULL,Dist Service Medal,Bronze Star

of course you will have to use the German counterpart medals. you can get those from Medals.upc in the \Data\UPCDataGE\UPCUnitsData folder.

good luck!
Thanks, Herr Kaleun. I will try it, but with the US medals . My US crew may get angry if I award them some Iron crosses
JapLance is offline   Reply With Quote
Old 10-15-24, 09:39 AM   #6129
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Gone to Texas. No More Kleptocratic Government for me!
Posts: 4,710
Downloads: 508
Uploads: 31


Default

Quote:
Originally Posted by JapLance View Post
Thanks, Herr Kaleun. I will try it, but with the US medals . My US crew may get angry if I award them some Iron crosses
yeah. apparently, i confused this post with the Bismarck/ATO posts where someone wanted to drive the BB and was stuck in the Indian Ocean,

...now...where is my medicine......
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is offline   Reply With Quote
Old 10-21-24, 05:28 AM   #6130
JapLance
Sparky
 
Join Date: Feb 2024
Posts: 155
Downloads: 168
Uploads: 0
SHO

Yesterday I met this Japanese naval group in the Solomons



I assume it is some kind of Tokyo Express, but it was sailing way too slow (12 knots) despite being made basically of Destroyers, and the formation was a complete mess, which I suspect is due to the too frequent course changes.

I'd suggest exchanging the Katori cruiser (which is a slow cruiser and shouldn't be used in first line of combat) for a Nisshin or Chitose, and then increasing (I'd say at least double) the speed of the group. The point of those groups was getting fast to Guadalcanal at night and leave while still in the dark hours, but currently this group reaches the island too late (around 3AM) and is still in striking distance of the US planes after dawn, specially if it takes the extended route.

I'd also remove many of the waypoints on the way in and out of Guadalcanal. The protection against submarines by these kind of groups is high speed (+20 knots) rather than zig-zagging.
JapLance is offline   Reply With Quote
Old 10-21-24, 07:42 AM   #6131
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

Quote:
Originally Posted by JapLance View Post
Yesterday I met this Japanese naval group in the Solomons
 

I assume it is some kind of Tokyo Express, but it was sailing way too slow (12 knots) despite being made basically of Destroyers, and the formation was a complete mess, which I suspect is due to the too frequent course changes.

I'd suggest exchanging the Katori cruiser (which is a slow cruiser and shouldn't be used in first line of combat) for a Nisshin or Chitose, and then increasing (I'd say at least double) the speed of the group. The point of those groups was getting fast to Guadalcanal at night and leave while still in the dark hours, but currently this group reaches the island too late (around 3AM) and is still in striking distance of the US planes after dawn, specially if it takes the extended route.

I'd also remove many of the waypoints on the way in and out of Guadalcanal. The protection against submarines by these kind of groups is high speed (+20 knots) rather than zig-zagging.
The zigs ain't what does the mess of the "convoying", it's the use of the Katori... The group can go fast enough ~except~ for the Katori, which is restricted to 12knots. Therefore, anywhere the group's speed settings exceeds that speed, it messes with the neat rows and columns the TFC worked so hard to achieve, as the 'grouping' is not allowed to separate and have stragglers per SH4 game rules... - When they spawn into your 'stage' distance in the game, that's when things begin to fall apart with the grouping.

Thanks for commenting on that, and ESPECIALLY the research into the issue. Much appreciated, and makes it much easier to track down the problem child. Corrections are completed and added to the mod for the next release...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 10-21-24, 09:25 AM   #6132
JapLance
Sparky
 
Join Date: Feb 2024
Posts: 155
Downloads: 168
Uploads: 0
Default

Quote:
Originally Posted by propbeanie View Post
The zigs ain't what does the mess of the "convoying", it's the use of the Katori... The group can go fast enough ~except~ for the Katori, which is restricted to 12knots. Therefore, anywhere the group's speed settings exceeds that speed, it messes with the neat rows and columns the TFC worked so hard to achieve, as the 'grouping' is not allowed to separate and have stragglers per SH4 game rules... - When they spawn into your 'stage' distance in the game, that's when things begin to fall apart with the grouping.

Thanks for commenting on that, and ESPECIALLY the research into the issue. Much appreciated, and makes it much easier to track down the problem child. Corrections are completed and added to the mod for the next release...
Glad to help .

I'll take advantage of this issue to make another question I have about something in that group. The leader ship of the task force (the Kuma cruiser) has only a 40% chance of spawning. What happens if she doesn't? Does the next ship in the queue take the leading role (in this case a 2xGENERIC DDs) or does something different happen?

JapLance is offline   Reply With Quote
Old 10-22-24, 08:17 AM   #6133
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

Quote:
Originally Posted by JapLance View Post
... I'll take advantage of this issue to make another question I have about something in that group. The leader ship of the task force (the Kuma cruiser) has only a 40% chance of spawning. What happens if she doesn't? Does the next ship in the queue take the leading role (in this case a 2xGENERIC DDs) or does something different happen?
I was going to mention that I also found that when editing, but forgot... but no, not a big deal really. The Kuma will ALWAYS be there when the group spawns, because there is no such thing as a leaderless grouping - at least until you sink it... I do not know what the game's "AI logic" is when that happens... but sometimes you will see a group just mill about while the DD try to hunt you down, and other times, they just go along and continue after a bit of constant helm zig-zagging. But if a group is set to spawn at a 10% rate, and the leader unit at 40%, you end up with the group one in 10 tries (on average), while the lead ALWAYS spawns, no matter that 40% showing. Why the ME doesn't change that to 100% when you save, I don't know... but anyway, one of the Kaya is now "leader". btw - in line with that, the Kaya eqp load-out has been changed also. They will still have a rack of depth charges, but no throwers, no torpedoes... those were "landed" to allow for the troops and Daihatsu being carried. But they still carried some weaponry. The light cruiser re-armament program has been completed, and moving on to the Kaya, torpedo boats & patrol boats...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 10-22-24, 09:35 AM   #6134
JapLance
Sparky
 
Join Date: Feb 2024
Posts: 155
Downloads: 168
Uploads: 0
Default

Quote:
Originally Posted by propbeanie View Post
I was going to mention that I also found that when editing, but forgot... but no, not a big deal really. The Kuma will ALWAYS be there when the group spawns, because there is no such thing as a leaderless grouping - at least until you sink it... I do not know what the game's "AI logic" is when that happens... but sometimes you will see a group just mill about while the DD try to hunt you down, and other times, they just go along and continue after a bit of constant helm zig-zagging. But if a group is set to spawn at a 10% rate, and the leader unit at 40%, you end up with the group one in 10 tries (on average), while the lead ALWAYS spawns, no matter that 40% showing. Why the ME doesn't change that to 100% when you save, I don't know...
After I wrote my post I thought I could set up a quick mission and give it a try a few times, and what you describe is the same I could find out. At that moment I thought I was being very "unlucky", as the 10% spawn cruiser was always there... Now I know I wasn't .
JapLance is offline   Reply With Quote
Old 10-25-24, 02:29 PM   #6135
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Gone to Texas. No More Kleptocratic Government for me!
Posts: 4,710
Downloads: 508
Uploads: 31


Default on the way...

a funny thing happened on the way back to base.

we encountered an IJN capitol ship and, although we took a beating between attacks, we not only survived, we conquered.

 
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is offline   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 10:56 PM.


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.