Making a mod
Copy templates/mod to start a mod. It uses the MIT licence.
Get started
- Copy the template to a new folder.
- Edit
swofty.json: set your mod'sid,name,authorandversion. - Remove operation entries and files you do not need.
- Install with
swofty mods install <dir>. - Enable it with
swofty mods enable <id>.
Use a lowercase ID such as author.my-mod. Do not use the reserved swofty. prefix.
Included examples
| Path | Example |
|---|---|
db/example.json | Change a value and add a row |
ui/example.pkgpatch.json | Change a menu label |
native/ | C plugin and build script |
README.md | Build and test instructions |
See Current status for unfinished operation types.
Share your mod
Share the folder or zip it as a .swoftymod file, with swofty.json at the zip's root.
Include your changes, not copies of the game's archives, database or executable.