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 > Silent Hunter 4: Wolves of the Pacific > SH4 ATO Mods
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-28-18, 02:59 PM   #1
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

I believe you slightly misunderstand me mark bonamer. Here's an example of what I'm talking about:
[UserPlayerUnit 1.Compartment 1.Bunker 1] ; Stern Torpedo Room
ID=SternTorpedoRoom
Capacity=4
IDLinkAmmunitionIntervalDefault1= NULL, 1943-12-31, Mk14Torpedo, 4
IDLinkAmmunitionIntervalDefault2= 1944-01-01, 1944-06-31, Mk14Torpedo, 3, Mk18Torpedo, 1
IDLinkAmmunitionIntervalDefault3= 1944-07-01, 1944-12-31, Mk14Torpedo, 2, Mk18Torpedo, 2
IDLinkAmmunitionIntervalDefault4= 1945-01-01, NULL, Mk14Torpedo, 1, Mk18Torpedo, 2, Mk27Torpedo, 1

... and from the same file:
[UserPlayerUnit 1.Compartment 5.WeaponSlot 1]
ID= TorpMountB1
NameDisplayable= Torpedo Tube 1
Type=NULL
AcceptedTypes= TorpedoTube
UserCustomizable=No
IDLinkBunker=BowTorpedoRoom
IDLinkWeaponIntervalDefault1= NULL, 1944-09-31, TorpedoTube21inUS, Mk14Torpedo
IDLinkWeaponIntervalDefault2= 1944-10-01, NULL, TorpedoTube21inUS, Mk23Torpedo
ExternalNodeName3D= NULL
ExternalObjectName3D= NSS_Balao_Door02_FRU_anim01
ExternalDamageZoneTypeID3D= 58

... and there's another June 31st just below that. This is ~one~ file out of thousands in the game, and it has at least 3 bad dates in it. These are from the "Data / Submarine / NSS_Balao / NSS_Balao.upc" file in the stock game. Other files aren't as bad, others are worse. This causes a one day overlap of the assets on the boat. If you don't "hit" that date, no problem, but if you do... Not all mods caught those little things. Things like this can make a Turm assignment go bonkers on the player... This is one area CapnScurvy has been diligent about with FotRSU.
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 09-29-18, 10:42 AM   #2
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 propbeanie View Post
I believe you slightly misunderstand me mark bonamer. Here's an example of what I'm talking about:
[UserPlayerUnit 1.Compartment 1.Bunker 1] ; Stern Torpedo Room
ID=SternTorpedoRoom
Capacity=4
IDLinkAmmunitionIntervalDefault1= NULL, 1943-12-31, Mk14Torpedo, 4
IDLinkAmmunitionIntervalDefault2= 1944-01-01, 1944-06-31, Mk14Torpedo, 3, Mk18Torpedo, 1
IDLinkAmmunitionIntervalDefault3= 1944-07-01, 1944-12-31, Mk14Torpedo, 2, Mk18Torpedo, 2
IDLinkAmmunitionIntervalDefault4= 1945-01-01, NULL, Mk14Torpedo, 1, Mk18Torpedo, 2, Mk27Torpedo, 1

... and from the same file:
[UserPlayerUnit 1.Compartment 5.WeaponSlot 1]
ID= TorpMountB1
NameDisplayable= Torpedo Tube 1
Type=NULL
AcceptedTypes= TorpedoTube
UserCustomizable=No
IDLinkBunker=BowTorpedoRoom
IDLinkWeaponIntervalDefault1= NULL, 1944-09-31, TorpedoTube21inUS, Mk14Torpedo
IDLinkWeaponIntervalDefault2= 1944-10-01, NULL, TorpedoTube21inUS, Mk23Torpedo
ExternalNodeName3D= NULL
ExternalObjectName3D= NSS_Balao_Door02_FRU_anim01
ExternalDamageZoneTypeID3D= 58

