Skip to content

Esensats/mcsr-calcsens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Boat Eye sensitivity calculator

When using Ninjabrain Bot with a 16384 pixels tall Minecraft window, you'll notice that your sensitivity feels very high, and it's very difficult to make small adjustments. The rotational sensitivity remains the same, but perceived sensitivity is much higher due to zoomed in view. Also, the minimum angle increment might also feel too high.

This calculator helps you find a configuration that feels similar to the sensitivity you're used to, while conforming to this list. The default target mouseSensitivity is 0.02291165, because it is very small and has a small error. The calculator gives you waywall sensitivities (for both normal gameplay and boat eye tall window). The boat eye tall sensitivity coefficient is the one you set with waywall.set_sensitivity when you change the resolution to 16384 pixels tall.

As a bonus, you will now never need to touch raw input again (yes, even when doing boat eye), and you don't have to change your DPI or host DE mouse settings.

Usage

  1. Write down your current mouseSensitivity from options.txt or standardsettings.json. Let's say it's 0.5 (displayed as 100% in-game)
  2. Write down your current sensitivity in waywall's config. Let's say it's 1.0.
  3. Use this tool as the following:
python calcsens.py 0.5 1.0 # 0.5 is Minecraft sensitivity, 1.0 is waywall sensitivity
# Output:
# New Minecraft mouseSensitivity: 0.02291165
# New normal sensitivity coefficient (waywall): 21.822959062311096
# New tall sensitivity coefficient (waywall): 1.4721637642674297
  1. Set your Minecraft mouseSensitivity to the new value (0.02291165 in this example)
  2. Set your waywall sensitivity to the new normal sensitivity coefficient (around 21.823 in this example). Example:
local waywall = require("waywall")

local config = {
	input = {
    --- ...
		sensitivity = 21.822959062311096, -- New normal sensitivity coefficient
    --- ...
	},
  -- ...
}

--- ...

return config
  1. Add waywall.set_sensitivity(1.472) to the line where you change the resolution to 16384 pixels tall in lua. Example:
local tall_enable = function()
  -- Set resolution to 384x16384...
  -- Turn on the needed mirrors...
	waywall.set_sensitivity(1.4721637642674297) -- New tall sensitivity coefficient
end
  1. Add waywall.set_sensitivity(0) to the line where you change the resolution back to normal. Example:
local tall_disable = function()
  -- Set resolution back to normal...
  -- Turn off the mirrors...
  waywall.set_sensitivity(0) -- Back to normal sensitivity coefficient
end
  1. Disable Raw Input in Minecraft for the waywall sensitivity multipliers to take effect.

Done! You should now have a similar perceived sensitivity feeling in both normal and boat eye tall window modes and your muscle memory is saved, while also having a sensitivity suitable for precise boat measurements.

Other options

Use the --help flag to see other options:

python calcsens.py --help
# Output:
# usage: calcsens.py [-h] [--normalRes NORMALRES NORMALRES] [--tallRes TALLRES TALLRES] [--newMouseSens NEWMOUSESENS]
#                    [--vFov VFOV] [--currentTallCoef CURRENTTALLCOEF]
#                    currentMouseSens currentNormalCoef
#
# Calculate new Waywall sensitivity coefficients.
#
# positional arguments:
#   currentMouseSens      Current Minecraft mouseSensitivity
#   currentNormalCoef     Current sensitivity in waywall
#
# options:
#   -h, --help            show this help message and exit
#   --normalRes NORMALRES NORMALRES
#                         Normal resolution (width height). Default is 1920x1080
#   --tallRes TALLRES TALLRES
#                         Tall resolution (width height). Default is 384x16384
#   --newMouseSens NEWMOUSESENS
#                         New mouse sensitivity. Default is 0.02291165
#   --vFov VFOV           Vertical FOV in degrees. Default is 30
#   --currentTallCoef CURRENTTALLCOEF
#                         Current tall sensitivity coefficient (if not provided, it will be computed from resolutions)

About

Sensitivity calculator for boat eyeing in MCSR. Primarily for Waywall players.

Topics

Resources

License

Stars

Watchers

Forks

Languages