PlimpMods: MINDNIGHT mods for Linux and Steam Deck
==================================================

Installs BepInEx (the mod loader) and the mods into MINDNIGHT:
  - Quality Of Life : notes and suspicion tags on players, hammer, country flags, chat tools, game timer...
  - More Gamemodes  : the Payload and Alphas game modes for custom lobbies (every player needs it)


INSTALL
-------
1. Close MINDNIGHT. Close Steam too (Steam > Exit): the launcher can then set the Steam launch option for you.
   On Steam Deck: switch to Desktop Mode first.
2. Extract this folder anywhere, then double-click "PlimpMods.sh" (choose "Run" / "Execute" if your
   file manager asks). You can also use "PlimpMods.desktop" (some desktops ask you to allow it first:
   right-click > Allow Launching).
3. The launcher shows what is installed and what is missing. Choose "Install / update the mods",
   pick the mods, and it does the rest (BepInEx, mods, Steam launch option).
4. Start Steam and MINDNIGHT. "Quality Of Life ... loaded" at the bottom of the main menu means it works.

Open the launcher again any time to update, turn the mods off (vanilla), turn them back on, or uninstall.
The windows use zenity or kdialog (present on most desktops, including the Steam Deck). Without them,
the launcher opens in a terminal with the same steps.


IF STEAM WAS OPEN
-----------------
The launcher asks you to close Steam and click Retry, or to set the launch option yourself
(it copies it to your clipboard when it can): in Steam, right-click MINDNIGHT > Properties > General
> Launch Options:

    ./run_bepinex.sh %command%


SOMETHING DOESN'T WORK?
-----------------------
- Open the launcher again: every line marked [--] says what to do.
- Terminal version (same steps, with details):   bash files/install.sh
- Nothing happens on double-click: run   chmod +x PlimpMods.sh   then try again,
  or use the terminal version.
- BepInEx writes a log in <your MINDNIGHT folder>/BepInEx/LogOutput.log.
- Steam won't start the game after an uninstall: clear the launch option in Steam.

Everything stays in your MINDNIGHT folder (and the game's Steam launch option; a backup of
Steam's localconfig.vdf is kept next to it as localconfig.vdf.mindnight-mods.bak).
