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 11-07-21, 04:50 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

You usually have to run Hebe's tool multiple times to clear issues. You might fix what his tool found, but there is another lurking behind that one. But yes, the internal names have to match throughout. Take just a stock asset though, and copy its naming conventions, other than, do NOT use Conte Verde or the Porpoise, and some merchant that I can see, but cannot remember... but if you use the Kate for an airplane example, it has errors in the loadouts - in the Stock game... even the devs had issues with load-outs...

But anyway, the Kate is "ADB_B5N2_Kate" folder name. "ADB_B5N2_Kate.cfg" in that folder (think of a single mission file, that has the file matching the folder name). Inside that config is "ClassName=B5N2Kate * 3DModelFileName=data/Air/ADB_B5N2_Kate/ADB_B5N2_Kate * UnitType=303". Now, in the Roster Air folder for Japan is "TB_B5N2_Kate.cfg" and in it is "ClassName=B5N2Kate * UnitType=303" So they name it "DB" for "DiveBomber" in the Air folder, yet number it 303 for "Torpedo Bomber", and name it that in the Roster folder... sigh - but it does work like that.

in the Air cfg file is
[Loadout 1]
Name=3x500Kg Bombs
Type=3

[Loadout 2]
Name=4x250Kg Bombs ** no matching entry in the eqp file
Type=2

[Loadout 3]
Name=Torpedo
Type=4
and the eqp file has
;Basic Loadout values
All OK, seemingly
;3x500Kg Bombs loadout definition
All OK, seemingly
;5x250Kg loadout definition
All OK, seemingly, other than no matching cfg listing...
;Torpedo
Seemingly OK also
... and then list all of the "pilots" at the end, outside the other "loadout" definitions... not confusing. But notice that the cfg file names do not match, but the ClassName and Type must, of course... Probably what happened with this plane, is Bob was working on the plane, while Pete was working on the configuration for the Roster and Air folders, based on Bob's plane. Bob quits, and Steve takes over. He looks at the plane and goes "it be nice to have another bomb mount on this" and adds a B5 node, changing the Air folder, yet neglects to tell Pete for changes to the Roster. whatever - it actually only has four mounts, so it might just be someone got their finger in the wrong hole when typing a number four, and got "5" instead...
__________________

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

Last edited by propbeanie; 11-07-21 at 04:59 PM. Reason: TYPO ALERT!!!
propbeanie is offline   Reply With Quote
Old 11-07-21, 05:15 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 propbeanie View Post
You usually have to run Hebe's tool multiple times to clear issues. You might fix what his tool found, but there is another lurking behind that one. But yes, the internal names have to match throughout. Take just a stock asset though, and copy its naming conventions, other than, do NOT use Conte Verde or the Porpoise, and some merchant that I can see, but cannot remember... but if you use the Kate for an airplane example, it has errors in the loadouts - in the Stock game... even the devs had issues with load-outs...
i am cleaning up the "bad dates" (no Raiders jokes, please! asps, very dangerous....)but the rest of these errors have me all sixes and sevens.
==Entry not found== AppearanceDate
Line:34 "[Unit 6]" Sequential Order==
=="Eqp:9=41" Double Node entry==
...just to name a few.

the more i know, the less i understand.

if the My-SH3-Tool developers are still around, please do not mistake my comments as derogatory, far from it. you have my respect and admiration. however some of these identified issues are very difficult to not only understand but also to actually find and fix.
__________________
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 11-07-21, 06:35 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

Follow the first part of the line for where the file is located, in this case, using your "Line:34 "[Unit 6]" Sequential Order==" listing, that is the Type23 in "D:\Game \DarkWaters \Data \Roster \German \Submarine \SSTypeXXIII.cfg" ("D" for drive, etc.) In that file, notice the listings for units:
[Unit 5]
Name=U-2329
DOC=19441231
DOD=19450630

[Unit 7]
Name=U-2336
DOC=19441231
DOD=19450630

