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

Reply
 
Thread Tools Display Modes
Old 05-03-17, 05:42 PM   #1
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 384
Downloads: 264
Uploads: 1


Default Tycho Sh3 Patch




Tycho Sh3 Patch



This is "sh3.exe" patch, that change some bytes values in the file, to give you control over things, that is not possible through usual modding.
It is compatible with everything, but if you use "H.Sie patch" and "Stiebler add-on", "TychoSh3Patch" must be installed last.
This patch will not work by default with Steam version of the "sh3.exe"! In order to use it, you must first apply "H.Sie patch".



Instruction:


 


This patch will change your "sh3.exe" file.
You have to follow some rules, to avoid possible problems:
1. Archive and keep somewhere safe your original "sh3.exe" file.
2. There are other patches, that make changes to the "sh3.exe" file, like "Hardcode fixes (H.Sie)" and "Add-on for hardcore fixes (Stiebler)", install these before my patch.
3. When you are dealing with such patches, you must always start from original "clean" "sh3.exe" file.
Here I think of four variants:
  • Your SH3 is not Steam version, and you do not use "H.Sie fixes" and "Stiebler add-on": you take your original "sh3.exe" and patch it with my patch.
  • You use "H.Sie fixes": you take your original "sh3.exe" and patch and set-up it according to H.Sie's instructions. After that you copy this already patched "sh3.exe" file and patch it with my patch.
  • You use "H.Sie fixes" and "Stiebler add-on": you take your original "sh3.exe" and patch it with "H.Sie fixes", then patch and set-up it with "Stiebler add-on", according to Stiebler's instructions. After that you copy this already patched "sh3.exe" file and patch it with my patch.
  • If you use the Steam version of the game. You must first use the "Hardcode fixes (H.Sie)" before my patch. "Add-on for hardcore fixes (Stiebler)" is optional, but also before my patch.



How to install:


 


Download link
Extract the "WorkFolder", there must have four files:
  • binpatch.exe
  • Remove.bat
  • TychoSh3Patch.bat
  • TychoSh3Patch.map
Copy your "sh3.exe" file and paste it here, in "WorkFolder".
Start the file: "TychoSh3Patch.bat"
After "sh3.exe" is patched, copy the file back to the game folder (or mod-folder for JSGME install).

Many things in this patch are colors, so the colors are picked according to my personal preferences, and to fit with my installation.
It also come with two additional files (again, my personal preferences), ready for JSGME install:
- "StrTactMap.tga", transparent layer over the map that is supposed to give feeling of paper.
- "Terrain.act", map colors gradient, determines colors on map for different water depths and different terrain highs.
You can use this JSGME ready folder to install already patched sh3.exe. Put it before the "data" folder and activate it with JSGME.




How to edit (if you want personal adjustments):


 


Many things in this patch are colors, so you can change the colors to your desire. It is very simple, but you must know or learn, what the hex values are.
The file "TychoSh3Patch.map" contain all the changes. This is text file, open and edit it with notepad.
You will see many lines, like:
000AA535: 88 ff
000AA536: 55 18
000AA537: 55 1d
000AA538: 55 ba
This is: Go to address: 000AA535, original byte: 88, change to byte: ff
Do not change the address and original byte!!!
All other lines that start with @@@ or # are comments, and don't do anything. These are used to describe and separate things.
If you edit the patch yourself, and for example, in process of testing different colors, you want to change something, don't patch already patched "sh3.exe", always start from unpatched by "TychoSh3Patch" copy.
Or first use the "Remove.bat" file, to reverse the changes.

Example for change colors:
You must first know the hex value for desired color.
Most graphic editors have field for the color in hex values. If not, the internet is full of such converters.



Then, the words in ".exe" file are in reverse order, you need to read backwards.
If your color choice is RGBA: 1F45B4FF
In .exe it must be ABGR: FF B4 45 1F
Be careful, to not change a byte value itself, B4 must stay B4 not 4B.
So, in "TychoSh3Patch.map" you edit it, like:
000AA535: 88 ff
000AA536: 55 b4
000AA537: 55 45
000AA538: 55 1f

