BG3ModMaker is a suite of tools for creating mods in Baldur’s Gate 3. It’s written in modern C++ (WTL/DirectX/DirectXTex) with a focus on speed, transparency, and being fully self-contained (no dependency on LSLib or .NET).
-
Mod Editor
- Multi-tab interface for low-level mod editing
- Explorer-type folder interface
-
Stats + LSX/LSF Indexing
- Full-text indexing of Gustav.pak and other content with Xapian
- Fast search across stats, passives, spells, icons, and more
-
Icon Explorer
- Maps
IconUVatlas references to cropped icons - Stores icons in RocksDB for fast lookup
- Supports DDS and PNG (via DirectXTex + WIC)
- Maps
-
Image Viewer
- Zoomable, scrollable Direct2D-based viewer
- Supports DDS, PNG, JPG, BMP, TGA, GIF, HDR (and more)
-
GameObject Explorer
- Explore root templates, stats bindings, localization, and icons by UUID
- Quickly see how items and abilities are constructed
-
PAK Explorer
- Explore PAK file contents without requiring exploding to the filesystem
BG3ModStudio/— main GUI application (WTL/Direct2D)Catalog/— constructs a game object rocksdb database from PAK filesIconizer— constructs an icon rocksdb database from PAK filesLibLS/— library for reading/writing LSX, LSF, and PAK formatsIndex/— Xapian-based indexer for BG3 resourcesUtility/— shared utility code`
- Visual Studio 2022 (C++20 or later)
- DirectXTex (for DDS/WIC image handling)
- Xapian (for indexing)
- RocksDB (for icon storage)
git clone https://github.com/trieck/BG3ModMaker.git
cd BG3ModMaker
# open the solution in Visual Studio and build