SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

Add install & uninstall scripts

Pathoschild opened this issue ยท 2 comments

commented

Background

SMAPI uses a separate launcher so players can easily go back to normal gameplay (without needing to redownload core files). I think that's a good idea, but not if it makes installation difficult (e.g. see the last several comments in #126 about adding Steam overlay support on Linux with a separate launcher).

Proposal

Consider creating simple install/uninstall scripts to automate the manual install. When a player downloads SMAPI, they'd just run the install script in the package to automatically add SMAPI.

The install scripts would...

  • detect the game install path (or ask the user if it can't be found);
  • rename the default StardewValley launcher to StardewValley-without-mods (if it doesn't already exist);
  • copy the SMAPI files into the game directory.

The uninstall scripts would...

  • detect the game install path (or ask the user if it can't be found);
  • delete all SMAPI files (but leave the non-default mods just in case);
  • rename the StardewValley-without-mods launcher to StardewValley.

Discussed on Discord.

commented

Done in 0b5a05b; currently in alpha testing with interested users.

commented

Looks good in testing so far. Added to the upcoming 1.0 release.