Some options in "TychoSh3Patch.map" are in disabled form, have "@@@" in front of the addresses. These are strictly for modders or in case of "a.g. mouse sensitivity patch", you must choose one of the options, and to uncomment only it:
  • Because it is more easy to patch it all in one, my patch also contain "a.g. mouse sensitivity patch": Subsim Thread.
    But for you it is in disabled form, all addresses line are commented with "@@@". Choose your desired slow down speed, then delete the "@@@" in front of the four addresses lines below.
  • Patch for default hardcoded scopes reticle is also in disabled form, because it is highly GUI dependant. If your GUI modder tell you so, delete the "@@@" in front of the addresses lines to get rid of these reticle.
  • Patch for extended map render is only if the GUI is HD and is set-up for this, otherwise is not needed, so in disabled form. To activate it, delete the "@@@" in front of the addresses lines.
  • You can disable/enable other options this way, just put or remove "@@@" in front of the addresses.




All my changes!!!

I - Colors:


 

1. Map border lines:
Nothing important here, map border lines are the three lines (one with two pixels and two with one pixel), that are placed around the map.
 



2. Map scale lines:
These are the lines, that appear on more close zoom, when the map zoom level goes from km to meters. I don't like that, prefer more clear map.
 

Before:

After:


3. Map scale numbers:
Nothing important here, these are colors for the digits and letters, that are used on map scale legend.
 



4. Equator and Greenwich lines:
 



5. Grid lines:
The colors of the lines, that form the Kriegsmarine grid system.
 



6. Grid letters and numbers:
The colors of the letters and digits, that are used for the Kriegsmarine grid system.

7. Map tools drawing:
The colors of the lines, that are drawing by the map tools. These are for when you draw or when you point something with the tool.

8. Map tools already drawn:
The colors of the lines, that are drawn by the map tools. These are for when are already drawn and just stay on the map.

9. Map tools highlight:
The colors of the lines, that are drawn by the map tools. These are for when you choose the tool, then all that is drawn by this tool will be highlighted with this color.

10. Course line highlight:
Color for highlighting the course line between boat and 1st waypoint.
 


*

*

*

*





II - Settings:


 

1. StrTactMap.tga:
This gives you the opportunity to adjust StrTactMap.tga opacity.

2. Long/Lat degrees label:
When the map zoom is on km level, the scales on the borders of the map represent longitude and latitude in degrees.
This will add numbers to these degrees, so it is now very easy to define geographic coordinates.
 

3. Map tools, number of decimal digits:
These gives you the opportunity to choose, how many digits you want after decimal point. That give you precision of measuring distances and angles.
Originally, for the tools are allowed only one digit after decimal point. This way, incorrect distances are showing.
For example between 250 and 300 meters you will see 0.3, now with 3 digits after decimal, it will be: 0.274
 

Before:

After:


4. Ruler line scale-rhombs:
These are the rhombs, that are placed on the ruler line, to distances equal to the map scale. My choose is to get rid of these.
 

Before:

After:


5. Sizes of begin\end - mark\arrow of the tools:
Marker mark size, ruler line start and end with cross "+", compass line start with "+" and end with arrow ">"...., the size for these things.

6. Expand Nav and Attack maps render limit:
From 1024x1024 to 2048x2048. In disabled form, because it is highly GUI dependant. To activate it, uncomment the addresses lines.
This only expand the limits. For desired resolution you set-up the "maps.cfg" file.

7. Scopes reticle:
Default hardcoded scopes reticle. In disabled form, because it is highly GUI dependant. Complete freedom, to make whatever reticle you want through ".tga" file.
 

UZO, this is not possible without "sh3.exe" editing:


8. Sea foam below 9 m/s:
Gives you the opportunity to choose, from what wind speed to start showing the sea foam.
 



9. Fixed intersection between upgrade page, equip option "none" and weather report, fog state "none".
 



Change the equip option "none" from string "4100=" to string "2800=" in en_menu.txt
Now you can have whatever weather report format you prefer, and this will not look strange in the upgrade page.

