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

Reply
 
Thread Tools Display Modes
Old 09-07-12, 09:00 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
currently I am working in xlsx format for my ease , but I can convert scheduled data in txt format by simply copying/pasting them in notepad.
Actually separating all values in a single row with tabs would be best. That's how I did the radio messages (single tab between items). This way I can reuse most of the code from the radio messages
TheDarkWraith is offline   Reply With Quote
Old 09-07-12, 09:04 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Actually separating all values in a single row with tabs would be best. That's how I did the radio messages (single tab between items). This way I can reuse most of the code from the radio messages
Even easier for me: excel generates automatically tabs separators between colums, when its data are pasted in a document as simple txt.
gap is offline   Reply With Quote
Old 09-07-12, 09:24 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Two last questions about the U-boat position thing:

can you use the header at the beginning of each section for determining the type of unit spawned? And can you assign to that unit her correct number, based on the first column of each entry?
gap is offline   Reply With Quote
Old 09-07-12, 09:56 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Two last questions about the U-boat position thing:

can you use the header at the beginning of each section for determining the type of unit spawned? And can you assign to that unit her correct number, based on the first column of each entry?
I can try. It would need to be in a different format though. It would need to be in the game's classname format: SSTypeVIIA, SSTypeVIIB, etc. I can definitely assign a custom u-boat number to a dispatched sub no problem (already doing this).
TheDarkWraith is offline   Reply With Quote
Old 09-07-12, 10:47 PM   #5
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Using TDW_GenericPatcher_v_1_0_73_0

Open up the SH5 Patches
I dont want the CO2 bugfixes enabled so i dont enable them .

Open up the collision patches and enable all .

Open up the Sim patch and i dont enable the CO2 patch because i dont want it enabled .
Close the Sim patch and open it up again to check it .
Torpedo dud fix change 1 is disabled (i didnt do it) .
Enable the Torpedo dud fix change 1 and close the Sim patch .
Open the Sim patch again to check it and now CO2 change 1 fix is enabled (i didnt do it).
THE_MASK is offline   Reply With Quote
Old 09-07-12, 11:30 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
Using TDW_GenericPatcher_v_1_0_73_0

Open up the SH5 Patches
I dont want the CO2 bugfixes enabled so i dont enable them .

Open up the collision patches and enable all .

Open up the Sim patch and i dont enable the CO2 patch because i dont want it enabled .
Close the Sim patch and open it up again to check it .
Torpedo dud fix change 1 is disabled (i didnt do it) .
Enable the Torpedo dud fix change 1 and close the Sim patch .
Open the Sim patch again to check it and now CO2 change 1 fix is enabled (i didnt do it).
Excellent observation/catch I had two patches who had identical changes (one of the changes in each patch was identical) Thus when you disabled one it affected the other (but the icons were never updated for it). I removed these duplicate changes and made an Update out of them

v1.0.74.0 released. See post #1
TheDarkWraith is offline   Reply With Quote
Old 09-08-12, 12:23 AM   #7
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

My pleasure .
THE_MASK is offline   Reply With Quote
Old 09-08-12, 10:33 AM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
I can try. It would need to be in a different format though. It would need to be in the game's classname format: SSTypeVIIA, SSTypeVIIB, etc.
Okay, changing it to match SH5 class name is the least problem for me. Would it be easier for you accessing this information if I put it in columns, instead of using sections and headers? like this:

Code:
U-27	SSTypeVIIA	56.51N 14.48W	55.03N 13.45W	...
U-27	SSTypeVIIA	11	11	...
U-28	SSTypeVIIA	52.21N 13.45W	52.21N 13.45W	...
U-28	SSTypeVIIA	11	11	...
U-29	SSTypeVIIA	55.03N 16.45W	53.15N 16.45W	...
U-29	SSTypeVIIA	11	11	...
...

Quote:
Originally Posted by TheDarkWraith View Post
I can definitely assign a custom u-boat number to a dispatched sub no problem (already doing this).
Excellent

as you can see from the previous example I've duplicated the U-boat number from each first row to second rows, so that now torpedo figures match the respective u-boat coordinates (and their dates) in the same column.

One last note: for similar alignment reasons, I am using a dash symbol '-' for marking missing coordinates of subs that got at least one daily position log in a month. Indeed, when no coordinates are available during a whole month, the unit gets no entry at all in the respective file. When you come across dashes you should ignore them (unit not available), and use them only for column count.
gap is offline   Reply With Quote
Old 09-08-12, 11:44 AM   #9
Dogfish40
Ace of the Deep
 
Join Date: Sep 2010
Location: LA Area, Central coast, California
Posts: 1,023
Downloads: 827
Uploads: 0
Default

I feel like a dummy here, but I need to know the location of the menu.txt file. The only one I am familier with is the UI's menu txt file.
Where is the menu.txt file?
Thanks
D40
__________________
Dogfish40
Dogfish40 is offline   Reply With Quote
Old 09-08-12, 11:59 AM   #10
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Dogfish40 View Post
I feel like a dummy here, but I need to know the location of the menu.txt file. The only one I am familier with is the UI's menu txt file.
Where is the menu.txt file?
Thanks
D40
data/Menu
gap 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 05:49 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.