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
7. Compress the two folders into `SMAPI <version>.zip` and `SMAPI <version> for developers.zip`.
135
139
@@ -143,6 +147,7 @@ field | purpose
143
147
`DeveloperMode` | Default `false` (except in _SMAPI for developers_ releases). Whether to enable features intended for mod developers. Currently this only makes `TRACE`-level messages appear in the console.
144
148
`CheckForUpdates` | Default `true`. Whether SMAPI should check for a newer version when you load the game. If a new version is available, a small message will appear in the console. This doesn't affect the load time even if your connection is offline or slow, because it happens in the background.
145
149
`ModCompatibility` | A list of mod versions SMAPI should consider compatible or broken regardless of whether it detects incompatible code. Each record can be set to `AssumeCompatible` or `AssumeBroken`. Changing this field is not recommended and may destabilise your game.
150
+
`VerboseLogging` | Whether SMAPI should log more information about the game context.
146
151
147
152
### Command-line arguments
148
153
SMAPI recognises the following command-line arguments. These are intended for internal use or
@@ -152,3 +157,13 @@ argument | purpose
152
157
-------- | -------
153
158
`--log-path "path"` | The relative or absolute path of the log file SMAPI should write.
154
159
`--no-terminal` | SMAPI won't write anything to the console window. (Messages will still be written to the log file.)
160
+
161
+
### Compile flags
162
+
SMAPI uses a small number of conditional compilation constants, which you can set by editing the
163
+
`<DefineConstants>` element in `StardewModdingAPI.csproj`. Supported constants:
164
+
165
+
flag | purpose
166
+
---- | -------
167
+
`EXPERIMENTAL` | Enables preview features that aren't officially released yet.
168
+
`SMAPI_FOR_WINDOWS` | Indicates that SMAPI is being compiled on Windows for players on Windows. Set automatically in `crossplatform.targets`.
Copy file name to clipboardExpand all lines: release-notes.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,29 @@ For mod developers:
10
10
images).
11
11
-->
12
12
13
+
## 1.13
14
+
See [log](https://github.com/Pathoschild/SMAPI/compare/1.12...1.13).
15
+
16
+
For players:
17
+
* SMAPI now recovers better from mod draw errors and detects when the error is irrecoverable.
18
+
* SMAPI now recovers automatically from errors in the game loop when possible.
19
+
* SMAPI now remembers if your game crashed and offers help next time you launch it.
20
+
* Fixed installer sometimes finding redundant game paths.
21
+
* Fixed save events not being raised after the first day on Linux/Mac.
22
+
* Fixed error on Linux/Mac when a mod loads a PNG immediately after the save is loaded.
23
+
* Updated mod compatibility list for Stardew Valley 1.2.
24
+
25
+
For mod developers:
26
+
* Added a `Context.IsWorldReady` flag for mods to use.
27
+
_<small>This indicates whether a save is loaded and the world is finished initialising, which starts at the same point that `SaveEvents.AfterLoad` and `TimeEvents.AfterDayStarted` are raised. This is mainly useful for events which can be raised before the world is loaded (like update tick).</small>_
28
+
* Added a `debug` console command which lets you run the game's debug commands (e.g. `debug warp FarmHouse 1 1` warps you to the farmhouse).
29
+
* Added basic context info to logs to simplify troubleshooting.
30
+
* Added a `Mod.Dispose` method which can be overriden to clean up before exit. This method isn't guaranteed to be called on every exit.
31
+
* Deprecated mods that don't have a `Name`, `Version`, or `UniqueID` in their manifest. These will be required in SMAPI 2.0.
32
+
* Deprecated `GameEvents.GameLoaded` and `GameEvents.FirstUpdateTick`. You can move any affected code into your mod's `Entry` method.
33
+
* Fixed maps not recognising custom tilesheets added through the SMAPI content API.
34
+
* Internal refactoring for upcoming features.
35
+
13
36
## 1.12
14
37
See [log](https://github.com/Pathoschild/SMAPI/compare/1.11...1.12).
15
38
@@ -40,6 +63,7 @@ For mod developers:
40
63
* Added a content API which loads custom textures/maps/data from the mod's folder (`.xnb` or `.png` format) or game content.
41
64
*`Console.Out` messages are now written to the log file.
42
65
*`Monitor.ExitGameImmediately` now aborts SMAPI initialisation and events more quickly.
66
+
* Fixed value-changed events being raised when the player loads a save due to values being initialised.
43
67
44
68
## 1.10
45
69
See [log](https://github.com/Pathoschild/SMAPI/compare/1.9...1.10).
0 commit comments