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
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-10-17, 08:48 PM   #1
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

Quote:
Originally Posted by granite00 View Post
I installed OTC for Stock 1.5 and its Aspect Ratio companion after Spyron. I noticed the starting dates changed dramatically. Alone, Spyron has start dates every three months throughout the war vs. OTC which has starts once a year (1941, 1942, etc.). The next thing I found is that this mod combination always sends me to the East China Sea on the first patrol. This is the case no matter the starting date, starting home port or starting submarine type.

I think these mods need to play in separate sand boxes. Just to be clear, the Spyron mod maker never wrote this mod will work with anything other than Stock 1.5. Now I know better.
I read your post and took the time to see just what did I do with the stock game OTC mod?

I noticed I had two files in OTC that caused the issue with your start dates when comparing OTC to Spyron. Their the Data/UPCData/UPCCampaignData/CareerStart.upc and the Flotillas.upc files. I didn't remember why their in the mod, so I compared them to the stock game files. The stock game files are on the right, OTC files are on the left:



Probeanie, your going to like this!! The stock game's Flotillas.upc file has errors with dates in them. Notice the February 29, 1942 date....except for leap year, there's no such date as 1942-02-29, AND the game doesn't recognize leap year anyway. There's only 365 game time days in a year.

I went down the list to the next entry:



Same thing, my only reason of having the stock game Flotillas.upc file modified with the OTC mod was to correct the dates that I found in error. Once again, the date June 31, 1944 doesn't exist. June 30th does.

I looked in the other OTC modded file (CareerStart.upc) and found the same thing:



This time its April 31, 1944 that's in error.

The other minor change I made to this stock game file was giving the player a different offered Renown amount at the start of your Campaign.

So, that's why those .upc files are in the "OTC for SH4 v1.5". I'm fixing the errors in the stock game that can easily cause trouble when playing the game. The basic concept of having a Campaign start just once a year is a stock game thing. OTC just corrected the dates the stock game provided, and adds different amounts of Renown to you, if you so choose.

I would think that if you wanted to use the Spyron mod, with OTC overlaying it, just delete the OTC "UPCCampaignData" folder (with the two .upc files from above). The Spyron mod files will prevail, and you may be good to go.

I say you may be good to go because I haven't looked at what other conflict possibilities there may be.
__________________


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!"

Last edited by CapnScurvy; 01-11-17 at 08:16 AM.
CapnScurvy is offline   Reply With Quote
Old 01-10-17, 09:29 PM   #2
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

Very interesting Capn... more "date" issues... kind of reminds me of high school, trying to get a girl to go with me on a date... "Sure!" she said... "How about 8:00pm on Friday June 31st?" Fantastic... we had such a ~good~ time...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 01-10-17, 10:22 PM   #3
granite00
Torpedoman
 
Join Date: May 2015
Posts: 113
Downloads: 170
Uploads: 0
Default

Thanks Capn,
Your two responses will give me something to play around with.
__________________
granite00
granite00 is offline   Reply With Quote
Old 01-10-17, 10:21 PM   #4
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default Dive to your Death mod

This simple mod will allow you to dive any sub beyond its Test Depth. Anyone can make it if you know how to create NEW folders in your Windows Explorer. If you don't, I'm going to show you how....its time to learn!

Depending on whether you're only playing the stock game, or one that's modded, you'll be modifying the Data/Submarine/NSS_Xxxx/NSS_Xxxx.cfg file (the following is for the stock game Balao sub):



If your using mods that change this file, you'll be copy/pasting this same .cfg file from the last mod that is used to change the stock games .cfg file. In other words, if your stock game has the Data/Submarine/NSS_Xxxx/NSS_Xxxx.cfg file changed by a mod like TMO.....use the TMO Data/Submarine/NSS_Xxxx/NSS_Xxxx.cfg file for this mod your about to make.

