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-03-12, 12:01 PM   #1
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 built safeguards into the patch that will check to see what the max # of entries defined in the menu.txt is and if that number is less than the entries the patch is calling for then no message is displayed to user (it's actually built into the random menu.txt entries function I made)
I see,
anyway, why not displaying a standard message stored into your code, instead of not displaying a message at all?
gap is offline   Reply With Quote
Old 09-03-12, 12:15 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
I see,
anyway, why not displaying a standard message stored into your code, instead of not displaying a message at all?
You make a good point What should the standard message be then?
TheDarkWraith is offline   Reply With Quote
Old 09-03-12, 01:09 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Added a standard message in case the menu.txt file isn't patched or gets overwritten:

Shadow contact/convoy and remain undetected

So if you see this and it's in English you know your menu.txt isn't updated with the new entries for the Contact report wolfpack patch.

Also changed where the random Bdu messages for this patch are going to start in the menu.txt file to 11000. This will ensure noone will ever get close to these

I'll have revised version of patcher available here soon (though it will not be able to patch the menu.txt file yet - you'll have to manually add the required entries for now)
TheDarkWraith is offline   Reply With Quote
Old 09-03-12, 01:09 PM   #4
SilentOtto
Engineer
 
Join Date: Mar 2002
Location: BF79
Posts: 201
Downloads: 71
Uploads: 0
Default

TDW, sorry to bug you with this again, but somewhere between version 1.60 and 1.69 it seems you've gone back to compile against .NET 3.5, as you know, some of us (well I think it might well be just me! ><) can't run it under linux... so please, when you have the time, would you be so kind...?

I didn't bug you before since I was quite happy with my patching, but I really want to try the wolfpack function!
SilentOtto is offline   Reply With Quote
Old 09-03-12, 01:10 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SilentOtto View Post
TDW, sorry to bug you with this again, but somewhere between version 1.60 and 1.69 it seems you've gone back to compile against .NET 3.5, as you know, some of us (well I think it might well be just me! ><) can't run it under linux... so please, when you have the time, would you be so kind...?

I didn't bug you before since I was quite happy with my patching, but I really want to try the wolfpack function!
Thanks for bringing that to my attention. I wasn't aware that I switched back to using .NET 3.5
TheDarkWraith is offline   Reply With Quote
Old 09-03-12, 01:26 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by SilentOtto View Post
TDW, sorry to bug you with this again, but somewhere between version 1.60 and 1.69 it seems you've gone back to compile against .NET 3.5, as you know, some of us (well I think it might well be just me! ><) can't run it under linux... so please, when you have the time, would you be so kind...?

I didn't bug you before since I was quite happy with my patching, but I really want to try the wolfpack function!
Just checked and I've been compiling against .NET 2.0 for many versions now. What problems are you having?
TheDarkWraith is offline   Reply With Quote
Old 09-03-12, 01:36 PM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Here is version 1.0.71.0: http://www.mediafire.com/?suulknbpwwr3bg8

Removed the hard coded messages from my data section. Replaced them with menu.txt entries. 5 random Bdu responses are now possible when you send in a contact report.

You will have to edit your menu.txt file and make the following changes:

this is found at the beginning of the file:
MaxStrings=11100

Add these to the very end of the file:
; Contact report wolfpack patch
11000=Dispatching available submarines to your patrol area|Remain undetected and in a favorable position|Send status reports| |Bdu
11001=All available submarines have been dispatched to your patrol area
11002=Submarines in your area have received instructions to join your attack|Stay in front of contact/convoy, remain undetected, and send regular status reports| | |B.d.u
11003=Remain undetected and continue following contact/convoy|Available submarines are heading to your patrol area
11004=Attain favorable position and shadow contact/convoy until reinforcements arrive

When I update the patcher app it will add/check these entries automatically for you

If you get this response from Bdu in English:
Shadow contact/convoy and remain undetected

Then you screwed up somewhere.

By using menu.txt entries this allows other users to translate these messages into their own language (or totally change them to whatever they want).
TheDarkWraith is offline   Reply With Quote
Old 09-03-12, 03:37 PM   #8
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
; Contact report wolfpack patch
11000=Dispatching available submarines to your patrol area|Remain undetected and in a favorable position|Send status reports| |Bdu
11001=All available submarines have been dispatched to your patrol area
11002=Submarines in your area have received instructions to join your attack|Stay in front of contact/convoy, remain undetected, and send regular status reports| | |B.d.u
11003=Remain undetected and continue following contact/convoy|Available submarines are heading to your patrol area
11004=Attain favorable position and shadow contact/convoy until reinforcements arrive
This is already translated entries for add to the new NewUIs-menu.txt - http://www.mediafire.com/?fegmhux2bz2jaa7
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 09-03-12, 03:53 PM   #9
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by gap View Post
Good finding Trevally!

