Jesse Plamondon-Willard
c91fbc82f8
deprecate support for updating ancient versions of SMAPI
2022-06-20 18:02:41 -04:00
Jesse Plamondon-Willard
dab1ef6acc
add flag to disable deprecated code
2022-06-20 18:01:48 -04:00
Jesse Plamondon-Willard
e0ef8a20a5
fix mod count in log parser metadata
2022-06-19 17:21:53 -04:00
Jesse Plamondon-Willard
8e9237bdd7
Merge branch 'develop' into stable
2022-06-16 22:14:44 -04:00
Jesse Plamondon-Willard
011aa4c9d0
prepare for release
2022-06-16 22:14:09 -04:00
Jesse Plamondon-Willard
525351e905
fix case-sensitive mod ID check
2022-06-16 19:21:38 -04:00
Jesse Plamondon-Willard
e8bcbf7e5a
update compatibility list
2022-06-12 20:29:56 -04:00
Jesse Plamondon-Willard
15f829e48c
patch PyTK temporarily to fix scale-up compatibility in SMAPI 3.15
2022-06-12 12:26:51 -04:00
Jesse Plamondon-Willard
0189b282f4
add image compatibility mode for PyTK
2022-06-10 22:14:28 -04:00
Jesse Plamondon-Willard
11a497c1f6
update Pintail
2022-06-10 00:05:23 -04:00
Jesse Plamondon-Willard
0bb9fc4293
update Newtonsoft.Json
2022-06-10 00:05:22 -04:00
Jesse Plamondon-Willard
b6d15ec57f
update unit test & web dependencies
2022-06-10 00:04:27 -04:00
Jesse Plamondon-Willard
62328e4384
tweak new code, update release notes
2022-06-10 00:04:26 -04:00
Ameisen
03897776e0
Cleaning up and optimizing `ContentCache.cs`
2022-06-10 00:04:26 -04:00
Jesse Plamondon-Willard
43e9e2cfe2
fix accidental case-sensitivity change
2022-06-10 00:04:26 -04:00
Jesse Plamondon-Willard
565677c18c
use IRawTextureData instead of intermediate tuple
2022-06-10 00:04:26 -04:00
Jesse Plamondon-Willard
ba7f5701de
simplify asset type validaiton
2022-06-10 00:04:25 -04:00
Jesse Plamondon-Willard
87c7095e8d
apply style conventions
2022-06-10 00:04:25 -04:00
Ameisen
5585f5e876
Refactored ModContentManager.cs so it actually fit on my 1440p screens.
...
Changed LocalTilesheetExtensions into an array.
Marked 'CreateTemporary' as 'Obsolete' which is conventional for methods that only throw.
Moved the type validation logic into its own method as it's largely shared for each loader.
Changed allocators to use `GC.AllocateUninitializedArray`, as the data does not need to be initialized.
Changed `LoadRawImageData` to use a `ValueTuple` return instead of returning with multiple `out`s, which is bad practice.
Preferred rethrowing handlers rather than exception filters (which generate bizarre and _very difficult to patch_ code).
Marked GetLoadError as debugger step through and hidden, as it's just an exception generator.
Marked PremultiplyTransparency, GetContentKeyForTilesheetImageSource, and LoadRawImageData as static as they have no dependency on instance data (nor should they).
Fixed `.xnb` extension search to properly use OrdinalIgnoreCase.
2022-06-10 00:04:25 -04:00
Jesse Plamondon-Willard
9d21e0bbec
simplify pixel conversion loop
2022-06-10 00:04:25 -04:00
Jesse Plamondon-Willard
4f6965eef3
encapsulate loading the raw image data for mod patching
2022-06-10 00:04:24 -04:00
Jesse Plamondon-Willard
2134cef74f
link to SMAPI 3.15 release highlights
2022-06-10 00:04:24 -04:00
Jesse Plamondon-Willard
5ffa260e02
add validation error when loading XNB file as IRawTextureData
2022-06-10 00:04:24 -04:00
Jesse Plamondon-Willard
b6a8dcdd46
update to Harmony 2.2.1
2022-06-10 00:04:24 -04:00
Jesse Plamondon-Willard
db578c389e
drop support for pre-Pintail proxying
2022-06-10 00:04:23 -04:00
Jesse Plamondon-Willard
769475166a
enable raw image loading by default, rename setting
2022-06-10 00:04:23 -04:00
Jesse Plamondon-Willard
4708385f69
add IRawTextureData asset type
2022-06-10 00:04:23 -04:00
Jesse Plamondon-Willard
a546fd113f
add experimental image load rewrite
2022-06-10 00:04:22 -04:00
Jesse Plamondon-Willard
cb6fcb0450
rework VerboseLogging option to allow enabling for specific mods
2022-06-10 00:04:22 -04:00
Jesse Plamondon-Willard
8713914a1a
avoid NPC pathfinding rebuild if reachable locations didn't change
2022-06-08 23:33:09 -04:00
Jesse Plamondon-Willard
fdb74df8a4
simplify repeated hash set creation
2022-06-06 21:28:57 -04:00
Jesse Plamondon-Willard
e10147e7bd
Merge branch 'develop' into stable
2022-06-01 19:59:00 -04:00
Jesse Plamondon-Willard
1cded44f7a
prepare for release
2022-06-01 19:58:35 -04:00
Jesse Plamondon-Willard
bf960ce283
add backwards compatibility for mods using now-unused dependencies
2022-05-31 21:23:44 -04:00
Jesse Plamondon-Willard
9992915f56
replace MemoryCache with custom cache
...
This was causing significant frame stutters for some players since the migration to .NET 5 in Stardew Valley 1.5.5.
2022-05-31 18:32:23 -04:00
Jesse Plamondon-Willard
9ef3f7edb1
remove `System.Reflection.Metadata.MetadataUpdater.IsSupported: false` in runtime config
...
This doesn't seem to be needed, and was probably added as part of the early experimenting with self-contained .NET.
2022-05-31 18:25:12 -04:00
Jesse Plamondon-Willard
0209e70695
Merge branch 'develop' into stable
2022-05-27 18:09:04 -04:00
Jesse Plamondon-Willard
e4cd7c8eb0
prepare for release
2022-05-27 18:08:30 -04:00
Jesse Plamondon-Willard
e8c6221d96
fix typo
2022-05-27 18:04:39 -04:00
Jesse Plamondon-Willard
064346594d
fix split-screen error when a mod provides a localized asset in one screen but not another
2022-05-24 18:12:06 -04:00
Jesse Plamondon-Willard
5083b65c87
fix readme headings for mod build package
2022-05-23 14:33:01 -04:00
Jesse Plamondon-Willard
5675f9fceb
add watcher names to simplify troubleshooting
2022-05-23 12:57:33 -04:00
Jesse Plamondon-Willard
87ac7fc403
fix nullable annotations in NetListWatcher
2022-05-23 12:57:33 -04:00
Jesse Plamondon-Willard
9933acad35
use <inheritdoc/> in watchers
2022-05-23 12:57:33 -04:00
Jesse Plamondon-Willard
62665649bd
shortcut common cases in hot code paths
2022-05-23 12:19:06 -04:00
Jesse Plamondon-Willard
2ab2182645
Merge branch 'develop' into stable
2022-05-22 14:38:57 -04:00
Jesse Plamondon-Willard
336cc1cc0f
prepare for release
2022-05-22 14:38:33 -04:00
Jesse Plamondon-Willard
7e7ac459a5
fix error when mod localizes an unlocalizable asset and then stops doing so
2022-05-21 18:06:23 -04:00
Jesse Plamondon-Willard
e6ef71bae1
add tick cache to asset propagation
2022-05-20 17:39:05 -04:00
Jesse Plamondon-Willard
7332879351
defer asset reload during propagation when possible
2022-05-19 21:04:32 -04:00