Skip to content How to Use
Steps
- Python 3.10+ is required.
- To install dependencies, run
pip install -r requirements.txt in the Terminal / Shell.
- Make yourt own mods in the
<ROOT>/mods/<YOUR OWN MODS' NAME> directory. (Create mods folder manually.)
- Run
main.py (python -m main).
- The results will be generated as a zip compressed package in the
results folder, then please use ModLoader to load the mod.
- If modify the code
REMOTE_TEST = False to REMOTE_TEST = True in main.py then run, this will automatically run a local server for the purpose of testing the mod changes
How does the script work
- In the beginning the script will delete
results folder, DO NOT put important files in it.
- Then the script will download the source code of the game and extract the compressed package in the root path, by default in the
degrees-of-lewdity-master folder.
- The script will make
boot.json file and write most of its content (for Modloader to use).
- The script will process your mods’ content and compress it to a zip file, which could be load through ModLoader.
- If ModLoader has been downloaded and your mods needed frequently test, please change the value
REMOTE_TEST = False to REMOTE_TEST = True in the main.py file.
- This will automatically run a local server for the purpose of testing the mod changes, and you only need to refresh the page in the browser after the server is running.
- Default url is
http://localhost:52525