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-30-18, 05:21 PM   #1
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
Old 09-30-18, 05:30 PM   #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 mark bonamer View Post
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)
and...
after further review...
there are entries for a British DDTown in the dotMIS file of the two convoys that are passing Portugal.
__________________
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, 06:01 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

You are getting the hang of this rather quickly! Excellent find. Now, take the Data / Roster / British / Sea / DDClemson.cfg and rename it DDTown.cfg - looks to be the simplest "fix" for it... If you open the Clemson file in the British folder, you'll see that it's referring to "ClassName=DDTown"

Edit: Another thing you can do to "test" a game is to run the Museum. Make sure you have LAA enabled on the SH4.exe file first though... If it crashes, that usually means there are issues with the ship just after the crash. Some mods just will not run the Museum, but it's not always the ship definitions. I'm trying OpMonsun's now...

Edit2: 1st run crash after B17G in the US planes (... Ships "fly" across the screen too...
... well, the "US LB HeavyBomber" and the "AM B24 Level Bomber" both crash it... This might take a while... lol

Edit3: OK, there are file name mis-matches, as well as ClassName mis-matches, so while I wait on other happenings, I'll noodle in OM for a bit, and go through things and try to match them up, and get back with you...
__________________

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

Last edited by propbeanie; 09-30-18 at 06:38 PM. Reason: Museum
propbeanie is offline   Reply With Quote
Old 09-30-18, 06:12 PM   #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

Quote:
Originally Posted by propbeanie View Post
You are getting the hang of this rather quickly! Excellent find. Now, take the Data / Roster / British / Sea / DDClemson.cfg and rename it DDTown.cfg - looks to be the simplest "fix" for it... If you open the Clemson file in the British folder, you'll see that it's referring to "ClassName=DDTown"

Edit: Another thing you can do to "test" a game is to run the Museum. Make sure you have LAA enabled on the SH4.exe file first though... If it crashes, that usually means there are issues with the ship just after the crash. Some mods just will not run the Museum, but it's not always the ship definitions. I'm trying OpMonsun's now...

cool.
i like the easy fix.

going to try it right now.
__________________
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, 06:37 PM   #5
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 mark bonamer View Post
cool.
i like the easy fix.

going to try it right now.
no joy.
ctd

i am going to go back and review the merchies in the dotMIS file and see if there are any anomalies.
__________________
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, 06:39 PM   #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

There are. See my edit3 above. Several of the planes I've looked at don't have "matches" either...

Edit: as consolation, here's our first "target" in the Museum:

__________________

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

Last edited by propbeanie; 09-30-18 at 06:48 PM. Reason: Pic
propbeanie is offline   Reply With Quote
Old 09-30-18, 06:50 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. See my edit3 above. Several of the planes I've looked at don't have "matches" either...

Edit: as consolation, here's our first "target" in the Museum:

ok, but planes are not part of the spawn for this convoy, are they?
__________________
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, 06:47 PM   #8
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 mark bonamer View Post
no joy.
ctd

i am going to go back and review the merchies in the dotMIS file and see if there are any anomalies.
well....there has to be another issue because i cared for the lack of DDTown and the only other ships in the convoy are type=1 (no Class anomalies) and types 101 and 102 which do not use Class=.


suggestions, thoughts, wild fantasies?
__________________
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, 06:51 PM   #9
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 mark bonamer View Post
well....there has to be another issue because i cared for the lack of DDTown and the only other ships in the convoy are type=1 (no Class anomalies) and types 101 and 102 which do not use Class=.

suggestions, thoughts, wild fantasies?
I have plenty of wild thoughts and fantasies, but none of them fit to publish, unless it's a single copy for my wife...

In the meantime, see the pic above, and see if you can get it in the Museum. Don't try to scroll through though. After the Museum finally opens to the Iowa Class BB, use the drop-down menus and go to the British ships, then the Destroyers, then the DDTown, and see if you get what I got. If not, there's a mistake. As far as the other ships, don't forget that the files "overlap" each other. I'm going to do a an SH Validator run on the install, and I'll give you a list of "suspects" here shortly...
__________________

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

Last edited by propbeanie; 09-30-18 at 07:44 PM.
propbeanie 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 01:36 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.