... and there's another June 31st just below that. This is ~one~ file out of thousands in the game, and it has at least 3 bad dates in it. These are from the "Data / Submarine / NSS_Balao / NSS_Balao.upc" file in the stock game. Other files aren't as bad, others are worse. This causes a one day overlap of the assets on the boat. If you don't "hit" that date, no problem, but if you do... Not all mods caught those little things. Things like this can make a Turm assignment go bonkers on the player... This is one area CapnScurvy has been diligent about with FotRSU.
clearly, the file you are referencing is a Save.UPC file.
i have not noticed that to date but i will have to put that on the list of things to check the very next time i make port.
thank you for explaining.
__________________
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 09-29-18, 01:09 PM   #3
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

Alas, nay! Nein! Kein! Nicht! No siree Bob! These are in the game itself, as released to the general public, from the first release, through v1.5. As mentioned before, you won't usually encounter any issues. Look in the "Drive:\ Game \ Data\ Submarine \ AnyBoat \ AnyBoat.upc" files, and you'll see these. They're throughout the game any place dates are used, including all of the UPCData folders & files. The game most likely does not use "dates" per se, but rather 'counts' the days from the beginning, and converts that data to calculate a given date when needed. It seems to count fine, and will usually display "Messages.txt" when it's supposed to, but besides overlaps of dates for equipment and flotilla starts, what happens in the game enigine? Only the tracers know...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 09-30-18, 11:39 AM   #4
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 tired of CTD

i am so tired of the CTD ending during OpMunson.
the current one occurs mid-patrol mid-August 1942. i am approaching a large convoy and at the spawn point {bang} CTD.
i've rebooted.
used smart-game-boost and no game-boost. no difference.
nothing seems to work.
argh.

probably no solution, so i restarted and cruised in a different direction.
this is maddening!
__________________
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 09-30-18, 12:51 PM   #5
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

If you're off the coast of Ireland, we had that about a half-dozen pages (or more) back. If you're off the Northwest coast of France, that was just a few pages back from here. There are some bad ship calls in the layers... It happens, as you saw in FotRSU, and is just a little too easy of a mistake to overlook in a game that has absolutely ~NO~ error catching or controls...

Edit: OK, went on a "hunt", and I did NOT find the northwest of France issue... that must be in a separate thread somewhere below here in the section... but I did find:

Radio Station Manager issue:
http://www.subsim.com/radioroom/show...97#post2446797

Surviving Operation Monsun (advice):
http://www.subsim.com/radioroom/show...63#post2088363

Ireland was you:
http://www.subsim.com/radioroom/show...79#post2510979

I'll keep trying to find the northwest of France. We found it to be a bad ship call, but I can't remember which one it was... I fixed all of them in my game after that... I wonder if I can find that from edit dates?...

- or was that "niner delta duece"?...
__________________

"...and bollocks to the naysayers" - Jimbuna

Last edited by propbeanie; 09-30-18 at 01:15 PM. Reason: Linkie linkie linkie
propbeanie is offline   Reply With Quote
Old 09-30-18, 01:52 PM   #6
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 propbeanie View Post
If you're off the coast of Ireland, we had that about a half-dozen pages (or more) back. If you're off the Northwest coast of France, that was just a few pages back from here. There are some bad ship calls in the layers... It happens, as you saw in FotRSU, and is just a little too easy of a mistake to overlook in a game that has absolutely ~NO~ error catching or controls...

Edit: OK, went on a "hunt", and I did NOT find the northwest of France issue... that must be in a separate thread somewhere below here in the section... but I did find:

Radio Station Manager issue:
http://www.subsim.com/radioroom/show...97#post2446797

Surviving Operation Monsun (advice):
http://www.subsim.com/radioroom/show...63#post2088363

Ireland was you:
http://www.subsim.com/radioroom/show...79#post2510979

I'll keep trying to find the northwest of France. We found it to be a bad ship call, but I can't remember which one it was... I fixed all of them in my game after that... I wonder if I can find that from edit dates?...

- or was that "niner delta duece"?...
this time, the theatre of operations was off the coast of Portugal although i may be meeting the same convoy as NW France just a bit earlier than the last guy.



