summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ContentManagers/ModContentManager.cs
AgeCommit message (Collapse)Author
2021-11-28remove libgdiplus workaround on macOSJesse Plamondon-Willard
This is no longer needed after the .NET 5 migration.
2021-07-30migrate to the new Harmony patch pattern used in my modsJesse Plamondon-Willard
That improves validation and error-handling.
2021-07-20fix error loading .xnb files from the local mod folder since SMAPI 3.0Jesse Plamondon-Willard
2021-05-02add verbose logs for map tilesheet changesJesse Plamondon-Willard
2021-05-02add support for dot-ignoring local map tilesheet files (#732)Jesse Plamondon-Willard
2021-05-01match tilesheets without extension to .png files automatically if possibleJesse Plamondon-Willard
2021-02-21use inheritdoc, minor cleanupJesse Plamondon-Willard
2021-01-31add experimental 'aggressive memory optimization' flag (#757)Jesse Plamondon-Willard
2021-01-20fix SDV 1.5 compatibility with content packs that still load XNB mapsJesse Plamondon-Willard
2020-12-26fix 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-12-20update for map tilesheet changesJesse Plamondon-Willard
2020-08-29format codeJesse Plamondon-Willard
2020-07-26use ordinal comparison/sorting instead of invariantJesse Plamondon-Willard
2020-06-07improve premultiplication performanceJesse Plamondon-Willard
2020-03-14fix semi-transparency issues on Linux/MacJesse Plamondon-Willard
Apparently Mono no longer premultiplies loaded PNGs by default.
2020-02-22fix errors loading spouse room content packs in SMAPI 3.3Jesse Plamondon-Willard
The new logic for loading map tilesheets incorrectly changed vanilla tilesheets like "townInterior" to "Maps/townInterior". While the game itself handled that, mods like Content Patcher which compared tilesheet paths would incorrectly decide that "townInterior" and "Maps/townInterior" were different files, and add a new tilesheet for it; that in turn would cause errors when patching spouse rooms, since it doesn't copy tilesheets.
2020-02-20don't premultiply fully opaque pixelsJesse Plamondon-Willard
2020-02-19rework tilesheet loading to improve errors, allow future validation, and ↵Jesse Plamondon-Willard
drop support for legacy content files
2020-02-01add support for *.tmx map filesJesse Plamondon-Willard
2019-12-14fix private assets from content packs not having tracking infoJesse Plamondon-Willard
2019-11-18optimise map tilesheet fixing slightlyJesse Plamondon-Willard
2019-09-14fix typos and inconsistent spellingJesse Plamondon-Willard
2019-09-14normalise map tilesheets before custom-tilesheet changes to avoid errorsJesse Plamondon-Willard
2019-09-14apply tilesheet fixes to XNB map files tooJesse Plamondon-Willard
2019-09-14normalise custom map's tilesheet paths for the OSJesse Plamondon-Willard
2019-09-14fix error when loading a mod asset through a translated content manager (#647)Jesse Plamondon-Willard
2019-09-14disable 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-14ignore root content managers when handling managed asset keys (#644)Jesse Plamondon-Willard
2019-09-14no longer forward managed asset keys loaded through a mod content manager (#644)Jesse Plamondon-Willard
That isn't needed for any documented functionality, and allowed mods to load (and in some cases edit) a different mod's local assets.
2019-09-14move 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-14fix cache miss when not playing in English (#634)Jesse Plamondon-Willard
2019-09-13fix 'unknown file extension' error not listing .json as a valid extensionJesse Plamondon-Willard
2018-12-27tweak comment header conventionJesse Plamondon-Willard
2018-09-03fix transparency issues on Linux/Mac due to MonoGame bug (#279)Jesse Plamondon-Willard
2018-09-03rewrite PNG premultiplication so mods can load PNGs during a draw cycleJesse Plamondon-Willard
2018-08-11add support for loading unpacked .json files through content API (#576)Jesse Plamondon-Willard
2018-05-22refactor content API to fix load errors with decentralised cache (#524)Jesse Plamondon-Willard