-
Notifications
You must be signed in to change notification settings - Fork 10
The Mod Importer
Installation |
Features |
The Mod Importer is a python script designed to implement changes from formatted mod files into the game.
The goal is to be able to dynamically react to game updates and other mod updates, and making it easier to use multiple mods at the same time.
To find your game directory on Steam:
- go to your steam library
- right click the game
- click "Properties..."
- in the "Local Files" tab:
- "Browse Local Files..."
The Mod Importer requires Python 3.8 or higher. Install it with recommended/full settings.
- Install python and install the SJSON module if you need it
- Save
modimporter.py
into theContent
folder in your game directory
To use it to install mods, see Installing Mods | The Mods Folder
In order to work with mods that edit .sjson
files, it will also require the SJSON module.
If you never need these mods, you do not need to have the module.
- Download the module from nexus or here
- Put the folder
sjson
in theContent
folder in your game directory
The Mod Importer loads a custom file type called a Modfile
At the moment, the importer is capable of adding import statements to lua files, and merging data from sjson and xml.
For any such payload for each file it edits, the importer is able to sort mods based on priority, and in the future it will also be able to sort mods based on heirarchy and dependency.
The importer will mark any files it edits, and refreshes them with backed up files until an update replaces them, at which point it 'reacts' by incorporating the update's changes.
This reaction is not automatic though, it requires the user to re-run the program whenever this needs to happen.
The loader is able to be ran multiple times without causing issues so it encourages users to run it every now and then to resolve issues.