
BG3MM Index Search
Fast CLI search for BG3 Modder's Multitool Lucene index
► OVERVIEW
A CLI tool that searches the Lucene index built by BG3 Modder's Multitool. Orders of magnitude faster than grep or file search for finding UUIDs, localization handles, templates, and file paths across UnpackedData.
Requirements:
- .NET 8.0 Runtime
- BG3 Modder's Multitool with indexed files (use the Multitool's "Index Files" button)
► DOWNLOADS
| Files | Version | Type | Description |
|---|---|---|---|
| | 1.0.0 | Main | CLI search tool (.NET 8.0) |
| | 1.0.0 | Optional | Claude Code skill for AI-assisted searching |
► INSTALLATION
- Install the .NET 8.0 Runtime if you don't have it
- Extract the bg3mm-index-search folder inside your BG3 Modder's Multitool directory (next to the lucene folder)
- Make sure you've indexed your files in the Multitool first
- Open a terminal and test it:
Code: Select all
dotnet "C:\path\to\BG3-Modders-Multitool\bg3mm-index-search\bg3mm-index-search.dll" "Astarion" --body-only► USAGE
Basic syntax:
Code: Select all
dotnet "bg3mm-index-search\bg3mm-index-search.dll" "<search-term>" [options]- --body-only — Search file contents only (not paths)
- --path-only — Search file paths only (not contents)
- --index <path> — Custom path to Lucene index directory
- --limit <n> — Max results to return (default: 100)
- Looking for a UUID or handle in file contents? Use --body-only
- Looking for files by name or type? Use --path-only
- Broad search across everything? Use neither flag
Code: Select all
# Find files referencing a UUID
dotnet bg3mm-index-search.dll "3278f064-5353-4c08-ab96-c2f432d0fda0" --body-only
# Find files by path pattern
dotnet bg3mm-index-search.dll "RootTemplates" --path-only
# Search with a result limit
dotnet bg3mm-index-search.dll "DisplayName" --body-only --limit 50
► CLAUDE CODE SKILL SETUP
If you use Claude Code, the included skill teaches Claude how to use this tool automatically when searching BG3 game files. Once installed, Claude will use the index search whenever you ask it to look up UUIDs, handles, templates, or file content.
Installation
- Extract SKILL.md from the Claude Code Skill zip
- Create this folder:
- LINUX: ~/.claude/skills/bg3mm-index-search/
- WINDOWS: %USERPROFILE%/.claude/skills/bg3mm-index-search/
- Place SKILL.md inside that folder
- Open SKILL.md and replace all <MULTITOOL> placeholders with the path to your BG3 Modder's Multitool folder
- Restart Claude Code
► REPORTING BUGS
To report any bugs, please submit a post in the Mod Support section and mention my username.
► CREDITS
- ShinyHobo — BG3 Modder's Multitool and Lucene indexing
- Lucene.Net — Search engine library