Linux Native Camera Tweaks - bg3le Plugin
This is Linux Native Camera Tweaks by Biiinks78, running as a bg3le plugin. The camera work is his, so all thanks for it go to him. This version changes how it loads, makes its tuning adjustable, and fixes a crash and a camera shake.
Support
If bg3le is useful to you and you'd like to support its development:

What it does
- Hold the camera rotate binding (middle mouse by default) and move the mouse up or down to tilt the camera around your character.
- Zoom with the mouse wheel past the game's own limits.
- On a controller, the right stick tilts the camera; pressed in, it zooms.
What this version changes
- No LD_PRELOAD. bg3le loads it from its plugins folder, with no launch option change.
- Settings. Pitch sensitivity, inversion and limits; zoom step, inversion and optional limits; controller pitch speed and dead zone. Set them in MCM or in a settings file; they're kept between launches.
- No camera shake. The original NOPed the game's camera writes, but the game still drew the camera with its own smoothed value, which made the view jitter. This version makes the game draw exactly the mod's pitch and zoom.
- No crash on first use. The game only saves bindings you've changed, so the camera rotate binding is usually missing from inputconfig_p1.json, and the original crashed on the first mouse event. This version falls back to the game's default, the middle mouse button.
- Works on game version 4.76.31.656.
Requirements
- bg3le, the Script Extender for the native Linux build.
- Optional: Linux Native Camera Tweaks - MCM Settings and the Mod Configuration Menu, for in-game settings.
Installation
- Install bg3le if you haven't.
- Unzip this mod and run ./install.py. It copies the plugin to ~/.local/share/bg3le/plugins/. Steam can stay open.
- Launch the game.
If you have the original LD_PRELOAD version, remove it from your launch options, or the camera gets patched twice. The installer warns you if it's still there.
To uninstall, run ./install.py --uninstall.
Settings
With the MCM Settings mod, they're under Linux Native Camera Tweaks in MCM and apply at once. Without it, edit ~/.local/share/bg3le/plugins/linux_native_camera_tweaks.settings.json with the game closed. bg3le writes the file, listing every setting, on the first launch.
- roll_sensitivity (2.0): degrees of pitch per unit of mouse movement.
- invert_roll (false): swap which way the mouse tilts the camera.
- roll_min / roll_max (-89 / 89): how far the camera tilts each way.
- zoom_step (0.25): zoom per mouse wheel notch.
- invert_zoom (false): swap which way the wheel zooms.
- zoom_limit (false): keep the zoom between zoom_min and zoom_max.
- zoom_min / zoom_max (1 / 100): the zoom limits, when on.
- controller_roll_speed (2.0): pitch speed with the right stick fully over.
- controller_deadzone (4000): right stick dead zone, out of 32767.
Source
github.com/lenonk/LinuxNativeCameraTweaks, a fork of Biiinks78's repository.
Credits and permissions
- Original mod and camera code by Biiinks78: Linux Native Camera Tweaks. Please endorse his mod too.
- bg3le plugin port, settings and fixes by Lenon.
- Following the original's permissions: modification and release of improvements are allowed with credit to the original creator; no paid mods or mods earning donation points.
来源与文件
来源列出的依赖与关系
- 作者列出的前置:Baldur's Gate 3 Linux Script Extender (BG3LE)
前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。
<!-- aoe-mods-source:nexusmods:baldursgate3:25504 -->