Have you found any comm tha could apply to when a sub actually joins the action (waypoint 1 is reached).
No just Topp's own entry where he joined:-
Quote:
08.00CF 3295 NE 4, Sea 3-4, sky overcast Occupied ordered position in patrol line.
and this:-
Quote:
Two boats report contact.
Short signal between boats
Quote:
Boats Group Endra***946; report immediately on establishing contact. Take every opportunity to attack. Even knock the corvettes out of action.
So looks like the style of message from one boat to another that it had arrived would be:-

"U*** taking up possition in patrol line (ahead of convoy).
Request bearing signal from contact keeper"
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 09-04-12, 02:30 AM   #10
Kalleblom
Lieutenant
 
Join Date: May 2012
Location: Waterkant
Posts: 252
Downloads: 74
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Here is version 1.0.71.0: http://www.mediafire.com/?suulknbpwwr3bg8

Removed the hard coded messages from my data section. Replaced them with menu.txt entries. 5 random Bdu responses are now possible when you send in a contact report.

You will have to edit your menu.txt file and make the following changes:
...


By using menu.txt entries this allows other users to translate these messages into their own language (or totally change them to whatever they want).
TDW,

Confusing, have to improve my knowledge of english.

maybe a little bit stupid question I have there still:

Can i edit the menu.txt of ruby´s "deutschmod" and put this mod at last in my list? Or must i translate the menu text manual after enabling the patch.

At the moment i understand the menu.txt will be updated in the future by the patcher, so my thought is when i have to translate so the game and the patched subs work as they should.

Sorry for this questions, with better english i think i can solve it by myself, but googlenglish is a little bit puzzling.

Last edited by Kalleblom; 09-04-12 at 03:16 AM.
Kalleblom is offline   Reply With Quote
Old 09-04-12, 10:40 AM   #11
blkdimnd
Planesman
 
Join Date: May 2010
Location: Vermont, USA
Posts: 186
Downloads: 493
Uploads: 0
Default menu.txt??

Quote:
Originally Posted by TheDarkWraith View Post
Here is version 1.0.71.0: http://www.mediafire.com/?suulknbpwwr3bg8

Removed the hard coded messages from my data section. Replaced them with menu.txt entries. 5 random Bdu responses are now possible when you send in a contact report.

You will have to edit your menu.txt file and make the following changes:

this is found at the beginning of the file:
MaxStrings=11100

Add these to the very end of the file:
; Contact report wolfpack patch
11000=Dispatching available submarines to your patrol area|Remain undetected and in a favorable position|Send status reports| |Bdu
11001=All available submarines have been dispatched to your patrol area
11002=Submarines in your area have received instructions to join your attack|Stay in front of contact/convoy, remain undetected, and send regular status reports| | |B.d.u
11003=Remain undetected and continue following contact/convoy|Available submarines are heading to your patrol area
11004=Attain favorable position and shadow contact/convoy until reinforcements arrive

When I update the patcher app it will add/check these entries automatically for you

If you get this response from Bdu in English:
Shadow contact/convoy and remain undetected

Then you screwed up somewhere.

By using menu.txt entries this allows other users to translate these messages into their own language (or totally change them to whatever they want).
Well I've been gone from SH5 for about 6 months, and am astounded by the progress of the mods!!

Great job DarkWraith!

Being gone for solong, I have forgotten a few things, where is the "menu.txt" file located? And do I still need to make the above changes if I want the messages, or does the current patcher take care of everything?

Thanks
blkdimnd is offline   Reply With Quote
Old 09-04-12, 10:55 AM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by blkdimnd View Post
Being gone for solong, I have forgotten a few things, where is the "menu.txt" file located? And do I still need to make the above changes if I want the messages, or does the current patcher take care of everything?
menu.txt file is located in \data\Menu

Yes you still need to make the changes. I haven't revised the patcher app yet to patch txt files.
TheDarkWraith is offline   Reply With Quote
Old 09-03-12, 02:12 PM   #13
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Thank you again, sir!. and again.. and again.. and again!



Is this still the test version (1.0.71) or..?
I thought.. you didn't posted it on the main page..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 09-03-12, 02:29 PM   #14
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by volodya61 View Post
Thank you again, sir!. and again.. and again.. and again!



Is this still the test version (1.0.71) or..?
I thought.. you didn't posted it on the main page..
It's a releasable version but I'm still playing with it...I have some grand ideas that are starting to mature for this
TheDarkWraith is offline   Reply With Quote
Old 09-03-12, 03:44 PM   #15
SilentOtto
Engineer
 
Join Date: Mar 2002
Location: BF79
Posts: 201
Downloads: 71
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Just checked and I've been compiling against .NET 2.0 for many versions now. What problems are you having?
This is the error I'm getting, I tried with a fresh sh5.exe to be sure...



Uploaded with ImageShack.us

It's not the same kind of trouble as I had before, 'cause then I couldn't load any menu option without getting the error. Now I can select the file to patch, the path, and then i get the error (after confirming the changes in size to the exe file).
SilentOtto 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 10:40 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.