summaryrefslogtreecommitdiff
path: root/src/SMAPI
AgeCommit message (Collapse)Author
2021-08-25fix console encoding issues (#798)Jesse Plamondon-Willard
2021-08-25add 64-bit compatibility check before loading modsJesse Plamondon-Willard
That reduces time spent trying to rewrite them (which won't work anyway), and shows a more informative message than the default 'DLL couldn't be loaded' error.
2021-08-25no longer abort input thread when exitingJesse Plamondon-Willard
`thread.Abort` is unimplemented in .NET 5, but it's not needed anyway since all threads will be aborted when the game exits.
2021-08-25fix data helper's WriteJsonFile not deleting file if data is null (#799)Jesse Plamondon-Willard
2021-08-25expand data helper docs (#799)Jesse Plamondon-Willard
2021-08-25add GetInAllLocales to translation APIJesse Plamondon-Willard
2021-08-08fix edge case where Netcode references aren't rewritten correctlyJesse Plamondon-Willard
2021-08-08move assembly resolver setup into Constants to centralize hardcoded logicJesse Plamondon-Willard
2021-08-04prepare for releaseJesse Plamondon-Willard
2021-08-04undo Constants.Save* changes in 3.12.1Jesse Plamondon-Willard
2021-08-03prepare for releaseJesse Plamondon-Willard
2021-08-03fix Mono.Cecil failing to resolve references to SMAPI in some edge casesJesse Plamondon-Willard
2021-08-03increase software conflict message to warning level to simplify troubleshootingJesse Plamondon-Willard
2021-08-02use more reliable method to get save folder nameJesse Plamondon-Willard
SMAPI now tracks the actual folder name being loaded to avoid edge cases where the folder name doesn't match the save ID.
2021-08-01prepare for releaseJesse Plamondon-Willard
2021-07-31fix map reload not correctly reloading interior doorsJesse Plamondon-Willard
2021-07-31fix crash when farm name contains invalid-in-file-path characters (#791)Jesse Plamondon-Willard
2021-07-30migrate to the new Harmony patch pattern used in my modsJesse Plamondon-Willard
That improves validation and error-handling.
2021-07-30rename patch classes for consistencyJesse Plamondon-Willard
2021-07-30split patch classes which target multiple typesJesse Plamondon-Willard
2021-07-29reduce ErrorHandler's direct references to internal SMAPI codeJesse Plamondon-Willard
That will allow removing the InternalsVisibleTo attribute to avoid namespace conflicts in an upcoming commit.
2021-07-28fix handling of Unicode characters in consoleJesse Plamondon-Willard
2021-07-28fix Data\Movies error regression when patching dictionary (#711)Jesse Plamondon-Willard
2021-07-28fix rewritten Harmony 1.x code not raising 'detected game patch' flag (#711)Jesse Plamondon-Willard
2021-07-28Merge pull request #792 from bladeoflight16/monofixJesse Plamondon-Willard
Fix build error in MonoDevelop
2021-07-27Fixing mono incompatibility (case exception type statement without variable)bladeoflight16
2021-07-26fix rewriting for Harmony ExceptionBlock type (#711)Jesse Plamondon-Willard
2021-07-23remove now-unneeded Mono.Cecil aliases (#711)Jesse Plamondon-Willard
2021-07-23use unmerged Harmony assembly (#711)Jesse Plamondon-Willard
Harmony merges Mono.Cecil and MonoMod.Common into its DLL, and keeps some (but not all) of the merged types public. That causes type conflicts in SMAPI's code since it uses both Harmony and Mono.Cecil, and extern aliases break on Linux due to IDE/compiler limitations. This commit uses a custom build of Harmony without the assembly merging, so SMAPI can use and manage Mono.Cecil itself.
2021-07-21fix new validation checksJesse Plamondon-Willard
2021-07-21Merge branch 'harmony-2' into developJesse Plamondon-Willard
2021-07-21add error if some SMAPI DLLs have mismatched versionsJesse Plamondon-Willard
2021-07-20fix error loading .xnb files from the local mod folder since SMAPI 3.0Jesse Plamondon-Willard
2021-07-20fix concurrency issue in interface proxyingJesse Plamondon-Willard
2021-07-17add error if player manually installs wrong SMAPI bitnessJesse Plamondon-Willard
2021-07-14add workaround for Harmony 2.x breaking XNA content pipeline for some assets ↵Jesse Plamondon-Willard
(#711, #722)
2021-07-13migrate to Harmony 2.1 (#711)Jesse Plamondon-Willard
2021-07-11alias Mono.Cecil references (#711)Jesse Plamondon-Willard
This is needed to migrate to Harmony 2.0 because it uses MonoMod, which has a copy of Mono.Cecil merged into its assembly, which leads to "type X exists in both 0Harmony.dll and Mono.Cecil.dll" errors. We can't use the version bundled with MonoMod since only some of the types are publicly accessible.
2021-07-09prepare for releaseJesse Plamondon-Willard
2021-06-26improve error if SMAPI fails to dispose on exitJesse Plamondon-Willard
2021-06-24log trace message if conflicting software is detectedJesse Plamondon-Willard
2021-06-11fix edge case where save constants aren't set correctlyJesse Plamondon-Willard
2021-05-27add asset propagation for paint masksJesse Plamondon-Willard
2021-05-26Update FurnitureListChangedEventArgs.csDiscipleOfEris
Prune unnecessary `using` statements
2021-05-26Add `World.FurnitureListChanged` eventDiscipleOfEris
Create a new event available to SMAPI mods to track furniture changes. To facilitate the event, a `FurnitureListChangedEventArgs` class is added as well. Fixes #778
2021-05-19fix 'loaded with custom settings' message shown with default settingsJesse Plamondon-Willard
2021-05-09fix error if a mod has a 'Dependencies' entry with no IDJesse Plamondon-Willard
2021-05-09add validation for the manifest 'Dependencies' fieldJesse Plamondon-Willard
2021-05-09normalize manifest array fieldsJesse Plamondon-Willard
2021-05-09fix version zero validationJesse Plamondon-Willard