![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Watch
![]() Join Date: May 2007
Posts: 19
Downloads: 40
Uploads: 0
|
[REL] SH4 Wind Changer Utility
It's been a while since I played SH4, so just the other day I decided to have a go at it again. So, after a few mod updates I leave port. After a few days, I get some stormy weather. No big deal, except the storm wouldn't go away. So, about that time, I saved my game, exited, and wrote this little program. Thought I'd share it.
![]() Warning: I've only tested this program on XP, but I *think* it should work on Vista. Just make sure that you run the utility with administrator privileges. Silent Hunter 4 Wind Changer v1.0 --------------------------------- SH4 Wind Changer is a small utility that allows you to change the wind direction and speed in the currently running game. Usage ----- 1. While the game is running Alt+Tab out. 2. Run the utility. 3. The utility should automatically find the running game and start displaying values. 4. Enter the wind speed and/or direction and press the appropriate "Set" button(s). 5. Close the utility and get return to the game! Notes ----- * This program requires administrator privilege as it reads/writes to another program's memory. (sh4.exe) * The wind speed/heading change is not instant. * Wind speed changes more quickly than wind heading. FileFront Download: http://www.filefront.com/14146109/SH...%20Changer.zip |
![]() |
![]() |
![]() |
#2 |
Canadian Wolf
|
![]()
Nice
![]() |
![]() |
![]() |
![]() |
#3 |
XO
![]() Join Date: Jul 2009
Location: Croatia
Posts: 420
Downloads: 52
Uploads: 0
|
![]()
I just came back from a patrol with 7 days long flat sea. I'm DL-ing this ASP. Many thanks.
![]() EDIT: It can't seem to find the game. Says game time 00:00 every time I run it. XP here. Last edited by TH0R; 08-04-09 at 02:16 PM. |
![]() |
![]() |
![]() |
#4 |
Watch
![]() Join Date: May 2007
Posts: 19
Downloads: 40
Uploads: 0
|
![]()
Have you renamed the SH4 exe file by any chance? The program looks for sh4.exe, so if you've renamed it, the program won't find the game.
|
![]() |
![]() |
![]() |
#5 |
The Old Man
![]() Join Date: Jan 2007
Posts: 1,441
Downloads: 234
Uploads: 0
|
![]()
The Joker,
Well done on this one. Simple, elegant and oh so satisfying just like well distilled tequila. A must have! Thank you!
__________________
Wilcke ![]() For the best in Fleet Boats go to: Submarine Sim Central. http://forum.kickinbak.com/index.php Check out: A Brief Introduction to the Pacific Submarine War by Ducimus http://www.subsim.com/radioroom/showthread.php?t=128185 Operation Monsun plus OMEGU, the #1 ATO Solution for SH4! Signature Art by Gunfighter |
![]() |
![]() |
![]() |
#6 |
XO
![]() Join Date: Jul 2009
Location: Croatia
Posts: 420
Downloads: 52
Uploads: 0
|
![]()
No I didn't rename it. Does it might have something to do with the fact I didn't install the game to C:/program Files/Ubisoft...?
|
![]() |
![]() |
![]() |
#7 |
Watch
![]() Join Date: May 2007
Posts: 19
Downloads: 40
Uploads: 0
|
![]()
No, it doesn't matter where you install it, just what the name of the exe file is. When you run the program (with SH4 running), does the "SH4 PID" field show "????", or does it display numbers? Also, make sure you run the program as administrator, otherwise it may not be able to access sh4's memory.
|
![]() |
![]() |
![]() |
#8 | |
XO
![]() Join Date: Jul 2009
Location: Croatia
Posts: 420
Downloads: 52
Uploads: 0
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Watch
![]() Join Date: May 2007
Posts: 19
Downloads: 40
Uploads: 0
|
![]()
Okay. If the PID field is showing numbers, that means it's found the program. So the problem is that it's not reading the values. When you run the program, are you in the middle of a mission? I mean, where you're actually playing the game, not at a menu or something. (The pause menu is okay, though.) You can test it quickly by starting a training mission. Also, are you running version 1.5?
|
![]() |
![]() |
![]() |
#10 |
Sea Lord
![]() Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,844
Downloads: 28
Uploads: 0
|
![]()
I've got exactly the same problem. The PID field shows a number but all other values are 0. I too am running it as administrator on XP SP3, .NET framework v3.5. And I am running SH4 1.5 and am in the middle of a mission.
BTW, GREAT idea! ![]()
__________________
![]() |
![]() |
![]() |
![]() |
#11 | |
XO
![]() Join Date: Jul 2009
Location: Croatia
Posts: 420
Downloads: 52
Uploads: 0
|
![]() Quote:
Yes. I am playing the game, I am not in the menu. I'm on my 7th patrol in the career. |
|
![]() |
![]() |
![]() |
#12 |
Watch
![]() Join Date: May 2007
Posts: 19
Downloads: 40
Uploads: 0
|
![]()
Okay, so there's some other problem. I'll work on fixing it when I have some time. Sorry it didn't work.
![]() As far as the fog and rain: The weather "system" seems to be scattered throughout the whole game. For example, the wind speed is set when the cloud shaders are reloaded. ![]() |
![]() |
![]() |
![]() |
|
|