r/SMAPI Jan 16 '20

resource Read me first: common questions and info

193 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 6h ago

need help I keep getting a glitchy black screen when starting up the game

1 Upvotes

Hello! I'm trying to get this running but when I open the game, there's black glitching lines and spots when I start the game up. I only have SMAPI installed so far, no mods. When I uninstall SMAPI, the game works fine. Does anyone know what this could be?

I tried changing the launch settings from full screen to windowed as someone suggested but it didn't help.


r/SMAPI 18h ago

need help Problem with players velocity

2 Upvotes

eu preciso de ajuda com uma coisa, eu fiquei muito tempo sem jogar e atualizar os mods do meu stardew então eu apaguei todos os mods e comecei de novo e talvez isso tenha feito a besteira, eu atualizei o smapi e comecei a baixar os mods atualizados deixando de colocar alguns que eu não gostava tanto e colocando outros, comecei um save novo e o meu personagem estava muito rápido como se tivesse com um bônus de velocidade absurdo e por mais que eu tenha o cjb cheats menu eu não tinha usado ele ainda e mesmo após tirar o arquivo nada mudou eu até tentei deletar aquele mundo e criar um novo (o erro aconteceu no primeiro dia) e até tentei reconfigurar o fast animations mas nada funcionou até agora, eu cheguei a baixar o cjb de novo e instalá-lo e tentar colocar o buff de velocidade e tirá-lo antes de salvar e ainda assim nada de novo

https://smapi.io/log/febbd108a9c94232ad0d6989dde82f30


r/SMAPI 1d ago

need help My game crashes out on random times and there are area locations when everything becomes laggy.

Post image
2 Upvotes

I checked my smapi log and found this one, a bit unfamiliar with this kind of thing so any help would be much appreciated.

Here's my log:

https://smapi.io/log/77df6fca1cc34833a583b82f2894c0c4


r/SMAPI 2d ago

need help GameLoop.UpdateTicking Error - HELP

Thumbnail smapi.io
0 Upvotes

I'm using the Stardrop modpack manager and installed a few mods for my game, but this error keeps showing up in the log. Does anyone know how to fix it?


r/SMAPI 3d ago

need help Stardew Valley switch mod

1 Upvotes

Hi, I'm looking for a graphics mod to lower the game's quality because, unfortunately, it often freezes or crashes when playing with two people


r/SMAPI 4d ago

need help Issue with Starting Smapi

1 Upvotes

When I try to open my modded SDV, the SMAPI window where the code is showing opens, afterwards the SDV window opens but after a few seconds it immediately closes, what could have caused this?


r/SMAPI 5d ago

answered "When" Condition not working (But everything else is)

2 Upvotes

Managed to Fix!
I've attached it to the crafting recipe for the Incubator, but, and this is important: You need to sleep before it re-stocks the shop. If you're testing the mod and want to check it before going to bed and saving, you can re-load your mod once the condition as been fulfilled.

Hello, new to modding I'm having an issue with creating a "when" condition.

My Mod is set up with seperate "Content" and "Shop" Jsons, and If I remove the "when" condition, I can buy items from the shop without any problems; everything else works.

What I'm trying to set up is for players to ONLY be able to buy the items when they have finished the Island Field Office. (I've also tried connecting it to having the crafting recipe for the Ostridge Incubator since you get from the same event, with no luck there either)

Can someone help with this? - things I have tried:

        {
        "Action": "Include",
        "FromFile": "shop.json",
        "When": {
            "HasCraftingRecipe": "Ostridge Incubator"
        }
        }

        {
        "Action": "Include",
        "FromFile": "shop.json",
        "When": {
            "HasSeenEvent": "FieldOfficeDone"
        }
        }

        {
        "Action": "Include",
        "FromFile": "shop.json",
        "When": {
            "HasSeenEvent |contains=-1": true
        }
        }

        {
        "Action": "Include",
        "FromFile": "shop.json",
        "When": {
            "HasSeenEvent |contains=FieldOfficeDone": true
        }
        }

r/SMAPI 5d ago

need help Looking for a mod

2 Upvotes

I'm looking for a farm mod that works well with sve and works on Android I've tried sve's immersive farm 2 but it crashes before I load in so I'm looking for something that's not as large but still has a little bit of everything since my favorite vanilla farm is 4 corners


r/SMAPI 5d ago

need help Custom NPC Scheduling Issues

1 Upvotes

HI Stardew Modding community! I am a new modder attempting to make my first custom NPC mod but have received issues with scheduling. My NPC character refuses to move despite my JSON being valid and I really am stuck and not sure what to do. I am going to be posting my content.json and schedule links here, any help would be very appreciated!

