You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/release-notes.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
# Release notes
4
4
## Upcoming release
5
5
* For players:
6
+
* Added in-game config UI via [Generic Mod Config Menu](<https://www.nexusmods.com/stardewvalley/mods/5098>).
6
7
* SMAPI now uses [automated and attested builds](https://www.patreon.com/posts/automated-builds-148417912) (thanks to DecidedlyHuman)!
7
8
_This improves the security and transparency of SMAPI builds. Every step to build SMAPI from the public source code is now public and verifiable, with file signatures to let players and tools confirm the build hasn't been tampered with._
8
9
* SMAPI can now detect known malicious loose files in the `Mods` folder.
@@ -32,6 +35,16 @@ public ColorfulConsoleWriter(Platform platform)
32
35
/// <param name="colorSchemeId">The color scheme ID in <paramref name="colorConfig"/> to use, or <see cref="MonitorColorScheme.AutoDetect"/> to select one automatically.</param>
33
36
/// <param name="colorConfig">The colors to use for text written to the SMAPI console.</param>
/// <summary>Set the color scheme to apply.</summary>
45
+
/// <param name="colorSchemeId">The color scheme ID in <paramref name="colorSchemes"/> to use, or <see cref="MonitorColorScheme.AutoDetect"/> to select one automatically.</param>
46
+
/// <param name="colorSchemes">The colors to use for text written to the SMAPI console.</param>
/// <param name="colorSchemeId">The color scheme ID in <paramref name="colorConfig"/> to use, or <see cref="MonitorColorScheme.AutoDetect"/> to select one automatically.</param>
125
138
/// <param name="colorConfig">The colors to use for text written to the SMAPI console.</param>
@@ -91,6 +94,19 @@ public void SetConsoleTitle(string title)
91
94
Console.Title=title;
92
95
}
93
96
97
+
/// <summary>Apply the SMAPI settings to the log manager and its managed monitors.</summary>
98
+
/// <param name="colorSchemeId">The color scheme ID in <paramref name="colorSchemes"/> to use, or <see cref="MonitorColorScheme.AutoDetect"/> to select one automatically.</param>
99
+
/// <param name="colorSchemes">The colors to use for text written to the SMAPI console.</param>
100
+
/// <param name="verboseLogging">The log contexts for which to enable verbose logging, which may show a lot more information to simplify troubleshooting.</param>
101
+
/// <param name="isDeveloperMode">Whether to enable full console output for developers.</param>
/// <summary>Create and register a monitor instance.</summary>
353
+
/// <param name="modId">The mod ID, if applicable.</param>
354
+
/// <param name="source">The name of the module which logs messages using this instance.</param>
355
+
/// <param name="verboseLogging">The log contexts for which to enable verbose logging, which may show a lot more information to simplify troubleshooting.</param>
356
+
/// <param name="getScreenIdForLog">Get the screen ID that should be logged to distinguish between players in split-screen mode, if any.</param>
357
+
/// <param name="writeToConsole">Whether to write anything to the console. This should be disabled if no console is available.</param>
358
+
/// <param name="isDeveloperMode">Whether to enable full console output for developers.</param>
/// <summary>Apply the SMAPI settings to a managed monitor.</summary>
374
+
/// <param name="monitor">The monitor to update.</param>
375
+
/// <param name="verboseLogging">The log contexts for which to enable verbose logging, which may show a lot more information to simplify troubleshooting.</param>
376
+
/// <param name="isDeveloperMode">Whether to enable full console output for developers.</param>
[nameof(SConfig.UseCaseInsensitivePaths)]=Constants.PlatformisPlatform.Android or Platform.Linux,
32
+
[nameof(SConfig.SuppressHarmonyDebugMode)]=true
32
33
};
33
34
34
35
/// <summary>The default values for <see cref="SuppressUpdateChecks"/>, to log changes if different.</summary>
@@ -46,7 +47,7 @@ internal class SConfig
46
47
// Note: properties must be writable to support merging config.user.json into it.
47
48
//
48
49
49
-
/// <summary>Whether to enable development features.</summary>
50
+
/// <summary>Whether to show much more info in the SMAPI consoler window, intended for mod developers. Not recommended for most players.</summary>
50
51
publicboolDeveloperMode{get;set;}
51
52
52
53
/// <summary>Whether to check for newer versions of SMAPI and mods on startup.</summary>
@@ -61,7 +62,7 @@ internal class SConfig
61
62
/// <summary>Whether SMAPI should listen for console input to support console commands.</summary>
62
63
publicboolListenForConsoleInput{get;set;}
63
64
64
-
/// <summary>Whether to add a section to the 'mod issues' list for mods which which directly use potentially sensitive .NET APIs like file or shell access.</summary>
65
+
/// <summary>Whether to add a section to the 'mod issues' list for mods which directly use potentially sensitive .NET APIs like file or shell access.</summary>
65
66
publicboolParanoidWarnings{get;set;}
66
67
67
68
/// <summary>Whether to show beta versions as valid updates.</summary>
@@ -83,6 +84,9 @@ internal class SConfig
83
84
/// <summary>Whether SMAPI should rewrite mods for compatibility.</summary>
84
85
publicboolRewriteMods{get;set;}
85
86
87
+
/// <summary>Whether SMAPI should add an in-game config menu through Generic Mod Config Menu.</summary>
88
+
publicboolEnableConfigMenu{get;set;}
89
+
86
90
/// <summary>Whether to apply fixes to Harmony so it works with Stardew Valley.</summary>
/// <summary>Whether to show the full log stamps (with time/level/logger) in the console. If false, shows a simplified stamp with only the logger.</summary>
60
64
internalboolShowFullStampInConsole{get;set;}
@@ -73,11 +77,9 @@ internal class Monitor : IMonitor
73
77
/// <param name="modId">The mod ID, if applicable.</param>
74
78
/// <param name="source">The name of the module which logs messages using this instance.</param>
75
79
/// <param name="logFile">The log file to which to write messages.</param>
76
-
/// <param name="colorSchemeId">The color scheme ID in <paramref name="colorConfig"/> to use, or <see cref="MonitorColorScheme.AutoDetect"/> to select one automatically.</param>
77
-
/// <param name="colorConfig">The colors to use for text written to the SMAPI console.</param>
78
-
/// <param name="isVerbose">Whether verbose logging is enabled. This enables more detailed diagnostic messages than are normally needed.</param>
80
+
/// <param name="consoleWriter">Handles writing text to the console.</param>
79
81
/// <param name="getScreenIdForLog">Get the screen ID that should be logged to distinguish between players in split-screen mode, if any.</param>
0 commit comments