Bonus, my weather report format:
 

Code:
;; 3-Fog
4100=, Vis. good
4101=, Vis. moderate
4102=, Vis. bad
4103=, Vis. zero

;; 1-Clouds
4110=Blue sky
4111=Partly cloudy
4112=Overcast

;; 2-Rain
4120=
4121= (rain)
4122= (rain squall)

4128=%s%s%s|Wind speed: %d m/s, direction %3d°

10. a.g. mouse sensitivity patch:
Gives you the opportunity to choose the mouse sensitivity. In disabled form, because it is highly dependant of your mouse and its settings.


Tycho
__________________
If you ride like lightning, you're gonna crash like thunder.

Last edited by Tycho; 11-13-18 at 08:18 AM. Reason: new version
Tycho is offline   Reply With Quote
Old 05-03-17, 11:09 PM   #2
hauangua
Grey Wolf
 
Join Date: Jul 2011
Location: Verona, Italy
Posts: 909
Downloads: 1328
Uploads: 0
Default

Can this mod work with Stiebler patch?
__________________
Parked under the balcony with my U-27 waiting Juliet finish makeup
hauangua is offline   Reply With Quote
Old 05-04-17, 12:33 AM   #3
HW3
Navy Seal
 
Join Date: Apr 2005
Location: Gresham Oregon
Posts: 6,434
Downloads: 453
Uploads: 0


Default

Yes, there are instructions included in the readme on how to do it.
__________________


"Some ships are designed to sink...others require our assistance." Nathan Zelk
HW3 is offline   Reply With Quote
Old 05-04-17, 12:55 AM   #4
hauangua
Grey Wolf
 
Join Date: Jul 2011
Location: Verona, Italy
Posts: 909
Downloads: 1328
Uploads: 0
Default

Quote:
Originally Posted by HW3 View Post
Yes, there are instructions included in the readme on how to do it.
Thanks HW3
__________________
Parked under the balcony with my U-27 waiting Juliet finish makeup
hauangua is offline   Reply With Quote
Old 05-05-17, 01:50 PM   #5
Andy 01288
Swabbie
 
Join Date: Oct 2014
Location: England
Posts: 7
Downloads: 184
Uploads: 0
Default At last......

THANK YOU TYCHO! Very much. Fanbloodytastic I reckon.
Proper plotting at last.....

Regards,

Andy 01288
Andy 01288 is offline   Reply With Quote
Old 05-05-17, 06:20 PM   #6
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

EXCELLENT ....just excellent !

