Jesse Plamondon-Willard
4c64f9f644
rewrite content loading to allow handling locale variants ( #766 , #786 , #812 )
...
The game's content pipeline automatically loads localized variants if present. For example, it will try to load "Maps/cave.fr-FR", then "Maps/cave_international", then "Maps/cave". The old content API obfuscates this logic and treats them as interchangeable, which causes edge cases like bundle corruption (#812 ). This commit rewrites the loading logic to match the game logic when using the new content events, while maintaining the legacy behavior for the old IAssetLoader/IAssetEditor interfaces that'll be removed in SMAPI 4.0.0.
2022-03-26 14:07:16 -04:00
Jesse Plamondon-Willard
ad8912047b
add asset edit priority ( #766 )
2022-03-26 01:43:40 -04:00
Jesse Plamondon-Willard
021891ff0c
add load conflict resolution option ( #766 )
2022-03-25 22:49:14 -04:00
Jesse Plamondon-Willard
9025b0dcc5
fix asset load conflict always showing multiple-mod form
2022-03-25 22:16:49 -04:00
Jesse Plamondon-Willard
e1fc566e0a
add content pack labels ( #766 )
2022-03-25 21:46:37 -04:00
Jesse Plamondon-Willard
2b0ce2bb4d
add AssetInvalidated content event ( #766 )
2022-03-24 22:55:55 -04:00
Jesse Plamondon-Willard
584725bb8e
add initial AssetRequested content event ( #766 )
2022-03-23 01:06:11 -04:00
Jesse Plamondon-Willard
b07d2340a9
encapsulate & cache asset operation groups ( #766 )
...
This is needed for the upcoming Stardew Valley 1.6 to avoid duplicate checks between DoesAssetExist and Load calls, and to make sure the answer doesn't change between them.
2022-03-22 23:00:18 -04:00
Jesse Plamondon-Willard
d96cec88e4
fix set_farm_type not updating warps
2022-03-10 23:24:01 -05:00
Jesse Plamondon-Willard
2216e37726
rework launch script argument parsing ( #832 )
...
This commit...
* replaces the internal `--no-reopen-terminal` arg with a documented `--use-current-shell` arg that works on Linux too;
* replaces the new SKIP_TERMINAL environment variable with the existing SMAPI_NO_TERMINAL one;
* moves argument parsing out of the 'initial setup' section (so it's easier for players to edit if needed);
* simplfies argument parsing (no need to support short opt names or add arguments for the default behavior);
* fixes arguments not parsed after the first unrecognized argument, so `--unknown --no-terminal` would still open a terminal.
2022-03-06 19:55:32 -05:00
Jesse Plamondon-Willard
8429485e69
update schema for Content Patcher 1.25.0
2022-02-27 20:40:49 -05:00
Jesse Plamondon-Willard
f36b4e06ef
update release notes
2022-02-25 23:50:52 -05:00
Jesse Plamondon-Willard
3c29ae6a1e
add Constants.ContentPath
2022-02-19 11:26:24 -05:00
Jesse Plamondon-Willard
2d52681b10
add Constants.GamePath & deprecate Constants.ExecutionPath
2022-02-19 11:07:26 -05:00
Jesse Plamondon-Willard
a2190df08c
add AssetName to encapsulate asset name handling ( #766 )
2022-02-18 15:39:49 -05:00
Jesse Plamondon-Willard
065859408f
Fix support for custom locale codes in asset names ( #766 )
2022-02-18 12:31:14 -05:00
Jesse Plamondon-Willard
b0cc403098
add data-* attributes to log parser for external tools
2022-02-12 12:07:13 -05:00
Jesse Plamondon-Willard
4a1174cd50
fix thumbstick input overrides
2022-02-11 20:56:25 -05:00
Jesse Plamondon-Willard
25a9f54ecf
fix manifest JSON schema's update key pattern
2022-01-29 20:43:45 -05:00
Jesse Plamondon-Willard
3431f486a2
normalize season names in SDate constructor
2022-01-29 18:15:42 -05:00
Jesse Plamondon-Willard
6dd4a8a12b
fix item repo's handling of Journal Scraps and Secret Notes
2022-01-29 17:46:45 -05:00
Jesse Plamondon-Willard
53ed5f4faa
update release notes
2022-01-24 21:55:30 -05:00
Jesse Plamondon-Willard
dbed0289d7
prepare for release
2022-01-16 22:57:40 -05:00
Jesse Plamondon-Willard
95f4513727
rewrite fallback assembly resolution
...
* SMAPI now also searches the root game folder for unresolved assemblies. This fixes an issue resolving the game DLL when the player's DLL version doesn't match the one used to compile SMAPI.
* The DLL search folders are now scanned once and cached to avoid repeated iterations on startup.
2022-01-16 22:56:48 -05:00
Jesse Plamondon-Willard
85f8631bee
fix typo
2022-01-16 18:54:00 -05:00
Jesse Plamondon-Willard
ad0e6b315d
prepare for release
2022-01-16 17:13:28 -05:00
Jesse Plamondon-Willard
230f119205
merge field rewriters to reduce rewrite iterations
2022-01-16 17:08:08 -05:00
Jesse Plamondon-Willard
00bd9d19a1
bump min game version to 1.5.6
...
That avoids error reports on mods when pirated players have an older 1.5.5 build that break mods, and ensures that the new build number shown in the SMAPI log is available.
2022-01-16 00:15:03 -05:00
Jesse Plamondon-Willard
7e8d11ca3a
add Xbox app log instructions, redesign UI to fit
2022-01-15 23:41:01 -05:00
Jesse Plamondon-Willard
6f05580191
add detection for Xbox app game folders
2022-01-15 20:39:32 -05:00
Jesse Plamondon-Willard
d029dd652f
fix JSON validator not recognizing manifest update subkeys
2022-01-15 18:04:33 -05:00
Jesse Plamondon-Willard
4cffd6c2c0
add save recovery for missing custom farm type
2022-01-15 17:21:11 -05:00
Jesse Plamondon-Willard
8ebb9ce8d4
fix backspaces ignored on Linux/macOS in SDV 1.5.5+
2022-01-15 13:27:23 -05:00
Jesse Plamondon-Willard
a8985e122e
fix suppressed console output not suppressing newlines
2022-01-15 12:21:22 -05:00
Jesse Plamondon-Willard
e30e427628
add download option to log view
2022-01-02 19:59:38 -05:00
Jesse Plamondon-Willard
1fab386ab1
add Ukrainian translations ( #823 )
2022-01-02 13:57:14 -05:00
Jesse Plamondon-Willard
92f35837ad
fix syntax, update release notes
2022-01-02 13:48:53 -05:00
Jesse Plamondon-Willard
aad77242f0
fix uninstaller not removing StardewModdingAPI.deps.json file
2021-12-23 23:08:49 -05:00
Jesse Plamondon-Willard
52f4df3f30
add new game build number to the SMAPI log
2021-12-21 20:33:08 -05:00
Jesse Plamondon-Willard
0d7d447600
auto-fix maps broken due to missing vanilla tilesheet
2021-12-20 22:18:09 -05:00
Jesse Plamondon-Willard
95f658014e
simplify running SMAPI without a terminal on Linux/macOS
2021-12-18 23:07:33 -05:00
Jesse Plamondon-Willard
beb1acd4f8
update Steam error message
2021-12-18 22:21:31 -05:00
Jesse Plamondon-Willard
aa5d1d4a20
update compatibility list
2021-12-09 19:57:57 -05:00
Jesse Plamondon-Willard
4e17716fa2
fix log parser handling when multiple mods have the exact same name
2021-12-09 19:56:46 -05:00
Jesse Plamondon-Willard
5b5dd47c22
prepare for release
2021-12-05 19:10:28 -05:00
Jesse Plamondon-Willard
f4ca7dd228
add Windows build process to fix application icon until .NET bug is fixed
2021-12-05 18:55:10 -05:00
Jesse Plamondon-Willard
c05fdf65cf
mark UI Info Suite incompatible
2021-12-05 18:39:08 -05:00
Jesse Plamondon-Willard
6a45640dd7
add known issue to release notes for missing pufferchick icon
2021-12-05 02:19:17 -05:00
Jesse Plamondon-Willard
98d01d522d
improve error when installer is pointed at a compatibility-branch game folder
2021-12-05 00:51:24 -05:00
Jesse Plamondon-Willard
cb9d6ae5ad
improve error when installer is pointed at a SDV 1.5.4 folder
2021-12-04 23:47:27 -05:00