[Unit 8]
Name=U-2337
DOC=19441231
DOD=19450630
It goes from Unit 5 to Unit 7, missing Unit 6. The "DB_EqpLoadout.csv Line 37:
ALB_B17g_Bomber;D:\Games\DarkWaters\data\Air\ALB_B 17g_Bomber\ALB_B17g_Bomber.eqp;=="Eqp:9=41" Double Node entry==" listing is similar (this is just one of several). Just navigate into the folder, and note in the eqp file and you'll find
[Equipment 9]
NodeName=B09
LinkName=NULL

[Equipment 41]
NodeName=B09
LinkName=NULL
I didn't look any deeper, but from the looks of it, there are more than just that one like that, but only the first mistake is listed. Hence the need for multiple runs of Hebe's tool. The "missing" stuff is all too common, and can sometimes take some digging. Some of the findings are indeed rather cryptic, but in those cases, check the spelling... Also, a "mistake" might be listed in one file, but is actually in its related file, so watch for those...


Additionally: The use of Notepad++, a freeware solution, or better still, SweeScape 010 Editor (payware) use line numbers in the left-hand column of their text editor pages. This can help immensely in finding some of these errors.
__________________

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

Last edited by propbeanie; 11-07-21 at 06:42 PM. Reason: Additionally
propbeanie is offline   Reply With Quote
Old 11-11-21, 04:20 PM   #4
s7rikeback
I break things
 
s7rikeback's Avatar
 
Join Date: Jan 2013
Location: Merry Old England
Posts: 770
Downloads: 1179
Uploads: 10


Default

Quote:
Originally Posted by propbeanie View Post
Follow the first part of the line for where the file is located, in this case, using your "Line:34 "[Unit 6]" Sequential Order==" listing, that is the Type23 in "D:\Game \DarkWaters \Data \Roster \German \Submarine \SSTypeXXIII.cfg" ("D" for drive, etc.) In that file, notice the listings for units:
[Unit 5]
Name=U-2329
DOC=19441231
DOD=19450630

[Unit 7]
Name=U-2336
DOC=19441231
DOD=19450630

[Unit 8]
Name=U-2337
DOC=19441231
DOD=19450630
It goes from Unit 5 to Unit 7, missing Unit 6. The "DB_EqpLoadout.csv Line 37:
ALB_B17g_Bomber;D:\Games\DarkWaters\data\Air\ALB_B 17g_Bomber\ALB_B17g_Bomber.eqp;=="Eqp:9=41" Double Node entry==" listing is similar (this is just one of several). Just navigate into the folder, and note in the eqp file and you'll find
[Equipment 9]
NodeName=B09
LinkName=NULL

[Equipment 41]
NodeName=B09
LinkName=NULL
I didn't look any deeper, but from the looks of it, there are more than just that one like that, but only the first mistake is listed. Hence the need for multiple runs of Hebe's tool. The "missing" stuff is all too common, and can sometimes take some digging. Some of the findings are indeed rather cryptic, but in those cases, check the spelling... Also, a "mistake" might be listed in one file, but is actually in its related file, so watch for those...


Additionally: The use of Notepad++, a freeware solution, or better still, SweeScape 010 Editor (payware) use line numbers in the left-hand column of their text editor pages. This can help immensely in finding some of these errors.
Anything I can help with pb ?
__________________
s7rikeback is offline   Reply With Quote
Old 11-12-21, 05:08 AM   #5
s7rikeback
I break things
 
s7rikeback's Avatar
 
Join Date: Jan 2013
Location: Merry Old England
Posts: 770
Downloads: 1179
Uploads: 10


Default

Quote:
Originally Posted by KaleunMarco View Post
i am cleaning up the "bad dates" (no Raiders jokes, please! asps, very dangerous....)but the rest of these errors have me all sixes and sevens.
==Entry not found== AppearanceDate
Line:34 "[Unit 6]" Sequential Order==
=="Eqp:9=41" Double Node entry==
...just to name a few.

the more i know, the less i understand.

if the My-SH3-Tool developers are still around, please do not mistake my comments as derogatory, far from it. you have my respect and admiration. however some of these identified issues are very difficult to not only understand but also to actually find and fix.
Marco,

You have a PM sir.


Marco, your inbox is full, im unable to replt to your PM's.
__________________

Last edited by s7rikeback; 11-13-21 at 08:06 AM.
s7rikeback 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 03:21 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.