Commit Graph

3917 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard ff9a955c8b
Merge pull request #879 from atravita-mods/FixIndexingAgain
Fix image patching index math
2022-10-16 15:12:17 -04:00
Jesse Plamondon-Willard e31c96d5b8
add missing test adapter package 2022-10-16 15:08:39 -04:00
atravita-mods 72ee547e1e And fixing the indexing math again. 2022-10-15 11:03:39 -04:00
Jesse Plamondon-Willard ce00f8ff87
Merge branch 'develop' into stable 2022-10-10 20:03:16 -04:00
Jesse Plamondon-Willard 5739745b76
prepare for release 2022-10-10 20:03:01 -04:00
Jesse Plamondon-Willard 474c76183b
fix error when Steam .vdf file doesn't exist 2022-10-10 13:36:11 -04:00
Jesse Plamondon-Willard 93a748996c
Merge branch 'develop' into stable 2022-10-09 20:11:34 -04:00
Jesse Plamondon-Willard ee77efcc97
prepare for release 2022-10-09 19:42:24 -04:00
Jesse Plamondon-Willard 4d2ad379b4
fix package error 2022-10-09 19:29:18 -04:00
Jesse Plamondon-Willard 27856ebea2
drop UseRawImageLoading option
Raw image loading is now always enabled, except in PyTK compatibility mode.
2022-10-09 18:03:05 -04:00
Jesse Plamondon-Willard b78b269cf5
split PyTK raw-image-load check into a separate method so it can be patched by mods like SpriteMaster 2022-10-09 17:56:33 -04:00
Jesse Plamondon-Willard 037d7e357b
set texture name earlier to support mods like SpriteMaster 2022-10-09 17:39:11 -04:00
Jesse Plamondon-Willard 9a15da5a17
add 'strict mode' release with deprecated APIs stripped out 2022-10-09 16:59:05 -04:00
Jesse Plamondon-Willard 42ff20cd92
suppress Harmony debug mode by default 2022-10-09 15:01:25 -04:00
Jesse Plamondon-Willard d143ab1077
update to Harmony 2.2.2 2022-10-09 14:45:50 -04:00
Jesse Plamondon-Willard d0704ef6f0
fix nullability warnings 2022-10-09 14:34:31 -04:00
Jesse Plamondon-Willard 8dc12fd01c
optimize string splits 2022-10-09 14:30:40 -04:00
Jesse Plamondon-Willard 3d10d08a1a
make deprecation warnings a bit stronger for the upcoming 4.0.0 release 2022-10-09 14:08:16 -04:00
Jesse Plamondon-Willard a220e14f2d
polish recent changes & update release notes 2022-10-09 13:50:24 -04:00
Jesse Plamondon-Willard fce1b1bd0b
Merge pull request #875 from pizzaoverhead/steamLibrarySupport
Find installs in alternate Steam library locations
2022-10-08 21:33:26 -04:00
Jesse Plamondon-Willard ab66266b4b
update installer for VdfConverter & rework avoid custom models 2022-10-08 21:32:10 -04:00
Jesse Plamondon-Willard 5ef726be92
Merge pull request #874 from KhloeLeclair/specific_apis
Add `IMod.GetApi(IManifest manifest)`
2022-10-08 20:45:49 -04:00
Jesse Plamondon-Willard 8d6670cfc8
pass mod info to GetApi instead 2022-10-08 20:33:01 -04:00
Jesse Plamondon-Willard a565ac9405
make GetApi methods mutually exclusive & improve docs 2022-10-08 19:59:21 -04:00
Jesse Plamondon-Willard 4323758c7c
Merge pull request #873 from atravita-mods/patch-1
Ignore more file extensions when scanning for mods
2022-10-08 18:14:32 -04:00
Jesse Plamondon-Willard 0cce2d701d
Merge pull request #872 from tylergibbs2/fix-comparablelistwatcher-memleak
Fix ComparableListWatcher not removing items in zero case
2022-10-08 18:13:13 -04:00
Jesse Plamondon-Willard 2e918823ba
Merge pull request #870 from atravita-mods/arraypooling
Use array pooling and various optimizations to reduce allocations
2022-10-08 18:03:14 -04:00
Jesse Plamondon-Willard 2e0bc5ddfe
tweak new code 2022-10-08 17:45:50 -04:00
Jesse Plamondon-Willard 40d5cd7c05
use try..finally to make sure rented arrays are returned 2022-10-08 17:42:32 -04:00
atravita-mods 48d0f70ffd
fix indexing math again. 2022-10-08 13:27:08 -04:00
atravita-mods 798a56bd2e
Avoid copying memory for contingous buffers. 2022-10-08 13:27:07 -04:00
atravita-mods 496c438be2
fix indexing again, because apparently I'm bad at math now? 2022-10-08 13:27:07 -04:00
atravita-mods a3b8546ec8
cleanup and comments 2022-10-08 13:27:07 -04:00
atravita-mods 09fd12ddfe
use startindex/endindex since I've already calculated those... 2022-10-08 13:27:07 -04:00
atravita-mods c1d5d19e43
Skip transparent rows at the start and end when doing a patch overlay. 2022-10-08 13:27:06 -04:00
atravita-mods ce63efa2f4
Avoid making copy if the source image is just taller than the sourceArea. 2022-10-08 13:27:06 -04:00
atravita-mods ff523c619a
fix fast-track array copying 2022-10-08 13:27:06 -04:00
atravita-mods d29c01b815
Partially revert "Favor record structs when there are four or fewer elements."
This reverts commit f5d49515c4eddfb415903a89d70654cf9b6de299.
2022-10-08 13:27:06 -04:00
atravita-mods 627100509c
hide throwhelper from stack trace in dotnet 6 2022-10-08 13:27:06 -04:00
atravita-mods 0a2a1a08de
Favor record structs when there are four or fewer elements. 2022-10-08 13:27:05 -04:00
atravita-mods 581763c363
Skip math if above is fully opaque. 2022-10-08 13:27:05 -04:00
atravita-mods 4a1055e573
arraypool in the modcontentmanager, a bit of fussing 2022-10-08 13:27:05 -04:00
atravita-mods 78643710ce
Use array pools in editing images. 2022-10-08 13:27:05 -04:00
atravita-mods 7c90385d8d
Pre-calculate the strings for log levels. 2022-10-08 13:27:04 -04:00
Jesse Plamondon-Willard a7f03abe25
change square brackets to round ones in manifest name 2022-10-08 13:16:38 -04:00
Jesse Plamondon-Willard 5a0d337fcf
update FluentHttpClient 2022-10-07 00:21:09 -04:00
Jesse Plamondon-Willard 2c25426578
fix issues with BundleExtraAssemblies 2022-10-07 00:16:00 -04:00
pizzaoverhead c6b3446e9c Added checking for alternative Steam library install locations when looking for the Stardew Valley install. 2022-09-29 13:33:45 +01:00
Jesse Plamondon-Willard c0e31d17a6
fix handling of GitHub prerelease versions marked as non-prerelease 2022-09-28 23:21:12 -04:00
Khloe Leclair e8da8fff51 Initial work on a way for mods to return specific API instances to specific mods. 2022-09-26 15:18:36 -04:00