MCPcopy Index your code
hub / github.com/Shazbot/WH3-Mod-Manager

github.com/Shazbot/WH3-Mod-Manager @v2.19.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.19.1 ↗ · + Follow
1,542 symbols 3,892 edges 262 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Warhammer 3 Mod Manager

Mod manager for the Steam versions of Total War titles: Warhammer 3, Pharaoh, Three Kingdoms, Warhammer 2, Attila, Rome II, Shogun 2.

Features not present in the CA launcher:

  • incredibly fast
  • mod filtering and presets
  • options to skip into videos or enable script logging
  • view database tables of mods or the base game
  • compatibility checker to inspect which mod will have priority and overwrite another
  • can also update your mods directly like the CA launcher
  • add tags/categories to organize your mods
  • customize individual mods by disabling units, buildings or agents (lords and heroes)

 

App image

Run in development

yarn start

Build for Windows

yarn make

I build with yarn 1.22.22 and node v20.18.1. You can try using yarn install --frozen-lockfile --ignore-engines if you end up with dependency errors.

Note that yarn start does hot-reloading, but hot-reloading files related to the main Electron process (basically index.ts, the stuff related to the OS and files) won't work but hot-reloading the renderer process works (basically everything user facing).

Extension points exported contracts — how you extend this code

ITrie (Interface)
(no doc) [1 implementers]
src/utility/trie.ts
CallbackReturns (Interface)
(no doc)
steamworks/callbacks.d.ts
PlayerSteamId (Interface)
(no doc)
steamworks/client.d.ts
PreparedFlow (Interface)
(no doc)
src/flowExecutionSupport.ts
DBCloneExecutionContext (Interface)
(no doc)
src/DBClone.ts
NodeGraphExecutionRequest (Interface)
(no doc)
src/nodeGraphExecutor.ts
SchemaField (Interface)
(no doc)
src/packFileTypes.ts
CustomizableModsCacheEntry (Interface)
(no doc)
src/ipcMainListeners.ts

Core symbols most depended-on inside this repo

get
called by 222
src/utility/trie.ts
add
called by 151
src/utility/trie.ts
dispatchNodeDataUpdate
called by 87
src/nodeGraph/nodes/shared.tsx
setNodes
called by 65
src/nodeGraph/connectionRules.ts
hotPathLog
called by 64
src/nodeExecutor.ts
getSchemaFieldValue
called by 61
src/ipcMainListeners.ts
useLocalizations
called by 55
src/localizationContext.ts
useTheme
called by 52
src/flowbite/components/Flowbite/ThemeContext.tsx

Shape

Function 1,126
Interface 316
Method 57
Class 26
Enum 17

Languages

TypeScript100%

Modules by API surface

src/ipcMainListeners.ts121 symbols
src/index.d.ts98 symbols
src/nodeGraph/nodes/renderers.tsx93 symbols
src/packFileSerializer.ts91 symbols
src/nodeExecutor.ts52 symbols
src/DBClone.ts45 symbols
src/nodeGraph/nodes/types.ts42 symbols
steamworks/client.d.ts39 symbols
src/components/viewer/DBDuplication.tsx27 symbols
src/appSlice.ts24 symbols
src/utility/performanceMonitor.ts21 symbols
src/nodeGraph/connectionRules.ts21 symbols

For agents

$ claude mcp add WH3-Mod-Manager \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact