/FixToggleWalkRun

SKSE plugin to fix the Toggle Walk/Run bug in Skyrim SE

Primary LanguageC++MIT LicenseMIT

This plugin overrides the game's handling of the Run and ToggleRun keys to fix an issue where the running flag gets stuck in the wrong position after opening menus, crossing loading doors, etc, while the Run key is pressed.

Requirements

  • You may need to make some patches to CommonLibSSE-NG for it to compile depending on your toolchain version. If so, after cloning in the submodule, apply the CommonLibSSE-NG.patch file included.

Building

# After clone:
git submodule update --init --recursive

# To apply the CommonLibSSE-NG patch, if required:
cd external/CommonLibSSE-NG
git apply ../../CommonLibSSE-NG.patch
cd ../..

# To build the project:
cmake -B BUILD --preset vs2022-windows .
cmake --build BUILD --config Release

Known issues

  • Normally the game stores your previous running state in the save game and uses that when you load it. With this plugin installed that will be disregarded. In other words, if you press the Toggle Run key to walk, and then load a save game, you will be walking after, regardless of whether you were running or walking when you created that save game.