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 09-23-16, 11:17 AM   #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

OK, problem... In the Fall of the Rising Sun Campaign folders are MIS files for the campaign (obviously). I've found a few of them with ships that do not exist. Does anyone know what happens with the game when a Random Generated Group (RGG) calls for a non-existent ship in the game? I'd guess either nothing at all happens, and the ship doesn't generate, or else there's a "glitch" that may or may not be seen by the user, or there's a CTD... but which is it? btw, these apparently are not new issues just introduced with us changing some ships, but have been in there from the get-go, so I don't think it does the CTD... Also, who knows how many WayPoints an RGG can have? I found one with 1674 of them... One RGG, that could potentially spawn every 157 hours. There could be 16 such groups running in a 3 month period of time, all with 1674 waypoints, with paths that intersect, and multiple "decision" WayPoints ("Do I go Left or Right?")

The only way I know of to check for this is to open each file individually and see what it says. However, how much more will change with the ships in the "core" of the Ultimate Edition? My current idea for a "fix" for the problem is to not specify a particular ship, but rather to call for a "Generic" of similar class. Edit: This brings up another question: Does the use of a "Generic" ship do away with max-pecks RazzleDazzle, or will it be applied to the "Generic" class?

comments?? ideas??
__________________

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

Last edited by propbeanie; 09-23-16 at 11:22 AM. Reason: RazzleDazzle
propbeanie is offline   Reply With Quote
Old 09-23-16, 11:23 AM   #2
cdrsubron7
Sink'em All
 
cdrsubron7's Avatar
 
Join Date: Mar 2001
Location: Naperville, IL
Posts: 2,239
Downloads: 305
Uploads: 1


Default

Quote:
Originally Posted by propbeanie View Post
OK, problem... In the Fall of the Rising Sun Campaign folders are MIS files for the campaign (obviously). I've found a few of them with ships that do not exist. Does anyone know what happens with the game when a Random Generated Group (RGG) calls for a non-existent ship in the game? I'd guess either nothing at all happens, and the ship doesn't generate, or else there's a "glitch" that may or may not be seen by the user, or there's a CTD... but which is it? btw, these apparently are not new issues just introduced with us changing some ships, but have been in there from the get-go, so I don't think it does the CTD... Also, who knows how many WayPoints an RGG can have? I found one with 1674 of them... One RGG, that could potentially spawn every 157 hours. There could be 16 such groups running in a 3 month period of time, all with 1674 waypoints, with paths that intersect, and multiple "decision" WayPoints ("Do I go Left or Right?")

The only way I know of to check for this is to open each file individually and see what it says. However, how much more will change with the ships in the "core" of the Ultimate Edition? My current idea for a "fix" for the problem is to not specify a particular ship, but rather to call for a "Generic" of similar class.

comments?? ideas??

If these ships are non existent in the game then they probably be removed so they don't cause problems. Second would be what percentage is used to make them spawn. Just my thoughts.
__________________



Head Deep and Keep'em Astern" - LtCDR Samuel D Dealy
SHIV Guide | Imperial Japanese Navy | US Submarines



cdrsubron7 is offline   Reply With Quote
Old 09-23-16, 01:03 PM   #3
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

Quote:
Originally Posted by propbeanie View Post
OK, problem... In the Fall of the Rising Sun Campaign folders are MIS files for the campaign (obviously). I've found a few of them with ships that do not exist. Does anyone know what happens with the game when a Random Generated Group (RGG) calls for a non-existent ship in the game? I'd guess either nothing at all happens, and the ship doesn't generate, or else there's a "glitch" that may or may not be seen by the user, or there's a CTD... but which is it? btw, these apparently are not new issues just introduced with us changing some ships, but have been in there from the get-go, so I don't think it does the CTD... Also, who knows how many WayPoints an RGG can have? I found one with 1674 of them... One RGG, that could potentially spawn every 157 hours. There could be 16 such groups running in a 3 month period of time, all with 1674 waypoints, with paths that intersect, and multiple "decision" WayPoints ("Do I go Left or Right?")

The only way I know of to check for this is to open each file individually and see what it says. However, how much more will change with the ships in the "core" of the Ultimate Edition? My current idea for a "fix" for the problem is to not specify a particular ship, but rather to call for a "Generic" of similar class. Edit: This brings up another question: Does the use of a "Generic" ship do away with max-pecks RazzleDazzle, or will it be applied to the "Generic" class?

