fix: path discovery of cosmoteer for manjaro linux

This commit is contained in:
Manuel Ganter
2026-08-29 17:06:21 +02:00
parent 68af02fb3f
commit 7c1ee563e7
6 changed files with 435 additions and 57 deletions
+9 -2
View File
@@ -98,6 +98,7 @@ No stat or number is changed. Only *when* radiators run.
mod.rules manifest + patch actions
components/radiator_auto.rules measures network headroom, gates the radiator
tests/ offline validation suite
tests/steam_paths.py finds the game via Steam's libraryfolders.vdf
tools/dotnet_enum.py reads component schemas out of Cosmoteer.dll
tools/ildump.py disassembles component methods to readable CIL
install.sh validate + copy into the Mods folder
@@ -110,12 +111,18 @@ install.sh validate + copy into the Mods folder
```
Then enable **Auto Radiator** in the game's Mods menu. `./install.sh --uninstall`
removes it. If the script cannot find your Mods folder, set `COSMOTEER_MODS_DIR`.
removes it.
The script finds the game by reading Steam's `libraryfolders.vdf`, so a library
on a second disk and a Proton prefix are both handled. If it still comes up
empty it prints the libraries it searched; set `COSMOTEER_MODS_DIR` to override.
## Tests
```sh
python3 tests/test_mod.py
python3 tests/test_mod.py # the mod, against installed game data
python3 tests/test_steam_paths.py # game discovery
./tests/test_install.sh # Mods folder discovery
```
Cosmoteer applies mod actions to vanilla data at load time. Some mistakes crash