summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ContentManagers
AgeCommit message (Collapse)Author
2022-03-25add AssetReady content event (#766)Jesse Plamondon-Willard
2022-03-22encapsulate & 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-20encapsulate editor/loader operations (#766)Jesse Plamondon-Willard
These will be used by the new content API, and allow handling the old one the same way.
2022-03-05handle vanilla assets in DoesAssetExist (#766)Jesse Plamondon-Willard
2022-03-05add DoesAssetExist to support the upcoming Stardew Valley 1.6 (#766)Jesse Plamondon-Willard
2022-03-05migrate more internal code to IAssetName (#766)Jesse Plamondon-Willard
2022-03-05fix regression with mod XNB files in the content pipeline (#766)Jesse Plamondon-Willard
2022-02-22avoid SetData when premultiplying texture with no semi-transparencyJesse Plamondon-Willard
2022-02-19add Constants.GamePath & deprecate Constants.ExecutionPathJesse Plamondon-Willard
2022-02-18add AssetName to encapsulate asset name handling (#766)Jesse Plamondon-Willard
2021-12-20auto-fix maps broken due to missing vanilla tilesheetJesse Plamondon-Willard
2021-11-28add support for loading BmFont files for custom languagesJesse Plamondon-Willard
2021-11-28update for custom languagesJesse Plamondon-Willard
2021-11-28remove libgdiplus workaround on macOSJesse Plamondon-Willard
This is no longer needed after the .NET 5 migration.
2021-09-18add simpler error when an asset isn't foundJesse Plamondon-Willard
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-03-14fix some assets not reapplied correctly when playing in non-English and ↵Jesse Plamondon-Willard
returning to title
2021-02-21use inheritdoc, minor cleanupJesse Plamondon-Willard
2021-02-21reduce performance impact of new cache fixJesse Plamondon-Willard
2021-01-31rework aggressive memory optimization to minimize mod impact (#757)Jesse 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
2021-01-20correct linksJesse Plamondon-Willard
2021-01-06simplify tilesheet order warningJesse Plamondon-Willard
2021-01-06rework vanilla tilesheet checking to avoid keeping a copy of the vanilla ↵Jesse Plamondon-Willard
maps in memory
2021-01-02detect and block map replacements that would crash the game due to tilesheet ↵Jesse Plamondon-Willard
changes
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 localized asset changesJesse Plamondon-Willard
2020-12-20update for map tilesheet changesJesse Plamondon-Willard
2020-08-29format codeJesse Plamondon-Willard
2020-08-23minor cleanupJesse 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-19call IAssetEditor with actual type if applicableJesse 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
2020-01-30rework asset editor/loader tracking so they're affected by load orderJesse Plamondon-Willard
2019-12-31fix XNA keeping loaded assets alive forever (#685)Jesse Plamondon-Willard
2019-12-14refactor cache invalidation & propagation to allow for future optimizationsJesse Plamondon-Willard
2019-12-14fix private assets from content packs not having tracking infoJesse Plamondon-Willard
2019-12-14don't keep a reference to uncached assetsJesse Plamondon-Willard
2019-12-12fix assets not being disposed when a content manager is disposedJesse Plamondon-Willard
2019-11-18optimise map tilesheet fixing slightlyJesse Plamondon-Willard