What's new in SMAPI 3.5

SMAPI 3.5 is now available!

Here's a quick recap of the main changes; feedback or questions are welcome.

More error-handling

SMAPI now prevents more game errors due to invalid item data, so you now trash broken items in-game without save editing.

Map patching API

Modders can now combine and patch maps through the content API. This was previously difficult, so it was only done by framework mods like Content Patcher and TMXL Map Toolkit.

For example, Small Beach Farm will use it to add optional islands:

Patch helpers

Patch helpers provide methods for editing assets. For example, the above map patching is available through the map patch helper. They were only available with assets edited through IAssetEditor, but SMAPI 3.5 now lets mods get a patch helper for any data. For example, Small Beach Farm will use it to combine multiple local maps into one like above.

Improved date utility

SMAPI's date utility (SDate) has several new fields and methods thanks to modder kdau. It also provides a new translated date string, so mods can use dates in dialogue, map messages, and UI.

Improved asset propagation

'Asset propagation' happens when a mod changes some data/image/map in-game, and SMAPI automatically updates the game to reflect the changes. For example, a mod can change a portrait image and SMAPI will update NPCs to use it.

Asset propagation has a number of improvements in SMAPI 3.5:

  • Location maps loaded through a temporary content manager are now updated correctly. This notably fixes an issue where patches could be unreliable in the farmhouse and town maps.
  • Fixed Linux/Mac issues when propagating monster sprites, NPC dialogue, and NPC schedules.
  • Fixed an issue where propagating NPC dialogue for the player's spouse would sometimes disable marriage dialogue/kissing.

Improved date commands

Console Commands now updates the game's daysPlayed stat when changing date, thanks to modder kdau. That means what you see in-game matches what you'd get by playing to that date normally (e.g. timed events correctly unlock).

By becoming a patron, you'll instantly unlock access to 98 exclusive posts
2
Polls
96
Writings
By becoming a patron, you'll instantly unlock access to 98 exclusive posts
2
Polls
96
Writings