Commit Graph

1056 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 8051862c7b add LocationEvents.ObjectsChanged event 2018-05-04 20:44:20 -04:00
Jesse Plamondon-Willard c8ae8c2b00 load game synchronously to fix asset loader/editor errors 2018-05-04 01:27:21 -04:00
Jesse Plamondon-Willard 4bee6311c4 add prompt when in beta channel and a new version is found 2018-05-03 00:23:26 -04:00
Jesse Plamondon-Willard 6a6001c7e6 add semanticVersion.IsPrerelease() 2018-05-03 00:14:35 -04:00
Jesse Plamondon-Willard dc47ff15c5 fix log parser not recognising content packs with no description (#481) 2018-05-02 17:58:48 -04:00
Jesse Plamondon-Willard b1a24452ee add public platform constant for mods 2018-05-01 19:15:56 -04:00
Jesse Plamondon-Willard 6257fdf57d update wiki links 2018-04-28 22:39:29 -04:00
Jesse Plamondon-Willard efff972360 update for upcoming 2.6 beta release 2018-04-25 20:49:37 -04:00
Jesse Plamondon-Willard 2300996926 simplify beta channel logic (#457) 2018-04-25 20:41:52 -04:00
Jesse Plamondon-Willard 05369f2b31 add friendly error when game can't load audio (#472) 2018-04-25 13:29:08 -04:00
Jesse Plamondon-Willard 0134f0b28d update release notes, refactor a bit (#474) 2018-04-25 13:16:25 -04:00
Jesse Plamondon-Willard cd3dbc47aa update release notes, tweak formatting (#477) 2018-04-25 12:11:28 -04:00
Jesse Plamondon-Willard bd146e74e8 update release notes, minor tweaks (#475) 2018-04-25 12:04:14 -04:00
Jesse Plamondon-Willard 151789caa9 add default GOG install path 2018-04-25 11:39:35 -04:00
Jesse Plamondon-Willard f1b7585e50 fix misplaced release notes (#453) 2018-04-25 00:26:13 -04:00
Jesse Plamondon-Willard 9cebd83cb9 show update-key warnings before checking mod status, enable in non-dev mode 2018-04-23 18:15:58 -04:00
Jesse Plamondon-Willard 5e7eaf9f75 rewrite input suppression (#453)
This lets SMAPI intercept all input using the new Game1.hooks in SDV 1.3.0.32. However, intercepting mouse clicks needs a few more changes in the game code.
2018-04-22 19:59:03 -04:00
Jesse Plamondon-Willard 902814d308 don't send chatbox input to mods (#453) 2018-04-22 15:05:08 -04:00
Jesse Plamondon-Willard eead352af2 rewrite world/player state tracking (#453) 2018-04-21 20:37:17 -04:00
Jesse Plamondon-Willard b346d28d38 fix GetApi interface validation errors not naming interface 2018-04-19 20:35:16 -04:00
Jesse Plamondon-Willard 4af998024c add warning in developer mode for mods with no update keys 2018-04-17 21:12:03 -04:00
Jesse Plamondon-Willard 6616c87c18 fix world_settime command sometimes breaking NPC schedules 2018-04-14 00:24:24 -04:00
Jesse Plamondon-Willard 6d269621b2 make crossplatform handling more consistent 2018-04-14 00:18:19 -04:00
Jesse Plamondon-Willard 0d5278a270 use light-background color scheme on Mac by default 2018-04-13 23:54:44 -04:00
Jesse Plamondon-Willard 45f4f85b7e add MacOS detection 2018-04-13 23:47:24 -04:00
Jesse Plamondon-Willard 504733dec7 fix console color scheme for PowerShell, and make it configurable 2018-04-13 23:00:49 -04:00
Jesse Plamondon-Willard a3ade7a512 split mod DB into a separate file
The mod metadata has grown over time, and there's no need to keep it in memory after mod loading. This lets us load the config earlier (since it has a smaller impact on memory usage which affects the game's audio code), and lets us discard the mod metadata when we're done with it.
2018-04-13 22:41:34 -04:00
Jesse Plamondon-Willard 2d47e479a5 fix draft releases being detected as update candidates 2018-04-11 19:55:01 -04:00
Jesse Plamondon-Willard e4222ad1fd fix error when two content packs use different capitalisation for the same required mod ID (#469) 2018-04-11 16:17:23 -04:00
Jesse Plamondon-Willard e0488fa5b2 fix error when a remote mod version is invalid (#462) 2018-04-11 16:08:58 -04:00
Jesse Plamondon-Willard fa335f80be fix crash when player has duplicate item references 2018-04-11 15:41:32 -04:00
Jesse Plamondon-Willard 77b4d1e9a2 Merge branch 'feature/mod-code-analysis' into develop 2018-04-10 18:27:09 -04:00
Jesse Plamondon-Willard b74b530a8a add code analyzers to release notes 2018-04-10 18:25:57 -04:00
Jesse Plamondon-Willard 9fba3c1266 add context properties for multiplayer, update release notes (#453) 2018-04-10 18:20:49 -04:00
Jesse Plamondon-Willard 30e89b3a33 fix mods not being loaded if an optional dependency is installed but skipped 2018-03-30 22:51:34 -04:00
Jesse Plamondon-Willard a9e3458a3b add success/error banner to log parser page 2018-03-29 00:39:25 -04:00
Jesse Plamondon-Willard 4d68ef3514 update for 2.5.4 release 2018-03-26 09:34:45 -04:00
Jesse Plamondon-Willard 60fc4a6488 update animal textures when changed through the content API (#459) 2018-03-25 14:59:06 -04:00
Jesse Plamondon-Willard 5a0e49827b update fence textures when changed through the content API (#459) 2018-03-25 00:52:37 -04:00
Jesse Plamondon-Willard d0b96ed3c0 update release notes (#459) 2018-03-24 20:33:59 -04:00
Jesse Plamondon-Willard 5126d56b39 fix error when a mod removes an asset editor/loader (#460) 2018-03-23 22:41:15 -04:00
Jesse Plamondon-Willard fad47ff74f fix image overlay bugs on Linux/Mac (#461) 2018-03-23 22:30:49 -04:00
Jesse Plamondon-Willard 51368b8afb update tree textures when changeed through the content API (#459) 2018-03-23 20:18:23 -04:00
Jesse Plamondon-Willard 91561eedc7 fix log parser errors when log text contains {{tokens}} 2018-03-23 01:21:50 -04:00
Jesse Plamondon-Willard ada351b163 reduce cache time for failed update checks to 5 minutes (#454) 2018-03-16 20:28:16 -04:00
Jesse Plamondon-Willard b5866c2c06 update release notes (#457) 2018-03-15 23:41:19 -04:00
Jesse Plamondon-Willard 9e052ae916 hide SMAPI 2.6 release notes to avoid confusion 2018-03-13 20:36:25 -04:00
Jesse Plamondon-Willard 76445dc358 simplify release notes 2018-03-13 19:47:30 -04:00
Jesse Plamondon-Willard 327b6949d2 add missing release note (#456) 2018-03-11 21:17:17 -04:00
Jesse Plamondon-Willard f0e1a46f0f fix error when content pack needs a mod that couldn't be loaded 2018-03-11 21:07:45 -04:00
Jesse Plamondon-Willard de17f87d87 fix some title menu assets not being editable (#453, #413) 2018-03-11 20:31:19 -04:00
Jesse Plamondon-Willard 6db91f8329 drop support for some deprecated APIs in the Stardew Valley 1.3 branch (#453) 2018-03-11 19:10:27 -04:00
Jesse Plamondon-Willard 41715cefcd add initial compatibility with Stardew Valley 1.3 (#453) 2018-03-11 19:09:08 -04:00
Jesse Plamondon-Willard 6bde91060c polish release notes 2018-03-04 21:27:56 -05:00
Jesse Plamondon-Willard 99023f9487 add support for mapping non-semantic remote mod versions 2018-03-04 18:46:05 -05:00
Jesse Plamondon-Willard 90c8593ba9 update SMAPI URL in user agent (#454) 2018-03-04 17:34:43 -05:00
Jesse Plamondon-Willard 38ca63a8f6 fix null reference when checking FormerIDs field against 'authour' field 2018-03-04 14:33:50 -05:00
Jesse Plamondon-Willard ac6127c63e fix log parser error when mod names are duplicated 2018-03-04 13:37:42 -05:00
Jesse Plamondon-Willard 19570f4312 simplify and always include default update URL, shorten no-longer-compatible skip messages 2018-03-04 01:07:55 -05:00
Jesse Plamondon-Willard a290a2fa52 mark Stardew Valley 1.3 incompatible in SMAPI 2.5.x to reduce confusion when it's released (#453) 2018-03-03 22:18:44 -05:00
Jesse Plamondon-Willard c1b5f71aa9 update release notes for backported changes 2018-03-03 17:56:15 -05:00
Jesse Plamondon-Willard 36a527956c fix detected incompatibility errors not showing mod's update URL (#453) 2018-03-03 17:54:17 -05:00
Jesse Plamondon-Willard c984d5ad51 fix log filtering some mods incorrectly 2018-02-25 23:33:07 -05:00
Jesse Plamondon-Willard 212e85489a fix log parser not correctly parsing mod list if a mod has no author name 2018-02-25 23:27:44 -05:00
Jesse Plamondon-Willard f65e618cd9 fix blank page when uploading a log in some cases 2018-02-25 01:26:03 -05:00
Jesse Plamondon-Willard d70d449c5c fix issue where replacing an asset via asset.AsImage() or asset.AsDictionary() has no effect 2018-02-25 01:07:32 -05:00
Jesse Plamondon-Willard a8a34f7f96 fix event error in rare cases 2018-02-24 20:24:42 -05:00
Jesse Plamondon-Willard f2e8450706 update for 2.5 release and simplify assembly info 2018-02-24 17:45:29 -05:00
Jesse Plamondon-Willard 691310d16e add content pack support to log parser 2018-02-24 16:52:38 -05:00
Jesse Plamondon-Willard d7696912e0 reimplement log parser with serverside parsing and vue.js frontend 2018-02-24 16:51:37 -05:00
Jesse Plamondon-Willard 68528f7dec overhaul events to track the mod which added each handler, and log errors under their name (#451) 2018-02-23 19:05:23 -05:00
Jesse Plamondon-Willard c8162c2fb6 polish release notes 2018-02-22 21:23:07 -05:00
Jesse Plamondon-Willard dae5838696 Revert "suppress keyboard events when a textbox is focused (#445)"
This reverts commit 0330150666.
2018-02-22 20:58:31 -05:00
Jesse Plamondon-Willard ddba317142 add friendly warning when an i18n file has duplicate keys due to case-insensitivity (#448) 2018-02-22 20:26:21 -05:00
Jesse Plamondon-Willard b6cc17112d normalise path separators in read/write JSON file methods exposed to mods 2018-02-19 20:22:01 -05:00
Jesse Plamondon-Willard 674618664a add unvalidated update tick event for specialised use cases (#446) 2018-02-19 19:32:27 -05:00
Jesse Plamondon-Willard 6cf4742bca fix some JSON field names being case-sensitive 2018-02-19 13:38:09 -05:00
Jesse Plamondon-Willard 0330150666 suppress keyboard events when a textbox is focused (#445) 2018-02-18 22:40:20 -05:00
Jesse Plamondon-Willard 25cf3a86cf tweak release notes 2018-02-18 18:23:17 -05:00
Jesse Plamondon-Willard f0cddebbe9 update release notes (#436) 2018-02-18 02:33:30 -05:00
Jesse Plamondon-Willard f1c24e3052 add support for ISemanticVersion in JSON models 2018-02-18 02:31:39 -05:00
Jesse Plamondon-Willard 0c1bca3db0 validate that mod APIs are public (#435) 2018-02-17 18:51:09 -05:00
Jesse Plamondon-Willard e64326f9fe Revert "rewrite all mod assemblies to let SMAPI proxy into their internal classes (#435)"
This reverts commit 0329976500.
2018-02-17 16:38:45 -05:00
Jesse Plamondon-Willard 754e356adc add install scripts for Linux/Mac (#434) 2018-02-17 02:00:46 -05:00
Jesse Plamondon-Willard 52867bb634 fix uninstall script not confirming success on Linux/Mac 2018-02-17 00:38:59 -05:00
Jesse Plamondon-Willard 8a19823267 add mod page URL to missing-dependency errors (#437) 2018-02-16 23:12:01 -05:00
Jesse Plamondon-Willard d926133608 fix deadlock in rare cases when injecting an asset (#441) 2018-02-16 22:33:33 -05:00
Jesse Plamondon-Willard 2f101e716a encapsulate mod DB, add display name, and use in dependency checks (#439) 2018-02-16 22:11:20 -05:00
Jesse Plamondon-Willard efd331ccd1 enable update checks for older Entoarox mods per request, update More Animals ID 2018-02-16 20:20:28 -05:00
Jesse Plamondon-Willard 024489c338 overhaul internal mod data format (#439)
The new format is much more concise, reduces the memory footprint by only parsing metadata for loaded mods, and adds support for versioning and defaulting most fields.
2018-02-16 18:50:46 -05:00
Jesse Plamondon-Willard cf38387083 log mod errors and warnings as the mod (#438) 2018-02-15 23:58:27 -05:00
Jesse Plamondon-Willard 0329976500 rewrite all mod assemblies to let SMAPI proxy into their internal classes (#435) 2018-02-15 23:06:44 -05:00
Jesse Plamondon-Willard 5c96a10da5 update for release 2018-01-21 22:22:44 -05:00
Jesse Plamondon-Willard 274139eafe rm release note about Custom Farm Types (needs a separate update anyway) 2018-01-21 11:48:12 -05:00
Jesse Plamondon-Willard d76476ca68 add before/after save creation events (#429)
This supports mods like Custom Farm Types that need to intercept the very first save, which doesn't raise the normal save events since the world isn't fully initialised yet.
2018-01-21 02:14:28 -05:00
Jesse Plamondon-Willard b3318af7d0 update release notes 2018-01-20 23:14:39 -05:00
Jesse Plamondon-Willard 9636d5b3aa encapsulate common JSON converter code, improve parse errors (#423) 2018-01-20 21:26:21 -05:00
Jesse Plamondon-Willard 374a8ababe Merge pull request #425 from EnderHDMC/develop 2018-01-19 21:29:54 -05:00
Jesse Plamondon-Willard 32defd60e2 tweak new script, document workaround, update release notes 2018-01-19 21:24:22 -05:00
Jesse Plamondon-Willard 568ba2757e fix events being raised while the game is loading a save (#424) 2018-01-19 21:13:23 -05:00
Jesse Plamondon-Willard a59572ee4e overhaul input handling (#422) 2018-01-17 00:20:24 -05:00
Jesse Plamondon-Willard 0122abaf20 add JSON converters for crossplatform-incompatible types (#423) 2018-01-16 19:16:58 -05:00
Jesse Plamondon-Willard 0ad9fbdddd fix semantic versions always ignoring `-0` tag (#421) 2018-01-12 01:24:49 -05:00
Jesse Plamondon-Willard dc2ceb39f3 fix curly quotes in config.json automatically if possible (#412) 2018-01-12 01:11:16 -05:00
Jesse Plamondon-Willard d471ac296e fix parse error for logs with zero installed mods 2018-01-02 16:48:33 -05:00
Jesse Plamondon-Willard d1a8294972 fix issue where assemblies could be incorrectly reloaded 2017-12-28 00:16:54 -05:00
Jesse Plamondon-Willard 70d7f44ce0 add missing release note 2017-12-25 23:45:17 -05:00
Jesse Plamondon-Willard e9b7223122 polish release notes 2017-12-25 11:24:47 -05:00
Jesse Plamondon-Willard 060418ab55 update release notes (#411) 2017-12-25 11:19:32 -05:00
Jesse Plamondon-Willard c3d0ce7245 mark TrainerMod as obsolete (replaced by ConsoleCommands) 2017-12-16 17:41:16 -05:00
Jesse Plamondon-Willard a391dfe263 update release notes (#409) 2017-12-12 01:58:42 -05:00
Jesse Plamondon-Willard 69c9ab0ecd trace mods with no update keys, tweak update-check logging 2017-12-11 21:29:39 -05:00
Jesse Plamondon-Willard d3f6f9c70a fix log parser favicon (#405) 2017-12-10 23:42:22 -05:00
Jesse Plamondon-Willard 6bdd49af13 detect libgdiplus-missing exception and show a friendly error instead (#408) 2017-12-10 23:27:10 -05:00
Jesse Plamondon-Willard 80c4d93559 fix GraphicsEvents.OnPostRenderEvent not being raised in some cases 2017-12-10 15:28:27 -05:00
Jesse Plamondon-Willard 2c5532f4ab add e.IsSuppressed to input event args 2017-12-10 13:43:05 -05:00
Jesse Plamondon-Willard dd7b5ac462 fix mods being able to change cursor position reported to other mods 2017-12-10 13:37:59 -05:00
Jesse Plamondon-Willard 1398e591ab fix reflection API error with properties which don't have both get and set 2017-12-09 12:46:10 -05:00
Jesse Plamondon-Willard e7395dfb4d tweak release notes 2017-12-02 14:27:20 -05:00
Jesse Plamondon-Willard 72a02c56d5 add NormaliseAssetName content helper method (#404) 2017-12-02 14:27:03 -05:00
Jesse Plamondon-Willard 4245785394 tweak log parser instructions to avoid confusion 2017-12-01 22:41:16 -05:00
Jesse Plamondon-Willard 08f4a6fa0b fix log parser error when uploading very large logs 2017-11-30 16:54:50 -05:00
Jesse Plamondon-Willard 051b0c9bda fix API always redirecting to HTTPS when accessed via subdomain 2017-11-28 18:53:08 -05:00
Jesse Plamondon-Willard c81520e0bc update for 2.2 release 2017-11-28 18:34:27 -05:00
Jesse Plamondon-Willard 5ae28b2a8c fix error when a mod has an invalid filename in the EntryDLL manifest field (#402) 2017-11-27 22:19:23 -05:00
Jesse Plamondon-Willard 49bc98fa4c fix player_add command not handling upgrade level (#397) 2017-11-26 21:13:38 -05:00
Jesse Plamondon-Willard f44df025ca no longer expire saved logs after a week (#400) 2017-11-26 17:02:54 -05:00
Jesse Plamondon-Willard fc9043c1ba fix rare installer error on Mac due to generated mcs file (#394) 2017-11-26 16:58:41 -05:00
Jesse Plamondon-Willard 1aa4098a51 fix CFAutomate compatibility errors showing no URL (#393) 2017-11-26 16:27:36 -05:00
Jesse Plamondon-Willard 0541549793 update release notes (#386) 2017-11-26 15:51:35 -05:00
Jesse Plamondon-Willard ca13b2834c fix e.SuppressButton() not working with some mouse buttons, update release notes (#389) 2017-11-26 15:39:41 -05:00
Jesse Plamondon-Willard 3a832b99bf add date.DaysSinceStart property, add unit tests, update release notes (#390) 2017-11-26 15:03:55 -05:00
Jesse Plamondon-Willard 089e6de749 update for 2.1 release 2017-11-01 17:41:29 -04:00
Jesse Plamondon-Willard a0a72e310d explicitly disallow absolute paths as asset keys in content API (#381) 2017-10-30 19:26:45 -04:00
Jesse Plamondon-Willard cb74ce5a17 improve update-check errors when connection is offline (#380) 2017-10-30 18:15:26 -04:00
Jesse Plamondon-Willard 08c30eeffd let mods invalidate assets matching a predicate (#363) 2017-10-30 00:02:20 -04:00
Jesse Plamondon-Willard 6b5c03da4d expand post-install instructions, show Steam launch options value (#375) 2017-10-29 23:21:14 -04:00
Jesse Plamondon-Willard e606b074d7 add installer version & platform to window title, simplify output (#375) 2017-10-29 23:17:21 -04:00
Jesse Plamondon-Willard 1bea3a9e32 let SemanticVersion be constructed from a System.Version (#375) 2017-10-29 23:15:18 -04:00
Jesse Plamondon-Willard c3cd9a3120 + missing release note (#358) 2017-10-29 22:00:22 -04:00
Jesse Plamondon-Willard 59dd604cf2 rename TrainerMod to Console Commands to clarify purpose 2017-10-27 03:18:48 -04:00
Jesse Plamondon-Willard b945fcf555 fix player_setlevel command not also changing XP (#359) 2017-10-27 02:44:53 -04:00
Jesse Plamondon-Willard 7f16ebdb19 hide the game's test messages from the console & log (#364) 2017-10-27 01:42:54 -04:00
Jesse Plamondon-Willard 801f25a51e update release notes (#373) 2017-10-27 01:01:55 -04:00
Jesse Plamondon-Willard ed56cb714d replace input events' e.IsClick with better-designed e.IsActionButton and e.IsUseToolButton 2017-10-22 15:09:36 -04:00
Jesse Plamondon-Willard 99c8dd7940 add InputButton.ToSButton() extension 2017-10-22 15:07:06 -04:00
Jesse Plamondon-Willard f74321addc fix SMAPI blocking reflection access to vanilla members on overridden types (#371) 2017-10-22 13:13:14 -04:00
Jesse Plamondon-Willard 85a8959e97 fix mods which implement IAssetLoader being marked as conflicting with themselves 2017-10-21 21:51:48 -04:00
Jesse Plamondon-Willard 53df85f312 enable access to public members using reflection API 2017-10-20 16:37:22 -04:00
Jesse Plamondon-Willard 36b4e550f1 fix e.SuppressButton() in input events not suppressing keyboard buttons 2017-10-19 21:26:00 -04:00
Jesse Plamondon-Willard 2ff9373971 fix compatibility check crashing for players with SDV 1.08 2017-10-18 10:59:57 -04:00
Jesse Plamondon-Willard 8aec1eff99 update for 2.0 release 2017-10-14 11:39:52 -04:00
Jesse Plamondon-Willard ff718d7993 update Json.NET 2017-10-13 13:17:58 -04:00
Jesse Plamondon-Willard aa5c5b2783 fix SDate.Now() crashing during new-game intro (#369) 2017-10-13 00:33:05 -04:00
Jesse Plamondon-Willard 1e19a170be refuse to load custom map tilesheets with absolute or directory-climbing paths (#368) 2017-10-12 22:20:19 -04:00
Jesse Plamondon-Willard 929dccb75a reorganise repo structure 2017-10-07 23:07:10 -04:00