Jesse Plamondon-Willard
67c52af72d
add early detection of disposed assets in error handler mod
2021-02-06 21:12:01 -05:00
Jesse Plamondon-Willard
97d3501e20
improve ErrorHandler's error handling if it can't access log manager
2021-02-06 20:47:04 -05:00
Jesse Plamondon-Willard
5ea871fee5
update schema for Content Patcher 1.20
2021-02-06 19:46:34 -05:00
Jesse Plamondon-Willard
efec870657
fix edge case in non-English asset cache after returning to title screen
2021-02-06 13:03:37 -05:00
Jesse Plamondon-Willard
54e7b5b846
enable aggressive memory optimizations by default ( #757 )
...
The new approach should be safe, and no errors were reported so far by alpha testers.
2021-02-03 20:24:25 -05:00
Jesse Plamondon-Willard
e81e07594c
extend aggressive memory optimization to a few more common textures ( #757 )
2021-01-31 22:12:36 -05:00
Jesse Plamondon-Willard
423f2352af
rework aggressive memory optimization to minimize mod impact ( #757 )
2021-01-31 22:08:03 -05:00
Jesse Plamondon-Willard
7e8f451876
add experimental 'aggressive memory optimization' flag ( #757 )
2021-01-31 15:37:00 -05:00
Jesse Plamondon-Willard
b2a6933efb
fix mod type defaulted incorrectly in SMAPI toolkit
2021-01-28 21:21:18 -05:00
Jesse Plamondon-Willard
822cc71619
fix error running 'install on Windows.bat' for one user
2021-01-28 19:51:30 -05:00
Jesse Plamondon-Willard
0820280169
prepare for release
2021-01-25 21:52:51 -05:00
Jesse Plamondon-Willard
0058267c36
minor cleanup
2021-01-24 01:05:40 -05:00
Jesse Plamondon-Willard
5129c361c9
fix interior door errors when reloading maps
2021-01-24 00:32:26 -05:00
Jesse Plamondon-Willard
4c0272c0aa
remove unused AlternativeUrl field in metadata model
2021-01-23 12:01:46 -05:00
Jesse Plamondon-Willard
66017a39d9
disable 'patched game code' warning for ErrorHandler
...
It doesn't really make sense for SMAPI to show a warning about itself.
2021-01-23 11:59:36 -05:00
Jesse Plamondon-Willard
733750fdc4
prepare for release
2021-01-22 21:04:48 -05:00
Jesse Plamondon-Willard
4b5dd0f2c9
rename TrainerCommand to ConsoleCommand to match the rest of the code
2021-01-22 20:29:08 -05:00
Jesse Plamondon-Willard
cea8e557ef
remove inf options for player_sethealth/money/stamina
2021-01-22 20:24:13 -05:00
Jesse Plamondon-Willard
8fd2a6fd3a
update for new map override logic in SDV 1.5.4
...
Special thanks to the Stardew Valley developers for making the requested changes!
2021-01-22 20:17:01 -05:00
Jesse Plamondon-Willard
546012da8c
add clearer error for empty Vortex folders to reduce confusion
2021-01-21 19:04:34 -05:00
Jesse Plamondon-Willard
7fc7a45102
fix some broken mods incorrectly listed as XNB mods
2021-01-21 19:01:57 -05:00
Jesse Plamondon-Willard
ebc8cd4c7f
add ErrorHandler to bundled mod list
2021-01-20 23:28:48 -05:00
Jesse Plamondon-Willard
342fc80394
rewrite C# 9 code not supported in Linux build tools yet
2021-01-20 23:22:24 -05:00
Jesse Plamondon-Willard
49666ac5bc
fix SDV 1.5 compatibility with content packs that still load XNB maps
2021-01-20 22:13:12 -05:00
Jesse Plamondon-Willard
4d95030ee9
correct links
2021-01-20 09:31:18 -05:00
Jesse Plamondon-Willard
48f6857892
fix null handling in keybind list parsing ( #744 )
2021-01-20 01:22:29 -05:00
Jesse Plamondon-Willard
587d60495e
add unit tests for KeybindList ( #744 )
2021-01-20 01:02:49 -05:00
Jesse Plamondon-Willard
e40483aab1
add method to suppress active keybindings ( #744 )
2021-01-19 23:50:46 -05:00
Jesse Plamondon-Willard
f251f0d06c
make buttonState.IsDown() extension public ( #744 )
2021-01-19 23:14:03 -05:00
Jesse Plamondon-Willard
7e90b1c60a
add shortcut method to create a keybind list for a single default keybind ( #744 )
2021-01-19 21:47:31 -05:00
Jesse Plamondon-Willard
7e280a066d
add Input.ButtonsChanged event ( #744 )
2021-01-19 21:47:05 -05:00
Jesse Plamondon-Willard
ff16a6567b
add multi-key binding API ( #744 )
2021-01-19 21:20:25 -05:00
Jesse Plamondon-Willard
5676d94fe6
reset some missed map cache fields ( #751 )
2021-01-19 01:05:15 -05:00
Jesse Plamondon-Willard
00e545715d
reset map overrides when reloading a map ( #751 )
2021-01-18 23:19:34 -05:00
Jesse Plamondon-Willard
9fb6d67417
add asset propagation for Strings\StringsFromCSFiles
2021-01-18 18:52:31 -05:00
Jesse Plamondon-Willard
47df90f67c
merge sections in asset propagator
2021-01-18 18:19:46 -05:00
Jesse Plamondon-Willard
bc71f994ec
improve game path detection
2021-01-17 15:11:45 -05:00
Jesse Plamondon-Willard
cfe2c3975f
prefer GOG/Steam registry paths when scanning for game folder
2021-01-17 15:06:04 -05:00
Jesse Plamondon-Willard
516b2fc010
don't send multiplayer broadcasts to players without SMAPI
2021-01-17 14:57:41 -05:00
Jesse Plamondon-Willard
b58d432a22
subclass chatbox to log game errors
2021-01-17 12:21:33 -05:00
Jesse Plamondon-Willard
a5ba931770
improve JSON validator schema for manifest update keys
2021-01-15 21:18:15 -05:00
Jesse Plamondon-Willard
1b52adb4fb
fix build order for new ErrorHandler project
2021-01-15 18:48:32 -05:00
Jesse Plamondon-Willard
56ca0f5e81
add split-screen info to multiplayer peer
2021-01-15 18:48:32 -05:00
Jesse Plamondon-Willard
812251e7ae
allow getting all active values from a PerScreen<T> field
2021-01-15 18:48:31 -05:00
Jesse Plamondon-Willard
a9b99c1206
allow resetting a PerScreen<T> field
2021-01-15 18:48:31 -05:00
Jesse Plamondon-Willard
95ad954fa4
allow get/setting PerScreen<T> values by screen ID
2021-01-15 18:48:30 -05:00
Jesse Plamondon-Willard
70edec6567
add detailed message for game error when parsing an item text description
2021-01-15 18:48:30 -05:00
Jesse Plamondon-Willard
666f7ad8f9
tweak recent changes, update release notes
2021-01-15 18:48:29 -05:00
David Camp
f945349ed4
(feat) Disable Mod rewrites if requested
2021-01-15 18:48:29 -05:00
Jesse Plamondon-Willard
8a475b3579
move error-handling Harmony patches into a new Error Handler bundled mod
2021-01-15 18:48:29 -05:00
Jesse Plamondon-Willard
415047bf8e
prepare for release
2021-01-15 18:33:52 -05:00
Jesse Plamondon-Willard
5db9b049a6
update for draw code changes in SDV 1.5.3
2021-01-15 18:30:59 -05:00
Jesse Plamondon-Willard
de789fb3e8
fix semantic version comparison returning wrong value in rare cases
2021-01-15 18:21:28 -05:00
Jesse Plamondon-Willard
d31370b1d7
group mods in solution
2021-01-15 18:20:31 -05:00
Jesse Plamondon-Willard
d47d850753
tuck location map reload into method ( #751 )
2021-01-12 20:00:40 -05:00
Jesse Plamondon-Willard
aab4ddf05e
fix title screen music not stopping after save is loaded
2021-01-10 13:12:34 -05:00
Jesse Plamondon-Willard
df25368300
prepare for release
2021-01-08 21:01:17 -05:00
Jesse Plamondon-Willard
d100681be7
update for draw changes in SDV 1.5.2
2021-01-08 20:48:15 -05:00
Jesse Plamondon-Willard
c6b40fb591
add more helpful `help` command output
2021-01-07 00:05:27 -05:00
Jesse Plamondon-Willard
51de495ae4
add a way to send console commands to a specific screen
2021-01-06 23:43:48 -05:00
Jesse Plamondon-Willard
d5b00bec84
simplify tilesheet order warning
2021-01-06 02:14:44 -05:00
Jesse Plamondon-Willard
a179466e6b
remove experimental performance counters
...
Unfortunately this impacted SMAPI's memory usage and the data was often misinterpreted by players.
2021-01-06 00:44:24 -05:00
Jesse Plamondon-Willard
c5be446701
rework vanilla tilesheet checking to avoid keeping a copy of the vanilla maps in memory
2021-01-06 00:29:39 -05:00
Jesse Plamondon-Willard
2b3f0506a1
prepare for release
2021-01-03 14:31:10 -05:00
Jesse Plamondon-Willard
8b9fc0dce7
update compatibility list
2021-01-02 22:25:10 -05:00
Jesse Plamondon-Willard
397f338394
detect and block map replacements that would crash the game due to tilesheet changes
2021-01-02 22:24:45 -05:00
Jesse Plamondon-Willard
68bcf28e6c
update error text linking to renamed wiki section
2021-01-02 18:22:30 -05:00
Jesse Plamondon-Willard
456480ef91
fix cursor position incorrectly handling UI mode ( #741 )
2021-01-02 15:02:58 -05:00
Jesse Plamondon-Willard
251ee2121a
fix players in split-screen mode sharing peer state ( #747 )
2021-01-02 12:33:19 -05:00
Jesse Plamondon-Willard
0fdb09f5f9
fix network messages not using same JSON serializer settings ( #745 )
2021-01-01 11:51:57 -05:00
Jesse Plamondon-Willard
f95292953f
fix repeated mods in 'skipped mods' section of console
2020-12-30 19:38:48 -05:00
Jesse Plamondon-Willard
fd37253dc3
update compatibility list
2020-12-30 00:26:39 -05:00
Jesse Plamondon-Willard
847826198f
add status reason details to past mods, clean out some old blacklist entries
2020-12-30 00:25:32 -05:00
Jesse Plamondon-Willard
06c7e4e2b9
show details in TRACE logs when a mod is blocked by compatibility list
2020-12-29 23:58:54 -05:00
Jesse Plamondon-Willard
5ac46b7ab2
prepare for release
2020-12-26 11:22:09 -05:00
Jesse Plamondon-Willard
5cc069476e
deprecate ConsoleCommands.Trigger method
2020-12-26 11:20:47 -05:00
Jesse Plamondon-Willard
8895021696
rewrite migration to avoid repeating game checks
2020-12-26 10:41:39 -05:00
Jesse Plamondon-Willard
49c192fc47
detect & fix broken community center bundles
2020-12-26 02:08:53 -05:00
Jesse Plamondon-Willard
5a8a684e22
add apply_save_fix command
2020-12-26 01:30:27 -05:00
Jesse Plamondon-Willard
2406380495
fix SMAPI using a cached translation when the game asks for an untranslated asset
...
This mainly affects community center bundles in Stardew Valley 1.5,
2020-12-26 01:28:00 -05:00
Jesse Plamondon-Willard
9215f89825
fix edge cases in SMAPI log parsing ( #743 )
2020-12-23 21:38:19 -05:00
Jesse Plamondon-Willard
63111621c9
fix world events not raised for volcano levels
2020-12-23 19:11:41 -05:00
Jesse Plamondon-Willard
872a1d5627
prepare for release
2020-12-21 12:24:43 -05:00
Jesse Plamondon-Willard
77002d3e99
Merge branch 'stardew-valley-1.5' into develop
...
# Conflicts:
# docs/release-notes.md
2020-12-20 22:35:58 -05:00
Jesse Plamondon-Willard
5e2f6f565d
update mod compatibility list
2020-12-20 22:35:02 -05:00
Jesse Plamondon-Willard
93f00b115e
add mod rewriters for SDV 1.5
2020-12-20 22:35:02 -05:00
Jesse Plamondon-Willard
1e8a07e333
update for debug log changes
2020-12-20 22:35:02 -05:00
Jesse Plamondon-Willard
fb244dc936
update for location furniture changes
2020-12-20 22:35:01 -05:00
Jesse Plamondon-Willard
1870336f4c
update for item changes
2020-12-20 22:35:01 -05:00
Jesse Plamondon-Willard
8d29899182
update for new save naming logic
2020-12-20 22:35:01 -05:00
Jesse Plamondon-Willard
7268cae65c
update for localized asset changes
2020-12-20 22:35:00 -05:00
Jesse Plamondon-Willard
ff167e6838
update for map tilesheet changes
2020-12-20 22:35:00 -05:00
Jesse Plamondon-Willard
ffe74869ca
update patches and asset propagation
2020-12-20 22:34:59 -05:00
Jesse Plamondon-Willard
85cb824c3b
update for draw changes
...
That includes child menus, UI draw mode, and UI scaling.
2020-12-20 22:34:59 -05:00
Jesse Plamondon-Willard
2e8c7e06c5
update for split-screen mode
...
This includes splitting GameRunner (the main game instance) from Game1 (now a per-screen game state), adding a PerScreen<T> utility to simplify per-screen values, adding separate per-screen input handling and events, adding new Context fields for split-screen, and logging the screen ID in split-screen mode to distinguish log entries.
2020-12-20 22:34:59 -05:00
Jesse Plamondon-Willard
50a146d1c9
update game version
2020-12-20 22:34:58 -05:00
Jesse Plamondon-Willard
1c70736c00
clarify not-a-mod error when SMAPI installer is in mods folder
2020-12-08 08:23:16 -05:00
Jesse Plamondon-Willard
1e2000126d
update schema for Content Patcher 1.19
2020-12-05 12:49:06 -05:00
Jesse Plamondon-Willard
c627348c25
let players specify game path by running the installer from within it
2020-11-23 18:20:52 -05:00
Jesse Plamondon-Willard
a0cb83ed40
prepare for release
2020-11-21 14:08:04 -05:00
Jesse Plamondon-Willard
cfdf783c2d
split older release notes into a separate file
2020-11-21 14:04:58 -05:00
Jesse Plamondon-Willard
8a66532e74
update to TMXTile 1.5.8
2020-11-21 12:40:44 -05:00
Jesse Plamondon-Willard
91289de74f
update internal dependencies
2020-11-17 19:09:55 -05:00
Jesse Plamondon-Willard
03506fc72a
update to TMXTile 1.5.7
2020-11-17 19:09:00 -05:00
Jesse Plamondon-Willard
947d4545b1
fix 'collection was modified' error when using 'harmony summary' command in rare cases
2020-11-10 20:11:52 -05:00
Jesse Plamondon-Willard
ec84ba07cc
apply fish pond rules for roe spawning
2020-10-30 20:46:46 -04:00
Jesse Plamondon-Willard
2831b1e75a
add SearchableItem copy constructor
...
This is for convenience in mods which copy this code; SMAPI itself doesn't use it.
2020-10-28 18:21:33 -04:00
Jesse Plamondon-Willard
295c34d5cd
fix a captured loop variable
2020-10-28 18:20:41 -04:00
Jesse Plamondon-Willard
f9f3db7db0
add character-customization-only shirts to item repo
2020-10-24 18:28:43 -04:00
Jesse Plamondon-Willard
7c652b0924
update item repo to allow creating instances later
2020-10-24 18:26:41 -04:00
Jesse Plamondon-Willard
70cf63c907
use update URL from server instead of hardcoding it
2020-10-18 15:33:27 -04:00
Jesse Plamondon-Willard
1cac389284
fix error in heuristic rewriting
2020-10-17 22:03:43 -04:00
Jesse Plamondon-Willard
4aecc2aaba
prepare for release
2020-10-16 20:09:03 -04:00
Jesse Plamondon-Willard
534142009d
reapply the game's town map changes in asset propagation
2020-10-16 17:42:13 -04:00
Jesse Plamondon-Willard
68e9733a85
prepare for release
2020-10-03 20:27:29 -04:00
Jesse Plamondon-Willard
d8f5e0bdf2
update dependencies
2020-10-03 20:24:54 -04:00
Jesse Plamondon-Willard
6e7ebc0097
fix typo in CP schema
2020-10-03 10:55:00 -04:00
Jesse Plamondon-Willard
5c733af747
fix update-check error for Chucklefish mods due to site change
2020-09-27 13:23:48 -04:00
Jesse Plamondon-Willard
4eff88fe73
fix error in case-insensitive content pack code when mod passes in a null path
2020-09-24 19:41:36 -04:00
Jesse Plamondon-Willard
9edd3b901a
prepare mod build package for release
2020-09-23 20:38:01 -04:00
Jesse Plamondon-Willard
947d9c87e0
add SMAPI-ModTranslationClassBuilder files to mod build config ignore list
2020-09-23 20:33:38 -04:00
Jesse Plamondon-Willard
819b796e8d
streamline mod build config package creation
2020-09-23 20:32:21 -04:00
Jesse Plamondon-Willard
05727acb9b
fix reference to nonexistent field
...
It's not really needed anyway, since managed threads will end when SMAPI exits.
2020-09-22 18:40:07 -04:00
Jesse Plamondon-Willard
b5573a9331
update release notes, format code
2020-09-22 18:27:08 -04:00
Marcos Miller Dantas
d5c98bf2df
Performance tuning
...
on an old laptop i've noticed that the thread was consuming alot of resources.
2020-09-22 19:07:40 -03:00
Jesse Plamondon-Willard
e0b3f97f9e
fix asset propagation for Data\MoviesReactions
2020-09-19 12:46:32 -04:00
Jesse Plamondon-Willard
01c2824b5c
update JSON schema for Content Patcher 1.18
2020-09-18 21:16:22 -04:00
David
daa6ad3b95
Allow for negative values in Rectangle
2020-09-17 23:50:30 +02:00
Jesse Plamondon-Willard
59974c18a6
prepare for release
2020-09-16 21:32:45 -04:00
Jesse Plamondon-Willard
5a10cf3506
fix error when a mod rewrite adds instructions that break a short jump
2020-09-16 18:03:25 -04:00
Jesse Plamondon-Willard
f06b4dd610
fix conflict with PyTK's map display device
2020-09-16 17:35:25 -04:00
Jesse Plamondon-Willard
436eb95a86
fix typo in error messages
2020-09-16 17:26:20 -04:00
Jesse Plamondon-Willard
57bc71c7eb
make IContentPack file paths case-insensitive
2020-09-15 17:34:14 -04:00
Jesse Plamondon-Willard
4189e2f3fa
add support for renewing uploaded JSON/log files
2020-09-13 11:59:17 -04:00
Jesse Plamondon-Willard
39b9f363db
prepare for release
2020-09-11 17:38:04 -04:00
Jesse Plamondon-Willard
0b6b9b3766
fix default mods folder path in build package
2020-09-11 17:36:02 -04:00
Jesse Plamondon-Willard
1abc76a224
improve logging in mod build package
2020-09-11 17:25:38 -04:00
Jesse Plamondon-Willard
d53e033163
prepare for release
2020-09-08 18:16:41 -04:00
Jesse Plamondon-Willard
8a319e94c8
delete redundant unit tests
2020-09-08 18:14:04 -04:00
Jesse Plamondon-Willard
7580f87029
rename PathUtilities.NormalizePathSeparator, add normalization for more cases
2020-09-08 18:12:57 -04:00
Jesse Plamondon-Willard
1b5e7da184
prepare for release
2020-09-08 00:15:27 -04:00
Jesse Plamondon-Willard
398c7d66cb
fix input handling issues in SMAPI 3.7
...
This commit reverses one of the input handling changes in 3.7 to fix...
* input being handled twice in some cases (e.g. a left-click to drop a shop item with Better Shop Menu would instantly sell it);
* an issue where Harvest With Scythe would cause the player to skid forward more than usual when scything crops;
* possibly other reported issues including gamepad input lag.
2020-09-08 00:10:24 -04:00
Jesse Plamondon-Willard
2022836b81
prepare for release
2020-09-06 20:59:19 -04:00
Jesse Plamondon-Willard
0b21357e37
fix asset propagation for title menu buttons
2020-09-06 16:40:32 -04:00
Jesse Plamondon-Willard
a627453309
move title menu asset propagation into method
2020-09-06 16:39:47 -04:00
Jesse Plamondon-Willard
d7209e438d
fix code docs
2020-09-05 20:08:01 -04:00
Jesse Plamondon-Willard
55cd31f4f7
minor cleanup
2020-09-05 15:41:21 -04:00
Jesse Plamondon-Willard
4f3d7eaafc
make PathUtilities available to mods
2020-09-05 15:00:38 -04:00
Jesse Plamondon-Willard
be1df8e705
simplify path separator normalization
...
It no longer tries to clean up the path (e.g. "path/to///file/" => "path/to/file"), which means it can more intuitively handle cases like this:
asset.AssetName.StartsWith(PathUtilities.NormalizePathSeparators("Characters/Dialogue/"))
2020-09-05 14:51:52 -04:00
Jesse Plamondon-Willard
5d1c77884f
add unit tests for PathUtilities, fix some edge cases
2020-09-05 13:37:40 -04:00
Jesse Plamondon-Willard
220f3bc578
set max game version to prepare for upcoming SDV 1.5 update
2020-09-05 00:51:32 -04:00
Jesse Plamondon-Willard
4ce572fca6
add mod build package option to change the Mods path
2020-09-05 00:14:13 -04:00
Jesse Plamondon-Willard
4088f4cb2b
simplify error shown for duplicate mods
2020-09-04 22:02:59 -04:00
Jesse Plamondon-Willard
f57feb7319
extend game's input logic instead of replacing it
2020-09-04 20:56:27 -04:00
Jesse Plamondon-Willard
685d56894f
switch SGame back to callbacks
...
Callbacks are simpler and more efficient in this case.
2020-08-31 20:43:03 -04:00
Jesse Plamondon-Willard
828be405e1
use inheritdoc
2020-08-30 22:53:19 -04:00
Jesse Plamondon-Willard
3a4606164c
tweaks to reduce differences in Android port
2020-08-29 23:06:52 -04:00
Jesse Plamondon-Willard
a13c994e8b
format code
2020-08-29 23:06:08 -04:00
Jesse Plamondon-Willard
097df9076d
fix build error on Linux/Mac
2020-08-29 23:04:25 -04:00
Jesse Plamondon-Willard
a1e1b7d103
fix map tile rotation broken when you return to title
2020-08-28 20:03:12 -04:00
Jesse Plamondon-Willard
e57fc0eb15
fix old comment
2020-08-26 23:27:32 -04:00
Jesse Plamondon-Willard
0bf692addc
add heuristic rewrite for field => const changes
2020-08-26 23:11:41 -04:00
Jesse Plamondon-Willard
54e7fb7a0b
fix some broken field references not detected
2020-08-26 22:32:59 -04:00
Jesse Plamondon-Willard
d3c5fe0764
rename new heuristic rewriters for clarity
2020-08-26 22:14:25 -04:00
Jesse Plamondon-Willard
16161a214f
remove now-unused instruction replace callback
2020-08-26 21:55:08 -04:00
Jesse Plamondon-Willard
fd6835555c
fix InvalidProgramException when replacing CIL instructions in some cases
2020-08-26 21:55:04 -04:00
Jesse Plamondon-Willard
a4938fc465
tweak locale init so it doesn't depend on the game's internal load order
2020-08-25 23:13:55 -04:00
Jesse Plamondon-Willard
ec4b81819a
use inheritdoc in rewriters
2020-08-25 22:59:08 -04:00
Jesse Plamondon-Willard
abfe40bf69
fix some method references only partially rewritten
...
Thanks to Bepis on Discord for helping find the issue!
2020-08-25 22:49:00 -04:00
Jesse Plamondon-Willard
b9a9fe36bb
fix missing-parameter rewriter not loading default values onto stack
2020-08-25 22:05:27 -04:00
Jesse Plamondon-Willard
915e6d22f1
minor tweaks
2020-08-24 22:23:02 -04:00
Jesse Plamondon-Willard
3a89040876
add rewriter for method references with missing optional parameters
2020-08-24 22:16:48 -04:00
Jesse Plamondon-Willard
1bd67baae1
support mapping fields to a different type in FieldReplaceRewriter
2020-08-24 21:39:50 -04:00
Jesse Plamondon-Willard
94b8262692
add heuristic field-to-property rewriter
2020-08-24 20:11:56 -04:00
Jesse Plamondon-Willard
046deb2d56
simplify console interception flow
...
The console interceptor now uses a marker in the string (instead of a state field) to track whether the message should intercepted. This makes each write more atomic, so it's less affected by multithreading in some cases.
2020-08-24 19:25:57 -04:00
Jesse Plamondon-Willard
46d63e11cc
switch to ILSpy for decompiled code
2020-08-24 18:35:51 -04:00
Jesse Plamondon-Willard
7f35e74ca1
fix object-disposed error
2020-08-23 22:11:11 -04:00
Jesse Plamondon-Willard
c37280222d
minor cleanup
2020-08-23 20:53:09 -04:00
Jesse Plamondon-Willard
1ff4a0774e
remove unneeded access modifier
2020-08-23 19:00:46 -04:00
Jesse Plamondon-Willard
76c926c396
add EarlyConstants for constants needed before external DLLs are loaded
2020-08-23 18:51:01 -04:00
Jesse Plamondon-Willard
625c41c0ea
move file for upcoming change
2020-08-23 18:45:54 -04:00
Jesse Plamondon-Willard
fd3bc77d81
centralise core SMAPI logic, decouple from Game1 where possible
2020-08-23 17:24:08 -04:00
Jesse Plamondon-Willard
ad1b9a870b
move some console/logging logic out of SCore into a new LogManager
2020-08-23 14:22:27 -04:00
Jesse Plamondon-Willard
cb37644291
move assembly attributes to match convention
2020-08-22 21:47:37 -04:00
spacechase0
f012dae872
Fix harmony attributes not workign cross-platform
2020-08-17 20:28:51 -04:00
Jesse Plamondon-Willard
6afb80676b
fix CP validation for new 'Update' field
2020-08-16 23:01:19 -04:00
Jesse Plamondon-Willard
d6dc1364be
update schema for Content Patcher 1.17
2020-08-16 11:28:13 -04:00
Jesse Plamondon-Willard
497192fab2
tweak update alert rules
2020-08-15 13:17:42 -04:00
Jesse Plamondon-Willard
d6a830f7e8
fix broken URL in update alerts for unofficial versions
2020-08-15 13:05:32 -04:00
Jesse Plamondon-Willard
544919ad13
remove experimental RewriteInParallel option
2020-08-13 20:01:22 -04:00
Jesse Plamondon-Willard
48eb5e6be0
add support for read/writing SDate to JSON
2020-08-09 19:10:54 -04:00
Jesse Plamondon-Willard
066f1857a1
fix error when mods add/remove events asynchronously
2020-08-09 11:56:40 -04:00
Jesse Plamondon-Willard
e54a5d0569
update Content Patcher schema for 1.16
2020-08-03 22:35:51 -04:00
Jesse Plamondon-Willard
b96bcb2189
prepare for release
2020-08-02 16:38:02 -04:00
Jesse Plamondon-Willard
1cd55c34f0
fix compile error on Linux/Mac
2020-08-02 16:28:53 -04:00
Jesse Plamondon-Willard
849c6da9ca
update dependencies
2020-08-02 16:18:11 -04:00
Jesse Plamondon-Willard
e96f4fb797
format new code, update release notes
2020-07-29 22:42:47 -04:00
Alena Messmer
1994eac81a
avoid expanding arguments into quoted strings
2020-07-28 21:41:06 -07:00
Jesse Plamondon-Willard
7900a84bd6
use ordinal comparison/sorting instead of invariant
2020-07-26 02:50:20 -04:00
Jesse Plamondon-Willard
ee4c88f601
log GPU info to simplify troubleshooting
2020-07-25 15:50:36 -04:00
Jesse Plamondon-Willard
6f9a1f1525
fix error when a mod adds/remove an event handler while handling the event
2020-07-21 13:57:28 -04:00
Jesse Plamondon-Willard
4b07e10520
ignore more content file types when detecting mods
2020-07-21 13:51:11 -04:00
Jesse Plamondon-Willard
4590b75bc3
add item repository fixes from CJB Cheats Menu code
2020-07-17 12:09:07 -04:00
Jesse Plamondon-Willard
16a37fc89f
fix other missing quotes
2020-07-05 19:38:51 -04:00
Ellen
02a9084301
Update smapi.targets so 0Harmony, MonoGame refs appear only when intended.
2020-07-05 03:15:14 -04:00
Jesse Plamondon-Willard
623684a3ad
update Content Patcher format version in schema
2020-07-04 12:59:03 -04:00
Jackson Law
d561768246
Update unix-launcher.sh
...
$LAUNCHER does not evaluate when enclosed in single quotes. Changed to double quotes to run properly.
2020-06-22 22:36:59 -07:00
Jesse Plamondon-Willard
4f73fb5c33
prepare for release
2020-06-21 11:39:23 -04:00
Jesse Plamondon-Willard
c8f7269966
fix event priority sorting
2020-06-21 11:36:35 -04:00
Jesse Plamondon-Willard
cb9ff70199
prepare for release
2020-06-20 12:42:31 -04:00
Jesse Plamondon-Willard
e9b8df4618
fix reload_i18n not reloading content pack translations
2020-06-20 12:29:08 -04:00
Jesse Plamondon-Willard
74defbfec6
remove special handling for SMAPI 3.6 beta
2020-06-20 12:08:57 -04:00
Jesse Plamondon-Willard
ed3309e7bb
remember selected schema when editing a file
2020-06-20 11:36:22 -04:00
Jesse Plamondon-Willard
d02a40de99
change default JSON validator schema to none
2020-06-20 11:31:01 -04:00
Jesse Plamondon-Willard
b32cad4046
add i18n schema to JSON validator
2020-06-20 11:13:23 -04:00
Jesse Plamondon-Willard
067163da02
make parallel rewriting optional
2020-06-20 00:50:23 -04:00
Jesse Plamondon-Willard
a7cf886b71
switch to custom build of Harmony 1.2.0.1
2020-06-20 00:13:23 -04:00
Jesse Plamondon-Willard
aeab19f4ac
backport harmony_summary command to Harmony 1.x ( #711 )
2020-06-19 21:28:44 -04:00
Jesse Plamondon-Willard
c41b92f721
improve new event code
...
This commit...
* debounces the has-custom-priorities check;
* fixes collection-modified-during-enumeration errors if an event handler is added or removed while the event is being raised;
* fixes Remove(handler) removing all instances of the handler instead of the last one.
2020-06-16 20:14:27 -04:00
Jesse Plamondon-Willard
f63f14c703
fix typo
2020-06-16 18:53:29 -04:00
Jesse Plamondon-Willard
dcd2c647a2
temporarily restore Harmony 1.x support with compile flag ( #711 )
2020-06-15 22:17:32 -04:00
Jesse Plamondon-Willard
6d1cd7d9b8
fix merge, update release notes
2020-06-15 22:14:17 -04:00
Jesse Plamondon-Willard
e759332135
Merge pull request #723 from spacechase0/event-priority
...
Implement event priority attribute
2020-06-15 21:34:46 -04:00
Jesse Plamondon-Willard
02e7318d2b
merge inconsistent event raise methods
2020-06-15 19:08:02 -04:00
Jesse Plamondon-Willard
da95a906bf
increase event priority range
...
This can be used in cases where more granular priority is needed.
2020-06-15 18:59:05 -04:00
Jesse Plamondon-Willard
fc29fe918a
refactor & optimize event code a bit, drop old support for unknown event handlers
2020-06-15 18:58:05 -04:00
Chase W
b395e92faa
Implemented event priority attribute
2020-06-15 15:33:28 -04:00
Jesse Plamondon-Willard
ff7b9a0251
update TMXTile
2020-06-14 23:30:35 -04:00
Jesse Plamondon-Willard
2d19095169
add support for using a custom Harmony build ( #711 )
2020-06-14 11:29:07 -04:00
Jesse Plamondon-Willard
79181012ee
tweak build files
2020-06-14 10:55:52 -04:00
Jesse Plamondon-Willard
8036bcdf00
improve premultiplication performance
2020-06-07 12:33:48 -04:00
Jesse Plamondon-Willard
868eefb9a7
fix thread safety issue in new parallel rewriting
2020-06-04 21:08:12 -04:00
Jesse Plamondon-Willard
92aaf3fb8a
simplify parallel rewriting logic
2020-06-04 19:00:48 -04:00
ZaneYork
2c9c4fbc65
Bug fix: Provide seed to Aggregate op(for Sequence contains no elements exception, all type was filtered by Where(type => type.BaseType != null) op)
2020-06-04 18:29:27 +08:00
Jesse Plamondon-Willard
43a9ee42aa
don't prevent mods from accessing game methods/properties extended by SMAPI
2020-06-03 19:02:24 -04:00
Jesse Plamondon-Willard
80f882baf3
stop rewriting module at first error
2020-06-03 18:58:04 -04:00
Jesse Plamondon-Willard
8c4edc2765
tweak new code, add release note ( #718 )
2020-06-03 18:52:16 -04:00
ZaneYork
9b41397a01
Remove take while op(does not return first none matched item)
2020-06-03 11:43:13 +08:00
ZaneYork
6b4e52febb
Parallel exception aggregate fix
2020-06-03 10:56:31 +08:00
Jesse Plamondon-Willard
73e3735dcd
undo parallel loop ( #716 )
...
This caused errors during rewriting to be obfuscated with null reference exceptions.
2020-06-02 22:05:00 -04:00
ZaneYork
4fad1f8c0c
1.Multithread rewrite
2020-06-02 18:53:09 +08:00
Jesse Plamondon-Willard
10367a3eae
update TMXTile to fix void map issue on Android
2020-05-31 17:41:17 -04:00
Jesse Plamondon-Willard
7bbbef7687
simplify harmony_search output, tweak SMAPI's Harmony ID
2020-05-30 22:45:43 -04:00
ZaneYork
f817039a3a
Bug fix: make it possible for multi patch(When one patch replace an instruction, another patch didn't aware it due to the variable capture)
2020-05-29 14:25:01 +08:00
Jesse Plamondon-Willard
01b6e4ac32
fix BadImageFormatException error handling
...
Thanks to mouse for pointing it out!
2020-05-27 00:44:26 -04:00
Jesse Plamondon-Willard
d9c2d242b9
add update key overrides
2020-05-24 16:39:56 -04:00
Jesse Plamondon-Willard
ea96fdf541
update ModDrop URLs
2020-05-24 14:35:16 -04:00
Jesse Plamondon-Willard
bb9cde8f2e
ignore MacOS files starting with ._
2020-05-24 00:31:15 -04:00
Jesse Plamondon-Willard
d97b11060c
add update subkeys
2020-05-24 00:21:51 -04:00
Jesse Plamondon-Willard
786077340f
refactor update check API
...
This simplifies the logic for individual clients, centralises common logic, and prepares for upcoming features.
2020-05-23 21:55:11 -04:00