Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.78 KB

README.md

File metadata and controls

56 lines (42 loc) · 1.78 KB

BG3 WASD Movement

A mod for Baldur's Gate 3 that allows direct character movement with WASD keys (or others).

Find it on Nexusmods.

Building

Requirements

  • CMake
    • Add this to your PATH
  • PowerShell
  • Vcpkg
    • Add the environment variable VCPKG_ROOT with the value as the path to the folder containing vcpkg
  • Visual Studio Community 2022
    • Desktop development with C++
  • Baldur's Gate 3 Steam Distribution
    • Add the environment variable BG3PATH with the value as path to game install folder
    • Add BG3PATH2 if you have a secondary installation (E.g. one for Steam, one for GOG)
  • 7zip
    • Install to default dir

Register Visual Studio as a Generator

  • Open x64 Native Tools Command Prompt
  • Run cmake
  • Close the cmd window

Building

git clone https://github.com/Ch4nKyy/BG3WASD.git
cd BG3WASD
git submodule init
git submodule update --remote
.\build-release.ps1

Solution Generation (Optional)

If you want to generate a Visual Studio solution, run the following command:

.\generate-sln.ps1

Note: This will generate a BG3WASD.sln file in the build directory.

VSCode Intellisense (Optional)

To fix Intellisense in VSCode, do the following:

  • Install the extensions ms-vscode.cpptools and ms-vscode.cmake-tools.
  • Build the solution with the cmake tools extension.
  • In your c_cpp_properties.json, use "configurationProvider": "ms-vscode.cmake-tools". This is the only needed parameter, apart from "name".