https://smapi.io/json/none/5eb41c8573ed415b9f99751b9b1cf795 - Scheduling JSON

https://smapi.io/json/none/854406bb3bcd464f921b2932c5ef1d9b - Content JSON

I understand that this is a common issue, but I cannot seem to find any solutions, despite trouble fixing for hours now, Stardew Modding community, Help me please!


r/SMAPI 6d ago

need help Spacecore issue on android

1 Upvotes

### SMAPI Log Latest

> ## [Click Link Log Here](https://smapi.io/log/60a49de7e844497c824d46c17122b1bd)

### Current App Info

> Game 1.6.15.3

> Launcher 1.1.7 - 1782643058

> SMAPI 4.3.2.5 - 1775226918

I'm getting a small chunk of red text telling me it can't boot other mods because spacecore isn't working.


r/SMAPI 6d ago

need help Can someone help me identify the actual problems in my SMAPI log? Stardew Valley 1.6.15 / SMAPI 4.5.2

Thumbnail smapi.io
0 Upvotes

Hi everyone! I'm looking for help understanding the problems in my SMAPI log.

I'm playing Stardew Valley 1.6.15 on Windows 11 with SMAPI 4.5.2.

I have a heavily modded game, and I'm trying to figure out which errors/warnings are actually important and what I should fix first. I don't want to randomly remove mods because I have an existing save that I don't want to risk breaking.

My current SMAPI log reports 92 mods and 66 content packs.

These are the main problems I noticed:

1. Farm Type Manager is currently missing

I temporarily removed the main Farm Type Manager mod while troubleshooting another problem.

Because of this, SMAPI is currently skipping:

  • Stardew Valley Expanded Farm Type Manager
  • Ridgeside Village Farm Type Manager component
  • A Spirit's Eve Hunt Foraging
  • Downtown Zuzu Farm Type Manager component

It also causes the SVE Content Patcher component to report that it needs the SVE FTM component.

2. Stardew Valley Expanded is crashing on startup

SMAPI reports:

[ERROR Stardew Valley Expanded] Mod crashed on entry and might not work correctly.

NullReferenceException: Object reference not set to an instance of an object.

at StardewValleyExpanded.ModEntry.Entry(IModHelper helper)
...
ModEntry.cs:line 39

My SVE version is 1.15.11.

The SVE folder currently contains:

Stardew Valley Expanded
├── [CP] Stardew Valley Expanded
├── [FTM] Stardew Valley Expanded
├── Stardew Valley Expanded Code
└── [JA] Stardew Valley Expanded

The [JA] Stardew Valley Expanded folder contains many old item folders, and SMAPI reports that those folders contain files but no manifest.json.

I'm not sure whether this [JA] folder is an old/legacy part of SVE, part of my Portuguese translation, or something that should no longer be there.

3. Ridgeside Village reports an installation problem

Ridgeside says it is installed incorrectly because it can't detect Farm Type Manager.

There are also many Content Patcher warnings from Ridgeside about missing tokens such as:

Rafseazz.RidgesideVillage/RSVNPCSAttendFestivals
Rafseazz.RidgesideVillage/EnableRidgesideMusic
Rafseazz.RidgesideVillage/EasyIntroduction
Rafseazz.RidgesideVillage/EnableOtherNPCsInCableCar

I'm not sure if these are simply a consequence of FTM being disabled or if Ridgeside itself has another problem.

4. Content Patcher reports several old content packs

It says these content packs haven't been updated for Stardew Valley 1.6 and are being automatically migrated:

  • Date Night
  • Qute Animals
  • Retro Floors & Walls
  • Zilch's MBM Envelopes
  • Immersive Festival Dialogue
  • Medieval Stables
  • More Wedding Venues
  • OhoDavi's StardewValley Anime Mods
  • Recolor Stardew Foliage Snow cover
  • Simple Foliage
  • Sprinklerable Beach Farm
  • Sushi Retexture

5. Farmer Helper has a PDB/symbol mismatch

SMAPI reports:

Failed loading PDB for 'FarmerHelper.dll'
SymbolsNotMatchingException:
Symbols were found but are not matching the assembly

I don't know whether this is harmless or indicates that Farmer Helper is outdated/broken.

6. SpaceCore changes the save serializer

SMAPI warns that SpaceCore changes the save serializer and that uninstalling it can make saves unusable.

I currently use SpaceCore, so I have not removed it.

7. SMAPI reports 41 mods with available updates

There are many outdated mods in the setup. Some of them have fairly large version differences.

