2.6 KiB
sotf-modloader
Install, update and remove Sons of the Forest mods with one click.
Live site: https://justinoros.github.io/sotf-modloader/
For players
The site offers three ways to install:
- Windows app (recommended). Download
SotfModLoader.exefrom the site and run it. It finds your game through Steam, including installs inside Program Files, and installs RedLoader and mods with one click. - Zip download. One zip with RedLoader and every mod. Extract it into your Sons of the Forest folder, the one that contains
SonsOfTheForest.exe. - PowerShell scripts. Each mod has a Copy PowerShell install button on the site. Paste the command into PowerShell to install that mod, plus RedLoader if needed. Run it again to update.
Close the game before installing or updating.
How it works
The Build and deploy workflow runs every 6 hours, on every push to main, and on demand. It:
- finds every repo owned by the account with the
sotf-modtopic and mirrors the zip from its latest release - mirrors the latest RedLoader release
- builds
downloads/sotf-mods.zipwith RedLoader and every mod - publishes everything with a
manifest.jsonto GitHub Pages
The Windows app in app/ reads the same manifest.json.
Releasing the Windows app
Push a tag starting with app-v:
git tag app-v1.0.0 && git push origin app-v1.0.0
The Build Windows app workflow builds SotfModLoader.exe, signs it with SignPath when signing is set up, publishes a GitHub release and refreshes the site.
Setup
- Settings, Pages, Source: GitHub Actions.
- Add the
sotf-modtopic to each mod repo. - Actions, Build and deploy, Run workflow.
Mod release requirements
- The latest release has a
.zipasset containing<Name>.dlland<Name>/manifest.json. versioninmanifest.jsonmatches the release tag, so update detection works.platforminmanifest.jsonisClient,ServerorUniversal.
Code signing policy
Free code signing provided by SignPath.io, certificate by SignPath Foundation.
- Committers and reviewers: JustinOros
- Approvers: JustinOros
Privacy policy
This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it. It downloads the mod list and mod files from this project's GitHub Pages site and GitHub releases.
License
MIT. RedLoader is by ToniMacaroni and is redistributed unmodified under the Apache License 2.0.