4cf5bc0c63
- Change the arg parsing to a variant that works on my Windows PC - Remove the /bin/python3 comment at the start as it was leading to errors on my side - Check if the OS is a Windows and in that case define the default location of the config file - Add an argument to define the location of the configfile in case not the default location is used. This was used mainly to test the functions |
||
---|---|---|
.idea | ||
modmw.py | ||
readme.md |
readme.md
ModMW
Overview
A really simple Python3 script I wrote in one night for managing OpenMW mods.
Currently there are choices in the script that prevent it from working on platforms other than OpenMW for Linux.
How to Use
ModMW supports 4 commands right now:
install path/to/mod_dir
: Registers a data directory and any of its BSA files with OpenMW's VFS.uninstall path/to/mod_dir
: Unregisters a data directory and any of its BSA that has previously been registered.list
: Lists all currently installed mod data directories in order of file overwrite priority, from first (lowest) to last (highest).backup path/to/backup/location
: Backs up theopenmw.cfg
file in its current state to the given file path.
This manager makes some assumptions about the file contents when uninstalling mods, such as any content
declarations immediately following the target data
declaration line belong to it. As such, manually editing the data / content lines is not recommended.