1469 Commits
Author SHA1 Message Date
Jesse Plamondon-Willard 78cae722e5 add compatibility rewriters for Stardew Valley 1.6.15 2024-12-18 18:51:48 -05:00
Jesse Plamondon-Willard 14e9d34fbe tweak Content Patcher schema to allow bool/numeric dynamic token values 2024-12-18 18:51:48 -05:00
Jesse Plamondon-Willard 513ef3e975 prepare for release 2024-12-08 18:01:22 -05:00
Jesse Plamondon-Willard d2c5385627 fix support for overriding color schemes via user config files (#942) 2024-12-08 17:04:39 -05:00
Jesse Plamondon-Willard 6c02a22dd8 remove embedded codesign command
macOS players were reporting that macOS began flagging SMAPI 4.1.8 as malware again a few days after release. Based on testing with macOS users, a combination of recreating the build VM from scratch with the latest versions and removing the embedded codesign command seems to fix it.
2024-12-08 01:55:37 -05:00
Jesse Plamondon-Willard e8987dc5a5 prepare for release 2024-11-28 22:29:41 -05:00
Jesse Plamondon-Willard 72fb9248df sign SMAPI on install to avoid new macOS security restrictions 2024-11-27 19:47:50 -05:00
Jesse Plamondon-Willard 015c510598 fix log parser not highlighting update alerts for non-loaded mods 2024-11-21 21:42:57 -05:00
Jesse Plamondon-Willard b83fcc7e7e update NuGet packages
This mainly fixes a fatal crash when combining MonoMod/Harmony with Pintail-proxied structs to interfaces.
2024-11-21 01:27:53 -05:00
Jesse Plamondon-Willard 63f902b416 update mod compatibility list 2024-11-19 23:13:58 -05:00
Jesse Plamondon-Willard a0e2c0ec42 simplify working with compatibility list data through SMAPI toolkit 2024-11-19 21:06:55 -05:00
Jesse Plamondon-Willard cc8441b931 revamp mod compatibility list to use new GitHub repo
The wiki compatibility list was right under the max complexity the wiki can render on a single page; most edits to the page were timing out, and editing it was enough to slow down the entire wiki server. The new GitHub repo combines all the data into one place, uses relevant data type (e.g. numbers for mod IDs), adds a validated JSON schema for the data format, and adds a review step to prevent potential abuse of the unofficial update alert feature.

This rewrite also...
- fixes CurseForge links not shown (since the CurseForgeKey field on the wiki was obsolete);
- drops beta support (since it wasn't used for the more recent game updates);
- drops obsolete fields that no longer exist in the data (e.g. pull request URL).
2024-11-18 01:13:37 -05:00
Jesse Plamondon-Willard 7918e661b9 fix CurseForge links not shown in compatibility list & drop obsolete wiki fields 2024-11-18 01:13:36 -05:00
Jesse Plamondon-Willard 71f98d62b9 drop support for beta compatibility status
This wasn't used in any of the recent game or SMAPI versions.
2024-11-18 01:13:36 -05:00
Jesse Plamondon-Willard 6328574aac add PathUtilities.CreateSlug and improve IsSlug 2024-11-18 01:13:36 -05:00
Jesse Plamondon-Willard f3e97a0ecf prepare for release 2024-11-12 12:00:58 -05:00
Jesse Plamondon-Willard b96d07f23a fix crash if a mod's entry DLL is missing or invalid 2024-11-12 12:00:57 -05:00
Jesse Plamondon-Willard fc1b1cee18 update mod compatibility list 2024-11-12 12:00:57 -05:00
Jesse Plamondon-Willard 1870cc4837 add rewriters for Stardew Valley 1.6.14 2024-11-12 12:00:57 -05:00
Jesse Plamondon-Willard 876a610837 prepare for mod build package release 2024-11-09 11:49:27 -05:00
Jesse Plamondon-Willard 50303796f3 fix mod build package's ignore files/patterns options 2024-11-09 11:43:47 -05:00
Jesse Plamondon-Willard a915f6dda1 prepare for release 2024-11-07 23:17:17 -05:00
Jesse Plamondon-Willard 05420adc3b add option to disable content integrity checks 2024-11-07 23:17:16 -05:00
Jesse Plamondon-Willard 2f4300c572 revamp message shown after a game update & exit automatically
Players would often report the previous message as a crash or say they couldn't launch the game anymore. This should hopefully reduce confusion after a game update going forward.
2024-11-07 23:17:16 -05:00
Jesse Plamondon-Willard cb441abcc2 fix translation.ApplyGenderSwitchBlocks(false) not applied 2024-11-07 23:17:16 -05:00
Jesse Plamondon-Willard b4e2511249 prepare for release 2024-11-07 01:20:00 -05:00
Jesse Plamondon-Willard 9e4e3dc6db update mod compatibility list 2024-11-07 01:17:56 -05:00
Jesse Plamondon-Willard c3edb442ce fix translation.UsePlaceholder(false) also disabling custom default 2024-11-07 01:17:56 -05:00
Jesse Plamondon-Willard 2769248ad6 prepare for release 2024-11-05 14:34:11 -05:00
Jesse Plamondon-Willard 4395c9bbb4 fix asset propagation for Data/ChairTiles 2024-11-05 14:34:10 -05:00
Jesse Plamondon-Willard 4af917335b remove new private assembly references feature
This caused a wide array of mod errors and crashes due to common assemblies like 0Harmony.dll and Newtonsoft.Json.dll getting reloaded (even when not marked as a private assembly).

For repro steps and affected files, see this thread in #modded-tech-support on the Stardew Valley Discord:
> Content Patcher "Can't parse JSON file ... Unable to find a constructor" error after recent updates

We can revisit the feature in later versions.
2024-11-05 14:34:10 -05:00
Jesse Plamondon-Willard 79fb337c9e prepare for release 2024-11-04 22:50:59 -05:00
Jesse Plamondon-Willard 322489ad24 fix mod build package creating invalid zip files 2024-11-04 22:50:58 -05:00
Jesse Plamondon-Willard 6064cebaf6 fix rewriters for signatures containing nested types 2024-11-04 22:50:58 -05:00
Jesse Plamondon-Willard 9801f0bd94 prepare for release 2024-11-04 18:45:23 -05:00
Jesse Plamondon-Willard b8920f897d revert TMX tile size premultiplication change in SMAPI 4.1.0
The tilesheet changes were reverted in Stardew Valley 1.6.10.
2024-11-04 18:45:22 -05:00
Jesse Plamondon-Willard 22f64a1a26 prepare for release 2024-11-04 16:19:09 -05:00
Jesse Plamondon-Willard 9151379bf1 fix crash loading spouse rooms loaded from .tmx files 2024-11-04 15:50:35 -05:00
Jesse Plamondon-Willard f0e74eadb3 prepare for release 2024-11-03 22:28:28 -05:00
Jesse Plamondon-Willard 0bb9da51d1 update dependencies 2024-11-03 20:33:53 -05:00
Jesse Plamondon-Willard a945a9498e update schema for Content Patcher 2.4.0 2024-11-03 20:33:53 -05:00
Jesse Plamondon-Willard bc361207ce remove net field implicit conversion build warnings
The last implicit conversion operators were removed in 1.6.9.
2024-11-03 15:58:46 -05:00
Jesse Plamondon-Willard 149e8b9a31 fix .tmx map tile sizes being premultiplied
This is inconsistent with the vanilla .tbin maps, which don't premultiply tile size.
2024-11-02 18:04:59 -04:00
Jesse Plamondon-Willard aeabd832fd no longer block map edits which change the tilesheet order
That no longer causes crashes in Stardew Valley 1.6.9.
2024-10-28 18:42:57 -04:00
Jesse Plamondon-Willard c386c10c40 allow gender-switch blocks in translations 2024-10-27 20:59:45 -04:00
Jesse Plamondon-Willard cb6c1a8d89 allow tokens in translation placeholders 2024-10-27 20:59:45 -04:00
Jesse Plamondon-Willard f2cf0a3125 defer translation formatting until it's used
This avoids various edge cases when chaining method calls. For example:
- calling `Tokens(...)` again with different values would ignore any values provided for a token that was already replaced;
- calling `Default("boop").UsePlaceholder(false).UsePlaceholder(true)` would reset to the initial default;
- etc.
2024-10-27 20:59:45 -04:00
Jesse Plamondon-Willard 66d9e82fff prepare for mod build package release 2024-10-06 23:45:26 -04:00
Jesse Plamondon-Willard 1ce878a30c remove HTML in mod package README
This fixes the README format on nuget.org.
2024-10-06 23:45:03 -04:00
Jesse Plamondon-Willard 76666d9553 add param docs to event interfaces
This lets mods fully document their event handlers using the 'inheritdoc' tag.
2024-10-05 11:15:31 -04:00