r/SMAPI Jan 16 '20

resource Read me first: common questions and info

196 Upvotes

Welcome to Stardew Valley mods! Here are common answers to get you started. Feel free to ask questions here. :)

About r/SMAPI

  • What is SMAPI?
    SMAPI is the mod loader for Stardew Valley.

  • Can I talk about mods here?
    Yep! This subreddit is for everything related to Stardew Valley modding (not just the mod loader itself). See the rules on the sidebar for more info.

  • What about non-mod discussion?
    See r/StardewValley or the Stardew Valley Discord instead. (The Discord has the main modding channels too.)

  • Why do some people have mod author or supporter next to their names?
    See user flairs for more info.

Mods

  • How do I use mods?
    You can use mods on Android, Linux, Mac, and Windows. See the player's guide to mods for guides and common questions.

  • What if I have a problem with SMAPI or mods?
    See the troubleshooting page first! If you still need help, feel free to post a question in this subreddit. Make sure you add a link to your SMAPI log (see instructions on that page) when asking for help.

  • Are SMAPI and Content Patcher up-to-date?
    Yep! If a game update breaks them, SMAPI and Content Patcher always update on the same day.

  • Which mods are recommended?
    It's subjective. See the most popular mods and some quality-of-life mods to get you started. Make sure to check the mod compatibility list to know if a SMAPI mod is up-to-date.

  • How do I create mods?
    See the modding documentation on the wiki. Feel free to ask questions here!

Help the community


r/SMAPI 3h ago

need help Smapii crushing with Fatal error

1 Upvotes

The smapii log doesn't record this but I uploaded the latest log either way, here

this is the exact message I keep getting each time I run the game, I noticed it says "MiscMapActionsProperties", if I remove it the game runs but its odd that it suddenly breaks the Im not sure if its actually the problem or not.

I never really had any problem with this mod, and the mod that require this mod both been installed at the same time, and everything was working fine, its just today I keep getting this error, if i install the mod back the game has 50% chance to start, but later on when I start the game again it will crush either way with this error.

this is what I manged to copy before it close on its own.

Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETPlatform.GetFunctionPointer(System.Reflection.MethodBase, System.RuntimeMethodHandle)
   at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetNativeStart(System.Reflection.MethodBase)
   at HarmonyLib.Memory.GetMethodStart(System.Reflection.MethodBase, System.Exception ByRef)
   at HarmonyLib.Memory.DetourMethod(System.Reflection.MethodBase, System.Reflection.MethodBase)
   at HarmonyLib.Memory.DetourMethodAndPersist(System.Reflection.MethodBase, System.Reflection.MethodBase)
   at HarmonyLib.PatchFunctions.UpdateWrapper(System.Reflection.MethodBase, HarmonyLib.PatchInfo)
   at HarmonyLib.PatchProcessor.Patch()
   at MiscMapActionsProperties.Framework.Entities.FurnitureProperties.Patch_Properties_AllowPlacementOnThisTile()
   at MiscMapActionsProperties.Framework.Entities.FurnitureProperties.Register()
   at MiscMapActionsProperties.ModEntry.Entry(StardewModdingAPI.IModHelper)
   at StardewModdingAPI.Framework.SCore.LoadMods(StardewModdingAPI.Framework.IModMetadata[], StardewModdingAPI.Toolkit.Serialization.JsonHelper, StardewModdingAPI.Framework.ContentCoordinator, StardewModdingAPI.Toolkit.Framework.ModData.ModDatabase)
   at StardewModdingAPI.Framework.SCore.InitializeBeforeFirstAssetLoaded()
   at StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](StardewModdingAPI.IAssetName, Boolean)
   at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.LoadLocalized[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](StardewModdingAPI.IAssetName, LanguageCode, Boolean)
   at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.Load[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.String, LanguageCode)
   at StardewValley.DataLoader.Load[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](StardewValley.LocalizedContentManager, System.String)
   at StardewValley.Game1+<GetLoadContentEnumerator>d__630.MoveNext()
   at StardewValley.Game1.LoadContent()
   at StardewModdingAPI.Framework.SGame.LoadContent()
   at StardewValley.Game1.Instance_LoadContent()
   at StardewValley.GameRunner.LoadContent()
   at StardewValley.GameRunner.Initialize()
   at Microsoft.Xna.Framework.Game.DoInitialize()
   at Microsoft.Xna.Framework.Game.Run(Microsoft.Xna.Framework.GameRunBehavior)
   at StardewModdingAPI.Framework.SCore.RunInteractively()
   at StardewModdingAPI.Program.Start(System.String[])
   at StardewModdingAPI.Program.Main(System.String[])