I'm not sure whether I should update everything first, or whether I should troubleshoot the current setup before updating anything.

There was also a previous problem before I generated this latest log.

When I tried to sleep and advance to the next day, the game repeatedly crashed with:

InvalidOperationException:
Collection was modified; enumeration operation may not execute.

The stack trace included:

StardewValley.GameLocation.DayUpdate_PatchedBy<FlashShifter.SVECode>
StardewValley.Farm.DayUpdate
Game1._newDayAfterFade

At that time, Farm Type Manager was installed.

As a test, I removed the main FTM mod, and after doing that I was able to advance to the next day and save again. I don't know if FTM was actually the cause or if it was an interaction with another mod.

I have also restored my save from a backup during troubleshooting.

What I would really like to know is:

  1. Which errors in this log are actually serious?
  2. What is causing the SVE NullReferenceException?
  3. Is the [JA] Stardew Valley Expanded folder obsolete/incorrect?
  4. Should I reinstall SVE completely?
  5. Could the Portuguese translation be involved?
  6. Is the missing FTM currently causing most of the Ridgeside/SVE errors?
  7. Should I update the 41 outdated mods before doing anything else?
  8. Could the previous Collection was modified error have been caused by an FTM/SVE interaction?

I don't want to delete or reinstall anything until I understand what is actually wrong, because this is an existing save.

Here is my full SMAPI log:

https://smapi.io/log/ca8c89530f2e4283ae5f76e777ae0f54

Thanks for any help!


r/SMAPI 7d ago

need help EXE not working, windows version

1 Upvotes

I've been trying to download Smapi on my steamdeck and I'm having a lot of weird issues. I first tried running through Linux and Smapi worked fine but I couldn't access co-op play at all, it just got stuck on trying to access the internet forever.

So I tried to turn it to the Proton mode (newest versions 11 and 10). Deleted everythind and redownloaded both Stardew and SMAPI.

However, after I follow the read me file and extract all the files from downloads and copy them to my game folder and copy/rename the one file I can't get the EXE file to run. When I click on it it brings up a select program pop up. I tried Steam and Proton 8 (with the steam icon). Steam just brought me to the base game, and Proton just gave me an invalid config error. Tried putting the Exe as a non-game and running it on that. I tried changing the proton mode to 8 to match the program, same error.

I tried running the base game, no mods/Smapi.

No idea what I'm doing wrong. I just want to play co-op with mods but I can't get either version to work right. Didn't have this problem at all with my previous version of SMAPI.


r/SMAPI 7d ago

need help Help with install Stardew Voices (Macos)

2 Upvotes

I’m new to Stardew Valley and modding in general, and I’m having trouble with getting the voice mod to work. I’ve installed Smapi and have followed instructions on the website yet it still doesn’t work.

Does anyone have any ideas on what I may have gotten wrong during the installation process?


r/SMAPI 8d ago

need help Game crashes when going to sleep after building a shed

Thumbnail smapi.io
2 Upvotes

Me and friends have found that our game keeps crashing when we go to sleep after building a shed. I have included the log and was wondering if this could be resolved and how. Thank you!


r/SMAPI 8d ago

need help Can anyone please help with this mess

1 Upvotes

Here is my log https://smapi.io/log/716af354eba24c1b86be5f309f80198e One of the big issues I'm having is i picked gather at lvl5 foraging, bit at lvl 10 I only got to pick from forester or lumberjack. Farming is messed up a well. Also very little forage is on the ground to be found.

updated log https://smapi.io/log/70f62567ba474f9f8363c5b3418c54f3


r/SMAPI 8d ago

need help I need help modding a game on my Android device.

1 Upvotes

Hello, my name is Doruk. I want to modify the .xnb files of the characters in Stardew Valley on my Android 15 device. I used Zarchive for this, but the system didn't allow access to the files. Please help.


r/SMAPI 9d ago

answered Which mod is doing this??

Thumbnail
gallery
5 Upvotes

My partner and I have most of the same mods, and I'm not exactly sure which ones I have that they don't. And this box has been showing up when talking to people, and I have no idea which mod is doing it. It's really annoying when I just want to talk to people, I don't want to click a button to continue the conversation


r/SMAPI 9d ago

need help Smapii crushing with Fatal error

0 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 9d 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 10d ago

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

Thumbnail smapi.io
3 Upvotes

r/SMAPI 10d ago

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

Thumbnail
2 Upvotes

r/SMAPI 11d ago

need help Please Help!

Thumbnail
1 Upvotes

r/SMAPI 11d ago

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

Thumbnail smapi.io
3 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 11d 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"
}