85ad3dde82cf6c69b01a05d5fb6f5123ab18e5af
sotf-modloader
A web page for installing, updating and removing Sons of the Forest mods with one click.
Live site: https://justinoros.github.io/sotf-modloader/
For players
- Open the site in Chrome or Edge on Windows.
- Click Choose game folder and pick your Sons of the Forest install folder.
- Install RedLoader if it isn't installed yet, then install the mods you want.
The page remembers your folder. Close the game before installing or updating.
How it works
A GitHub Actions 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
- lists repos with the
sotf-tooltopic under Tools - publishes everything with a
manifest.jsonto GitHub Pages
The page writes files straight into the game folder using the browser's File System Access API.
Setup
- Settings, Pages, Source: GitHub Actions.
- Add the
sotf-modtopic to each mod repo andsotf-toolto each tool 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.
After publishing a mod release, run the workflow manually to update the site right away.
Languages
C#
66.2%
Python
15.6%
JavaScript
9.7%
CSS
6.5%
HTML
2%