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 10-27-24, 12:07 PM   #1
Hebe Vollmaus
Frogman
 
Join Date: Jun 2010
Location: Germany
Posts: 290
Downloads: 3
Uploads: 1
Default Facts on MouseJumps and so called FireButtonBug

Hi all.

1. Mouse jumps are needed in-game.
2. There is no bug!
3. A so called "fix" or a solution cannot be made without original game-sources, so there can only be a workaround.



A bit longer description:
--
1. Mouse jumps are needed in-game.

If in doubt please check for yourself as follows:
o make a copy of sh3.exe
o rename original sh3.exe to sh3_ORIG.exe
o rename copy of sh3.exe back to sh3.exe
o with a HEX-editor search in sh3.exe for "SetCursorPos"
o change to "SetCaretPos" and append in HEX-view 0x00 (as it is one letter shorter)
o start the game and see for yourself

Hint:
Cursor is what Windows calls your MousePointer.
Caret is what Windows calls your blinkin Cursor for example in a CommandPrompt.
By changing the 1st to 2nd the game no longer moves your mouse around.

The game is no longer playable. All the Views, when the Mouse is captured, like innert Periscope, UZO, or Bridge, moves like stupid. Showing uncontroled and unusable behavior.

So the SetCursorPos is needed which means Mouse jumps are needed in-game.

o delete sh3.exe
o rename sh3_ORIG.exe back to sh3.exe

--
2. There is no bug!

As you may have seen by reproduce the steps above, the game works as intended.
There is no bug in original SH3 in relation to MouseJumps and FireButton.

The so called "Fire Button Bug" jumps in as a problem only when various so called "Resolution-fix" (res-fix) is in-use. These "simple" (simple in case of SH3-GUI-programming) things do stretch things to the right positions for the requested resolution on screen, but do not stretch also Mouse positions requested by the game.

--
3. A so called "fix" or a solution cannot be made without original game-sources, so there can only be a workaround.

This should be self-explanatory.
As of today i have not seen a working freely available workaround for the mouse-jumps.
There may or may not one on the future, but this is like talking about "unreleased eggs".
For example there still exist things as EXE-patches and DLL-patches for other things.

For this "Fire Button Bug" there still exist enough workarounds as already shown in older posts here on Subsim. Button de-aktivation, or use of various GUI-replacements as so called "widescreen mods" for bigger Screens like 1920x1080.
https://www.subsim.com/radioroom/sho...34&postcount=5
I like to append one which is often forgotten in those tips: Move the Firebutton by yourself.

Greetings.
--
563 Mods found (100 activated)
Hebe Vollmaus is offline   Reply With Quote
Old 08-09-26, 04:59 AM   #2
Hebe Vollmaus
Frogman
 
Join Date: Jun 2010
Location: Germany
Posts: 290
Downloads: 3
Uploads: 1
Default jump or not jump



I like to add some more info here regarding Mouse-jumps.

As written in post#1 Mouse-jumps are needed for the game to work propperly.
If one like to overcome the only 'un-needed' jumps in "Abort Mission?"- or "Exit Game?"-requesters one way may be to use a Windows(tm) System-hook to distinguish the Window-/Screen-resolution in-use just before the execution of 'SetCursorPos', or ignore the call in relation to the requested xy-position.
This way i was able to inject a DLL into my running sh3-process, which stops those unwanted Mouse-jumps.

Before you ask; no, i will not integate this technic into any release of mySH3-TooL.
The reason is -- there are less mental individuals out there like to bann such software, even fully harmless. Maybe Viri.Scanners or otherwise.
The benefit does not weight out the risc get banned.

BTW, i found this technic on GitHub, wich shown in 'edge' as blocked or harmful in a red window!
ROTFL, Source-files like *.cpp can/will damage your Computer.
Not, of course!

Greetings.
Hebe Vollmaus is offline   Reply With Quote
Old 08-12-26, 09:13 AM   #3
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,797
Downloads: 1214
Uploads: 4
Default

Quote:
Originally Posted by Hebe Vollmaus View Post

BTW, i found this technic on GitHub, wich shown in 'edge' as blocked or harmful in a red window!
ROTFL, Source-files like *.cpp can/will damage your Computer.
Not, of course!
One has to ignore the ascending stupidity nowdays.

There seems to be a gradual slide down to very un-intelligent Human (or AI) developers, and/or paranoid morons.

The previous champions of AI, have reaslised their mistake.
vanjast is offline   Reply With Quote
Reply


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 01:38 PM.


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.