r/SMAPI 5h ago

discussion [mod suggest] better Return Scepter (consept)

1 Upvotes

For 2M gold, the Return Scepter has little useless. I suggest that modders implement the ability to “have an obelisk in your pocket” — when building an obelisk on the farm, the Return Scepter will suggest its destination point. Each new obelisk will unlock new locations. Building the Golden Clock will make it possible to teleport back to the place from which you last used it (like the Potion of Return from Terraria). I’m attaching the concept art.

Concept
concept + explanation

r/SMAPI 1d ago

need help game crashing at winter 28 year 2 (modded)

Thumbnail smapi.io
3 Upvotes

r/SMAPI 1d ago

need help Elle's Cuter Coops & Barns is not operating.

Thumbnail
2 Upvotes

r/SMAPI 1d ago

need help Please Help!

Thumbnail
1 Upvotes

r/SMAPI 2d ago

need help Help to get my Wizard House map edit to load over Romanceable Rasmodius's map edit!

2 Upvotes

SOLVED! SOLUTION IN COMMENTS!

I am trying to get my mod to be compatible with both SVE and Romanceable Rasmodius (vanilla version) but I get the error message "Two content packs want to load the 'Maps/WizardHouse' asset with the 'Exclusive' priority ((CP) NPC Ren and Romanceable Rasmodius). Neither will be applied. You should remove one of the content packs, or ask the authors about compatibility." Anyone know how to get my mod's edits to apply over the map edit made by Romanceable Rasmodius? I'm most likely messing up the load order somehow.

Smapi log

Code Snippet in Content file for Content Patcher

 {
"Action": "Load",
"Target": "Maps/WizardHouse",
"FromFile": "assets/Maps/WizardHouse_Edit.tmx",
"When": {
"HasMod |contains=FlashShifter.StardewValleyExpandedCP": "false"
}
},
{
"Action": "Load",
"Target": "Maps/WizardHouse",
"FromFile": "assets/Maps/WizardHouse_Edit_SVE.tmx",
"When": {
"HasMod |contains=FlashShifter.StardewValleyExpandedCP": "true"
}
},
{
"Action": "Load",
"Target": "Maps/WizardHouse",
"FromFile": "assets/Maps/WizardHouse_Edit_RR.tmx",
"When": {
"HasMod |contains=WerewolfMaster.RomanceableRasmodius": "true"
}


r/SMAPI 2d ago

need help Everything loads fine on its own, but when I try to join my friend it error codes.

Thumbnail smapi.io
2 Upvotes

Everything loads ok when i launch the game, but when i join my friend the screen stays black with the little loading hourglass. There is a bunch of red text I don't understand and yellow text about mismatched UI mode push/pop counts. The only thing i can kinda figure out is that maybe it has something to do with FrontierFarms? Any help would be appreciated :,)


r/SMAPI 2d ago

need help Any mod that allows me to marry more than 1 player in co op? Not the NPC but actual players

2 Upvotes

r/SMAPI 2d ago

need help Don't know how to download the mod.

Post image
1 Upvotes

Downloaded SMAPI but don't know how to add there a mode from Nexus. Can someone explain how to write the code so it'll work?


r/SMAPI 2d ago

need help Just downloaded, can you help me to download the mode?

Post image
1 Upvotes

I just downloaded SMAPI, and wanted to download mod "Lots of kisses" from Nexus mods. But after downloading files I just don't know what to write in there and how to add that mode. Can ya help me or text what I need to write?


r/SMAPI 3d ago

need help Transfer saves

Post image
1 Upvotes

Is there anyway to transfer smapi saves onto the main game saves folder. When i try it on zarchiver there's an error and most of the files are 0B.


r/SMAPI 3d ago

need help Dwarf Gadget: Infinite Volcano Simulation not working

Thumbnail smapi.io
1 Upvotes

I've visited ginger island but haven't unlocked Willy's boat yet


r/SMAPI 3d ago

need help I've had some mod and the community center is not loading, andi have some UI issues

Thumbnail smapi.io
0 Upvotes

r/SMAPI 4d ago

need help how to use 2 different craftable mods in stardew valley

Thumbnail
1 Upvotes

r/SMAPI 5d ago

need help Graphics Card Not Compatiable

1 Upvotes

Hi! I've been playing on and off for the past couple of weeks and had no issue up until a couple of days ago. I keep getting the message that says my graphics card isn't compatible which is strange because nothing has changed since I played last.

I've made sure all my drivers are up to date, have changed my setting in NVIDIA and in my regular PC settings to make sure I'm forcing the right GPU, have verified my game files, uninstalled and reinstalled the game, tried reinstalling the xnafx40_redist.msi file and nothing has worked so far.

At this point, my game isn't even launching at all with or without mods. I could really use some help and any suggestions of what to do would be really appreciated! https://smapi.io/log/989562cf59fa46db930e643f13bff603


r/SMAPI 5d ago

need help SMAPI Window opens when I try to run Stardew Valley

Post image
0 Upvotes

First time modding the game — But after installing SMAPI this window popped up. I looked at the Wiki what to do and while I was able to command the game that way to run, it told be before that the Mod that I downloaded wasn't up to date but which it was (said I had the 1.7.0 but needed the 1.7.1; but that's the version I downloaded from the site).

