Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2022-03-26 | add NameWithoutLocale fields (#766) | Jesse Plamondon-Willard | |
2022-03-25 | extend load conflict resolution into load priority (#766) | Jesse Plamondon-Willard | |
2022-03-25 | add load conflict resolution option (#766) | Jesse Plamondon-Willard | |
2022-03-25 | add content pack labels (#766) | Jesse Plamondon-Willard | |
2022-03-25 | add AssetReady content event (#766) | Jesse Plamondon-Willard | |
2022-03-24 | add AssetInvalidated content event (#766) | Jesse Plamondon-Willard | |
2022-03-23 | add initial AssetRequested content event (#766) | Jesse Plamondon-Willard | |
2022-03-22 | encapsulate & cache asset operation groups (#766) | Jesse Plamondon-Willard | |
This is needed for the upcoming Stardew Valley 1.6 to avoid duplicate checks between DoesAssetExist and Load calls, and to make sure the answer doesn't change between them. | |||
2022-03-05 | add DoesAssetExist to support the upcoming Stardew Valley 1.6 (#766) | Jesse Plamondon-Willard | |
2022-03-05 | migrate more internal code to IAssetName (#766) | Jesse Plamondon-Willard | |
2022-03-05 | fix error loading locale code cache when a mod adds custom languages (#766) | Jesse Plamondon-Willard | |
2022-02-19 | add Constants.GamePath & deprecate Constants.ExecutionPath | Jesse Plamondon-Willard | |
2022-02-18 | add AssetName to encapsulate asset name handling (#766) | Jesse Plamondon-Willard | |
2022-02-18 | Fix support for custom locale codes in asset names (#766) | Jesse Plamondon-Willard | |
2022-02-18 | tweak types in content coordinator | Jesse Plamondon-Willard | |
2021-12-20 | auto-fix maps broken due to missing vanilla tilesheet | Jesse Plamondon-Willard | |
2021-11-28 | update for custom languages | Jesse Plamondon-Willard | |
2021-04-04 | improve error-handling during asset propagation | Jesse Plamondon-Willard | |
2021-03-19 | update NPC pathfinding cache when map warps change | Jesse Plamondon-Willard | |
2021-03-16 | avoid asset propagation into the world if it's unloaded | Jesse Plamondon-Willard | |
Propagating changes into world locations has no effect at this point (since they'll just be recreated when a save is loaded), and can noticeably impact performance. | |||
2021-03-14 | fix some assets not reapplied correctly when playing in non-English and ↵ | Jesse Plamondon-Willard | |
returning to title | |||
2021-02-21 | reduce performance impact of new cache fix | Jesse Plamondon-Willard | |
2021-02-06 | fix edge case in non-English asset cache after returning to title screen | Jesse Plamondon-Willard | |
2021-01-31 | rework aggressive memory optimization to minimize mod impact (#757) | Jesse Plamondon-Willard | |
2021-01-31 | add experimental 'aggressive memory optimization' flag (#757) | Jesse Plamondon-Willard | |
2021-01-24 | minor cleanup | Jesse Plamondon-Willard | |
2021-01-06 | rework vanilla tilesheet checking to avoid keeping a copy of the vanilla ↵ | Jesse Plamondon-Willard | |
maps in memory | |||
2021-01-02 | detect and block map replacements that would crash the game due to tilesheet ↵ | Jesse Plamondon-Willard | |
changes | |||
2020-12-26 | fix SMAPI using a cached translation when the game asks for an untranslated ↵ | Jesse Plamondon-Willard | |
asset This mainly affects community center bundles in Stardew Valley 1.5, | |||
2020-09-05 | minor cleanup | Jesse Plamondon-Willard | |
2020-08-23 | minor cleanup | Jesse Plamondon-Willard | |
2020-07-26 | use ordinal comparison/sorting instead of invariant | Jesse Plamondon-Willard | |
2020-04-25 | fix asset propagation for maps loaded through a temporary content manager | Jesse Plamondon-Willard | |
2020-02-19 | rework tilesheet loading to improve errors, allow future validation, and ↵ | Jesse Plamondon-Willard | |
drop support for legacy content files | |||
2020-01-30 | rework asset editor/loader tracking so they're affected by load order | Jesse Plamondon-Willard | |
2020-01-25 | add internal method for Content Patcher | Jesse Plamondon-Willard | |
2020-01-12 | fix recursive lock error | Jesse Plamondon-Willard | |
2020-01-11 | fix errors due to async threads creating content managers | Jesse Plamondon-Willard | |
2019-12-14 | refactor cache invalidation & propagation to allow for future optimizations | Jesse Plamondon-Willard | |
2019-12-12 | batch asset editor/loader changes | Jesse Plamondon-Willard | |
2019-09-14 | fix typos and inconsistent spelling | Jesse Plamondon-Willard | |
2019-09-14 | fix error when loading a mod asset through a translated content manager (#647) | Jesse Plamondon-Willard | |
2019-09-14 | disable mod-level asset caching (#644) | Jesse Plamondon-Willard | |
This fixes an issue where some asset references could be shared between content managers, causing changes to propagate unintentionally. | |||
2019-09-14 | ignore root content managers when handling managed asset keys (#644) | Jesse Plamondon-Willard | |
2019-09-14 | move most mod asset loading logic into content managers (#644) | Jesse Plamondon-Willard | |
This fixes mods needing to load Map assets manually before the game could load them via internal key. | |||
2019-09-14 | batch reload assets in some cases | Jesse Plamondon-Willard | |
2019-09-14 | fix translatable assets not updated when switching language (#586) | Jesse Plamondon-Willard | |
2019-09-14 | load mods much earlier so they can intercept all content assets | Jesse Plamondon-Willard | |