Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-14 | track mod metadata reference in APIs for upcoming deprecation changes | Jesse Plamondon-Willard | |
2022-04-14 | fix nullable annotation (#837) | Jesse Plamondon-Willard | |
2022-04-13 | fix false-positive deprecation notice (#837) | Jesse Plamondon-Willard | |
2022-04-13 | remove reflection no longer needed after migration to MonoGame | Jesse Plamondon-Willard | |
2022-04-13 | fix typos in recent changes (#837) | Jesse Plamondon-Willard | |
2022-04-13 | fix helpers not disposed if the mod is finalized | Jesse Plamondon-Willard | |
2022-04-13 | fix spelling warnings | Jesse Plamondon-Willard | |
2022-04-13 | enable nullable annotations in the rest of SMAPI core (#837) | Jesse Plamondon-Willard | |
2022-04-13 | remove unused code (#837) | Jesse Plamondon-Willard | |
2022-04-13 | enable nullable annotations in SMAPI where no logic changes are needed (#837) | Jesse Plamondon-Willard | |
2022-04-13 | enable nullable annotations in SMAPI where no changes are needed (#837) | Jesse Plamondon-Willard | |
2022-04-12 | enable nullable annotations in the web project & related code (#837) | Jesse Plamondon-Willard | |
2022-04-11 | add IAssetDataForMap.ExtendMap | Jesse Plamondon-Willard | |
2022-04-09 | add environment variable form of new CLI args, update docs | Jesse Plamondon-Willard | |
2022-04-09 | Merge pull request #836 from Tondorian/feature/CommandLineArgs | Jesse Plamondon-Willard | |
Add command-line arguments to toggle developer mode # Conflicts: # src/SMAPI/Program.cs | |||
2022-04-09 | fix config.user.json overriding new CLI arguments | Jesse Plamondon-Willard | |
2022-04-09 | simplify format for new CLI arguments | Jesse Plamondon-Willard | |
2022-04-09 | fix deprecation warning when a mod uses LoadFromModFile | Jesse Plamondon-Willard | |
2022-04-07 | enable asset caching for GameContentHelper | Jesse Plamondon-Willard | |
2022-04-07 | enable nullable annotations for most of the SMAPI toolkit (#837) | Jesse Plamondon-Willard | |
2022-04-07 | enable nullable annotations for manifests (#837) | Jesse Plamondon-Willard | |
2022-04-07 | enable nullable annotations for semantic versions (#837) | Jesse Plamondon-Willard | |
2022-04-06 | fix all warnings to simplify migration to nullable annotations (#837) | Jesse Plamondon-Willard | |
2022-04-06 | enable 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-06 | drop update checks for Stardew64Installer | Jesse Plamondon-Willard | |
2022-04-06 | remove some unused/redundant code | Jesse Plamondon-Willard | |
2022-04-06 | simplify with newer pattern features | Jesse Plamondon-Willard | |
2022-04-06 | simplify 'is not' patterns | Jesse Plamondon-Willard | |
2022-04-06 | use target-typed new | Jesse Plamondon-Willard | |
2022-04-06 | fix asset name truncation when loading XNB mod file without file extension | Jesse Plamondon-Willard | |
2022-04-03 | split mod content load method, make error-handling more consistent | Jesse Plamondon-Willard | |
2022-04-03 | fix incorrect deprecation warnings for helper.Content | Jesse Plamondon-Willard | |
2022-04-02 | add temporary hack to fix compatibility between old & new APIs for some mods | Jesse Plamondon-Willard | |
2022-04-02 | switch to 'processing tick' for tick caching | Jesse Plamondon-Willard | |
This is incremented on each low-level tick (whether it's a game update, synchronized async operation, etc). That mainly avoids the cache persisting across the entire save loading process while it's being synchronized. | |||
2022-04-02 | fix errors due to null asset names in asset propagation | Jesse Plamondon-Willard | |
2022-04-02 | fix tick cache using game ticks instead of SMAPI ticks | Jesse Plamondon-Willard | |
The game ticks aren't incremented consistently in some cases (e.g. while loading a save), which leads to the cache values being kept too long. | |||
2022-04-01 | make mod file paths case-insensitive in all SMAPI APIs | Jesse Plamondon-Willard | |
2022-04-01 | fix local file path asset name parsing locale codes in rare cases (#766) | Jesse Plamondon-Willard | |
Mod file paths can't be localized through the content pipeline. Normally the locale would be ignored anyway due to the file extension, but it'd be incorrectly parsed if the file name ended with a locale and no file extension (like "assets/example.fr-FR"). | |||
2022-04-02 | Added 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-04-01 | keep old XNB file extension behavior for backwards compatibility (#766) | Jesse Plamondon-Willard | |
2022-03-27 | split helper.Content API into game/mod content APIs | Jesse Plamondon-Willard | |
2022-03-27 | add asset type to AssetRequested event (#766) | Jesse Plamondon-Willard | |
2022-03-26 | add LocaleChanged content event (#766) | Jesse Plamondon-Willard | |
2022-03-26 | expand obsolete attributes (#766) | Jesse Plamondon-Willard | |
2022-03-26 | give Content Patcher internals access | Jesse Plamondon-Willard | |
This makes some of its low-level logic safer by avoiding unvalidated reflection. | |||
2022-03-26 | add IContentHelper.ParseAssetName (#766) | Jesse Plamondon-Willard | |
2022-03-26 | update asset propagation for new content API (#766) | Jesse Plamondon-Willard | |
2022-03-26 | add deprecation notices for SMAPI 4.0.0 (#766) | Jesse Plamondon-Willard | |
2022-03-26 | rewrite content loading to allow handling locale variants (#766, #786, #812) | Jesse Plamondon-Willard | |
The game's content pipeline automatically loads localized variants if present. For example, it will try to load "Maps/cave.fr-FR", then "Maps/cave_international", then "Maps/cave". The old content API obfuscates this logic and treats them as interchangeable, which causes edge cases like bundle corruption (#812). This commit rewrites the loading logic to match the game logic when using the new content events, while maintaining the legacy behavior for the old IAssetLoader/IAssetEditor interfaces that'll be removed in SMAPI 4.0.0. | |||
2022-03-26 | add asset edit priority (#766) | Jesse Plamondon-Willard | |