diff --git a/src/.editorconfig b/.editorconfig similarity index 100% rename from src/.editorconfig rename to .editorconfig diff --git a/src/GlobalAssemblyInfo.cs b/build/GlobalAssemblyInfo.cs similarity index 100% rename from src/GlobalAssemblyInfo.cs rename to build/GlobalAssemblyInfo.cs diff --git a/src/common.targets b/build/common.targets similarity index 100% rename from src/common.targets rename to build/common.targets diff --git a/src/prepare-install-package.targets b/build/prepare-install-package.targets similarity index 100% rename from src/prepare-install-package.targets rename to build/prepare-install-package.targets diff --git a/CONTRIBUTING.md b/docs/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to docs/CONTRIBUTING.md diff --git a/LICENSE b/docs/LICENSE.md similarity index 100% rename from LICENSE rename to docs/LICENSE.md diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 00000000..92a39dbe --- /dev/null +++ b/docs/README.md @@ -0,0 +1,36 @@ +**SMAPI** is an [open-source](LICENSE.md) modding API for [Stardew Valley](http://stardewvalley.net/) +that lets you play the game with mods. It's safely installed alongside the game's executable, and +doesn't change any of your game files. It serves six main purposes: + +1. **Load mods into the game.** + _SMAPI loads mods when the game is starting up so they can interact with it. (Code mods aren't + possible without SMAPI to load them.)_ + +2. **Provide APIs and events for mods.** + _SMAPI provides low-level APIs and events which let mods interact with the game in ways they + otherwise couldn't._ + +3. **Rewrite mods for crossplatform compatibility.** + _SMAPI rewrites mods' compiled code before loading them so they work on Linux/Mac/Windows + without the mods needing to handle differences between the Linux/Mac and Windows versions of the + game._ + +4. **Rewrite mods to update them.** + _SMAPI detects when a mod accesses part of the game that changed in a recent update which + affects many mods, and rewrites the mod so it's compatible._ + +5. **Intercept errors.** + _SMAPI intercepts errors that happen in the game, displays the error details in the console + window, and in most cases automatically recovers the game. This prevents mods from accidentally + crashing the game, and makes it possible to troubleshoot errors in the game itself that would + otherwise show a generic 'program has stopped working' type of message._ + +6. **Provide update checks.** + _SMAPI automatically checks for new versions of your installed mods, and notifies you when any + are available._ + +## Documentation +* [For players & mod creators](http://stardewvalleywiki.com/Modding:Index) +* [Release notes](release-notes.md) +* [Technical docs](technical-docs.md) +* [Chat on Discord](https://discord.gg/KCJHWhX) with SMAPI developers and other modders diff --git a/docs/imgs/SMAPI.png b/docs/imgs/SMAPI.png deleted file mode 100644 index 50f375b6..00000000 Binary files a/docs/imgs/SMAPI.png and /dev/null differ diff --git a/release-notes.md b/docs/release-notes.md similarity index 100% rename from release-notes.md rename to docs/release-notes.md diff --git a/README.md b/docs/technical-docs.md similarity index 71% rename from README.md rename to docs/technical-docs.md index 0f2f05a6..d37d327d 100644 --- a/README.md +++ b/docs/technical-docs.md @@ -1,61 +1,19 @@ -![](docs/imgs/SMAPI.png) +← [README](README.md) + +This file provides more technical documentation about SMAPI. If you only want to use or create +mods, this section isn't relevant to you; see the main README to use or create mods. ## Contents -* [What is SMAPI?](#what-is-smapi) -* **[For players](#for-players)** -* **[For mod developers](#for-mod-developers)** -* [For SMAPI developers](#for-smapi-developers) +* [Development](#development) * [Compiling from source](#compiling-from-source) * [Debugging a local build](#debugging-a-local-build) * [Preparing a release](#preparing-a-release) -* [Advanced usage](#advanced-usage) +* [Customisation](#customisation) * [Configuration file](#configuration-file) * [Command-line arguments](#command-line-arguments) + * [Compile flags](#compile-flags) -## What is SMAPI? -**SMAPI** is an [open-source](LICENSE) modding API for [Stardew Valley](http://stardewvalley.net/) -that lets you play the game with mods. It's safely installed alongside the game's executable, and -doesn't change any of your game files. It serves five main purposes: - -1. **Load mods into the game.** - _SMAPI loads mods when the game is starting up so they can interact with it. (Code mods aren't - possible without SMAPI to load them.)_ - -2. **Provide APIs and events for mods.** - _SMAPI provides low-level APIs and events which let mods interact with the game in ways they - otherwise couldn't._ - -3. **Rewrite mods for crossplatform compatibility.** - _SMAPI rewrites mods' compiled code before loading them so they work on Linux/Mac/Windows - without the mods needing to handle differences between the Linux/Mac and Windows versions of the - game._ - -4. **Rewrite mods to update them.** - _SMAPI detects when a mod accesses part of the game that changed in a recent update which - affects many mods, and rewrites the mod so it's compatible._ - -5. **Intercept errors.** - _SMAPI intercepts errors that happen in the game, displays the error details in the console - window, and in most cases automatically recovers the game. This prevents mods from accidentally - crashing the game, and makes it possible to troubleshoot errors in the game itself that would - otherwise show a generic 'program has stopped working' type of message._ - -## For players -* [Intro & FAQs](http://stardewvalleywiki.com/Modding:Player_FAQs) -* [Installing SMAPI](http://stardewvalleywiki.com/Modding:Installing_SMAPI) -* [Release notes](release-notes.md#release-notes) -* Need help? Come [chat on Discord](https://discord.gg/KCJHWhX) or [post in the support forums](http://community.playstarbound.com/threads/smapi-stardew-modding-api.108375/). - _Please don't submit issues on GitHub for support questions._ - -## For mod developers -* [Modding documentation](http://stardewvalleywiki.com/Modding:Index) -* [Release notes](release-notes.md#release-notes) -* [Chat on Discord](https://discord.gg/KCJHWhX) with SMAPI developers and other modders - -## For SMAPI developers -_This section is about compiling SMAPI itself from source. If you don't know what that means, this -section isn't relevant to you; see the previous sections to use or create mods._ - +## Development ### Compiling from source Using an official SMAPI release is recommended for most users. @@ -139,7 +97,7 @@ on the wiki for the first-time setup. * delete `internal/Windows/StardewModdingAPI.xml`. 7. Compress the two folders into `SMAPI .zip` and `SMAPI for developers.zip`. -## Advanced usage +## Customisation ### Configuration file You can customise the SMAPI behaviour by editing the `StardewModdingAPI.config.json` file in your game folder. @@ -177,4 +135,3 @@ SMAPI uses a small number of conditional compilation constants, which you can se flag | purpose ---- | ------- `SMAPI_FOR_WINDOWS` | Indicates that SMAPI is being compiled on Windows for players on Windows. Set automatically in `crossplatform.targets`. - diff --git a/src/ModBuildConfig/README.md b/src/ModBuildConfig/README.md new file mode 100644 index 00000000..c261e705 --- /dev/null +++ b/src/ModBuildConfig/README.md @@ -0,0 +1,121 @@ +**Stardew.ModBuildConfig** is an open-source NuGet package which automates the build configuration +for [Stardew Valley](http://stardewvalley.net/) [SMAPI](https://github.com/Pathoschild/SMAPI) mods. + +The package... + +* lets you write your mod once, and compile it on any computer. It detects the current platform + (Linux, Mac, or Windows) and game install path, and injects the right references automatically. +* configures Visual Studio so you can debug into the mod code when the game is running (_Windows + only_). +* packages the mod automatically into the game's mod folder when you build the code (_optional_). + +## Contents +* [Install](#install) +* [Simplify mod development](#simplify-mod-development) +* [Troubleshoot](#troubleshoot) +* [Versions](#versions) + +## Install +**When creating a new mod:** + +1. Create an empty library project. +2. Reference the [`Pathoschild.Stardew.ModBuildConfig` NuGet package](https://www.nuget.org/packages/Pathoschild.Stardew.ModBuildConfig). +3. [Write your code](http://canimod.com/guides/creating-a-smapi-mod). +4. Compile on any platform. + +**When migrating an existing mod:** + +1. Remove any project references to `Microsoft.Xna.*`, `MonoGame`, Stardew Valley, + `StardewModdingAPI`, and `xTile`. +2. Reference the [`Pathoschild.Stardew.ModBuildConfig` NuGet package](https://www.nuget.org/packages/Pathoschild.Stardew.ModBuildConfig). +3. Compile on any platform. + +## Simplify mod development +### Package your mod into the game folder automatically +You can copy your mod files into the `Mods` folder automatically each time you build, so you don't +need to do it manually: + +1. Edit your mod's `.csproj` file. +2. Add this block above the first `` line: + + ```xml + $(MSBuildProjectName) + ``` + +That's it! Each time you build, the files in `\Mods\` will be updated with +your `manifest.json`, build output, and any `i18n` files. + +Notes: +* To add custom files, just [add them to the build output](https://stackoverflow.com/a/10828462/262123). +* To customise the folder name, just replace `$(MSBuildProjectName)` with the folder name you want. +* If your project references another mod, make sure the reference is [_not_ marked 'copy local'](https://msdn.microsoft.com/en-us/library/t1zz5y8c(v=vs.100).aspx). + +### Debug into the mod code (Windows-only) +Stepping into your mod code when the game is running is straightforward, since this package injects +the configuration automatically. To do it: + +1. [Package your mod into the game folder automatically](#package-your-mod-into-the-game-folder-automatically). +2. Launch the project with debugging in Visual Studio or MonoDevelop. + +This will deploy your mod files into the game folder, launch SMAPI, and attach a debugger +automatically. Now you can step through your code, set breakpoints, etc. + +### Create release zips automatically (Windows-only) +You can create the mod package automatically when you build: + +1. Edit your mod's `.csproj` file. +2. Add this block above the first `` line: + + ```xml + $(SolutionDir)\_releases + ``` + +That's it! Each time you build, the mod files will be zipped into `_releases\.zip`. (You +can change the value to save the zips somewhere else.) + +## Troubleshoot +### "Failed to find the game install path" +That error means the package couldn't figure out where the game is installed. You need to specify +the game location yourself. There's two ways to do that: + +* **Option 1: set the path globally.** + _This will apply to every project that uses version 1.5+ of package._ + + 1. Get the full folder path containing the Stardew Valley executable. + 2. Create this file path: + + platform | path + --------- | ---- + Linux/Mac | `~/stardewvalley.targets` + Windows | `%USERPROFILE%\stardewvalley.targets` + + 3. Save the file with this content: + + ```xml + + + PATH_HERE + + + ``` + + 4. Replace `PATH_HERE` with your custom game install path. + +* **Option 2: set the path in the project file.** + _(You'll need to do it for every project that uses the package.)_ + 1. Get the folder path containing the Stardew Valley `.exe` file. + 2. Add this to your `.csproj` file under the ` + PATH_HERE + + ``` + + 3. Replace `PATH_HERE` with your custom game install path. + +The configuration will check your custom path first, then fall back to the default paths (so it'll +still compile on a different computer). + +## Versions +See [release notes](release-notes.md). diff --git a/src/ModBuildConfig/assets/nuget-icon.pdn b/src/ModBuildConfig/assets/nuget-icon.pdn new file mode 100644 index 00000000..7bd5c0c5 Binary files /dev/null and b/src/ModBuildConfig/assets/nuget-icon.pdn differ diff --git a/src/ModBuildConfig/assets/nuget-icon.png b/src/ModBuildConfig/assets/nuget-icon.png new file mode 100644 index 00000000..611cdf88 Binary files /dev/null and b/src/ModBuildConfig/assets/nuget-icon.png differ diff --git a/src/ModBuildConfig/build/smapi.targets b/src/ModBuildConfig/build/smapi.targets new file mode 100644 index 00000000..a1b6aab3 --- /dev/null +++ b/src/ModBuildConfig/build/smapi.targets @@ -0,0 +1,273 @@ + + + + + + + + + + + + + + + A build task which packs mod files into a conventional release zip. + public class CreateModReleaseZip : Task, ITask + { + /********* + ** Accessors + *********/ + /// The mod files to pack. + public ITaskItem[] Files { get; set; } + + /// The name of the mod. + public string ModName { get; set; } + + /// The absolute or relative path to the folder which should contain the generated zip file. + public string OutputFolderPath { get; set; } + + + /********* + ** Public methods + *********/ + public override bool Execute() + { + try + { + // create output path if needed + Directory.CreateDirectory(OutputFolderPath); + + // get zip filename + string fileName = string.Format("{0}-{1}.zip", this.ModName, this.GetManifestVersion()); + + // clear old zip file if present + string zipPath = Path.Combine(OutputFolderPath, fileName); + if (File.Exists(zipPath)) + File.Delete(zipPath); + + // create zip file + using (Stream zipStream = new FileStream(zipPath, FileMode.Create, FileAccess.Write)) + using (ZipArchive archive = new ZipArchive(zipStream, ZipArchiveMode.Create)) + { + foreach (ITaskItem file in Files) + { + // get file info + string filePath = file.ItemSpec; + string entryName = ModName + '/' + file.GetMetadata("RecursiveDir") + file.GetMetadata("Filename") + file.GetMetadata("Extension"); + if (new FileInfo(filePath).Directory.Name.Equals("i18n", StringComparison.InvariantCultureIgnoreCase)) + entryName = Path.Combine("i18n", entryName); + + // add to zip + using (Stream fileStream = new FileStream(filePath, FileMode.Open, FileAccess.Read)) + using (Stream fileStreamInZip = archive.CreateEntry(entryName).Open()) + { + fileStream.CopyTo(fileStreamInZip); + } + } + } + + return true; + } + catch (Exception ex) + { + Log.LogErrorFromException(ex); + return false; + } + } + + /// Get a semantic version from the mod manifest (if available). + public string GetManifestVersion() + { + // Get the file JSON string + string json = ""; + foreach(ITaskItem file in Files) + { + if(Path.GetFileName(file.ItemSpec).ToLower() != "manifest.json") + continue; + json = File.ReadAllText(file.ItemSpec); + break; + } + + // Serialize the manifest json into a data object, then get a version object from that. + IDictionary data = (IDictionary)new JavaScriptSerializer().DeserializeObject(json); + IDictionary version = (IDictionary)data["Version"]; + + // Store our version numbers for ease of use + int major = (int)version["MajorVersion"]; + int minor = (int)version["MinorVersion"]; + int patch = (int)version["PatchVersion"]; + + return String.Format("{0}.{1}.{2}", major, minor, patch); + } + } + ]]> + + + + + + + + + + + + + + + + $(HOME)/GOG Games/Stardew Valley/game + $(HOME)/.local/share/Steam/steamapps/common/Stardew Valley + + + /Applications/Stardew Valley.app/Contents/MacOS + $(HOME)/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS + + + + + C:\Program Files (x86)\GalaxyClient\Games\Stardew Valley + C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\GOG.com\Games\1453375253', 'PATH', null, RegistryView.Registry32)) + $([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 413150', 'InstallLocation', null, RegistryView.Registry64, RegistryView.Registry32)) + + + + + + + + + + + + false + + + false + + + false + + + false + + + $(GamePath)\Stardew Valley.exe + false + + + $(GamePath)\StardewModdingAPI.exe + false + + + $(GamePath)\xTile.dll + false + False + + + + + + Program + $(GamePath)\StardewModdingAPI.exe + $(GamePath) + + + + + + + $(GamePath)\MonoGame.Framework.dll + false + False + + + $(GamePath)\StardewValley.exe + false + + + $(GamePath)\StardewModdingAPI.exe + false + + + $(GamePath)\xTile.dll + false + + + + + + + + + + + + + + + + + + + + + + + + $(GamePath)\Mods\$(DeployModFolderName) + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/ModBuildConfig/package.nuspec b/src/ModBuildConfig/package.nuspec new file mode 100644 index 00000000..b8e96481 --- /dev/null +++ b/src/ModBuildConfig/package.nuspec @@ -0,0 +1,22 @@ + + + + Pathoschild.Stardew.ModBuildConfig + 1.7.1 + MSBuild config for Stardew Valley mods + Pathoschild + Pathoschild + false + https://github.com/Pathoschild/Stardew.ModBuildConfig/blob/1.7.1/LICENSE.txt + https://github.com/Pathoschild/Stardew.ModBuildConfig#readme + https://raw.githubusercontent.com/Pathoschild/Stardew.ModBuildConfig/1.7.1/assets/nuget-icon.png + Automates the build configuration for crossplatform Stardew Valley SMAPI mods. + + 1.7 added an option to create release zips on build and added a reference to XNA's XACT library for audio-related mods. + 1.7.1 fixed an issue where i18n folders were flattened, and ensures that the manifest/i18n files in the project take precedence over those in the build output if both are present. + + + + + + diff --git a/src/ModBuildConfig/release-notes.md b/src/ModBuildConfig/release-notes.md new file mode 100644 index 00000000..ff2734f8 --- /dev/null +++ b/src/ModBuildConfig/release-notes.md @@ -0,0 +1,28 @@ +## Release notes +### 1.6 +* Added support for deploying mod files into `Mods` automatically. +* Added a build error if a game folder is found, but doesn't contain Stardew Valley or SMAPI. + +### 1.5 +* Added support for setting a custom game path globally. +* Added default GOG path on Mac. + +### 1.4 +* Fixed detection of non-default game paths on 32-bit Windows. +* Removed support for SilVerPLuM (discontinued). +* Removed support for overriding the target platform (no longer needed since SMAPI crossplatforms mods automatically). + +### 1.3 +* Added support for non-default game paths on Windows. + +### 1.2 +* Exclude game binaries from mod build output. + +### 1.1 +* Added support for overriding the target platform. + +### 1.0 +* Initial release. +* Added support for detecting the game path automatically. +* Added support for injecting XNA/MonoGame references automatically based on the OS. +* Added support for mod builders like SilVerPLuM. diff --git a/src/StardewModdingAPI.AssemblyRewriters/Properties/AssemblyInfo.cs b/src/SMAPI.AssemblyRewriters/Properties/AssemblyInfo.cs similarity index 100% rename from src/StardewModdingAPI.AssemblyRewriters/Properties/AssemblyInfo.cs rename to src/SMAPI.AssemblyRewriters/Properties/AssemblyInfo.cs diff --git a/src/StardewModdingAPI.AssemblyRewriters/SpriteBatchMethods.cs b/src/SMAPI.AssemblyRewriters/SpriteBatchMethods.cs similarity index 100% rename from src/StardewModdingAPI.AssemblyRewriters/SpriteBatchMethods.cs rename to src/SMAPI.AssemblyRewriters/SpriteBatchMethods.cs diff --git a/src/StardewModdingAPI.AssemblyRewriters/StardewModdingAPI.AssemblyRewriters.csproj b/src/SMAPI.AssemblyRewriters/StardewModdingAPI.AssemblyRewriters.csproj similarity index 92% rename from src/StardewModdingAPI.AssemblyRewriters/StardewModdingAPI.AssemblyRewriters.csproj rename to src/SMAPI.AssemblyRewriters/StardewModdingAPI.AssemblyRewriters.csproj index c8b03086..651b822d 100644 --- a/src/StardewModdingAPI.AssemblyRewriters/StardewModdingAPI.AssemblyRewriters.csproj +++ b/src/SMAPI.AssemblyRewriters/StardewModdingAPI.AssemblyRewriters.csproj @@ -1,4 +1,4 @@ - + @@ -33,12 +33,12 @@ - + Properties\GlobalAssemblyInfo.cs - + \ No newline at end of file diff --git a/src/StardewModdingAPI.Installer/Enums/Platform.cs b/src/SMAPI.Installer/Enums/Platform.cs similarity index 100% rename from src/StardewModdingAPI.Installer/Enums/Platform.cs rename to src/SMAPI.Installer/Enums/Platform.cs diff --git a/src/StardewModdingAPI.Installer/Enums/ScriptAction.cs b/src/SMAPI.Installer/Enums/ScriptAction.cs similarity index 100% rename from src/StardewModdingAPI.Installer/Enums/ScriptAction.cs rename to src/SMAPI.Installer/Enums/ScriptAction.cs diff --git a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs b/src/SMAPI.Installer/InteractiveInstaller.cs similarity index 100% rename from src/StardewModdingAPI.Installer/InteractiveInstaller.cs rename to src/SMAPI.Installer/InteractiveInstaller.cs diff --git a/src/StardewModdingAPI.Installer/Program.cs b/src/SMAPI.Installer/Program.cs similarity index 100% rename from src/StardewModdingAPI.Installer/Program.cs rename to src/SMAPI.Installer/Program.cs diff --git a/src/StardewModdingAPI.Installer/Properties/AssemblyInfo.cs b/src/SMAPI.Installer/Properties/AssemblyInfo.cs similarity index 100% rename from src/StardewModdingAPI.Installer/Properties/AssemblyInfo.cs rename to src/SMAPI.Installer/Properties/AssemblyInfo.cs diff --git a/src/StardewModdingAPI.Installer/StardewModdingAPI.Installer.csproj b/src/SMAPI.Installer/StardewModdingAPI.Installer.csproj similarity index 91% rename from src/StardewModdingAPI.Installer/StardewModdingAPI.Installer.csproj rename to src/SMAPI.Installer/StardewModdingAPI.Installer.csproj index 58ce519c..f8e368a4 100644 --- a/src/StardewModdingAPI.Installer/StardewModdingAPI.Installer.csproj +++ b/src/SMAPI.Installer/StardewModdingAPI.Installer.csproj @@ -1,4 +1,4 @@ - + @@ -36,7 +36,7 @@ - + Properties\GlobalAssemblyInfo.cs @@ -51,6 +51,6 @@ - - + + \ No newline at end of file diff --git a/src/StardewModdingAPI.Installer/readme.txt b/src/SMAPI.Installer/readme.txt similarity index 100% rename from src/StardewModdingAPI.Installer/readme.txt rename to src/SMAPI.Installer/readme.txt diff --git a/src/StardewModdingAPI.Models/ModInfoModel.cs b/src/SMAPI.Models/ModInfoModel.cs similarity index 100% rename from src/StardewModdingAPI.Models/ModInfoModel.cs rename to src/SMAPI.Models/ModInfoModel.cs diff --git a/src/StardewModdingAPI.Models/ModSeachModel.cs b/src/SMAPI.Models/ModSeachModel.cs similarity index 100% rename from src/StardewModdingAPI.Models/ModSeachModel.cs rename to src/SMAPI.Models/ModSeachModel.cs diff --git a/src/StardewModdingAPI.Models/StardewModdingAPI.Models.projitems b/src/SMAPI.Models/StardewModdingAPI.Models.projitems similarity index 100% rename from src/StardewModdingAPI.Models/StardewModdingAPI.Models.projitems rename to src/SMAPI.Models/StardewModdingAPI.Models.projitems diff --git a/src/StardewModdingAPI.Models/StardewModdingAPI.Models.shproj b/src/SMAPI.Models/StardewModdingAPI.Models.shproj similarity index 100% rename from src/StardewModdingAPI.Models/StardewModdingAPI.Models.shproj rename to src/SMAPI.Models/StardewModdingAPI.Models.shproj diff --git a/src/StardewModdingAPI.Tests/Core/ModResolverTests.cs b/src/SMAPI.Tests/Core/ModResolverTests.cs similarity index 100% rename from src/StardewModdingAPI.Tests/Core/ModResolverTests.cs rename to src/SMAPI.Tests/Core/ModResolverTests.cs diff --git a/src/StardewModdingAPI.Tests/Core/TranslationTests.cs b/src/SMAPI.Tests/Core/TranslationTests.cs similarity index 100% rename from src/StardewModdingAPI.Tests/Core/TranslationTests.cs rename to src/SMAPI.Tests/Core/TranslationTests.cs diff --git a/src/StardewModdingAPI.Tests/Properties/AssemblyInfo.cs b/src/SMAPI.Tests/Properties/AssemblyInfo.cs similarity index 100% rename from src/StardewModdingAPI.Tests/Properties/AssemblyInfo.cs rename to src/SMAPI.Tests/Properties/AssemblyInfo.cs diff --git a/src/StardewModdingAPI.Tests/Sample.cs b/src/SMAPI.Tests/Sample.cs similarity index 100% rename from src/StardewModdingAPI.Tests/Sample.cs rename to src/SMAPI.Tests/Sample.cs diff --git a/src/StardewModdingAPI.Tests/StardewModdingAPI.Tests.csproj b/src/SMAPI.Tests/StardewModdingAPI.Tests.csproj similarity index 93% rename from src/StardewModdingAPI.Tests/StardewModdingAPI.Tests.csproj rename to src/SMAPI.Tests/StardewModdingAPI.Tests.csproj index 41525bcb..42c3318f 100644 --- a/src/StardewModdingAPI.Tests/StardewModdingAPI.Tests.csproj +++ b/src/SMAPI.Tests/StardewModdingAPI.Tests.csproj @@ -1,4 +1,4 @@ - + @@ -45,7 +45,7 @@ - + Properties\GlobalAssemblyInfo.cs @@ -59,11 +59,11 @@ - + {f1a573b0-f436-472c-ae29-0b91ea6b9f8f} StardewModdingAPI - + \ No newline at end of file diff --git a/src/StardewModdingAPI.Tests/Utilities/SDateTests.cs b/src/SMAPI.Tests/Utilities/SDateTests.cs similarity index 100% rename from src/StardewModdingAPI.Tests/Utilities/SDateTests.cs rename to src/SMAPI.Tests/Utilities/SDateTests.cs diff --git a/src/StardewModdingAPI.Tests/Utilities/SemanticVersionTests.cs b/src/SMAPI.Tests/Utilities/SemanticVersionTests.cs similarity index 100% rename from src/StardewModdingAPI.Tests/Utilities/SemanticVersionTests.cs rename to src/SMAPI.Tests/Utilities/SemanticVersionTests.cs diff --git a/src/StardewModdingAPI.Tests/packages.config b/src/SMAPI.Tests/packages.config similarity index 100% rename from src/StardewModdingAPI.Tests/packages.config rename to src/SMAPI.Tests/packages.config diff --git a/src/StardewModdingAPI.Web/Controllers/ModsController.cs b/src/SMAPI.Web/Controllers/ModsController.cs similarity index 100% rename from src/StardewModdingAPI.Web/Controllers/ModsController.cs rename to src/SMAPI.Web/Controllers/ModsController.cs diff --git a/src/StardewModdingAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs b/src/SMAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs similarity index 100% rename from src/StardewModdingAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs rename to src/SMAPI.Web/Framework/ConfigModels/ModUpdateCheckConfig.cs diff --git a/src/StardewModdingAPI.Web/Framework/InternalControllerFeatureProvider.cs b/src/SMAPI.Web/Framework/InternalControllerFeatureProvider.cs similarity index 100% rename from src/StardewModdingAPI.Web/Framework/InternalControllerFeatureProvider.cs rename to src/SMAPI.Web/Framework/InternalControllerFeatureProvider.cs diff --git a/src/StardewModdingAPI.Web/Framework/ModRepositories/BaseRepository.cs b/src/SMAPI.Web/Framework/ModRepositories/BaseRepository.cs similarity index 100% rename from src/StardewModdingAPI.Web/Framework/ModRepositories/BaseRepository.cs rename to src/SMAPI.Web/Framework/ModRepositories/BaseRepository.cs diff --git a/src/StardewModdingAPI.Web/Framework/ModRepositories/ChucklefishRepository.cs b/src/SMAPI.Web/Framework/ModRepositories/ChucklefishRepository.cs similarity index 100% rename from src/StardewModdingAPI.Web/Framework/ModRepositories/ChucklefishRepository.cs rename to src/SMAPI.Web/Framework/ModRepositories/ChucklefishRepository.cs diff --git a/src/StardewModdingAPI.Web/Framework/ModRepositories/GitHubRepository.cs b/src/SMAPI.Web/Framework/ModRepositories/GitHubRepository.cs similarity index 100% rename from src/StardewModdingAPI.Web/Framework/ModRepositories/GitHubRepository.cs rename to src/SMAPI.Web/Framework/ModRepositories/GitHubRepository.cs diff --git a/src/StardewModdingAPI.Web/Framework/ModRepositories/IModRepository.cs b/src/SMAPI.Web/Framework/ModRepositories/IModRepository.cs similarity index 100% rename from src/StardewModdingAPI.Web/Framework/ModRepositories/IModRepository.cs rename to src/SMAPI.Web/Framework/ModRepositories/IModRepository.cs diff --git a/src/StardewModdingAPI.Web/Framework/ModRepositories/NexusRepository.cs b/src/SMAPI.Web/Framework/ModRepositories/NexusRepository.cs similarity index 100% rename from src/StardewModdingAPI.Web/Framework/ModRepositories/NexusRepository.cs rename to src/SMAPI.Web/Framework/ModRepositories/NexusRepository.cs diff --git a/src/StardewModdingAPI.Web/Framework/RewriteSubdomainRule.cs b/src/SMAPI.Web/Framework/RewriteSubdomainRule.cs similarity index 100% rename from src/StardewModdingAPI.Web/Framework/RewriteSubdomainRule.cs rename to src/SMAPI.Web/Framework/RewriteSubdomainRule.cs diff --git a/src/StardewModdingAPI.Web/Framework/VersionConstraint.cs b/src/SMAPI.Web/Framework/VersionConstraint.cs similarity index 100% rename from src/StardewModdingAPI.Web/Framework/VersionConstraint.cs rename to src/SMAPI.Web/Framework/VersionConstraint.cs diff --git a/src/StardewModdingAPI.Web/Program.cs b/src/SMAPI.Web/Program.cs similarity index 100% rename from src/StardewModdingAPI.Web/Program.cs rename to src/SMAPI.Web/Program.cs diff --git a/src/StardewModdingAPI.Web/Properties/AssemblyInfo.cs b/src/SMAPI.Web/Properties/AssemblyInfo.cs similarity index 100% rename from src/StardewModdingAPI.Web/Properties/AssemblyInfo.cs rename to src/SMAPI.Web/Properties/AssemblyInfo.cs diff --git a/src/StardewModdingAPI.Web/Properties/launchSettings.json b/src/SMAPI.Web/Properties/launchSettings.json similarity index 100% rename from src/StardewModdingAPI.Web/Properties/launchSettings.json rename to src/SMAPI.Web/Properties/launchSettings.json diff --git a/src/StardewModdingAPI.Web/StardewModdingAPI.Web.csproj b/src/SMAPI.Web/StardewModdingAPI.Web.csproj similarity index 79% rename from src/StardewModdingAPI.Web/StardewModdingAPI.Web.csproj rename to src/SMAPI.Web/StardewModdingAPI.Web.csproj index 746b1a69..6b1d0687 100644 --- a/src/StardewModdingAPI.Web/StardewModdingAPI.Web.csproj +++ b/src/SMAPI.Web/StardewModdingAPI.Web.csproj @@ -1,4 +1,4 @@ - + netcoreapp2.0 @@ -6,7 +6,7 @@ - + @@ -21,6 +21,6 @@ - + diff --git a/src/StardewModdingAPI.Web/Startup.cs b/src/SMAPI.Web/Startup.cs similarity index 100% rename from src/StardewModdingAPI.Web/Startup.cs rename to src/SMAPI.Web/Startup.cs diff --git a/src/StardewModdingAPI.Web/appsettings.Development.json b/src/SMAPI.Web/appsettings.Development.json similarity index 100% rename from src/StardewModdingAPI.Web/appsettings.Development.json rename to src/SMAPI.Web/appsettings.Development.json diff --git a/src/StardewModdingAPI.Web/appsettings.json b/src/SMAPI.Web/appsettings.json similarity index 100% rename from src/StardewModdingAPI.Web/appsettings.json rename to src/SMAPI.Web/appsettings.json diff --git a/src/StardewModdingAPI.sln b/src/SMAPI.sln similarity index 78% rename from src/StardewModdingAPI.sln rename to src/SMAPI.sln index 5e8a2c93..5936ff43 100644 --- a/src/StardewModdingAPI.sln +++ b/src/SMAPI.sln @@ -5,42 +5,50 @@ VisualStudioVersion = 15.0.26730.16 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}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StardewModdingAPI", "SMAPI\StardewModdingAPI.csproj", "{F1A573B0-F436-472C-AE29-0B91EA6B9F8F}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "metadata", "metadata", "{86C452BE-D2D8-45B4-B63F-E329EB06CEDA}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".root", ".root", "{86C452BE-D2D8-45B4-B63F-E329EB06CEDA}" ProjectSection(SolutionItems) = preProject - .editorconfig = .editorconfig + ..\.editorconfig = ..\.editorconfig ..\.gitattributes = ..\.gitattributes ..\.gitignore = ..\.gitignore - common.targets = common.targets - ..\CONTRIBUTING.md = ..\CONTRIBUTING.md - GlobalAssemblyInfo.cs = GlobalAssemblyInfo.cs - ..\LICENSE = ..\LICENSE - prepare-install-package.targets = prepare-install-package.targets - ..\README.md = ..\README.md - ..\release-notes.md = ..\release-notes.md EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StardewModdingAPI.Installer", "StardewModdingAPI.Installer\StardewModdingAPI.Installer.csproj", "{443DDF81-6AAF-420A-A610-3459F37E5575}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StardewModdingAPI.Installer", "SMAPI.Installer\StardewModdingAPI.Installer.csproj", "{443DDF81-6AAF-420A-A610-3459F37E5575}" ProjectSection(ProjectDependencies) = postProject {28480467-1A48-46A7-99F8-236D95225359} = {28480467-1A48-46A7-99F8-236D95225359} {F1A573B0-F436-472C-AE29-0B91EA6B9F8F} = {F1A573B0-F436-472C-AE29-0B91EA6B9F8F} EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StardewModdingAPI.AssemblyRewriters", "StardewModdingAPI.AssemblyRewriters\StardewModdingAPI.AssemblyRewriters.csproj", "{10DB0676-9FC1-4771-A2C8-E2519F091E49}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StardewModdingAPI.AssemblyRewriters", "SMAPI.AssemblyRewriters\StardewModdingAPI.AssemblyRewriters.csproj", "{10DB0676-9FC1-4771-A2C8-E2519F091E49}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StardewModdingAPI.Tests", "StardewModdingAPI.Tests\StardewModdingAPI.Tests.csproj", "{36CCB19E-92EB-48C7-9615-98EEFD45109B}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StardewModdingAPI.Tests", "SMAPI.Tests\StardewModdingAPI.Tests.csproj", "{36CCB19E-92EB-48C7-9615-98EEFD45109B}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StardewModdingAPI.Web", "StardewModdingAPI.Web\StardewModdingAPI.Web.csproj", "{A308F679-51A3-4006-92D5-BAEC7EBD01A1}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StardewModdingAPI.Web", "SMAPI.Web\StardewModdingAPI.Web.csproj", "{A308F679-51A3-4006-92D5-BAEC7EBD01A1}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Internal", "Internal", "{82D22ED7-A0A7-4D64-8E92-4B6A5E74ED11}" EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "StardewModdingAPI.Models", "StardewModdingAPI.Models\StardewModdingAPI.Models.shproj", "{2AA02FB6-FF03-41CF-A215-2EE60AB4F5DC}" +Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "StardewModdingAPI.Models", "SMAPI.Models\StardewModdingAPI.Models.shproj", "{2AA02FB6-FF03-41CF-A215-2EE60AB4F5DC}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{EB35A917-67B9-4EFA-8DFC-4FB49B3949BB}" + ProjectSection(SolutionItems) = preProject + ..\docs\CONTRIBUTING.md = ..\docs\CONTRIBUTING.md + ..\docs\LICENSE.md = ..\docs\LICENSE.md + ..\docs\README.md = ..\docs\README.md + ..\docs\release-notes.md = ..\docs\release-notes.md + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{09CF91E5-5BAB-4650-A200-E5EA9A633046}" + ProjectSection(SolutionItems) = preProject + ..\build\common.targets = ..\build\common.targets + ..\build\GlobalAssemblyInfo.cs = ..\build\GlobalAssemblyInfo.cs + ..\build\prepare-install-package.targets = ..\build\prepare-install-package.targets + EndProjectSection EndProject Global GlobalSection(SharedMSBuildProjectFiles) = preSolution - StardewModdingAPI.Models\StardewModdingAPI.Models.projitems*{2aa02fb6-ff03-41cf-a215-2ee60ab4f5dc}*SharedItemsImports = 13 - StardewModdingAPI.Models\StardewModdingAPI.Models.projitems*{f1a573b0-f436-472c-ae29-0b91ea6b9f8f}*SharedItemsImports = 4 + SMAPI.Models\StardewModdingAPI.Models.projitems*{2aa02fb6-ff03-41cf-a215-2ee60ab4f5dc}*SharedItemsImports = 13 + SMAPI.Models\StardewModdingAPI.Models.projitems*{f1a573b0-f436-472c-ae29-0b91ea6b9f8f}*SharedItemsImports = 4 EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -121,6 +129,8 @@ Global {10DB0676-9FC1-4771-A2C8-E2519F091E49} = {82D22ED7-A0A7-4D64-8E92-4B6A5E74ED11} {36CCB19E-92EB-48C7-9615-98EEFD45109B} = {82D22ED7-A0A7-4D64-8E92-4B6A5E74ED11} {2AA02FB6-FF03-41CF-A215-2EE60AB4F5DC} = {82D22ED7-A0A7-4D64-8E92-4B6A5E74ED11} + {EB35A917-67B9-4EFA-8DFC-4FB49B3949BB} = {86C452BE-D2D8-45B4-B63F-E329EB06CEDA} + {09CF91E5-5BAB-4650-A200-E5EA9A633046} = {86C452BE-D2D8-45B4-B63F-E329EB06CEDA} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {70143042-A862-47A8-A677-7C819DDC90DC} diff --git a/src/StardewModdingAPI.sln.DotSettings b/src/SMAPI.sln.DotSettings similarity index 100% rename from src/StardewModdingAPI.sln.DotSettings rename to src/SMAPI.sln.DotSettings diff --git a/src/StardewModdingAPI/App.config b/src/SMAPI/App.config similarity index 100% rename from src/StardewModdingAPI/App.config rename to src/SMAPI/App.config diff --git a/src/StardewModdingAPI/Constants.cs b/src/SMAPI/Constants.cs similarity index 100% rename from src/StardewModdingAPI/Constants.cs rename to src/SMAPI/Constants.cs diff --git a/src/StardewModdingAPI/ContentSource.cs b/src/SMAPI/ContentSource.cs similarity index 100% rename from src/StardewModdingAPI/ContentSource.cs rename to src/SMAPI/ContentSource.cs diff --git a/src/StardewModdingAPI/Context.cs b/src/SMAPI/Context.cs similarity index 100% rename from src/StardewModdingAPI/Context.cs rename to src/SMAPI/Context.cs diff --git a/src/StardewModdingAPI/Events/ChangeType.cs b/src/SMAPI/Events/ChangeType.cs similarity index 100% rename from src/StardewModdingAPI/Events/ChangeType.cs rename to src/SMAPI/Events/ChangeType.cs diff --git a/src/StardewModdingAPI/Events/ContentEvents.cs b/src/SMAPI/Events/ContentEvents.cs similarity index 100% rename from src/StardewModdingAPI/Events/ContentEvents.cs rename to src/SMAPI/Events/ContentEvents.cs diff --git a/src/StardewModdingAPI/Events/ControlEvents.cs b/src/SMAPI/Events/ControlEvents.cs similarity index 100% rename from src/StardewModdingAPI/Events/ControlEvents.cs rename to src/SMAPI/Events/ControlEvents.cs diff --git a/src/StardewModdingAPI/Events/EventArgsClickableMenuChanged.cs b/src/SMAPI/Events/EventArgsClickableMenuChanged.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsClickableMenuChanged.cs rename to src/SMAPI/Events/EventArgsClickableMenuChanged.cs diff --git a/src/StardewModdingAPI/Events/EventArgsClickableMenuClosed.cs b/src/SMAPI/Events/EventArgsClickableMenuClosed.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsClickableMenuClosed.cs rename to src/SMAPI/Events/EventArgsClickableMenuClosed.cs diff --git a/src/StardewModdingAPI/Events/EventArgsControllerButtonPressed.cs b/src/SMAPI/Events/EventArgsControllerButtonPressed.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsControllerButtonPressed.cs rename to src/SMAPI/Events/EventArgsControllerButtonPressed.cs diff --git a/src/StardewModdingAPI/Events/EventArgsControllerButtonReleased.cs b/src/SMAPI/Events/EventArgsControllerButtonReleased.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsControllerButtonReleased.cs rename to src/SMAPI/Events/EventArgsControllerButtonReleased.cs diff --git a/src/StardewModdingAPI/Events/EventArgsControllerTriggerPressed.cs b/src/SMAPI/Events/EventArgsControllerTriggerPressed.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsControllerTriggerPressed.cs rename to src/SMAPI/Events/EventArgsControllerTriggerPressed.cs diff --git a/src/StardewModdingAPI/Events/EventArgsControllerTriggerReleased.cs b/src/SMAPI/Events/EventArgsControllerTriggerReleased.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsControllerTriggerReleased.cs rename to src/SMAPI/Events/EventArgsControllerTriggerReleased.cs diff --git a/src/StardewModdingAPI/Events/EventArgsCurrentLocationChanged.cs b/src/SMAPI/Events/EventArgsCurrentLocationChanged.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsCurrentLocationChanged.cs rename to src/SMAPI/Events/EventArgsCurrentLocationChanged.cs diff --git a/src/StardewModdingAPI/Events/EventArgsGameLocationsChanged.cs b/src/SMAPI/Events/EventArgsGameLocationsChanged.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsGameLocationsChanged.cs rename to src/SMAPI/Events/EventArgsGameLocationsChanged.cs diff --git a/src/StardewModdingAPI/Events/EventArgsInput.cs b/src/SMAPI/Events/EventArgsInput.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsInput.cs rename to src/SMAPI/Events/EventArgsInput.cs diff --git a/src/StardewModdingAPI/Events/EventArgsIntChanged.cs b/src/SMAPI/Events/EventArgsIntChanged.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsIntChanged.cs rename to src/SMAPI/Events/EventArgsIntChanged.cs diff --git a/src/StardewModdingAPI/Events/EventArgsInventoryChanged.cs b/src/SMAPI/Events/EventArgsInventoryChanged.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsInventoryChanged.cs rename to src/SMAPI/Events/EventArgsInventoryChanged.cs diff --git a/src/StardewModdingAPI/Events/EventArgsKeyPressed.cs b/src/SMAPI/Events/EventArgsKeyPressed.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsKeyPressed.cs rename to src/SMAPI/Events/EventArgsKeyPressed.cs diff --git a/src/StardewModdingAPI/Events/EventArgsKeyboardStateChanged.cs b/src/SMAPI/Events/EventArgsKeyboardStateChanged.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsKeyboardStateChanged.cs rename to src/SMAPI/Events/EventArgsKeyboardStateChanged.cs diff --git a/src/StardewModdingAPI/Events/EventArgsLevelUp.cs b/src/SMAPI/Events/EventArgsLevelUp.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsLevelUp.cs rename to src/SMAPI/Events/EventArgsLevelUp.cs diff --git a/src/StardewModdingAPI/Events/EventArgsLocationObjectsChanged.cs b/src/SMAPI/Events/EventArgsLocationObjectsChanged.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsLocationObjectsChanged.cs rename to src/SMAPI/Events/EventArgsLocationObjectsChanged.cs diff --git a/src/StardewModdingAPI/Events/EventArgsMineLevelChanged.cs b/src/SMAPI/Events/EventArgsMineLevelChanged.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsMineLevelChanged.cs rename to src/SMAPI/Events/EventArgsMineLevelChanged.cs diff --git a/src/StardewModdingAPI/Events/EventArgsMouseStateChanged.cs b/src/SMAPI/Events/EventArgsMouseStateChanged.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsMouseStateChanged.cs rename to src/SMAPI/Events/EventArgsMouseStateChanged.cs diff --git a/src/StardewModdingAPI/Events/EventArgsValueChanged.cs b/src/SMAPI/Events/EventArgsValueChanged.cs similarity index 100% rename from src/StardewModdingAPI/Events/EventArgsValueChanged.cs rename to src/SMAPI/Events/EventArgsValueChanged.cs diff --git a/src/StardewModdingAPI/Events/GameEvents.cs b/src/SMAPI/Events/GameEvents.cs similarity index 100% rename from src/StardewModdingAPI/Events/GameEvents.cs rename to src/SMAPI/Events/GameEvents.cs diff --git a/src/StardewModdingAPI/Events/GraphicsEvents.cs b/src/SMAPI/Events/GraphicsEvents.cs similarity index 100% rename from src/StardewModdingAPI/Events/GraphicsEvents.cs rename to src/SMAPI/Events/GraphicsEvents.cs diff --git a/src/StardewModdingAPI/Events/InputEvents.cs b/src/SMAPI/Events/InputEvents.cs similarity index 100% rename from src/StardewModdingAPI/Events/InputEvents.cs rename to src/SMAPI/Events/InputEvents.cs diff --git a/src/StardewModdingAPI/Events/ItemStackChange.cs b/src/SMAPI/Events/ItemStackChange.cs similarity index 100% rename from src/StardewModdingAPI/Events/ItemStackChange.cs rename to src/SMAPI/Events/ItemStackChange.cs diff --git a/src/StardewModdingAPI/Events/LocationEvents.cs b/src/SMAPI/Events/LocationEvents.cs similarity index 100% rename from src/StardewModdingAPI/Events/LocationEvents.cs rename to src/SMAPI/Events/LocationEvents.cs diff --git a/src/StardewModdingAPI/Events/MenuEvents.cs b/src/SMAPI/Events/MenuEvents.cs similarity index 100% rename from src/StardewModdingAPI/Events/MenuEvents.cs rename to src/SMAPI/Events/MenuEvents.cs diff --git a/src/StardewModdingAPI/Events/MineEvents.cs b/src/SMAPI/Events/MineEvents.cs similarity index 100% rename from src/StardewModdingAPI/Events/MineEvents.cs rename to src/SMAPI/Events/MineEvents.cs diff --git a/src/StardewModdingAPI/Events/PlayerEvents.cs b/src/SMAPI/Events/PlayerEvents.cs similarity index 100% rename from src/StardewModdingAPI/Events/PlayerEvents.cs rename to src/SMAPI/Events/PlayerEvents.cs diff --git a/src/StardewModdingAPI/Events/SaveEvents.cs b/src/SMAPI/Events/SaveEvents.cs similarity index 100% rename from src/StardewModdingAPI/Events/SaveEvents.cs rename to src/SMAPI/Events/SaveEvents.cs diff --git a/src/StardewModdingAPI/Events/TimeEvents.cs b/src/SMAPI/Events/TimeEvents.cs similarity index 100% rename from src/StardewModdingAPI/Events/TimeEvents.cs rename to src/SMAPI/Events/TimeEvents.cs diff --git a/src/StardewModdingAPI/Framework/Command.cs b/src/SMAPI/Framework/Command.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Command.cs rename to src/SMAPI/Framework/Command.cs diff --git a/src/StardewModdingAPI/Framework/CommandManager.cs b/src/SMAPI/Framework/CommandManager.cs similarity index 100% rename from src/StardewModdingAPI/Framework/CommandManager.cs rename to src/SMAPI/Framework/CommandManager.cs diff --git a/src/StardewModdingAPI/Framework/Content/AssetData.cs b/src/SMAPI/Framework/Content/AssetData.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Content/AssetData.cs rename to src/SMAPI/Framework/Content/AssetData.cs diff --git a/src/StardewModdingAPI/Framework/Content/AssetDataForDictionary.cs b/src/SMAPI/Framework/Content/AssetDataForDictionary.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Content/AssetDataForDictionary.cs rename to src/SMAPI/Framework/Content/AssetDataForDictionary.cs diff --git a/src/StardewModdingAPI/Framework/Content/AssetDataForImage.cs b/src/SMAPI/Framework/Content/AssetDataForImage.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Content/AssetDataForImage.cs rename to src/SMAPI/Framework/Content/AssetDataForImage.cs diff --git a/src/StardewModdingAPI/Framework/Content/AssetDataForObject.cs b/src/SMAPI/Framework/Content/AssetDataForObject.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Content/AssetDataForObject.cs rename to src/SMAPI/Framework/Content/AssetDataForObject.cs diff --git a/src/StardewModdingAPI/Framework/Content/AssetInfo.cs b/src/SMAPI/Framework/Content/AssetInfo.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Content/AssetInfo.cs rename to src/SMAPI/Framework/Content/AssetInfo.cs diff --git a/src/StardewModdingAPI/Framework/ContentManagerShim.cs b/src/SMAPI/Framework/ContentManagerShim.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ContentManagerShim.cs rename to src/SMAPI/Framework/ContentManagerShim.cs diff --git a/src/StardewModdingAPI/Framework/CursorPosition.cs b/src/SMAPI/Framework/CursorPosition.cs similarity index 100% rename from src/StardewModdingAPI/Framework/CursorPosition.cs rename to src/SMAPI/Framework/CursorPosition.cs diff --git a/src/StardewModdingAPI/Framework/DeprecationLevel.cs b/src/SMAPI/Framework/DeprecationLevel.cs similarity index 100% rename from src/StardewModdingAPI/Framework/DeprecationLevel.cs rename to src/SMAPI/Framework/DeprecationLevel.cs diff --git a/src/StardewModdingAPI/Framework/DeprecationManager.cs b/src/SMAPI/Framework/DeprecationManager.cs similarity index 100% rename from src/StardewModdingAPI/Framework/DeprecationManager.cs rename to src/SMAPI/Framework/DeprecationManager.cs diff --git a/src/StardewModdingAPI/Framework/Exceptions/SAssemblyLoadFailedException.cs b/src/SMAPI/Framework/Exceptions/SAssemblyLoadFailedException.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Exceptions/SAssemblyLoadFailedException.cs rename to src/SMAPI/Framework/Exceptions/SAssemblyLoadFailedException.cs diff --git a/src/StardewModdingAPI/Framework/Exceptions/SContentLoadException.cs b/src/SMAPI/Framework/Exceptions/SContentLoadException.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Exceptions/SContentLoadException.cs rename to src/SMAPI/Framework/Exceptions/SContentLoadException.cs diff --git a/src/StardewModdingAPI/Framework/Exceptions/SParseException.cs b/src/SMAPI/Framework/Exceptions/SParseException.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Exceptions/SParseException.cs rename to src/SMAPI/Framework/Exceptions/SParseException.cs diff --git a/src/StardewModdingAPI/Framework/GameVersion.cs b/src/SMAPI/Framework/GameVersion.cs similarity index 100% rename from src/StardewModdingAPI/Framework/GameVersion.cs rename to src/SMAPI/Framework/GameVersion.cs diff --git a/src/StardewModdingAPI/Framework/IModMetadata.cs b/src/SMAPI/Framework/IModMetadata.cs similarity index 100% rename from src/StardewModdingAPI/Framework/IModMetadata.cs rename to src/SMAPI/Framework/IModMetadata.cs diff --git a/src/StardewModdingAPI/Framework/InternalExtensions.cs b/src/SMAPI/Framework/InternalExtensions.cs similarity index 100% rename from src/StardewModdingAPI/Framework/InternalExtensions.cs rename to src/SMAPI/Framework/InternalExtensions.cs diff --git a/src/StardewModdingAPI/Framework/Logging/ConsoleInterceptionManager.cs b/src/SMAPI/Framework/Logging/ConsoleInterceptionManager.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Logging/ConsoleInterceptionManager.cs rename to src/SMAPI/Framework/Logging/ConsoleInterceptionManager.cs diff --git a/src/StardewModdingAPI/Framework/Logging/InterceptingTextWriter.cs b/src/SMAPI/Framework/Logging/InterceptingTextWriter.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Logging/InterceptingTextWriter.cs rename to src/SMAPI/Framework/Logging/InterceptingTextWriter.cs diff --git a/src/StardewModdingAPI/Framework/Logging/LogFileManager.cs b/src/SMAPI/Framework/Logging/LogFileManager.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Logging/LogFileManager.cs rename to src/SMAPI/Framework/Logging/LogFileManager.cs diff --git a/src/StardewModdingAPI/Framework/ModHelpers/BaseHelper.cs b/src/SMAPI/Framework/ModHelpers/BaseHelper.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModHelpers/BaseHelper.cs rename to src/SMAPI/Framework/ModHelpers/BaseHelper.cs diff --git a/src/StardewModdingAPI/Framework/ModHelpers/CommandHelper.cs b/src/SMAPI/Framework/ModHelpers/CommandHelper.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModHelpers/CommandHelper.cs rename to src/SMAPI/Framework/ModHelpers/CommandHelper.cs diff --git a/src/StardewModdingAPI/Framework/ModHelpers/ContentHelper.cs b/src/SMAPI/Framework/ModHelpers/ContentHelper.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModHelpers/ContentHelper.cs rename to src/SMAPI/Framework/ModHelpers/ContentHelper.cs diff --git a/src/StardewModdingAPI/Framework/ModHelpers/ModHelper.cs b/src/SMAPI/Framework/ModHelpers/ModHelper.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModHelpers/ModHelper.cs rename to src/SMAPI/Framework/ModHelpers/ModHelper.cs diff --git a/src/StardewModdingAPI/Framework/ModHelpers/ModRegistryHelper.cs b/src/SMAPI/Framework/ModHelpers/ModRegistryHelper.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModHelpers/ModRegistryHelper.cs rename to src/SMAPI/Framework/ModHelpers/ModRegistryHelper.cs diff --git a/src/StardewModdingAPI/Framework/ModHelpers/ReflectionHelper.cs b/src/SMAPI/Framework/ModHelpers/ReflectionHelper.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModHelpers/ReflectionHelper.cs rename to src/SMAPI/Framework/ModHelpers/ReflectionHelper.cs diff --git a/src/StardewModdingAPI/Framework/ModHelpers/TranslationHelper.cs b/src/SMAPI/Framework/ModHelpers/TranslationHelper.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModHelpers/TranslationHelper.cs rename to src/SMAPI/Framework/ModHelpers/TranslationHelper.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/AssemblyDefinitionResolver.cs b/src/SMAPI/Framework/ModLoading/AssemblyDefinitionResolver.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/AssemblyDefinitionResolver.cs rename to src/SMAPI/Framework/ModLoading/AssemblyDefinitionResolver.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/AssemblyLoadStatus.cs b/src/SMAPI/Framework/ModLoading/AssemblyLoadStatus.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/AssemblyLoadStatus.cs rename to src/SMAPI/Framework/ModLoading/AssemblyLoadStatus.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs b/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs rename to src/SMAPI/Framework/ModLoading/AssemblyLoader.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/AssemblyParseResult.cs b/src/SMAPI/Framework/ModLoading/AssemblyParseResult.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/AssemblyParseResult.cs rename to src/SMAPI/Framework/ModLoading/AssemblyParseResult.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/Finders/EventFinder.cs b/src/SMAPI/Framework/ModLoading/Finders/EventFinder.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/Finders/EventFinder.cs rename to src/SMAPI/Framework/ModLoading/Finders/EventFinder.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/Finders/FieldFinder.cs b/src/SMAPI/Framework/ModLoading/Finders/FieldFinder.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/Finders/FieldFinder.cs rename to src/SMAPI/Framework/ModLoading/Finders/FieldFinder.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/Finders/MethodFinder.cs b/src/SMAPI/Framework/ModLoading/Finders/MethodFinder.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/Finders/MethodFinder.cs rename to src/SMAPI/Framework/ModLoading/Finders/MethodFinder.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/Finders/PropertyFinder.cs b/src/SMAPI/Framework/ModLoading/Finders/PropertyFinder.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/Finders/PropertyFinder.cs rename to src/SMAPI/Framework/ModLoading/Finders/PropertyFinder.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/Finders/TypeFinder.cs b/src/SMAPI/Framework/ModLoading/Finders/TypeFinder.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/Finders/TypeFinder.cs rename to src/SMAPI/Framework/ModLoading/Finders/TypeFinder.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/IInstructionHandler.cs b/src/SMAPI/Framework/ModLoading/IInstructionHandler.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/IInstructionHandler.cs rename to src/SMAPI/Framework/ModLoading/IInstructionHandler.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/IncompatibleInstructionException.cs b/src/SMAPI/Framework/ModLoading/IncompatibleInstructionException.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/IncompatibleInstructionException.cs rename to src/SMAPI/Framework/ModLoading/IncompatibleInstructionException.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs b/src/SMAPI/Framework/ModLoading/InstructionHandleResult.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/InstructionHandleResult.cs rename to src/SMAPI/Framework/ModLoading/InstructionHandleResult.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/InvalidModStateException.cs b/src/SMAPI/Framework/ModLoading/InvalidModStateException.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/InvalidModStateException.cs rename to src/SMAPI/Framework/ModLoading/InvalidModStateException.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/ModDependencyStatus.cs b/src/SMAPI/Framework/ModLoading/ModDependencyStatus.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/ModDependencyStatus.cs rename to src/SMAPI/Framework/ModLoading/ModDependencyStatus.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/ModMetadata.cs b/src/SMAPI/Framework/ModLoading/ModMetadata.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/ModMetadata.cs rename to src/SMAPI/Framework/ModLoading/ModMetadata.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/ModMetadataStatus.cs b/src/SMAPI/Framework/ModLoading/ModMetadataStatus.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/ModMetadataStatus.cs rename to src/SMAPI/Framework/ModLoading/ModMetadataStatus.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/ModResolver.cs b/src/SMAPI/Framework/ModLoading/ModResolver.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/ModResolver.cs rename to src/SMAPI/Framework/ModLoading/ModResolver.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/Platform.cs b/src/SMAPI/Framework/ModLoading/Platform.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/Platform.cs rename to src/SMAPI/Framework/ModLoading/Platform.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/PlatformAssemblyMap.cs b/src/SMAPI/Framework/ModLoading/PlatformAssemblyMap.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/PlatformAssemblyMap.cs rename to src/SMAPI/Framework/ModLoading/PlatformAssemblyMap.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/RewriteHelper.cs b/src/SMAPI/Framework/ModLoading/RewriteHelper.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/RewriteHelper.cs rename to src/SMAPI/Framework/ModLoading/RewriteHelper.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldReplaceRewriter.cs b/src/SMAPI/Framework/ModLoading/Rewriters/FieldReplaceRewriter.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldReplaceRewriter.cs rename to src/SMAPI/Framework/ModLoading/Rewriters/FieldReplaceRewriter.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs b/src/SMAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs rename to src/SMAPI/Framework/ModLoading/Rewriters/FieldToPropertyRewriter.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/Rewriters/MethodParentRewriter.cs b/src/SMAPI/Framework/ModLoading/Rewriters/MethodParentRewriter.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/Rewriters/MethodParentRewriter.cs rename to src/SMAPI/Framework/ModLoading/Rewriters/MethodParentRewriter.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/Rewriters/TypeReferenceRewriter.cs b/src/SMAPI/Framework/ModLoading/Rewriters/TypeReferenceRewriter.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/Rewriters/TypeReferenceRewriter.cs rename to src/SMAPI/Framework/ModLoading/Rewriters/TypeReferenceRewriter.cs diff --git a/src/StardewModdingAPI/Framework/ModLoading/Rewriters/VirtualEntryCallRemover.cs b/src/SMAPI/Framework/ModLoading/Rewriters/VirtualEntryCallRemover.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModLoading/Rewriters/VirtualEntryCallRemover.cs rename to src/SMAPI/Framework/ModLoading/Rewriters/VirtualEntryCallRemover.cs diff --git a/src/StardewModdingAPI/Framework/ModRegistry.cs b/src/SMAPI/Framework/ModRegistry.cs similarity index 100% rename from src/StardewModdingAPI/Framework/ModRegistry.cs rename to src/SMAPI/Framework/ModRegistry.cs diff --git a/src/StardewModdingAPI/Framework/Models/Manifest.cs b/src/SMAPI/Framework/Models/Manifest.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Models/Manifest.cs rename to src/SMAPI/Framework/Models/Manifest.cs diff --git a/src/StardewModdingAPI/Framework/Models/ManifestDependency.cs b/src/SMAPI/Framework/Models/ManifestDependency.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Models/ManifestDependency.cs rename to src/SMAPI/Framework/Models/ManifestDependency.cs diff --git a/src/StardewModdingAPI/Framework/Models/ModCompatibility.cs b/src/SMAPI/Framework/Models/ModCompatibility.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Models/ModCompatibility.cs rename to src/SMAPI/Framework/Models/ModCompatibility.cs diff --git a/src/StardewModdingAPI/Framework/Models/ModDataID.cs b/src/SMAPI/Framework/Models/ModDataID.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Models/ModDataID.cs rename to src/SMAPI/Framework/Models/ModDataID.cs diff --git a/src/StardewModdingAPI/Framework/Models/ModDataRecord.cs b/src/SMAPI/Framework/Models/ModDataRecord.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Models/ModDataRecord.cs rename to src/SMAPI/Framework/Models/ModDataRecord.cs diff --git a/src/StardewModdingAPI/Framework/Models/ModStatus.cs b/src/SMAPI/Framework/Models/ModStatus.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Models/ModStatus.cs rename to src/SMAPI/Framework/Models/ModStatus.cs diff --git a/src/StardewModdingAPI/Framework/Models/SConfig.cs b/src/SMAPI/Framework/Models/SConfig.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Models/SConfig.cs rename to src/SMAPI/Framework/Models/SConfig.cs diff --git a/src/StardewModdingAPI/Framework/Monitor.cs b/src/SMAPI/Framework/Monitor.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Monitor.cs rename to src/SMAPI/Framework/Monitor.cs diff --git a/src/StardewModdingAPI/Framework/Reflection/CacheEntry.cs b/src/SMAPI/Framework/Reflection/CacheEntry.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Reflection/CacheEntry.cs rename to src/SMAPI/Framework/Reflection/CacheEntry.cs diff --git a/src/StardewModdingAPI/Framework/Reflection/PrivateField.cs b/src/SMAPI/Framework/Reflection/PrivateField.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Reflection/PrivateField.cs rename to src/SMAPI/Framework/Reflection/PrivateField.cs diff --git a/src/StardewModdingAPI/Framework/Reflection/PrivateMethod.cs b/src/SMAPI/Framework/Reflection/PrivateMethod.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Reflection/PrivateMethod.cs rename to src/SMAPI/Framework/Reflection/PrivateMethod.cs diff --git a/src/StardewModdingAPI/Framework/Reflection/PrivateProperty.cs b/src/SMAPI/Framework/Reflection/PrivateProperty.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Reflection/PrivateProperty.cs rename to src/SMAPI/Framework/Reflection/PrivateProperty.cs diff --git a/src/StardewModdingAPI/Framework/Reflection/Reflector.cs b/src/SMAPI/Framework/Reflection/Reflector.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Reflection/Reflector.cs rename to src/SMAPI/Framework/Reflection/Reflector.cs diff --git a/src/StardewModdingAPI/Framework/RequestExitDelegate.cs b/src/SMAPI/Framework/RequestExitDelegate.cs similarity index 100% rename from src/StardewModdingAPI/Framework/RequestExitDelegate.cs rename to src/SMAPI/Framework/RequestExitDelegate.cs diff --git a/src/StardewModdingAPI/Framework/SContentManager.cs b/src/SMAPI/Framework/SContentManager.cs similarity index 100% rename from src/StardewModdingAPI/Framework/SContentManager.cs rename to src/SMAPI/Framework/SContentManager.cs diff --git a/src/StardewModdingAPI/Framework/SGame.cs b/src/SMAPI/Framework/SGame.cs similarity index 100% rename from src/StardewModdingAPI/Framework/SGame.cs rename to src/SMAPI/Framework/SGame.cs diff --git a/src/StardewModdingAPI/Framework/Serialisation/JsonHelper.cs b/src/SMAPI/Framework/Serialisation/JsonHelper.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Serialisation/JsonHelper.cs rename to src/SMAPI/Framework/Serialisation/JsonHelper.cs diff --git a/src/StardewModdingAPI/Framework/Serialisation/SFieldConverter.cs b/src/SMAPI/Framework/Serialisation/SFieldConverter.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Serialisation/SFieldConverter.cs rename to src/SMAPI/Framework/Serialisation/SFieldConverter.cs diff --git a/src/StardewModdingAPI/Framework/Serialisation/SelectiveStringEnumConverter.cs b/src/SMAPI/Framework/Serialisation/SelectiveStringEnumConverter.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Serialisation/SelectiveStringEnumConverter.cs rename to src/SMAPI/Framework/Serialisation/SelectiveStringEnumConverter.cs diff --git a/src/StardewModdingAPI/Framework/Utilities/ContextHash.cs b/src/SMAPI/Framework/Utilities/ContextHash.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Utilities/ContextHash.cs rename to src/SMAPI/Framework/Utilities/ContextHash.cs diff --git a/src/StardewModdingAPI/Framework/Utilities/Countdown.cs b/src/SMAPI/Framework/Utilities/Countdown.cs similarity index 100% rename from src/StardewModdingAPI/Framework/Utilities/Countdown.cs rename to src/SMAPI/Framework/Utilities/Countdown.cs diff --git a/src/StardewModdingAPI/Framework/WebApiClient.cs b/src/SMAPI/Framework/WebApiClient.cs similarity index 100% rename from src/StardewModdingAPI/Framework/WebApiClient.cs rename to src/SMAPI/Framework/WebApiClient.cs diff --git a/src/StardewModdingAPI/IAssetData.cs b/src/SMAPI/IAssetData.cs similarity index 100% rename from src/StardewModdingAPI/IAssetData.cs rename to src/SMAPI/IAssetData.cs diff --git a/src/StardewModdingAPI/IAssetDataForDictionary.cs b/src/SMAPI/IAssetDataForDictionary.cs similarity index 100% rename from src/StardewModdingAPI/IAssetDataForDictionary.cs rename to src/SMAPI/IAssetDataForDictionary.cs diff --git a/src/StardewModdingAPI/IAssetDataForImage.cs b/src/SMAPI/IAssetDataForImage.cs similarity index 100% rename from src/StardewModdingAPI/IAssetDataForImage.cs rename to src/SMAPI/IAssetDataForImage.cs diff --git a/src/StardewModdingAPI/IAssetEditor.cs b/src/SMAPI/IAssetEditor.cs similarity index 100% rename from src/StardewModdingAPI/IAssetEditor.cs rename to src/SMAPI/IAssetEditor.cs diff --git a/src/StardewModdingAPI/IAssetInfo.cs b/src/SMAPI/IAssetInfo.cs similarity index 100% rename from src/StardewModdingAPI/IAssetInfo.cs rename to src/SMAPI/IAssetInfo.cs diff --git a/src/StardewModdingAPI/IAssetLoader.cs b/src/SMAPI/IAssetLoader.cs similarity index 100% rename from src/StardewModdingAPI/IAssetLoader.cs rename to src/SMAPI/IAssetLoader.cs diff --git a/src/StardewModdingAPI/ICommandHelper.cs b/src/SMAPI/ICommandHelper.cs similarity index 100% rename from src/StardewModdingAPI/ICommandHelper.cs rename to src/SMAPI/ICommandHelper.cs diff --git a/src/StardewModdingAPI/IContentHelper.cs b/src/SMAPI/IContentHelper.cs similarity index 100% rename from src/StardewModdingAPI/IContentHelper.cs rename to src/SMAPI/IContentHelper.cs diff --git a/src/StardewModdingAPI/ICursorPosition.cs b/src/SMAPI/ICursorPosition.cs similarity index 100% rename from src/StardewModdingAPI/ICursorPosition.cs rename to src/SMAPI/ICursorPosition.cs diff --git a/src/StardewModdingAPI/IManifest.cs b/src/SMAPI/IManifest.cs similarity index 100% rename from src/StardewModdingAPI/IManifest.cs rename to src/SMAPI/IManifest.cs diff --git a/src/StardewModdingAPI/IManifestDependency.cs b/src/SMAPI/IManifestDependency.cs similarity index 100% rename from src/StardewModdingAPI/IManifestDependency.cs rename to src/SMAPI/IManifestDependency.cs diff --git a/src/StardewModdingAPI/IMod.cs b/src/SMAPI/IMod.cs similarity index 100% rename from src/StardewModdingAPI/IMod.cs rename to src/SMAPI/IMod.cs diff --git a/src/StardewModdingAPI/IModHelper.cs b/src/SMAPI/IModHelper.cs similarity index 100% rename from src/StardewModdingAPI/IModHelper.cs rename to src/SMAPI/IModHelper.cs diff --git a/src/StardewModdingAPI/IModLinked.cs b/src/SMAPI/IModLinked.cs similarity index 100% rename from src/StardewModdingAPI/IModLinked.cs rename to src/SMAPI/IModLinked.cs diff --git a/src/StardewModdingAPI/IModRegistry.cs b/src/SMAPI/IModRegistry.cs similarity index 100% rename from src/StardewModdingAPI/IModRegistry.cs rename to src/SMAPI/IModRegistry.cs diff --git a/src/StardewModdingAPI/IMonitor.cs b/src/SMAPI/IMonitor.cs similarity index 100% rename from src/StardewModdingAPI/IMonitor.cs rename to src/SMAPI/IMonitor.cs diff --git a/src/StardewModdingAPI/IPrivateField.cs b/src/SMAPI/IPrivateField.cs similarity index 100% rename from src/StardewModdingAPI/IPrivateField.cs rename to src/SMAPI/IPrivateField.cs diff --git a/src/StardewModdingAPI/IPrivateMethod.cs b/src/SMAPI/IPrivateMethod.cs similarity index 100% rename from src/StardewModdingAPI/IPrivateMethod.cs rename to src/SMAPI/IPrivateMethod.cs diff --git a/src/StardewModdingAPI/IPrivateProperty.cs b/src/SMAPI/IPrivateProperty.cs similarity index 100% rename from src/StardewModdingAPI/IPrivateProperty.cs rename to src/SMAPI/IPrivateProperty.cs diff --git a/src/StardewModdingAPI/IReflectionHelper.cs b/src/SMAPI/IReflectionHelper.cs similarity index 100% rename from src/StardewModdingAPI/IReflectionHelper.cs rename to src/SMAPI/IReflectionHelper.cs diff --git a/src/StardewModdingAPI/ISemanticVersion.cs b/src/SMAPI/ISemanticVersion.cs similarity index 100% rename from src/StardewModdingAPI/ISemanticVersion.cs rename to src/SMAPI/ISemanticVersion.cs diff --git a/src/StardewModdingAPI/ITranslationHelper.cs b/src/SMAPI/ITranslationHelper.cs similarity index 100% rename from src/StardewModdingAPI/ITranslationHelper.cs rename to src/SMAPI/ITranslationHelper.cs diff --git a/src/StardewModdingAPI/LogLevel.cs b/src/SMAPI/LogLevel.cs similarity index 100% rename from src/StardewModdingAPI/LogLevel.cs rename to src/SMAPI/LogLevel.cs diff --git a/src/StardewModdingAPI/Metadata/CoreAssets.cs b/src/SMAPI/Metadata/CoreAssets.cs similarity index 100% rename from src/StardewModdingAPI/Metadata/CoreAssets.cs rename to src/SMAPI/Metadata/CoreAssets.cs diff --git a/src/StardewModdingAPI/Metadata/InstructionMetadata.cs b/src/SMAPI/Metadata/InstructionMetadata.cs similarity index 100% rename from src/StardewModdingAPI/Metadata/InstructionMetadata.cs rename to src/SMAPI/Metadata/InstructionMetadata.cs diff --git a/src/StardewModdingAPI/Mod.cs b/src/SMAPI/Mod.cs similarity index 100% rename from src/StardewModdingAPI/Mod.cs rename to src/SMAPI/Mod.cs diff --git a/src/StardewModdingAPI/PatchMode.cs b/src/SMAPI/PatchMode.cs similarity index 100% rename from src/StardewModdingAPI/PatchMode.cs rename to src/SMAPI/PatchMode.cs diff --git a/src/StardewModdingAPI/Program.cs b/src/SMAPI/Program.cs similarity index 100% rename from src/StardewModdingAPI/Program.cs rename to src/SMAPI/Program.cs diff --git a/src/StardewModdingAPI/Properties/AssemblyInfo.cs b/src/SMAPI/Properties/AssemblyInfo.cs similarity index 100% rename from src/StardewModdingAPI/Properties/AssemblyInfo.cs rename to src/SMAPI/Properties/AssemblyInfo.cs diff --git a/src/StardewModdingAPI/SemanticVersion.cs b/src/SMAPI/SemanticVersion.cs similarity index 100% rename from src/StardewModdingAPI/SemanticVersion.cs rename to src/SMAPI/SemanticVersion.cs diff --git a/src/StardewModdingAPI/StardewModdingAPI.config.json b/src/SMAPI/StardewModdingAPI.config.json similarity index 100% rename from src/StardewModdingAPI/StardewModdingAPI.config.json rename to src/SMAPI/StardewModdingAPI.config.json diff --git a/src/StardewModdingAPI/StardewModdingAPI.csproj b/src/SMAPI/StardewModdingAPI.csproj similarity index 97% rename from src/StardewModdingAPI/StardewModdingAPI.csproj rename to src/SMAPI/StardewModdingAPI.csproj index 3721a11b..c6ff75d1 100644 --- a/src/StardewModdingAPI/StardewModdingAPI.csproj +++ b/src/SMAPI/StardewModdingAPI.csproj @@ -1,4 +1,4 @@ - + @@ -87,7 +87,7 @@ - + Properties\GlobalAssemblyInfo.cs @@ -265,13 +265,13 @@ false - + - + {10db0676-9fc1-4771-a2c8-e2519f091e49} StardewModdingAPI.AssemblyRewriters - + \ No newline at end of file diff --git a/src/StardewModdingAPI/Translation.cs b/src/SMAPI/Translation.cs similarity index 100% rename from src/StardewModdingAPI/Translation.cs rename to src/SMAPI/Translation.cs diff --git a/src/StardewModdingAPI/Utilities/SButton.cs b/src/SMAPI/Utilities/SButton.cs similarity index 100% rename from src/StardewModdingAPI/Utilities/SButton.cs rename to src/SMAPI/Utilities/SButton.cs diff --git a/src/StardewModdingAPI/Utilities/SDate.cs b/src/SMAPI/Utilities/SDate.cs similarity index 100% rename from src/StardewModdingAPI/Utilities/SDate.cs rename to src/SMAPI/Utilities/SDate.cs diff --git a/src/StardewModdingAPI/icon.ico b/src/SMAPI/icon.ico similarity index 100% rename from src/StardewModdingAPI/icon.ico rename to src/SMAPI/icon.ico diff --git a/src/StardewModdingAPI/packages.config b/src/SMAPI/packages.config similarity index 100% rename from src/StardewModdingAPI/packages.config rename to src/SMAPI/packages.config diff --git a/src/StardewModdingAPI/steam_appid.txt b/src/SMAPI/steam_appid.txt similarity index 100% rename from src/StardewModdingAPI/steam_appid.txt rename to src/SMAPI/steam_appid.txt diff --git a/src/StardewModdingAPI/unix-launcher.sh b/src/SMAPI/unix-launcher.sh similarity index 100% rename from src/StardewModdingAPI/unix-launcher.sh rename to src/SMAPI/unix-launcher.sh diff --git a/src/TrainerMod/TrainerMod.csproj b/src/TrainerMod/TrainerMod.csproj index 383e8c28..3182338c 100644 --- a/src/TrainerMod/TrainerMod.csproj +++ b/src/TrainerMod/TrainerMod.csproj @@ -1,4 +1,4 @@ - + @@ -48,7 +48,7 @@ - + Properties\GlobalAssemblyInfo.cs @@ -85,7 +85,7 @@ - + {f1a573b0-f436-472c-ae29-0b91ea6b9f8f} StardewModdingAPI False @@ -98,5 +98,5 @@ - + \ No newline at end of file