summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Program.cs
AgeCommit message (Collapse)Author
2017-03-12simplify access to game's Program classJesse Plamondon-Willard
Stardew Valley 1.2.15 made the class public, so we no longer need reflection to access it.
2017-03-12add logic to detect incompatible mod instructions & reject mod load (#247)Jesse Plamondon-Willard
2017-03-08update old instructions about resetting config fileJesse Plamondon-Willard
2017-03-04fix game window no longer showing SMAPI versionJesse Plamondon-Willard
2017-03-02only use WMI on WindowsJesse Plamondon-Willard
2017-03-01deprecate `IConfigFile` (#238)Jesse Plamondon-Willard
2017-03-01show OS caption (like "Windows 10") instead of internal version when availableJesse Plamondon-Willard
2017-03-01fix errors in console command handlers crashing the gameJesse Plamondon-Willard
2017-03-01improve TrainerMod feedback to user, standardise color/colour spellingJesse Plamondon-Willard
2017-02-25add prototype content event + helper to manipulate XNB data (#173)Jesse Plamondon-Willard
2017-02-24clean up program propertiesJesse Plamondon-Willard
2017-02-24fix 'please update your game' error not pausing before exitJesse Plamondon-Willard
2017-02-24fix game version checks not using semantic versioningJesse Plamondon-Willard
This caused an issue where SMAPI didn't consider SDV 1.2.10 to pass the minimum game version of 1.2.9. This requires some workarounds for SDV 1.11's non-semantic version.
2017-02-24fix game version always being detected as 1.2.9 because Game1.version is a ↵Jesse Plamondon-Willard
const now
2017-02-23further group deprecation warnings during mod loadingJesse Plamondon-Willard
2017-02-23minor cleanupJesse Plamondon-Willard
2017-02-23make skipped-mod messages more user-friendlyJesse Plamondon-Willard
2017-02-23move incompatible mod logic into mod registryJesse Plamondon-Willard
2017-02-23shorten mod path in error messagesJesse Plamondon-Willard
2017-02-23merge config filesJesse Plamondon-Willard
2017-02-22update for Stardew Valley 1.9 (#231)Jesse Plamondon-Willard
2017-02-21fix new error when entering an empty command in SMAPI consoleJesse Plamondon-Willard
2017-02-19make mod-not-compatible messages shorterJesse Plamondon-Willard
2017-02-16increase all notice deprecations to info, tweak deprecation message formatJesse Plamondon-Willard
2017-02-16remove unneeded property for number of mods loadedJesse Plamondon-Willard
2017-02-16remove unneeded property for game exe pathJesse Plamondon-Willard
2017-02-16remove unneeded property for game exe pathJesse Plamondon-Willard
2017-02-16make SMAPI core non-static, eliminate direct access between core componentsJesse Plamondon-Willard
2017-02-14streamline startup a bitJesse Plamondon-Willard
2017-02-13migrate TrainerMod to new API (#199)Jesse Plamondon-Willard
2017-02-13add new console command API with backward compatibility (#199)Jesse Plamondon-Willard
2017-02-13move core JSON logic out of mod helper (#199)Jesse Plamondon-Willard
This lets SMAPI parse manifest.json files without a mod helper, so we can pass the mod name into the helper.
2017-02-11don't write direct console output to log file (#233)Jesse Plamondon-Willard
Per discussion with mod developers.
2017-02-11delve into mod folders that only contain another folder (#208)Jesse Plamondon-Willard
This fixes a common issue when users unpack mods into a nested folder (e.g. "SomeMod-1.0.0\SomeMod\manifest.json"), which previously wouldn't be recognised as a mod. SMAPI will not do this if the folder contains files or more than one folder, to prevent backup folders and the like from being loaded.
2017-02-11redirect the game's debug messages into trace logs (#233)Jesse Plamondon-Willard
The game writes debug messages directly to the console, which shows up for SMAPI users. This commit redirects direct console messages to a monitor.
2017-02-10mark several mods incompatible with Stardew Valley 1.2+ (#231)Jesse Plamondon-Willard
2017-02-07remove oldest deprecated code (#231)Jesse Plamondon-Willard
Since Stardew Valley 1.2 breaks most mods anyway, this commits removes the oldest deprecations and fixes the issues that are easiest for mods to update. See documentation for details.
2017-02-03rm cruftJesse Plamondon-Willard
2017-02-02rewrite mod assembly loading (#229)Jesse Plamondon-Willard
This greatly simplifies mod loading, eliminates the .cache folders by loading assemblies in memory, ensures DLLs are loaded in leaf-to-root order, and reduces log verbosity. These changes should address a range of issues, notably #221 and #226.
2017-02-02fix error when SMAPI tries to load Mac metadata files for DLLsJesse Plamondon-Willard
2017-01-19log deprecation warnings after list of loaded mods (#220)Jesse Plamondon-Willard
2017-01-19only call mod.Entry() once all mods have been loaded (#220)Jesse Plamondon-Willard
2017-01-19add public mod registry (#220)Jesse Plamondon-Willard
2017-01-19bump several deprecationsJesse Plamondon-Willard
2017-01-19tweak error text when starting game throws an exceptionJesse Plamondon-Willard
2017-01-19simplify overridden game versionJesse Plamondon-Willard
2017-01-19add mod folder path to consoleJesse Plamondon-Willard
2017-01-14add support for custom incompatible-mod-version error textJesse Plamondon-Willard
2017-01-14add support for incompatible mod version rangesJesse Plamondon-Willard
2016-12-30fallback to launching SMAPI without a terminal on Linux if the terminal is ↵Jesse Plamondon-Willard
unavailable (#198)