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-13-08, 08:12 PM   #1
Zero Niner
Ace of the Deep
 
Join Date: Apr 2005
Posts: 1,033
Downloads: 69
Uploads: 0
Default Screwy Patrol Log

Just returned to Surabaya after a successful 1st patrol aboard the Seawolf. The patrol log's rather screwy:


For one, the date of sinking of the first 6 ships. Note that I departed Surabaya on Jan 3 '42 at 0800. But the date & time of sinkings is 0008 on Jan 3 '42!

Secondly, the names of the units destroyed. I actually prefer the log in SH3, where the records are in plain English, with tonnage.

For the record, the sinkings are a medium tanker, 8 merchants (various small & medium types) and a minelayer. Almost 38,000 tons in total.

Using TM 1.7.4 only, SH4 1.4

What's wrong?
Zero Niner is offline   Reply With Quote
Old 01-13-08, 08:21 PM   #2
LZ_Baker
Engineer
 
Join Date: Mar 2005
Location: Boston
Posts: 213
Downloads: 51
Uploads: 0
Default

Thats happens to me all of the time, I think it has something to do with loading saves.
__________________
LZ_Baker is offline   Reply With Quote
Old 01-13-08, 08:35 PM   #3
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

I'll post how to fix this later, but its a manual edit job, but the summation is,

All your sinkings are recorded correctly in the following file:
My Documents\SH4\data\cfg\SaveGames\(some save game number)\SaveData.clg

Since i just completed sea trials, one of my saved games has this in the file:
Quote:

[Log Entry 0]
Type=0
EntryText=Long 122° 46' W, Lat 37° 45' N|Ship sunk! Parker's Tincan, 0 tons
EntryTitle=March 31, 1942, 05:11
Date=19420331
Time=511
Categ=0
The problem is when you dock and complete your patrol. This data isn't written to your overall career file correctly. This file is:
My Documents\SH4\data\cfg\SaveGames\(some save game number)\CareerTrack.upc

Basically you take the info in the CLG file, and replace the incorrect data in the UPC file. You only need to do this once, per patrol at the end of the patrol. Since the file is continued on your next save, the game doesnt try to write to the same area twice, so your edits will "stick" on past patrols.
Ducimus is offline   Reply With Quote
Old 01-13-08, 09:10 PM   #4
Zero Niner
Ace of the Deep
 
Join Date: Apr 2005
Posts: 1,033
Downloads: 69
Uploads: 0
Default

Thanks Ducimus.
Would it be possible to write a simple program that could take the correct data and overwrite it in the other file?

Edit: the clg & upc files can be opened in Notepad?
Zero Niner is offline   Reply With Quote
Old 01-13-08, 09:18 PM   #5
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

I just use notepad.
Ducimus is offline   Reply With Quote
Old 01-13-08, 11:41 PM   #6
dmlavan
Weps
 
Join Date: Oct 2006
Location: Jacksonville, FL
Posts: 351
Downloads: 69
Uploads: 0
Default

ZeroNiner,
Thanks for asking the question. I just accepted it as another flaw in SH4 - glad you asked so I know there's a fix too !
dmlavan is offline   Reply With Quote
Old 01-14-08, 05:13 AM   #7
maerean_m
Captain
 
Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
Default

It got fixed in the add-on.
__________________
Kilroy was here
maerean_m is offline   Reply With Quote
Old 01-14-08, 07:32 AM   #8
Zero Niner
Ace of the Deep
 
Join Date: Apr 2005
Posts: 1,033
Downloads: 69
Uploads: 0
Default

What add-on? TM 1.7.5?
Zero Niner is offline   Reply With Quote
Old 01-14-08, 07:34 AM   #9
DrBeast
The Old Man
 
Join Date: Oct 2007
Location: Somewhere Out In Space
Posts: 1,408
Downloads: 36
Uploads: 0
Default

No, the add-on Ubisoft will release later this year.
__________________



Let the Beast inside you free!
DrBeast is offline   Reply With Quote
Old 01-18-08, 12:43 AM   #10
dmlavan
Weps
 
Join Date: Oct 2006
Location: Jacksonville, FL
Posts: 351
Downloads: 69
Uploads: 0
Default

What info do you replace in the CareerTrack? The fields in that file look like this:

[CareerTrack 1.CareerStatusSave 40]
ID=ID
Reason=CSS_UnitDestroyed
NameDisplayable=Photo Honshu 04_JP Modern Liner#1
CurrentDate=1943-09-15 00:22:11
LocationName=
Location=0,5.13934e-039
TargetLocation=-1.4226,1.32606e-009
UnitDestroyed=PLKiturin,Photo Honshu 04_JP Modern Liner#1
EUnitType=103

But the corresponding one in SaveData.cfg looks like this:

[Log Entry 7]
Type=0
EntryText=Long 135° 24' E, Lat 31° 22' N|Ship sunk! Kiturin Maru, 5280 tons
EntryTitle=September 15, 1943, 22:11
Date=19430915
Time=2211
Categ=0

Any help appreciated!
dmlavan is offline   Reply With Quote
Old 01-18-08, 01:15 AM   #11
vindex
Planesman
 
Join Date: Apr 2007
Posts: 192
Downloads: 17
Uploads: 0
Default

Quote:
Originally Posted by maerean_m
It got fixed in the add-on.
Ugh. Patches should fix bugs. Add-ons should add features. This is a bug and hence should be fixed in a patch.

Not that I'm not grateful for the patches they've done up to 1.4, but if they've figured out a way how to fix it why not release the fix?
vindex is offline   Reply With Quote
Old 01-18-08, 01:45 AM   #12
Travis Reed
Planesman
 
Join Date: Jan 2004
Posts: 186
Downloads: 104
Uploads: 0
Default

Quote:
Originally Posted by vindex
Quote:
Originally Posted by maerean_m
It got fixed in the add-on.
Ugh. Patches should fix bugs. Add-ons should add features. This is a bug and hence should be fixed in a patch.

Not that I'm not grateful for the patches they've done up to 1.4, but if they've figured out a way how to fix it why not release the fix?
Because that would be too simple...it would make sense...and Ubisoft isn't about making sense...
__________________
Laptop: Alienware m15 (2019) | CPU: Core i7 9750H 2.6 GHz | RAM: 32 GB DDR4 2666 | dGPU: GeForce RTX 2060 6 GB | OS: Win 10 x64
Travis Reed is offline   Reply With Quote
Old 01-24-08, 10:42 PM   #13
Zero Niner
Ace of the Deep
 
Join Date: Apr 2005
Posts: 1,033
Downloads: 69
Uploads: 0
Default

I can't locate the *.clg file.
Under a saved game folder, I have only the following files:

ActiveUserPlayerUnits.upc
CareerTrack.upc
ReplayInfo.rep
UserPlayerSettings.upc
GameplaySettings.cfg

Looking into another folder, I see other files, but no *.clg

So how do I make it right?
Zero Niner is offline   Reply With Quote
Old 01-25-08, 12:23 AM   #14
Fincuan
Admiral
 
Join Date: Aug 2007
Location: Suomi, sauna, puukko, perkele
Posts: 2,346
Downloads: 39
Uploads: 0
Default

Pick a save that was made during the patrol. If the save is made at port, then no .clg.
Fincuan is offline   Reply With Quote
Old 01-25-08, 04:05 AM   #15
Zero Niner
Ace of the Deep
 
Join Date: Apr 2005
Posts: 1,033
Downloads: 69
Uploads: 0
Default

Quote:
Originally Posted by dmlavan
What info do you replace in the CareerTrack? The fields in that file look like this:

[CareerTrack 1.CareerStatusSave 40]
ID=ID
Reason=CSS_UnitDestroyed
NameDisplayable=Photo Honshu 04_JP Modern Liner#1
CurrentDate=1943-09-15 00:22:11
LocationName=
Location=0,5.13934e-039
TargetLocation=-1.4226,1.32606e-009
UnitDestroyed=PLKiturin,Photo Honshu 04_JP Modern Liner#1
EUnitType=103

But the corresponding one in SaveData.cfg looks like this:

[Log Entry 7]
Type=0
EntryText=Long 135° 24' E, Lat 31° 22' N|Ship sunk! Kiturin Maru, 5280 tons
EntryTitle=September 15, 1943, 22:11
Date=19430915
Time=2211
Categ=0

Any help appreciated!
Any help on this?
Zero Niner is offline   Reply With Quote
Reply


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:04 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.