i really missed the decimal digits to degrees tool and a precission to the circle tool BUT....,especially, this ruler is AVESOME (no need of the Malloy's 'heavy' on screen tool anymore) ....great job Tycho,just GREAT !


thank you for sharing all this stuff mate (all features are really great in there)
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline   Reply With Quote
Old 12-03-18, 01:14 AM   #7
Izgud
Watch
 
Join Date: Aug 2016
Posts: 21
Downloads: 150
Uploads: 0
Default

Quote:
Originally Posted by Tycho View Post
9. Fixed intersection between upgrade page, equip option "none" and weather report, fog state "none".
 



Change the equip option "none" from string "4100=" to string "2800=" in en_menu.txt
Now you can have whatever weather report format you prefer, and this will not look strange in the upgrade page.

Bonus, my weather report format:
 

Code:
;; 3-Fog
4100=, Vis. good
4101=, Vis. moderate
4102=, Vis. bad
4103=, Vis. zero

;; 1-Clouds
4110=Blue sky
4111=Partly cloudy
4112=Overcast

;; 2-Rain
4120=
4121= (rain)
4122= (rain squall)

4128=%s%s%s|Wind speed: %d m/s, direction %3d°
Has anyone else been able to get this part working?

Otherwise, a really great tool.

EDIT: I see now that it works for certain items (sonar) but not others (coatings).

Regards

Last edited by Izgud; 12-03-18 at 01:24 AM.
Izgud is offline   Reply With Quote
Old 12-03-18, 07:16 AM   #8
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 384
Downloads: 264
Uploads: 1


Default

Quote:
Originally Posted by Izgud View Post
EDIT: I see now that it works for certain items (sonar) but not others (coatings).
Yes, I just don't have power to update the patch right now.

Replace in the TychoSh3Patch.map file the corresponding section with:

Code:
#
#
@@@ Fixed intersection between upgrade page, equip option "none" and weather report, fog state "none". Change the equip option "none" from string "4100=" to string "2800=" in en_menu.txt
0005E330: 04 f0
0005E331: 10 0a
0005E332: 00 00
0005E333: 00 00
@
000621B0: 04 f0
000621B1: 10 0a
000621B2: 00 00
000621B3: 00 00
#
#
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Old 12-03-18, 06:09 PM   #9
Izgud
Watch
 
Join Date: Aug 2016
Posts: 21
Downloads: 150
Uploads: 0
Default

Quote:
Originally Posted by Tycho View Post
Yes, I just don't have power to update the patch right now.

Replace in the TychoSh3Patch.map file the corresponding section with:

 
Code:
#
#
@@@ Fixed intersection between upgrade page, equip option "none" and weather report, fog state "none". Change the equip option "none" from string "4100=" to string "2800=" in en_menu.txt
0005E330: 04 f0
0005E331: 10 0a
0005E332: 00 00
0005E333: 00 00
@
000621B0: 04 f0
000621B1: 10 0a
000621B2: 00 00
000621B3: 00 00
#
#
Perfect! Thank you!
Izgud is offline   Reply With Quote
Old 04-09-19, 11:35 PM   #10
Olamagato
Torpedoman
 
Join Date: Nov 2010
Location: Zielona Góra, Poland
Posts: 116
Downloads: 72
Uploads: 0
Default Expand Nav and Attack maps render limit not work for me

Hi, Expand Nav and Attack maps render limit probably not working.
I try:
1. Uncomment TychoSh3Patch.map properly sections. Especially all 4 sections Expand Nav and Attack maps render limit, from 1024x1024 to 2048x2048.
2. Patch h.sie sh3.exe (successful and binary different to h.sie version)
3. Set menu1024x768.ini for work in widescreen 1360x768 resolution
4. Set in data\menu\cfg\maps.cfg:
[Map0]
MapID=Navigation_map
Position=0,0; top-left
Resolution=1360,656; was 1024,768
[...]

Navigation map is still wide 1024 pixels.
Any suggestions?
Olamagato is offline   Reply With Quote
Old 04-10-19, 03:29 AM   #11
Tycho
Sonar Guy
 
Join Date: Oct 2009
Location: Sofia, Bg
Posts: 384
Downloads: 264
Uploads: 1


Default

Quote:
Originally Posted by Olamagato View Post
Navigation map is still wide 1024 pixels.
Any suggestions?
To setup maps.cfg, it is not only "Resolution=", but also to calculate and setup the effective map, there have description in the file:
Quote:
;Effective map will have, on each axe, MajorSqr*MinorSqr*PixPerUnit; the rest is considered map border
Now look over the original values: 50*5*4=1000, will be effective map, the rest 24 pixels goes for map border.
For your case you decide, let say 1350 to be effective map, usually only "MajorSqrs=" is changed: 1350/50/5=5.4
MajorSqrs=5.4,
For other axis, let say 640/50/5=2.56:
MajorSqrs=5.4,2.56
MinorSqrs=5,5
PixPerUnit=50

Of course, you can change also the MinorSqrs, just experiment with these, for example from the: "_LSH3-2015_GUI__WS_FSNavMap.7z"
[Map0]
MapID=Navigation_map
Position=0,0
Resolution=1360,660
MajorSqrs=2.8,2.2
MinorSqrs=9.5,5.8
PixPerUnit=50
__________________
If you ride like lightning, you're gonna crash like thunder.
Tycho is offline   Reply With Quote
Old 08-02-19, 01:42 AM   #12
YoYo
Ensign
 
Join Date: Aug 2005
Posts: 228
Downloads: 36
Uploads: 2
Default

Quote:
Originally Posted by Tycho View Post
...
Hello,
I have a problem with TychoSh3Patch_v3 I suppose.
Double map like here: https://www.subsim.com/radioroom/sho...&postcount=112



When I use bat file I have:



Windows 10, sh3.exe from UPlay.

Please notice that in UPlay version You have sh3.exe - 48 Kb and sh3_g.exe - 1306 Kb:





Any ideas???


btw.
I have installed GWX 3.0 also but did bacukup of both this sh3.exe (oryginal Uplay) and the same.
__________________
Webmaster of yoyosims.pl


SH fan, btw. my U-boot Typ VII C41 Click!
YoYo is offline   Reply With Quote
Old 09-01-19, 08:38 PM   #13
rosseloh
Nub
 
Join Date: Mar 2019
Posts: 3
Downloads: 18
Uploads: 0
Default

Quote:
Originally Posted by YoYo View Post
Hello,
I have a problem with TychoSh3Patch_v3 I suppose.
Double map like here: https://www.subsim.com/radioroom/sho...&postcount=112



I'm having the same problem - except my batch file worked fine, with no errors. I just have the double map (and thus far it appears to be the ONLY issue I'm having).


