View Full Version : Deck Gun Stuck
orcisaac
12-30-22, 04:30 PM
Hi all. I am very new to silent hunter and have started with Silent Hunter 4 with some mods i saw Wolfpack using. So far everything seems good except when i go to use the deck gun it does not pan left, right or increase or decrease elevation. Any idea what the problem is?
KaleunMarco
12-30-22, 05:27 PM
Hi all. I am very new to silent hunter and have started with Silent Hunter 4 with some mods i saw Wolfpack using. So far everything seems good except when i go to use the deck gun it does not pan left, right or increase or decrease elevation. Any idea what the problem is?
some questions:
in which folder is SH4 installed?
actually, rather than run down a litany of questions, have you read through the excellent newbie guide that Berbster (https://www.subsim.com/radioroom/showthread.php?t=219029)documented?
then there is Onkel Neal's (https://www.subsim.com/radioroom/showthread.php?t=155786) thread?
also, when posting a question with a game issue, it is best if you paste in your JSGME mod list.
if you are not using JSGME, that could be your first problem. :D
:Kaleun_Salute:
orcisaac
12-30-22, 05:44 PM
some questions:
in which folder is SH4 installed?
actually, rather than run down a litany of questions, have you read through the excellent newbie guide that Berbster (https://www.subsim.com/radioroom/showthread.php?t=219029)documented?
then there is Onkel Neal's (https://www.subsim.com/radioroom/showthread.php?t=155786) thread?
also, when posting a question with a game issue, it is best if you paste in your JSGME mod list.
if you are not using JSGME, that could be your first problem. :D
:Kaleun_Salute:
Thank you i will check that out. My mods are below. And yes i am using JSGME. Also i have it installed on an external drive that is mapped as such ->D:\SteamLibrary\steamapps\common\Silent Hunters wolves of the pacific
[DEPENDANCIES]
100_FalloftheRisingSun_Ultimate_v1.8="FI-OQ_FotRSU_v1.8f_upcPatch""Nippon_Maru_v1.9b_FotRSU""451a_TMOstyle_NavMapDots_Nippon_Maru""Combined Roster""Nihon Kaigun v1.3_FotRSU""Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN""451b_TMOstyle_NavMapDots_Nihon_Kaigun"
Nippon_Maru_v1.9b_FotRSU="451a_TMOstyle_NavMapDots_Nippon_Maru""Combined Roster""Nihon Kaigun v1.3_FotRSU""Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN"
Combined Roster="Nihon Kaigun v1.3_FotRSU""Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN"
FI-OQ_FotRSU_v1.8f_upcPatch="Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN"
Nihon Kaigun v1.3_FotRSU="Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN""451b_TMOstyle_NavMapDots_Nihon_Kaigun"
[MODS]
100_FalloftheRisingSun_Ultimate_v1.8=1
FI-OQ_FotRSU_v1.8f_upcPatch=2
Nippon_Maru_v1.9b_FotRSU=3
451a_TMOstyle_NavMapDots_Nippon_Maru=4
Combined Roster=5
Nihon Kaigun v1.3_FotRSU=6
Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN=7
451b_TMOstyle_NavMapDots_Nihon_Kaigun=8
Aktungbby
12-30-22, 09:36 PM
orcisaac!:Kaleun_Salute:
propbeanie
12-31-22, 01:25 PM
Thank you i will check that out. My mods are below. And yes i am using JSGME. Also i have it installed on an external drive that is mapped as such ->D:\SteamLibrary\steamapps\common\Silent Hunters wolves of the pacific
[DEPENDANCIES]
100_FalloftheRisingSun_Ultimate_v1.8="FI-OQ_FotRSU_v1.8f_upcPatch""Nippon_Maru_v1.9b_FotRSU""451a_TMOstyle_NavMapDots_Nippon_Maru""Combined Roster""Nihon Kaigun v1.3_FotRSU""Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN""451b_TMOstyle_NavMapDots_Nihon_Kaigun"
Nippon_Maru_v1.9b_FotRSU="451a_TMOstyle_NavMapDots_Nippon_Maru""Combined Roster""Nihon Kaigun v1.3_FotRSU""Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN"
Combined Roster="Nihon Kaigun v1.3_FotRSU""Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN"
FI-OQ_FotRSU_v1.8f_upcPatch="Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN"
Nihon Kaigun v1.3_FotRSU="Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN""451b_TMOstyle_NavMapDots_Nihon_Kaigun"
[MODS]
100_FalloftheRisingSun_Ultimate_v1.8=1
FI-OQ_FotRSU_v1.8f_upcPatch=2
Nippon_Maru_v1.9b_FotRSU=3
451a_TMOstyle_NavMapDots_Nippon_Maru=4
Combined Roster=5
Nihon Kaigun v1.3_FotRSU=6
Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN=7
451b_TMOstyle_NavMapDots_Nihon_Kaigun=8
The mod list is a bit backwards orcisaac. Try going with
100_FalloftheRisingSun_Ultimate_v1.8
101_FotRSUv18_FixPak
Nihon Kaigun v1.3_FotRSU
Nippon_Maru_v1.9b_FotRSU
Combined Roster
451_TMOstyle_NavMapDots
451a_TMOstyle_NavMapDots_Nippon_Maru=4
451b_TMOstyle_NavMapDots_Nihon_Kaigun
Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN
FI-OQ_FotRSU_v1.8f_upcPatch
The orange text names are mods you do not have entered. Empty your Save folder (default "C:\Users \UserName \Documents \SH" or similar) after the changes, and then run the game again, and see if the gun doesn't work now. Also, refer to "SH4_Q-Ref_Card_Back.jpg" and "SH4_Q-Ref_Card_Front.jpg" image files for the proper key presses to use to operate your boat (just in case). Let us know how you get along. :salute:
orcisaac
12-31-22, 03:47 PM
The mod list is a bit backwards orcisaac. Try going with
100_FalloftheRisingSun_Ultimate_v1.8
101_FotRSUv18_FixPak
Nihon Kaigun v1.3_FotRSU
Nippon_Maru_v1.9b_FotRSU
Combined Roster
451_TMOstyle_NavMapDots
451a_TMOstyle_NavMapDots_Nippon_Maru=4
451b_TMOstyle_NavMapDots_Nihon_Kaigun
Fleetboat_Interior-Officers_Quarters_FOTRSU_v1.7_EN
FI-OQ_FotRSU_v1.8f_upcPatch
The orange text names are mods you do not have entered. Empty your Save folder (default "C:\Users \UserName \Documents \SH" or similar) after the changes, and then run the game again, and see if the gun doesn't work now. Also, refer to "SH4_Q-Ref_Card_Back.jpg" and "SH4_Q-Ref_Card_Front.jpg" image files for the proper key presses to use to operate your boat (just in case). Let us know how you get along. :salute:
Thank you I tried this and am still having problems. I referenced the controls document but it is not obvious to me how to move the gun. In game it says to just pan the mouse to the edges of the screen. I have tried this after clicking to lock my view to the gun and tried doing this while 'zoomed' in with the sights. I did notice the elevation on the left side of the sights move up and down but the gun does not appear to actually track with it. I also tried firing after 'raising' the elevation, thinking that maybe it was a visual bug and the gun is actually moving just not appearing as if it is. No dice though, it just fires right into the aft deck.. I may just try disabling all mods and see if it works after that. Otherwise, any other suggestions?
propbeanie
12-31-22, 05:15 PM
Be sure you empty the Save folder after changing the mod order, else you will end up with "bad" data from your previous set-up. Use the <Tab> key to zoom in and out while at the <F10> deck gun view. You can also use the up/down and left/right Arrow Keys, if your keyboard has those, to raise and lower elevation - which you will not see much of a change in the view finder when zoomed, and to rotate the view. If you can target a ship with the periscope of TBT and "Lock" on it, you will get a range on the target. Shoot a bit "short" of that with the deck gun, such that if the range is 1500 yards, you'll usually get hits at 1200 yard with the deck gun. When you attempt to use the mouse, click once on the screen, but inside the viewfinder, not to the left or right. Once you have clicked once, sliding the mouse left/right will rotate, and then up/down elevation is with a push/pull on the mouse away from or toward you. The mouse is kind of a rough aiming, whereas the arrow keys are a finer resolution. You can hold the Shift key, and speed things up a bit with the arrow keys. :salute:
orcisaac
12-31-22, 07:05 PM
Be sure you empty the Save folder after changing the mod order, else you will end up with "bad" data from your previous set-up. Use the <Tab> key to zoom in and out while at the <F10> deck gun view. You can also use the up/down and left/right Arrow Keys, if your keyboard has those, to raise and lower elevation - which you will not see much of a change in the view finder when zoomed, and to rotate the view. If you can target a ship with the periscope of TBT and "Lock" on it, you will get a range on the target. Shoot a bit "short" of that with the deck gun, such that if the range is 1500 yards, you'll usually get hits at 1200 yard with the deck gun. When you attempt to use the mouse, click once on the screen, but inside the viewfinder, not to the left or right. Once you have clicked once, sliding the mouse left/right will rotate, and then up/down elevation is with a push/pull on the mouse away from or toward you. The mouse is kind of a rough aiming, whereas the arrow keys are a finer resolution. You can hold the Shift key, and speed things up a bit with the arrow keys. :salute:
Okay i made sure to delete the save data. Still no dice. I removed all mods and the deck gun worked fine. I then added just FotRS and it appears it is the culprit. I tried with and without the patch and either way it does not work. Not sure what I am missing there.
orcisaac
12-31-22, 07:40 PM
Be sure you empty the Save folder after changing the mod order, else you will end up with "bad" data from your previous set-up. Use the <Tab> key to zoom in and out while at the <F10> deck gun view. You can also use the up/down and left/right Arrow Keys, if your keyboard has those, to raise and lower elevation - which you will not see much of a change in the view finder when zoomed, and to rotate the view. If you can target a ship with the periscope of TBT and "Lock" on it, you will get a range on the target. Shoot a bit "short" of that with the deck gun, such that if the range is 1500 yards, you'll usually get hits at 1200 yard with the deck gun. When you attempt to use the mouse, click once on the screen, but inside the viewfinder, not to the left or right. Once you have clicked once, sliding the mouse left/right will rotate, and then up/down elevation is with a push/pull on the mouse away from or toward you. The mouse is kind of a rough aiming, whereas the arrow keys are a finer resolution. You can hold the Shift key, and speed things up a bit with the arrow keys. :salute:
Okay so i deleted everything. Mods, the game files the save files. Installed from scratch applied only the FotRSU mod, dropped into the mods folder, activated it with JSGME, then ran LAA. I then launched the game and same dang thing. I am so confused why..
propbeanie
01-01-23, 12:49 PM
I am not certain as to your issue orcisaac. You are not in a program files folder, so in theory, should be OK. Steam useed to automatically install the DirectX v9.0c library files and codec for the game's use, so you should not have that issue. Here is a video I did last night with the deck gun
https://www.youtube.com/watch?v=lKlRn745hbs
If you do not get similar results, I do not know where to tell you to look, other than maybe the external drive is not fast enough? Perhaps you are mis-interpreting the use of the gun? Just be certain you crew the gun first (<F7> key), else it will take quite a while to load the ammunition, and it will move even slower than normal... :salute:
orcisaac
01-01-23, 03:38 PM
I am not certain as to your issue orcisaac. You are not in a program files folder, so in theory, should be OK. Steam useed to automatically install the DirectX v9.0c library files and codec for the game's use, so you should not have that issue. Here is a video I did last night with the deck gun
https://www.youtube.com/watch?v=lKlRn745hbs
If you do not get similar results, I do not know where to tell you to look, other than maybe the external drive is not fast enough? Perhaps you are mis-interpreting the use of the gun? Just be certain you crew the gun first (<F7> key), else it will take quite a while to load the ammunition, and it will move even slower than normal... :salute:
Thank you for all the help here, and for the video! I do seem to be using it correctly without mods installed no issue. Just once the FOTRSU mod is added it stops working. Sucks because i was pretty excited about playing the game with the mod. Oh well, i will tinker some more and hopefully get it figured out at some point.
1Patriotofmany
01-01-23, 10:39 PM
Shots in the dark here, but when you uninstalled Sh4, did you delete the SH4 folder in your documents? That doesn't get deleted I've found with an uninstall. Another thing are you using V1.5 of SH4?(wolves of the pacific uboat missions?
Just a wild shot in the dark - did you man the deck gun?
1Patriotofmany
01-02-23, 10:06 AM
Also have you tried just the basic mod alone without all the others in the list and see if it works? Right in the download instructions to try just the basic mod first. Then add them one by one?
goldmastersims
10-21-23, 08:46 PM
I know I am necroposting, but I likely have figured out why this is happening.
I highly doubt that drive speed matters. I am using an external NVMe drive with about 1000MB/s read/write speeds. The deck gun is still stuck.
The deck gun code probably doesn't work as intended if the game is installed on external drives for some reason. I only copied and pasted my install to an internal SSD. With only FotRSU installed on both external and internal drives, I got the deck gun to work.
So to everybody who is experiencing this problem, only install SH4 with FotRSU on an internal storage device. It is not recommended to use any external storage device whatsoever. This particular part of the game code being unable to function properly while installed on external storage is the most likely cause.
This particular part of the game code being unable to function properly while installed on external storage is the most likely cause.
Is the correct folder and drive for the game registered in the Windows registry?
Approximate location in the registry:
"hklm\software\WOW6432Node\Ubisoft\Silent Hunter Wolves of the Pacific\GameUpdate"
"hklm\software\WOW6432Node\Ubisoft\Silent Hunter 4 Wolves of the Pacific\GameUpdate"
Have you tried using symlink for your external hdd?
Console command as administrator: mklink /D с:\games\sh4 X:\sh4
X: this is your external HDD with the NTFS file system.
propbeanie
10-22-23, 08:46 AM
I know I am necroposting, but I likely have figured out why this is happening.
I highly doubt that drive speed matters. I am using an external NVMe drive with about 1000MB/s read/write speeds. The deck gun is still stuck.
The deck gun code probably doesn't work as intended if the game is installed on external drives for some reason. I only copied and pasted my install to an internal SSD. With only FotRSU installed on both external and internal drives, I got the deck gun to work.
So to everybody who is experiencing this problem, only install SH4 with FotRSU on an internal storage device. It is not recommended to use any external storage device whatsoever. This particular part of the game code being unable to function properly while installed on external storage is the most likely cause.
Is the correct folder and drive for the game registered in the Windows registry?
Approximate location in the registry:
"hklm\software\WOW6432Node\Ubisoft\Silent Hunter Wolves of the Pacific\GameUpdate"
"hklm\software\WOW6432Node\Ubisoft\Silent Hunter 4 Wolves of the Pacific\GameUpdate"
Have you tried using symlink for your external hdd?
Console command as administrator: mklink /D с:\games\sh4 X:\sh4
X: this is your external HDD with the NTFS file system.
Besides mazzi's excellent points above, the hard drive issue would be more of one concerning bandwidth, and not so much HD speed. Even a 5400rpm IDE drive supplies enough bandwidth on the ATA interface for the SH4 game. An external drive, with the necessary "interpretation" of the interface, is generally apparently "slower", no matter the interface, but especially USB2 or earlier.
@mazzi: Have you ever tried to use the Windows Path setting for similar reasons? We had put a batch file in an earlier FotRSU to set the player's path, but dropped it due to "user prompting" complications, and fears of trashing someone's computer settings. However, I have noticed "better" performance with the game's FotRSU folder on the path, though I do not know how to "test / compare" the difference between a registry setting from either an install, or use of SH Validator to re-set it, and having the registry point to an original install folder, while the path points to a modded copy of the game...
Have you ever tried to use the Windows Path setting for similar reasons?
I have the opinion that certain sections of the game code do not work correctly, when the wrong game folder is registered in the Windows registry. That's why I always use this script:
@echo off
for /F "Tokens=2*" %%I in ('Reg Query "hklm\software\WOW6432Node\Ubisoft\Silent Hunter 4 Wolves of the Pacific\GameUpdate" /v installdir') do set dir_reestr=%%J
rem echo.
rem echo The game folder spelled out in the registry:
rem echo %dir_reestr%
rem echo.
rem pause
set p=%~dp0%
set "curent_dir=%p:~0,-1%\"
rem echo.
rem echo Current folder of the launched game:
rem echo %curent_dir%
rem echo.
rem pause
rem echo.
rem echo Folder paths are compared with each other:
rem echo.
if /i "%curent_dir%"=="%dir_reestr%" (GOTO YES ) else (GOTO NO)
:YES
rem echo The paths coincide! :)
rem echo.
rem pause
rem echo.
rem echo The game starts...
start "" "%curent_dir%\sh4.exe"
goto :EOF
:NO
rem echo The paths are different! :(
rem echo.
rem pause
rem echo.
rem echo The proper current folder of the launched game is recorded in the register:
rem echo %curent_dir%
rem echo.
REM for sh4 v1.00.0000
reg add "hklm\software\WOW6432Node\Ubisoft\Silent Hunter Wolves of the Pacific\GameUpdate" /v execPath /t reg_sz /f /d "%~dp0%sh4.exe
reg add "hklm\software\WOW6432Node\Ubisoft\Silent Hunter Wolves of the Pacific\GameUpdate" /v installdir /t reg_sz /f /d "%~dp0%
REM for sh4 v1.05.0000
reg add "hklm\software\WOW6432Node\Ubisoft\Silent Hunter 4 Wolves of the Pacific\GameUpdate" /v execPath /t reg_sz /f /d "%~dp0%sh4.exe
reg add "hklm\software\WOW6432Node\Ubisoft\Silent Hunter 4 Wolves of the Pacific\GameUpdate" /v installdir /t reg_sz /f /d "%~dp0%
rem pause
rem echo.
rem echo The game starts...
start "" "%curent_dir%\sh4.exe"
GOTO :EOF
It must be placed in ALL game folders, next to the sh4.exe file. Then launch all games using this script. This script.bat or script.cmd must be run as administrator.
This .bat script can be converted into an .exe file using the program "Bat To Exe Converter". In the 'Bat To Exe Converter' itself, when converting .bat to .exe, you can set administrator rights.
If you remove all the small 'rem' in the script, leaving the large 'REM' intact, you can see what the script does step by step.
propbeanie
10-27-23, 01:58 PM
Nicely done mazzi. If you don't mind, we'll attempt to include that in the next FotRSU release, editing it slightly to show your name in the REM lines.
Script.bat or Script.cmd will not be convenient for ordinary people to use.
It would be better if Script.bat was still converted into some kind of file.EXE and then this file.EXE would be posted for everyone.
But do as you see fit, I don’t mind.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.