博德之门3v1.32026年10月12日 更新

Linux Native WASD (a bg3le plugin)

Linux Native WASD If this mod saves your fingers, you can buy me a coffee: !(https://ko-fi.com/K3K51TO6S1) WASD movement for the native Linux build of Baldur's Gate 3, as a bg3le plugin. Your character moves through the game's own movement code, the same path a controller's analog stick uses. Animation, collision and pathing behave as they do with a stick, rather than as faked mouse clicks. Movement is relative to the camera: W moves away from it. This is wasdlebg3 by Nerocon (Brian Calvert), po

Linux Native WASD

If this mod saves your fingers, you can buy me a coffee:

WASD movement for the native Linux build of Baldur's Gate 3, as a bg3le plugin.

Your character moves through the game's own movement code, the same path a controller's analog stick uses. Animation, collision and pathing behave as they do with a stick, rather than as faked mouse clicks. Movement is relative to the camera: W moves away from it.

This is wasdlebg3 by Nerocon (Brian Calvert), ported onto bg3le's plugin API. The movement code is his. bg3le loads it from its plugins folder, so you don't need a separate LD_PRELOAD and it runs alongside bg3le's other plugins. All credit and thanks to Nerocon for the reverse engineering it rests on.

Requirements

  • bg3le v0.3.5 or newer. Older versions can't run the plugin every frame, and it declines to load.
  • The native Linux build of BG3 on Steam. If your install only has bg3.exe, that's the Windows build, and this isn't for you.

Installation

  • Close the game.
  • Unzip the download anywhere.
  • Run
./install.py

(or

python3 install.py

).

It copies

linux_native_wasd.so

into

~/.local/share/bg3le/plugins

, and bg3le loads it at the next launch. Your launch options don't change, and Steam can stay open.

Already using wasdlebg3? Remove its

LD_PRELOAD=.../bg3le.so

(or

bg3lese.so

) from the game's launch options, or movement is driven twice. The installer warns you if it finds one.

To uninstall, run

./install.py --uninstall

.

Controls

  • W A S D: move, relative to the camera
  • Left Shift (hold): walk instead of run
  • Everything else is untouched: interact, hotbar and camera work as normal

WASD are hidden from the game while you move, so they no longer pan the camera. While you type in a text field (naming a save, renaming a character), every key goes to the game. Losing window focus stops movement, so alt-tabbing with W held won't walk you into a lake.

Settings

The defaults are what most people want. bg3le saves the settings to

~/.local/share/bg3le/plugins/linux_native_wasd.settings.json

on first launch. Edit that file with the game closed, or change them from Lua with

Ext.Plugins.Set("LinuxNativeWASD", id, value)

.

  • walk_key (225): SDL scancode of the walk key. 225 is Left Shift, 229 Right Shift, 224 Left Ctrl, and 0 turns walking off.
  • walk_speed (0.5): walking speed as a fraction of running, 0.05 to 1.
  • suppress (true): hide WASD from the game's own key bindings.
  • move, gate, input_only, trace: for troubleshooting only.

Scope

  • Single-player. Driving movement in co-op is untested and may desync. Don't use it there.
  • Your saves are safe. The plugin writes d touches nothing persistent. It patches six bytes of the game's code in memory (never on disk) and puts them back when the game exits.
  • Not a cheat. It uses the same input pats no stats, rolls or speeds.

Troubleshooting

LinuxNativeWASD:[/code]. On a supported game build you'll see

opened 1 of 1 movement gate(s)

, and once you control

a character,

movement control live

.ature wasn't found, your game build isn'trecognised yet. Please post the log in the comments.

Source and credits

Contains no Larian code or assets. Baldur's Gate 3 is © Larian Studios.

来源与文件

前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。

<!-- aoe-mods-source:nexusmods:baldursgate3:25659 -->

下载模块

共 1 个来源
立即下载推荐来源
前往下载