SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter 4: Wolves of the Pacific (https://www.subsim.com/radioroom/forumdisplay.php?f=202)
-   -   Screwy Patrol Log (https://www.subsim.com/radioroom/showthread.php?t=128939)

Zero Niner 01-13-08 08:12 PM

Screwy Patrol Log
 
Just returned to Surabaya after a successful 1st patrol aboard the Seawolf. The patrol log's rather screwy:
http://img.photobucket.com/albums/v4...ypatrollog.jpg

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?

LZ_Baker 01-13-08 08:21 PM

Thats happens to me all of the time, I think it has something to do with loading saves.

Ducimus 01-13-08 08:35 PM

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.

Zero Niner 01-13-08 09:10 PM

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?

Ducimus 01-13-08 09:18 PM

I just use notepad.

dmlavan 01-13-08 11:41 PM

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 !

maerean_m 01-14-08 05:13 AM

It got fixed in the add-on.

Zero Niner 01-14-08 07:32 AM

What add-on? TM 1.7.5?

DrBeast 01-14-08 07:34 AM

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

dmlavan 01-18-08 12:43 AM

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!

vindex 01-18-08 01:15 AM

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?

Travis Reed 01-18-08 01:45 AM

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...:roll:

Zero Niner 01-24-08 10:42 PM

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?

Fincuan 01-25-08 12:23 AM

Pick a save that was made during the patrol. If the save is made at port, then no .clg.

Zero Niner 01-25-08 04:05 AM

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?


All times are GMT -5. The time now is 01:34 AM.

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.