comments?? ideas??
Last question first. Generic ships should not cause a problem with Razzle Dazzle. He only worked over the skins....no other issue with the Missions. His Catapult ship was change by me in regards to the UnitType....I'l get into this later.

A way to fix the issue is to choose another ship in place of the one that you can't find.

For starters, make a printed copy of the Roster/Names.cfg/[Sea] entries (just copy/paste the entire group of ships into a text document, then print it off). The one in my latest mod is in alphabetic order for easier searching. The Names.cfg file lists a name like "VV2", this name is the ClassName of the asset. It's the ClassName that will be listed within the mission .mis files. If you can't find it in the Names.cfg file, or locate it in any other "Sea" folder....then your probably right, it doesn't exist. As the Names.cfg file reveals, the VV2 "given" name is "Victory Supply Ship". It will state this:

VV2=Victory Supply Ship

The Victory Supply Ship is what shows up in the Museum, on the Position Keeper, or in the Recognition Manual. The "VV2" is the "working" name of the asset....its what the game uses to keep it straight from the others. It's this name that you'll find in the .mis files.

I don't know about your first question regarding a missing ship, and what happens within the mission without it?


=========

One thing that I know will create an issue in the .mis file, besides wrongly listing a ClassName, is also wrongly listing a UnitType. This UnitType has been recently change by me on the following ships. These need to be found and changed where these particular ships have been used in the .mis files. For a generic/random choice for ships in a mission there won't be an issue....I left a small number of BB-UnitType=11, CA-UnitType=7, CL-UnitType=6 in the group to be used as random fill-ins.

The German ships I've changed to UnitType=19 "Battleships with Scout Planes" are:
BBTirpitz=Battleship Tirpitz
BBBismarck=Battleship Bismarck

German UnitType=18 "Heavy/Light Cruiser with Scout Planes" are:
CALutzow=Heavy Cruiser Lutzow
BCGrafSpee=Heavy Cruiser GrafSpee

---

Japanese ships I've changed to UnitType=19 "Battleships with Scout Planes" are:
BBFuso=Battleship Fuso
BBIseConv=Battleship Ise (Late War)
BBKongo=Battleship Kongo Class

Japanese ships I've changed to UnitType=18 "Heavy/Light Cruiser with Scout Planes" are:
CAAoba=Heavy Cruiser Aoba
CAMaya=Heavy Cruiser Maya
CAMogami2=Heavy Cruiser Mogami (Late War)
CAMyoko=Heavy Cruiser Myoko
CATakao=Heavy Cruiser Takao
CATone=Heavy Cruiser Tone
CLAgano=Light Cruiser Agano
CLKatori=Light Cruiser Katori
CLKuma=Light Cruiser Kuma
CLNaka=Light Cruiser Naka
CVSChitose=Seaplane Tender Chitose
NAuxCru=Auxuliary Cruiser Aikoku
NKSS_CAT=Catapultship

These 20 ships need to be check within the mission files for the current UnitType value, and corrected.
__________________


The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813

USS Chesapeake Captain James Lawrence lay mortally wounded...
Quote:
.."tell the men to fire faster, fight 'till she sinks,..boys don't give up the ship!"
CapnScurvy is offline   Reply With Quote
Old 09-23-16, 01:18 PM   #4
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

Quote:
Originally Posted by CapnScurvy View Post
I don't know about your first question regarding a missing ship, and what happens within the mission without it?
Ran the Bismark squared with no Bismark in the Game.
You just don't have a Bismark.
Still ran though.
Jeff-Groves is offline   Reply With Quote
Old 09-23-16, 01:32 PM   #5
cdrsubron7
Sink'em All
 
cdrsubron7's Avatar
 
Join Date: Mar 2001
Location: Naperville, IL
Posts: 2,239
Downloads: 305
Uploads: 1


Default

Quote:
Originally Posted by Jeff-Groves View Post
Ran the Bismark squared with no Bismark in the Game.
You just don't have a Bismark.
Still ran though.

Sound to me like after Jeff and s7trikback finish there work on the ships we need to starrt a list for the changes that need to be made to the mis.files along with changing them also just so we don't miss anything.
__________________



Head Deep and Keep'em Astern" - LtCDR Samuel D Dealy
SHIV Guide | Imperial Japanese Navy | US Submarines



