From 39e2e46a21fe3c92c2901085ee2c012b52dc89b0 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sun, 30 Oct 2016 21:07:44 -0400 Subject: rewrite readme (simpler, link to canimod docs, document how to compile from source) --- README.md | 146 ++++++++++++++++++++-------------------------- src/StardewModdingAPI.sln | 10 +++- 2 files changed, 72 insertions(+), 84 deletions(-) diff --git a/README.md b/README.md index 4de483d3..375061ea 100644 --- a/README.md +++ b/README.md @@ -1,83 +1,63 @@ - - - - - - - - - - -
Version: 0.40.0 AlphaChangelogLicenseWiki
-
- - - - - - - -
HELP + SUPPORT
- This repository is archived and issues are not actively read. For support with issues, please check the Stardew Valley official forums: http://community.playstarbound.com/threads/stardew-modding-api-0-40-1-1.108375/ -
- - - - - - - -
ABOUT
- SMAPI (Stardew Modding Application Programming Interface) is a tool to help modders make changes to Stardew. It is a standalone executable which goes alongside your Stardew.exe. -
- - - - - - - -
REQUIREMENTS
- Microsoft .NET Framework 4.5 -
- - - - - - - -
INSTALLATION
-
    -
  1. Make sure all requirements are installed.
  2. -
  3. Extract the SMAPI zip archive alongside your Stardew.exe. For example, if using Steam this would be somewhere like ‘C:/ProgramFiles/Steam/steamapps/common/StardewValley’.
  4. -
  5. To start SMAPI, launch StardewModdingAPI.exe.
  6. -
- NOTE!: If you are using Steam and still wish to have the Steam overlay while playing, you will need to add a launch option to the game. For example, this launch option will tell Steam to use SMAPI by default: "C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\StardewModdingAPI.exe %command% -
- - - - - - - -
MOD DEVELOPERS
- Mod developers would work off the release branch. The master branch will contain mid-version updates which could make your mods incompatable with both the current release and the upcoming releases. You should also take a look at the Wiki for some quick modding tutorials. -
- - - - - - - -
FUTURE PLANS
-
    -
  • Content only mods.
  • -
  • Support for a wide range of events.
  • -
  • Enable the addition of new custom content such as locations, NPCs, and items.
  • -
-
- - +![](https://raw.githubusercontent.com/Gormogon/SMAPI/master/docs/imgs/SMAPI.png) + +**SMAPI** is an [open-source](LICENSE) modding API for [Stardew Valley](http://stardewvalley.net/). +It takes care of loading mods into the game context, and exposes events they can use to interact +with the game. It's safely installed alongside the game's executable, and doesn't change any of +your game files. + +## For players + +* [How to install SMAPI & use mods](http://canimod.com/guides/using-mods#installing-smapi) +* [Support forums](http://community.playstarbound.com/threads/stardew-modding-api-0-40-1-1.108375/) +* [Stardew Valley Discord](https://discord.gg/KCJHWhX) (chat with players and developers) + +## For mod developers + +* [How to develop mods](http://canimod.com/guides/creating-a-smapi-mod) +* [SMAPI change log](CHANGELOG.md) +* [SMAPI/Farmhand Discord](https://discordapp.com/invite/0t3fh2xhHVc6Vdyx) (chat with SMAPI developers) + +## For SMAPI developers + +### Compiling from source +Using one of the SMAPI releases is recommended for most users. + +If you'd like to compile SMAPI from source, you can do that on any platform. SMAPI uses build +configuration derived from the [crosswiki mod config](https://github.com/Pathoschild/Stardew.ModBuildConfig#readme) +to detect your current OS automatically and load the correct references. + +### Preparing a release + +1. Open the project in [Visual Studio](https://www.visualstudio.com/vs/community/) or [MonoDevelop](http://www.monodevelop.com/). +2. Switch to _Release_ build mode. +3. Update the version number in `AssemblyInfo.cs`. +4. Update the version number in `Constants::Version`. Add the minimum game version and target + platform at the end of the version number (like `0.41.0 1.1 for Windows`). +5. Build the solution. +6. Copy the files for the target platform into the archive structure below. +7. Repeat for each platform. + +The release should consist of three files like this: + +``` +SMAPI-1.0-Linux.tar.gz + Mods/* + Newtonsoft.Json.dll + StardewModdingAPI + StardewModdingAPI.exe + StardewModdingAPI.mdb + System.Numerics.dll + +SMAPI-1.0-Mac.tar.gz + Mods/* + Newtonsoft.Json.dll + StardewModdingAPI + StardewModdingAPI.exe + StardewModdingAPI.mdb + System.Numerics.dll + +SMAPI-1.0-Windows.zip + Mods/* + StardewModdingAPI.exe + StardewModdingAPI.pdb +``` diff --git a/src/StardewModdingAPI.sln b/src/StardewModdingAPI.sln index 087d0b36..5b3bd7bf 100644 --- a/src/StardewModdingAPI.sln +++ b/src/StardewModdingAPI.sln @@ -1,12 +1,20 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 -VisualStudioVersion = 14.0.25123.0 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TrainerMod", "TrainerMod\TrainerMod.csproj", "{28480467-1A48-46A7-99F8-236D95225359}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StardewModdingAPI", "StardewModdingAPI\StardewModdingAPI.csproj", "{F1A573B0-F436-472C-AE29-0B91EA6B9F8F}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "metadata", "metadata", "{86C452BE-D2D8-45B4-B63F-E329EB06CEDA}" + ProjectSection(SolutionItems) = preProject + ..\.gitignore = ..\.gitignore + ..\CHANGELOG.md = ..\CHANGELOG.md + ..\LICENSE = ..\LICENSE + ..\README.md = ..\README.md + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU -- cgit