Let's get started. Using Windows Explorer, find your JSGME "MODS" folder and left click it (its in the "Main" game folder, usually named Silent Hunter Wolves of the Pacific). A right side pane will open showing the contents of the "MODS" folder. Right click inside this right pane to have a small menu box appear. You'll see an option of "NEW"..... mouse over it to have another menu box appear.....left click the "Folder" option at the top. A "New Folder" was created in the "MODS" folder....name it "Dive to your Death". As before, left clicking this folder in the left pane will open the folder to show its empty contents in the right pane. Mouse right click the empty folder in the right pane and the "NEW" menu box will appear again. Mouse over the "NEW" option to once again create a "Folder"...this time name it "Data".

You're probably beginning to get the idea. You can create folders, inside folders, renaming them to suit the same naming scheme that the game uses. Mirroring the game folder/file structure is important. Having a misspelling, or a folder out of place will cause the mod to not load correctly within JSGME.

You're wanting to have a folder "path" structure that looks like this in the JSGME "MODS" folder:

Dive to your Death/Data/Submarine/NSS_Balao....go ahead, add the two other folders (Submarine/NSS_Balao) to what you've already done.

Now, find your stock game (or, the mod that last changes the stock games) Data/Submarine/NSS_Balao/NSS_Balao.cfg file....right click it, and copy the NSS_Balao.cfg file. Then go to your newly created MODS/Dive to your Death/Data/Submarine/NSS_Balao/ folder and paste the NSS_Balao.cfg into the NSS_Balao folder.

Opening the .cfg file will look like this:



The .cfg file can be opened with any text editor. Windows has a couple, using Windows Notepad is simple.....usually you just need to left click the file, it will open to the above text.

In the MaxDepth= parameter just move the ; (which "comments out" the text that's read after it, meaning the game won't read it...its there to remind you of what the old figure was) to in-front of the stock game value of 100meters. Then without a space, add 1000 to MaxDepth=.....reading MaxDepth=1000 ;100meters.

This is important, mouse click the "File" menu heading, and "Save" your changes...your done with your first sub.

Now list each of the other subs with their respective folders in the new mods Submarine/ folder. Then copy/paste each of their specific NSS_Xxxx.cfg files into those folders you just made. Your completely done when all subs have their .cfg file changed to 1000 meters under the MaxDepth= parameter.

Since the "Dive to your Death" mod was created inside the "MODS" folder, you just need to "activate" it within JSGME the next time you play the game.

Enjoy
__________________


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!"

Last edited by CapnScurvy; 01-11-17 at 08:08 AM.
CapnScurvy is offline   Reply With Quote
Old 01-18-17, 10:53 PM   #5
granite00
Torpedoman
 
Join Date: May 2015
Posts: 113
Downloads: 170
Uploads: 0
Default

Quote:
Originally Posted by CapnScurvy View Post
This simple mod will allow you to dive any sub beyond its Test Depth. Anyone can make it if you know how to create NEW folders in your Windows Explorer. If you don't, I'm going to show you how....its time to learn!

...

In the MaxDepth= parameter just move the ; (which "comments out" the text that's read after it, meaning the game won't read it...its there to remind you of what the old figure was) to in-front of the stock game value of 100meters. Then without a space, add 1000 to MaxDepth=.....reading MaxDepth=1000 ;100meters.
Once again, CapnScurvy came to the rescue. I followed your instructions and everything seems to work as promised. Thanks CapnScurvy.
__________________
granite00
granite00 is offline   Reply With Quote
Old 01-16-17, 10:11 AM   #6
granite00
Torpedoman
 
Join Date: May 2015
Posts: 113
Downloads: 170
Uploads: 0
Default

Quote:
Originally Posted by CapnScurvy View Post
I would think that if you wanted to use the Spyron mod, with OTC overlaying it, just delete the OTC "UPCCampaignData" folder (with the two .upc files from above). The Spyron mod files will prevail, and you may be good to go.
Reporting back.

Thanks very much CapnScurvy, I just finished one patrol and your suggestion seemed to work.
__________________
granite00
granite00 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:15 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.