Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a QOL mouse movement improvement to the 3 build games verified so far:
The patches then also apply to the entries that using one of them as a parent-DOSZ:
The used patch "BUILDMFX" is mentioned here: https://www.pcgamingwiki.com/wiki/Blood#Buildmfx
Though the patch was only applied verbatim to Duke Nukem 3D. For Shadow Warrior and Blood the Y axis multiplier was halved to make it feel as good as in Duke Nukem 3D. I tested this by launching the games, pressing U (to enable mouse looking) and I (to enable the crosshair) and then doing circular mouse movements. With the patch my circular movements are reflected nicely in the games. For games that don't have a "Invert Mouse Aim" option in the game, the Y axis can be flipped by changing the factor from 1.0 to -1.0 in the advanced input settings of the Setup Program.
This is the original patched code bytes from the BUILDMFX.EXE tool:
for Shadow Warrior and Blood I modified it to
The
0x60was halved to0x30because otherwise vertical mouse movement would be twice as strong.