Commit Graph

648 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 0441d0843c add new console command API with backward compatibility (#199) 2017-02-13 00:40:33 -05:00
Jesse Plamondon-Willard d1080a8b2b move core JSON logic out of mod helper (#199)
This lets SMAPI parse manifest.json files without a mod helper, so we can pass the mod name into the helper.
2017-02-13 00:13:29 -05:00
Jesse Plamondon-Willard 8b0db49f12 update release notes (#237) 2017-02-12 19:41:15 -05:00
Jesse Plamondon-Willard e5324e170c handle permissions & delays in installer's file/folder deletion code (#237) 2017-02-12 19:39:38 -05:00
Jesse Plamondon-Willard 96c21b1acc avoid special case in error printing (#237) 2017-02-12 19:11:00 -05:00
Jesse Plamondon-Willard 95786e9e44 encapsulate file & folder deletion (#237) 2017-02-12 18:43:21 -05:00
Jesse Plamondon-Willard 59ff0a3266 mark another incompatible mod (#231) 2017-02-12 18:26:51 -05:00
Jesse Plamondon-Willard e712336861 mark more incompatible mods (#231) 2017-02-11 14:38:12 -05:00
Jesse Plamondon-Willard 36c831f4c9 fix world-ready events being raised before the game finishes loading the save in SDV 1.2 (#231) 2017-02-11 14:35:25 -05:00
Jesse Plamondon-Willard e393a2aad9 add TimeEvents.AfterDayStarted event (#236) 2017-02-11 12:38:32 -05:00
Jesse Plamondon-Willard 1f332c5f4d remove esoteric & undocumented debug message queue & DrawDebug event 2017-02-11 12:11:45 -05:00
Jesse Plamondon-Willard 693f16f99e don't write direct console output to log file (#233)
Per discussion with mod developers.
2017-02-11 02:08:21 -05:00
Jesse Plamondon-Willard 824ca7174a delve into mod folders that only contain another folder (#208)
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-11 02:04:01 -05:00
Jesse Plamondon-Willard 46b7d7a400 redirect the game's debug messages into trace logs (#233)
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-11 01:15:56 -05:00
Jesse Plamondon-Willard 3e91af6b06 mark several mods incompatible with Stardew Valley 1.2+ (#231) 2017-02-10 22:52:16 -05:00
Jesse Plamondon-Willard c357013156 tweak debug build config, update release notes 2017-02-10 19:22:22 -05:00
James Stine 8f678d13c1 Mac and Linux debug run works! 🙃 2017-02-10 19:17:05 -05:00
Jesse Plamondon-Willard a6977878d5 remove leftover references to Mono.Cecil.Rocks (#231) 2017-02-10 02:55:27 -05:00
Jesse Plamondon-Willard 56d28ef0d4 make some constants internal (#231) 2017-02-09 23:27:08 -05:00
Jesse Plamondon-Willard 25a3d9773c add field rewriter for the `Game1.gameMode` change in SDV 1.2 (#231) 2017-02-09 23:24:54 -05:00
Jesse Plamondon-Willard 2b336faa1b add field rewriter for the `Game1.player` change in SDV 1.2 (#231) 2017-02-09 23:03:36 -05:00
Jesse Plamondon-Willard 388ef0a012 reorganise rewriters (#231) 2017-02-09 22:56:42 -05:00
Jesse Plamondon-Willard a13003de8b remove Mono.Cecil.Rocks (#231)
It's not needed since we're not injecting new instructions, and causes the field rewriters to fail unexpectedly.
2017-02-09 22:38:10 -05:00
Jesse Plamondon-Willard 3668b0902d fix field rewriter not added to config (#231) 2017-02-09 20:34:34 -05:00
Jesse Plamondon-Willard 5f9c03a8a9 add field rewriter for the `Game1.activeClickableMenu` change in SDV 1.2 (#231) 2017-02-09 14:28:44 -05:00
Jesse Plamondon-Willard 74a56a7b3b further generalise CIL rewriters for reuse (#231) 2017-02-09 14:02:43 -05:00
Jesse Plamondon-Willard 40a9014742 generalise CIL rewriters for reuse (#231) 2017-02-09 13:45:34 -05:00
Jesse Plamondon-Willard 036595cc71 remove old log file to avoid confusion (#231) 2017-02-08 00:53:53 -05:00
Jesse Plamondon-Willard e440d9042e bump minimum game version to 1.2 (#231) 2017-02-08 00:26:32 -05:00
Jesse Plamondon-Willard 6092f9ea00 always use \r\n line endings in log file for crossplatform compatibility (#230) 2017-02-08 00:22:27 -05:00
Jesse Plamondon-Willard d52b3572f3 simplify log filename 2017-02-08 00:17:00 -05:00
Jesse Plamondon-Willard 366769e8a2 add SaveEvents.AfterReturnToTitle event (#231) 2017-02-08 00:11:46 -05:00
Jesse Plamondon-Willard 2b7abc3af5 clean up more obsolete code (#231) 2017-02-07 23:34:52 -05:00
Jesse Plamondon-Willard 84bc32c3f1 reimplement graphics events (#231) 2017-02-07 23:04:16 -05:00
Jesse Plamondon-Willard 8b0e54a777 ignore code analysis warnings in game code (#231) 2017-02-07 22:10:00 -05:00
Jesse Plamondon-Willard 98cf6a2766 update SGame.Draw with base code (#231) 2017-02-07 21:54:29 -05:00
Jesse Plamondon-Willard 8efa5f32c1 add reflectionHelper.GetPrivateProperty<T> (#231) 2017-02-07 21:07:57 -05:00
Jesse Plamondon-Willard cec7469786 disambiguate references to Farmer (#231) 2017-02-07 20:51:22 -05:00
Jesse Plamondon-Willard 95a93a05b3 remove oldest deprecated code (#231)
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-07 20:50:41 -05:00
Jesse Plamondon-Willard 99d0450b2c fix install error when the mods folder doesn't exist (#229) 2017-02-04 16:50:09 -05:00
Jesse Plamondon-Willard 9c9833c908 Merge branch 'develop' into stable 2017-02-04 15:30:46 -05:00
Jesse Plamondon-Willard 3919ab7a4a update for 1.8 release 2017-02-04 15:30:26 -05:00
Jesse Plamondon-Willard 57a99803f0 update deprecation level for Extensions class 2017-02-04 15:27:13 -05:00
Jesse Plamondon-Willard 53d5d6f5bb tweak release notes 2017-02-04 01:22:31 -05:00
Jesse Plamondon-Willard 0b8396cc53 rm cruft 2017-02-03 22:26:48 -05:00
Jesse Plamondon-Willard 8d3e6048b8 simplify installer text 2017-02-03 22:05:06 -05:00
Jesse Plamondon-Willard 4504ddcd98 remove mod .cache folders during (un)install process (#229) 2017-02-03 22:04:43 -05:00
Jesse Plamondon-Willard 85ff940e68 move install package's Mono/Windows folders out of root
This will hopefully reduce confusion among players who go into "Windows" instead of running install.exe.
2017-02-03 22:02:54 -05:00
Jesse Plamondon-Willard 9689bb9484 expand & prettify installer readme 2017-02-03 21:21:35 -05:00
Jesse Plamondon-Willard 3eb8110c45 move build task which prepares install package into a .targets file 2017-02-03 20:18:00 -05:00