cdrsubron7 is offline   Reply With Quote
Old 09-23-16, 01:53 PM   #6
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

I did a quick replace on the Bismark squared mis file.
BBBismark to HBW
Changed Unit type to 200 (I'm testing the Whale as a standard sub right now)
And watched the Whale swim for a bit.
Jeff-Groves is offline   Reply With Quote
Old 09-23-16, 02:08 PM   #7
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
Uploads: 0


Default

Using 010 you can scan the files and create a list of all Class= in the .mis files.
Then scan the Rosters for Classname=

Cut it all down to get a compare list.
I use Open office and notepad for that.

I can walk you through what I do if you'd like.

Last edited by Jeff-Groves; 09-23-16 at 02:20 PM.
Jeff-Groves is offline   Reply With Quote
Old 09-23-16, 03:33 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

Thanks Jeff-Groves. I think I've got a handle on what you're referring to. I've just gone through and done 1941 Campaign files, and when I get to 1942, I'll probably have to get into the "near-semi-automatic" mode of doing it, just because of the shear numbers of things.

We were suspecting the SubHunter groups as the cause of the runaway spawning, but I'm not so sure it's just them. Looking in the Jap_TaskForce files, some of those are 3 columns, with four DD always generated, sometimes, more, and the BB, CV, CA, CL and Tanker ships may or may not generate with them... The DD's are usually "Generic" in the groups. There's also reports of cruisers being the ship.

One thing I've done is to reduce the occurrence of some of the groups, especially the SubHunters, even though there is only two left from FotRS. But they were generating a new group every 24 hours, and when I "Played" the MIS file in the Mission Editor, there was almost always at least 6 groups, and as many as 12 groups out there, all along the southern Honshu coast at any one given time. Your odds of encountering one would be very high still. So I made them only generate one in four times about, and there were usually only the two groups at any one time, maxed at five at once, which would be a little more reasonable to expect around in the area. I also added-in one along the West / North coast with a similar spawn rate. All generate in a harbor, where a captain (hopefully) wouldn't be using Time Compression that's too high.

There's also a little MAD experiment (I call it MAD_Hatter Group) along the coast of China, if any of you wanna wander over between Formosa and China to check it out... I'm not sure how "safe" it'd be (most of the ships are only Novice or Competent - for now), since there's a spawning search plane, and the SubHunter group. Besides the DE that always generates, there might be a CL with planes, and the catapult ship might also be with them... If it works, I'll remove it from 1941 and put it for like 43-45, but put it inline with some convoys... Download the JSGME test files in "1941CampaignChanged.7z" in the Jeff's Stuff in the Google Drive and see what it's like. Let me know, 'cause I'm not gonna do any more with the next years, unless this seems OK. Don't forget though, Campaign, and all ports need testing.
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 09-23-16, 03:40 PM   #9
Navigator857
CTR2 Jack Frost
 
Navigator857's Avatar
 
Join Date: Mar 2007
Location: Still on Bridge aboard the USS Iowa BB61
Posts: 213
Downloads: 324
Uploads: 0
Default Title pages

Bravo Zulu on those SH opening screens. Instead of picking on since they all rock is it possible to have them change each time you start the game?


Jack
__________________
"Freedom is not owed, it is bestowed upon those who earn it!"

by....ME / QM3 Jack Frost, USS IOWA BB61 - Precom 1983 - 1987 / CTR2 Jack Frost - NSGA Northwest Chesapeake, VA. 1987 - 1994!
Navigator857 is offline   Reply With Quote
Old 09-23-16, 04:02 PM   #10
cdrsubron7
Sink'em All
 
cdrsubron7's Avatar
 
Join Date: Mar 2001
Location: Naperville, IL
Posts: 2,239
Downloads: 305
Uploads: 1


Default

Quote:
Originally Posted by Navigator857 View Post
Bravo Zulu on those SH opening screens. Instead of picking on since they all rock is it possible to have them change each time you start the game?


Jack
As it stands at the moment the submarine surfacing will be the main intro screen. The other four will be JSGME ready and can be easily changed at any given time. They will be part of our plug-in mods that Rockin Robbins has mentioned before.

Thanks for the compliments on the screens, appreciate it.
__________________



Head Deep and Keep'em Astern" - LtCDR Samuel D Dealy
SHIV Guide | Imperial Japanese Navy | US Submarines



cdrsubron7 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 12:06 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.