after i restarted and ignored the issue above, i sailed north and west of ireland and that is where i ran into another spawn-CTD. i wish i had captured a map when i encountered this issue back in 2017.



did we find a solution for the 2017-off-the-cost-of-ireland? i mean did we find the offending convoy/ship?
__________________
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 09-30-18, 02:10 PM   #7
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 propbeanie View Post
There are some bad ship calls in the layers... .
i have identified a small subset of convoys so now the issue is ..how does one identify a "bad ship call"?
__________________
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 09-30-18, 03:26 PM   #8
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

There-in lies the rub... The "Game \ Sea \ NShipName \ NShipName.cfg" file has a line in it "UnitType=101" or whatever the number. The "Game \ Roster \ Country \ Sea \ ShipName.cfg" file has a corresponding "UnitType=0" line. Those have to match (these do not here in my quick example) exactly. You might consult the Names.cfg file in the Roster folder for these kind of lines:
;Warships
Type0=Patrol Craft
Type1=Corvette
Type2=Frigate
Type3=Destroyer Escort
Type4=Destroyer
... etc.
There's Warships, Merchants,, Subs, Airplanes, Land, etc... Those particular "UnitType=" lines also have to match each and every "call" for them in the Campaign files. However, in something like OM, don't forget that you're more concerned with "Game \ Data \ Campaigns \ CampaignGE \" and all other MIS files on the German side. ~ALL~ the MIS files... As an example, here's a few lines from the 44a_US_Merchants.mis file:
[RndGroup 1]
GroupName=44A_Allied_Merchants_001
Category=0
CommandEntry=0
Long=-14886600.000000
Lat=5797400.000000
Height=0.000000
...
That's a portion of the RGG "definition". Then the "Ships" it uses would be like:
[RndGroup 1.RndUnit 1]
Type=101
Origin=American
Side=1
CargoExt=-1
CargoInt=2
CfgDate=19440601
No=1
Escort=false
SpawnProbability=100
CrewRating=2
Which is a "Generic" call for an American Tanker. Note that there is not a "Class=xxx" line there? Those complicate things a bit further, such as:
[RndGroup 21.RndUnit 59]
Class=DERiver
Type=3
Origin=Canadian
Side=1
CargoExt=-1
CargoInt=-1
CfgDate=19440105
No=1
Escort=true
SpawnProbability=100
CrewRating=2
Which is a ship call in the Lant_Convoys_44.mis file. That Class= has to match the CFG files' "ClassName=xx" line... "xx" being the specific type of ship...

We have the good fortune of working with a spreadsheet wiz with s7rikeback on the FotRSU team, and he has a spreadsheet in the Support folder that makes life oh-so much easier for editing the Campaign and other MIS files. He has the Folder, ShipName, Call Name (might be different because of the use of "N" for a lot of Sea folders), Type= line, Countries used, etc., and all I have to do is click a button to sort them how I need them, and then "Search" through the files with Notepad++ or some other "Search" agent, and find the Calls that I need...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 09-30-18, 05:21 PM   #9
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 propbeanie View Post
There-in lies the rub... The "Game \ Sea \ NShipName \ NShipName.cfg" file has a line in it "UnitType=101" or whatever the number. The "Game \ Roster \ Country \ Sea \ ShipName.cfg" file has a corresponding "UnitType=0" line. Those have to match (these do not here in my quick example) exactly. You might consult the Names.cfg file in the Roster folder for these kind of lines:
ok, in Lant_42.MIS, one of the suspect convoys, ON_Large_42, has an entry:
[RndGroup 51.RndUnit 61]
Class=DDTown
Type=4
Origin=British
Side=0


there is no entry for DDTown in C:\Ubisoft\SilentHunter4\Data\Roster\British\Sea.


so....is it easier to change this one entry to an escort that is being used or should i just delete the lines for this entry? or do i create a new file DDTown.cfg and copy lines from a similar ship? (this would seem to be the most risky)
__________________
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 11:47 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.