/PyPavlovUpdater

Python program to update and subscribe to Pavlov mods. This program does 3 things: 1) check the users subscribed mods against the installed mods, then update out of date mods, 2) install mods that are subscribed to but not installed, 3) subscribe to any mod that is installed but not currently subscribed to.

Primary LanguagePython

PyPavlovUpdater

Python program to update and subscribe to Pavlov-VR mods.


This program does 3 things:

  1. Check the users subscribed mods against the installed mods, then update out of date mods
  2. Install mods that are subscribed to but not installed
  3. Subscribe to any mod that is installed but not currently subscribed to.

Installation

Clone this repository onto your computer, then run the CLI Interface or the GUI Interface (not finished) batch files. The batch scripts will create a virtual environment (python base installation must have virtualenv installed) and will use it to run the program.

CLI Interface

The CLI interface can be launched by running update_pavlov_mods_cli.bat. The program will prompt the user for:

  1. A Mod.io API token (with read+write privaleges) obtained from https://mod.io/me/access
  2. The directory location for the Pavlov mod folder (usually C:\Users\__user__\AppData\Local\Pavlov\Saved\Mods but may vary for your installation)

The program will then get the users subscribed Pavlov mods from Mod.io, get the locally installed mods from the Pavlov mod folder, and compare the two lists against eachother. When out-of-date mods or not installed are detected, the mods are automatically downloaded. When a mod that is downloaded but not subscribed to is detected, the mod is automatically subscribed to.

GUI Interface

The GUI interface can be launched by running run_pavlovupdater_gui.bat or by opening the PyPavlovUpdater.exe executable. The user will need to enter the same API token and mod folder directory listed above into the Options Menu. The user can then press the 'Open Download Menu' button to download uninstalled or outdated mods, or by pressing the 'Open Subscribed Mod Manager' to view subscribed mod data.

Building the GUI Interface

The GUI is built using pyinstaller. To rebuild the GUI from python, use the make_pavlovupdater_gui_exe.bat script and get the executable from pavlovupdater/dist