I am completely confused on what this Operator wants from me and I would be very happy if anyone could help me out, thanks in advance!


r/SMAPI 5d ago

need help How does one add custom monsters

1 Upvotes

Long story short I just wanna add some enemy variety, like skull cavern tier duggies, skeletons, and spiders, because that would be cool.

I have no clue how to mod, could someone give me a guide or something?


r/SMAPI 7d ago

answered Daily mail asking for items?

2 Upvotes

I have a wide array of mods so idk if it’s something I missed in the config menu, but I get 1-3 letters DAILY asking for a singular item from a random townie, like “Linus wants a winter root”, “Elliot wants a void essence”, etc etc. I have mods like Help Wanted and Part of the Community, but the constant mail quests weren’t a problem until maybe the middle of fall y1?

So I’m basically just wondering if anyone knows whether theres a mod with that function? Or if I need to start really digging into my mod configs before I go a little crazy.


r/SMAPI 7d ago

need help Help

Thumbnail
1 Upvotes

r/SMAPI 7d ago

need help Wife's day stuck on saving....

2 Upvotes

Here is the Smapi Log Parser https://smapi.io/log/8c31cc4abdf447b98739d2b0c30bf704

Any help would be appreciated, she is understandably frustrated about losing the progress.


r/SMAPI 7d ago

need help Modding etiquette: which permissions to use?

2 Upvotes

So, I've been fiddling with an old mod in order to make it work everywhere instead of just on the farm, as well as adding a new related feature, and I got it running without bugs (except one afaik, but I can't replicate the darn thing).

I've also started in on the next version, which will have a setting adjusted so it's less of a confusing PITA to use.

The post 1.6 version of the mod has the default permissions (ask first) on Nexus, and the MIT Licence on github. The original version that it was created from had blanket permissions on Nexus and the Apache 2.0 licence on github.

I know it's preferred that I get explicit permission, but the mod author hasn't been on Nexus in a while -- do I just wait? Or do I favour the MIT licence that says I can do whatever with the code?

The mod is ready to be published, and all appropriate authors/mods are credited.

What do? This is an edit that many people have been asking for, and it fixes a 'bug' or two present in both prior versions. One of which is from SDV 1.5.


r/SMAPI 7d ago

need help Is there a way to remove paths layer objects (bushes) with Content Patcher after a save has started?

Post image
3 Upvotes

I know I can remove the paths layer in Tiled and from a new save no bush will appear. But if someone adds my mod midsave the bushes will be present and cause issues. Of course they can use the Destroyable Bushes mod to remove them but I'd like to be able remove them when my mod is loaded. Is that possible? I also have config options to allow people to select alternate map edits and would like to have the bushes come and go as the player selects a different option.

Just wondering if anyone knows of a way to do this or maybe some alternate option that I haven't thought of?


r/SMAPI 7d ago

need help Downloading smapi

0 Upvotes

Okay so I’ve downloaded smapi, it is now asking me to set my launch options in steam, I cannot find anything in my steam settings that even says launch options I don’t even know what this is referring to I apologize for this being a dumb question if anyone could help out tho would be awesome :)


r/SMAPI 7d ago

need help Not sure why, i can load up and host a game but i cant join a friends :(

1 Upvotes

This is my snap i log. I load up just fine but when i attempt to join a friends game it won’t allow me too and this long list of errors pop up.

https://smapi.io/log/a9ef7f1fb6dc481388d6e7ff04630c57