A Windows-native prototype for launching Workers & Resources: Soviet Republic with enabled native mod DLLs. It contains a graphical mod manager, a bootloader that starts the game suspended and injects one shared runtime loader, and an example mod.
SovietModManager.exe Graphical mod manager (build output)
SovietBootloader.exe Native launcher/injector (build output)
loader/SovietModLoader.dll Shared injected runtime loader (build output)
mods/<mod-id>/mod.ini Mod manifest
mods/<mod-id>/bin/*.dll Mod entry DLL (build output)
profiles/enabled-mods.ini Local enabled-mod state
Build output, logs, and profiles/*.ini are intentionally ignored by Git.
- Visual Studio 2022 with MSVC C++ tools and Windows SDK
- CMake 3.25+
- .NET 8 SDK
From a Visual Studio Developer PowerShell:
cmake -S C:\projects\soviet -B C:\projects\soviet\build -G "Visual Studio 17 2022" -A x64
cmake --build C:\projects\soviet\build --config ReleaseThe build copies SovietBootloader.exe, loader\SovietModLoader.dll, and the example mod DLL into their runtime locations under the project root.
dotnet build C:\projects\soviet\src\manager\SovietModManager.csproj --configuration Release --output C:\projects\soviet\manager-build
Copy-Item C:\projects\soviet\manager-build\SovietModManager* C:\projects\sovietRun SovietModManager.exe to toggle discovered mods, select Soviet64.exe, and launch through the bootloader. It displays a preview directly from the configured game installation; no game assets are copied or modified.
.\SovietBootloader.exe list
.\SovietBootloader.exe enable example-mod
.\SovietBootloader.exe disable example-mod
.\SovietBootloader.exe launch "C:\Program Files (x86)\Steam\steamapps\common\SovietRepublic\Soviet64.exe"[mod]
id = example-mod
name = Example Mod
version = 0.1.0
entry = bin\ExampleMod.dllThe injected loader reads profiles\enabled-mods.ini, loads each enabled manifest entry with LoadLibraryW, and invokes an optional exported SovietModInitialize function. This prototype intentionally has no compatibility, dependency, conflict, or hook-policy checks.