Commit Graph

821 Commits

Author SHA1 Message Date
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 58fd6c71a2
update release notes 2020-08-17 20:36:03 -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 c03430ec7e
tweak release docs 2020-08-09 11:18:39 -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 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
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 174f8cb24b
update release notes 2020-06-23 20:09:49 -04: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 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 a9ca7dcdc0
tweak 3.6 release notes 2020-06-20 00:19:45 -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 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 2d19095169
add support for using a custom Harmony build (#711) 2020-06-14 11:29:07 -04:00
Jesse Plamondon-Willard 8036bcdf00
improve premultiplication performance 2020-06-07 12:33:48 -04: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 8c4edc2765
tweak new code, add release note (#718) 2020-06-03 18:52:16 -04: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
Jesse Plamondon-Willard 6f4063cd86
add release note (#716) 2020-06-02 17:52:54 -04: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 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
Jesse Plamondon-Willard d7add89441
drop MongoDB code
MongoDB support unnecessarily complicated the code and there's no need to run distributed servers in the foreseeable future. This keeps the abstract storage interface so we can wrap a distributed cache in the future.
2020-05-23 19:25:34 -04:00
Jesse Plamondon-Willard b074eb279a
add harmony_summary command 2020-05-22 20:00:33 -04:00
Jesse Plamondon-Willard f8e0600672
load .pdb file when mod is loaded from bytes (#711) 2020-05-21 21:59:45 -04:00
Jesse Plamondon-Willard 310eb1fe9a
Merge branch 'mod/harmony-2.0' into develop
# Conflicts:
#	docs/release-notes.md
#	src/SMAPI/Framework/ModLoading/AssemblyLoader.cs
2020-05-20 19:38:08 -04:00
Jesse Plamondon-Willard 9d86f20ca7
migrate subdomain redirects to Azure 2020-05-16 20:01:52 -04:00
Jesse Plamondon-Willard 5e6f1640dc
simplify single-instance deployment and make MongoDB server optional 2020-05-16 14:30:07 -04:00
Jesse Plamondon-Willard 1ff0968590
fixed generic types in method references not rewritten (#711) 2020-05-09 20:45:45 -04:00
Jesse Plamondon-Willard df84df5ff1
add GitHub licenses to mod compatibility list, update release notes 2020-05-09 14:06:10 -04:00
Jesse Plamondon-Willard 719831c15a
sort mod warning lists 2020-05-09 10:58:10 -04:00
Jesse Plamondon-Willard d8d8cac2d8
simplify logged paranoid warnings 2020-05-09 10:43:05 -04:00
Jesse Plamondon-Willard 3110339649
add attribute type rewriting (#711) 2020-05-09 00:51:56 -04:00
Jesse Plamondon-Willard 9728fe3f34
add Multiplayer.PeerConnected event 2020-05-04 17:53:48 -04:00
Jesse Plamondon-Willard 4eb68e96ed
fix asset propagation for Gil's portraits 2020-05-04 17:41:45 -04:00
Jesse Plamondon-Willard f44151dbb4
prepare for release, tweak readme 2020-04-27 16:30:20 -04:00
Jesse Plamondon-Willard cf7bba5453
fix asset propagation for maps loaded through a temporary content manager 2020-04-25 20:05:15 -04:00
Jesse Plamondon-Willard beccea7efd
add support for getting a patch helper for arbitrary data 2020-04-24 17:53:58 -04:00
Jesse Plamondon-Willard 4fae0158ed
add map patching API
Migrated from the Content Patcher code. I'm the main author, with tile property merging based on contributions by hatrat.
2020-04-24 17:49:25 -04:00
Jesse Plamondon-Willard 841f85a743
use better short date translations 2020-04-17 17:21:34 -04:00
Jesse Plamondon-Willard 3a247fa75c
tweak new code, update release notes 2020-04-15 19:20:53 -04:00
Jesse Plamondon-Willard 97821362da
prevent object.loadDisplayName errors due to invalid/missing item data 2020-04-15 18:06:37 -04:00
Jesse Plamondon-Willard 5f73d47fb9
add config option to disable console colors (#707) 2020-04-12 12:35:34 -04:00
Jesse Plamondon-Willard f635c09095
update release notes 2020-04-11 22:57:52 -04:00
Jesse Plamondon-Willard c9b6b04a75
fix rare intermittent "CGI application encountered an error" errors 2020-04-05 13:38:59 -04:00
Jesse Plamondon-Willard 96ec4de727
fix marriage dialogue left in invalid state after dialogue propagation 2020-04-01 20:09:44 -04:00
Jesse Plamondon-Willard 6f8fb2a68b
fix AutoQualityPatch version in compatibility list 2020-03-29 14:40:17 -04:00
Jesse Plamondon-Willard 3e54ac8857
fix path segmenting on Linux/Mac in asset propagation 2020-03-29 12:08:56 -04:00
Jesse Plamondon-Willard cecd17ec3c
update schema for Content Patcher 1.13 2020-03-27 21:03:47 -04:00
Jesse Plamondon-Willard 31db04f4a0
prepare for release 2020-03-24 21:02:05 -04:00
Jesse Plamondon-Willard 68def4aa8a
fix mouse input suppression broken in SMAPI 3.4 (#705) 2020-03-24 19:16:51 -04:00
Jesse Plamondon-Willard 93475bab7f
fix asset changes not propagating to NPCs in an event 2020-03-23 22:32:57 -04:00
Jesse Plamondon-Willard 6d1494a56c
prepare for release 2020-03-22 19:36:49 -04:00
Jesse Plamondon-Willard 737e31b531
remove invalid-location check now handled by the game 2020-03-22 19:27:08 -04:00
Jesse Plamondon-Willard a50e78efd8
add monitor.LogOnce method 2020-03-22 17:40:31 -04:00
Jesse Plamondon-Willard 8d88ce8a16
fix player_add error if the player has broken XNB mods 2020-03-22 14:22:16 -04:00
Jesse Plamondon-Willard dfb1235133
fix semi-transparency issues on Linux/Mac
Apparently Mono no longer premultiplies loaded PNGs by default.
2020-03-14 18:47:19 -04:00
Jesse Plamondon-Willard e39b9e0d69
fix log parse issues 2020-03-08 14:38:24 -04:00
Jesse Plamondon-Willard 5ba53cb390
optimize log parser for very long multi-line messages 2020-03-08 14:07:42 -04:00
Jesse Plamondon-Willard 29fdf9ae4a
rework input handling to allow sending custom input to the game/mods
That will let Virtual Keyboard on Android work with the future multi-key binding API, and with mods that check input state directly (e.g. Pathoschild/StardewMods#520). It might also be useful as a public API in future versions.
2020-03-08 11:45:55 -04:00
Jesse Plamondon-Willard 1b282f950a
update translation docs 2020-03-07 13:03:06 -05:00
Jesse Plamondon-Willard db4254513e
add support for flipped and rotated map tiles 2020-03-07 12:56:48 -05:00
Jesse Plamondon-Willard c6947682b0
update packages 2020-03-06 21:41:20 -05:00
Jesse Plamondon-Willard a6b1103596
add file pickers to web UI for mobile users 2020-02-24 20:29:03 -05:00
Jesse Plamondon-Willard d03f77dd35
prepare for release 2020-02-22 23:03:18 -05:00
Jesse Plamondon-Willard 02a96b54b5
fix mods receiving their own broadcasts 2020-02-22 23:01:43 -05:00
Jesse Plamondon-Willard f9ffde9a34
prepare for release 2020-02-22 17:54:37 -05:00
Jesse Plamondon-Willard e8bb80af26
fix errors loading spouse room content packs in SMAPI 3.3
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-22 17:53:22 -05:00
Jesse Plamondon-Willard 585b23797e
prepare for release 2020-02-22 12:03:09 -05:00
Jesse Plamondon-Willard b8636fdf2f
update draw logic for recent game updates 2020-02-22 11:59:10 -05:00
Jesse Plamondon-Willard d3ec98fec8
update packages 2020-02-22 11:26:05 -05:00
Jesse Plamondon-Willard 03c3ab3711
update SMAPI/game version mapping, add older versions 2020-02-22 10:39:54 -05:00
Jesse Plamondon-Willard f19722e021
tweak release notes 2020-02-20 21:54:39 -05:00
Jesse Plamondon-Willard 6a9bf10a81
migrate to new method in SMAPI 3.3 2020-02-20 21:12:00 -05:00
Jesse Plamondon-Willard eff29d94fb
don't premultiply fully opaque pixels 2020-02-20 19:52:52 -05:00
Jesse Plamondon-Willard 2cc786907b
call IAssetEditor with actual type if applicable 2020-02-19 23:42:44 -05:00
Jesse Plamondon-Willard 2e9807a034
rework tilesheet loading to improve errors, allow future validation, and drop support for legacy content files 2020-02-19 23:20:55 -05:00
Jesse Plamondon-Willard 4ce2747567
update compatibility list 2020-02-18 00:12:24 -05:00
Jesse Plamondon-Willard 2319c8e19e
make compatibility list header sticky 2020-02-17 23:55:28 -05:00
Jesse Plamondon-Willard 6294b27317
fix update-check error for SMAPI on Android with four-part versions 2020-02-13 21:03:04 -05:00
Jesse Plamondon-Willard c649572db8
fix dialogue propagation clearing marriage dialogue 2020-02-10 19:37:59 -05:00
Jesse Plamondon-Willard 801eaa7087
improve save backup logic 2020-02-10 19:14:06 -05:00
Jesse Plamondon-Willard 136773678e
add helper.Input.GetStatus method 2020-02-09 01:04:55 -05:00
Jesse Plamondon-Willard f3acc0b07c
add Italian translations 2020-02-08 23:34:43 -05:00
Jesse Plamondon-Willard 65180f86d8
update CP schema for .tmx support 2020-02-03 19:12:39 -05:00
Jesse Plamondon-Willard 4991b4d6af
prefix OS name in log on Android 2020-02-02 15:01:03 -05:00
Jesse Plamondon-Willard 0a2b15d3c3
add support for self-broadcasts, optimize network messages 2020-02-02 14:20:41 -05:00
Jesse Plamondon-Willard bd959442ea
+ credit in release notes 2020-02-01 18:10:56 -05:00
Jesse Plamondon-Willard aeb72586fd
prepare for release 2020-02-01 11:11:44 -05:00
Jesse Plamondon-Willard d0885831c3
ignore Harmony DLL in mod build package 2020-02-01 11:09:21 -05:00
Jesse Plamondon-Willard 0fddc7f510
polish release notes 2020-02-01 01:11:46 -05:00
Jesse Plamondon-Willard 70a1334f2c
add JSON converter for Vector2 2020-02-01 01:08:29 -05:00
Jesse Plamondon-Willard c8191449a0
add support for *.tmx map files 2020-02-01 00:27:53 -05:00
Jesse Plamondon-Willard 125b38c6e6
improve Save Backup compatibility on Android 2020-02-01 00:18:56 -05:00
Jesse Plamondon-Willard e5d8acf240
rework asset editor/loader tracking so they're affected by load order 2020-01-30 22:10:16 -05:00
Jesse Plamondon-Willard 9f36b2b3d6
update release notes 2020-01-26 20:48:29 -05:00
Jesse Plamondon-Willard fc0b98be45
add user settings that override defaults (#693) 2020-01-25 18:22:50 -05:00
Jesse Plamondon-Willard 7a6dab7548
fix dialogue asset propagation 2020-01-25 15:21:40 -05:00
Jesse Plamondon-Willard 4db7ca28f6
fix error building/demolishing buildings for some players 2020-01-25 11:05:36 -05:00
Jesse Plamondon-Willard e33386abcc
prevent load crashes due to invalid building types 2020-01-25 11:00:37 -05:00
Jesse Plamondon-Willard d1935e686c
add full internal support for non-standard four-part versions 2020-01-23 00:31:26 -05:00
Jesse Plamondon-Willard 381de5eba9
add test_input console command 2020-01-22 20:36:24 -05:00
Jesse Plamondon-Willard 1670a2f3a6
fix global data stored in saves folder 2020-01-22 19:06:33 -05:00
Jesse Plamondon-Willard 25a22f5d7c
update community links 2020-01-18 16:21:16 -05:00
Jesse Plamondon-Willard 700ea3cf1b
update release note (#691) 2020-01-12 20:46:29 -05:00
Jesse Plamondon-Willard d68e4f9766
drop pre-3.0 update-check support 2020-01-12 19:41:14 -05:00
Jesse Plamondon-Willard 8b1fd90c6e
remove invalid-schedule error which can have false positives (e.g. when NPC is married to a player) 2020-01-12 15:53:59 -05:00
Jesse Plamondon-Willard 5518e4cf24
fix asset propagation for player sprites not affecting other players or recolor maps 2020-01-12 15:45:54 -05:00
Jesse Plamondon-Willard 2b68be4ebb
add version mappings from the wiki to API data 2020-01-11 20:33:01 -05:00
Jesse Plamondon-Willard bffc7f28e9
fix update-check error for Chucklefish pages with no version 2020-01-11 19:16:46 -05:00
Jesse Plamondon-Willard 219696275d
fix errors due to async threads creating content managers 2020-01-11 13:20:37 -05:00
Jesse Plamondon-Willard ceff27c9a8
update min game version
1.4.1 is needed due to the new gamepad option, which SMAPI 3.1 added support for.
2020-01-07 21:29:49 -05:00
Jesse Plamondon-Willard 18c69c5587
intercept schedule errors 2020-01-07 21:26:58 -05:00
kchapelier b8a566a060
Add french translation 2020-01-06 19:59:32 -05:00
Jesse Plamondon-Willard 48959375b9
prepare for release 2020-01-04 22:57:38 -05:00
Jesse Plamondon-Willard d804526d52
remove DumpMetadata option 2020-01-04 22:32:23 -05:00
Jesse Plamondon-Willard aef2550d23
add Japanese translations, update translation docs 2020-01-02 23:11:01 -05:00
Jesse Plamondon-Willard b6aef499d3
update release notes 2020-01-01 18:55:07 -05:00
Jesse Plamondon-Willard dca60f42b2
fix XNA keeping loaded assets alive forever (#685) 2019-12-31 16:18:11 -05:00
Jesse Plamondon-Willard 3818d53752
fix main sidebar link pointing to wiki instead of home page 2019-12-30 10:33:07 -05:00
Jesse Plamondon-Willard c5d452478d
fix outdated section in technical docs 2019-12-27 01:01:27 -05:00
Jesse Plamondon-Willard c3e86c048f
update release notes (#684) 2019-12-26 23:49:33 -05:00
Jesse Plamondon-Willard eee65ad0b6
update translation docs (#682) 2019-12-25 12:21:31 -05:00
Jesse Plamondon-Willard d932a11f51
list broken dependencies first in 'skipped mods' list 2019-12-24 13:51:21 -05:00