Jump to content

Mod Updates

From SA Docs

The Mod Manager allows you to set up automatic updates for your mod.

There are currently 3 supported services:

  • Self-Hosted
  • GitHub
  • GameBanana

Configuring automatic updates

To configure automatic updates, open the Mod Manager, right click your mod and select "Edit Mod" (or select the mod and press Ctrl+E)

In the edit mode window, click on the "Update Info" tab.

Now choose the service of your choice.

GitHub

If the code of your mod is open source, you can release updates on your repository page.

  • Author and repo is the right part of the repository URL (e.g. myself/my-mod)
  • Release Asset is the name of the zip file in the release (e.g. my-mod.7z)

GameBanana

If you have your mod on GameBanana, you can release updates there.

  • Mod ID is the number in the mod's page URL (e.g. 123456)
  • Mod Type shouldn't be changed (legacy)

Self-Hosted

If none of the above, you can host the mod yourself on an HTTP server.

  • Update URL: path to mod folder root on a remote http server
  • Changelog URL: path to changelog file (plain text)

Releasing an update

Before releasing an update, you need to update the manifest.

The manifest tells the Mod Manager which files need to be changed.

For the first time, you need to enable the developer options of the Mod Manager. Go to the "Manager Config" tab and check the "Enable Developer Options" checkbox.

1. Right click your mod, then select "Developer" >"Generate Manifest"

2. If you have modified something, the Manifest Generator window will pop up showing what's changed.

(If some of these files won't be in the released zip, uncheck them. By default the Mod Manager automatically ignores config.ini)

3. Click "OK", you may now release the update.


  If you have already released your mod and are adding automatic updates now, it won't work until users update it manually once.