EDIT: My bad, I didn't see that the render limit stuff was disabled by default. The guide I was following did not mention that that was necessary.



This is probably the biggest issue I've had with these forums so far. Everyone's tutorials assume you know one thing or another about what you're doing already, which doesn't help us who have just bought the game recently and would REALLY love a "one-executable-installer" for required mods. I know how to dig around files, but when I'm not told what actually needs to be changed, it gets...interesting.

Last edited by rosseloh; 09-01-19 at 10:27 PM.
rosseloh is offline   Reply With Quote
Old 09-02-19, 02:53 AM   #14
ivanov.ruslan
The Old Man
 
Join Date: Oct 2012
Location: Pleven,BG
Posts: 1,577
Downloads: 901
Uploads: 0
Default

https://www.subsim.com/radioroom/sho...d.php?t=232178
There is included Tychos patch!
ivanov.ruslan is offline   Reply With Quote
Old 09-12-19, 06:45 PM   #15
Pajuga
Bilge Rat
 
Join Date: Sep 2019
Posts: 1
Downloads: 4
Uploads: 0
Default Ubiplay's version issue

Same UPlay's version issue here:

1.Installed GWX 3 Gold and working. Solved some dificulties after been able to change in Uplay the folder of the game to "/SilentHunter3" (installed SH3 in "/Silent Hunter 3" > Copied all original SH3 files to "/SilentHunter3" folder > Modified files in "/Silent Hunter 3" folder > Into Uplay program SH game, pressed "verify files" and after not detect the files as correct, Uplay offered the possibility to "look for the game files" in another folder > Marked "/SilentHunter3" as folder for the Uplay game.

2.Installed ARB WideGui.

3.Installed TychoSh3Patch as described in ARB Widegui first post (no other TychoSh3 files added different that the ones in that post) and got THESE ISSUES and error messages described below.

4.Installed SH3Commander and working (at least some basic features tryed)

==> Currently the game works but map is doubled and doesn't match with real positions apparently (i.e. waters in port and surrounding areas appear as inland).

[Note no Sie patch or other patchs installed, that were not included in the ARB Widegui first post]

I have a problem with TychoSh3Patch_v3 I suppose.
Double map like here: https://www.subsim.com/radioroom/sho...&postcount=112



When I use bat file I have:



Windows 7, sh3.exe from UPlay.

Please notice that in UPlay version You have sh3.exe - 48 Kb and sh3_g.exe - 1306 Kb:





ANY IDEAS TO SOLVE THIS ISSUE TO GET 1080p MAPS?

OTHERWISE...any suggestion how to "remove" the patch and have "smaller but functional" navigation maps back in the game without removing all the mods and try to reinstall?
Pajuga 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:36 PM.


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