summaryrefslogtreecommitdiff
path: root/src/SMAPI/Program.cs
AgeCommit message (Collapse)Author
2022-04-13enable nullable annotations in SMAPI where no logic changes are needed (#837)Jesse Plamondon-Willard
2022-04-09add environment variable form of new CLI args, update docsJesse Plamondon-Willard
2022-04-09Merge pull request #836 from Tondorian/feature/CommandLineArgsJesse Plamondon-Willard
Add command-line arguments to toggle developer mode # Conflicts: # src/SMAPI/Program.cs
2022-04-09simplify format for new CLI argumentsJesse Plamondon-Willard
2022-04-06enable nullable annotations by default (#837)Jesse Plamondon-Willard
This adds `#nullable disable` to all existing code (except where null is impossible like enum files), so it can be migrated incrementally.
2022-04-06remove some unused/redundant codeJesse Plamondon-Willard
2022-04-06use target-typed newJesse Plamondon-Willard
2022-04-02Added support for `--developer-mode true|false`Patrick Müssig
Minimal changes required to enable/disable developer mode via command line argument. This commit does not include any error handling for invalid values how ever they will be ignored and not crash the game.
2022-02-19add Constants.GamePath & deprecate Constants.ExecutionPathJesse Plamondon-Willard
2022-01-16rewrite fallback assembly resolutionJesse Plamondon-Willard
* SMAPI now also searches the root game folder for unresolved assemblies. This fixes an issue resolving the game DLL when the player's DLL version doesn't match the one used to compile SMAPI. * The DLL search folders are now scanned once and cached to avoid repeated iterations on startup.
2021-11-28fix error resolving native DLLs like libSkiaSharpJesse Plamondon-Willard
2021-11-28fix error reading console title on Linux with .NET 5Jesse Plamondon-Willard
The console title is now write-only on Linux.
2021-11-28update for game assembly name now consistent on all platformsJesse Plamondon-Willard
2021-11-28update versions for Stardew Valley 1.5.5 and remove 1.5.4-specific checksJesse Plamondon-Willard
2021-09-02drop support for unofficial 64-bit modeJesse Plamondon-Willard
2021-09-01add friendly errors when using SMAPI 3.12.x with Stardew Valley 1.5.5+Jesse Plamondon-Willard
2021-07-21fix new validation checksJesse Plamondon-Willard
2021-07-21add error if some SMAPI DLLs have mismatched versionsJesse Plamondon-Willard
2021-07-17add error if player manually installs wrong SMAPI bitnessJesse Plamondon-Willard
2021-04-22add SMAPI version and bitness to console title earlierJesse Plamondon-Willard
2021-02-21add detailed error message when Stardew Valley.exe can't be loadedJesse Plamondon-Willard
2020-08-23minor cleanupJesse Plamondon-Willard
2020-08-23 add EarlyConstants for constants needed before external DLLs are loadedJesse Plamondon-Willard
2020-08-22move assembly attributes to match conventionJesse Plamondon-Willard
2020-07-26use ordinal comparison/sorting instead of invariantJesse Plamondon-Willard
2020-05-27fix BadImageFormatException error handlingJesse Plamondon-Willard
Thanks to mouse for pointing it out!
2020-04-17use better short date translationsJesse Plamondon-Willard
2020-01-26refactor performance counter codeJesse Plamondon-Willard
This commit performs some general refactoring, including... - avoid manually duplicating the event list; - rework the 'is important' event flag; - remove the new packages (Cyotek.Collections can be replaced with built-in types, and System.ValueTuple won't work in the Mono version used on Linux/Mac); - improve performance; - minor cleanup.
2020-01-11Reworked the console implementation, added monitoring. Some internal ↵Drachenkaetzchen
refactoring.
2020-01-10Moved most PerformanceCounter logic out of SCore into the new ↵Drachenkaetzchen
PerformanceCounterManager, some namespace refactoring
2019-11-04add friendly error for BadImageFormatException on launchJesse Plamondon-Willard
2019-11-04remove obsolete validationJesse Plamondon-Willard
Players can no longer launch SMAPI from the installer folder, since the files are hidden in a data file.
2019-11-03add support for using environment variables instead of command-line ↵Jesse Plamondon-Willard
arguments (#665)
2019-09-14remove legacy AssemblyInfo and GlobalAssemblyInfo files, use consistent ↵Jesse Plamondon-Willard
assembly names
2019-09-14fix typos and inconsistent spellingJesse Plamondon-Willard
2019-09-14move environment utility into toolkit for reuseJesse Plamondon-Willard
2019-09-13fix errors during early startup not shown before exitJesse Plamondon-Willard
2018-12-27tweak comment header conventionJesse Plamondon-Willard
2018-10-27fix friendly error no longer shown when SMAPI isn't run from the game folderJesse Plamondon-Willard
2018-10-20recommend compatible SMAPI version in game version check errorJesse Plamondon-Willard
2018-08-23split core logic out of Program (#582)Jesse Plamondon-Willard
This is needed because Mono validates Program's instance fields before the static Main runs, so the custom assembly resolution isn't set up until the app has already crashed due to invalid property types.
2018-08-22fix deprecated Read/WriteJsonFiles method enforcing newer restrictions (#468)Jesse Plamondon-Willard
2018-08-22update for Stardew Valley 1.3.29 beta (#585)Jesse Plamondon-Willard
2018-08-19fix error handling when resolving assemblies (#582)Jesse Plamondon-Willard
2018-08-19move most SMAPI files into subfolder (#582)Jesse Plamondon-Willard
2018-08-19add data API (#468)Jesse Plamondon-Willard
2018-08-11add support for loading unpacked .json files through content API (#576)Jesse Plamondon-Willard
2018-08-11add --mods-path CLI argument to allow switching between mod folders (#579)Jesse Plamondon-Willard
2018-08-10revamp how mod skips & issues are displayed (#571)Jesse Plamondon-Willard
2018-08-09fix some log files not deleted on startupJesse Plamondon-Willard