How do I update? Just run the new installer, it'll update previous files automatically.
Is it safe to update? There are no expected breaking changes. All mods which work with SMAPI 4.1should work with 4.2 too.
Feel free to report issues with SMAPI itself here, but issues with specific mods should be reported on those mods' pages instead.
I have issues with SMAPI on Android? This page is SMAPI for PC (Linux/macOS/Windows) and Steam Deck. This is not the page for SMAPI on Android; see the Android install guide for more info.
I used Vortex to install or update SMAPI, and it's not working or updating correctly. Vortex bypasses the SMAPI installer and often causes issues. Please do not ask for help with SMAPI issues here if you installed or updated it using Vortex.
Or install SMAPI directly instead, which often solves the issue. If you still have issues after doing installing it directly, feel free to comment below!
My antivirus reports a trojan or deletes SMAPI files? SMAPI most likely doesn't have a trojan; see SMAPI files disappear or antivirus complains for info on why your antivirus may be reporting it, how to check if it's safe, and how to install SMAPI when that happens.
When I launch the game, the console appears temporarily and then exits, or Steam briefly shows "playing"? See Game doesn't launch in the troubleshooting guide for help with that.
How do I ask for help? You can often get a faster response by asking the community instead. If you do ask here, upload your SMAPI log and add a link to your message. This has useful info like what versions you have, which mods are installed, what happened in the game, etc. Please do this even if you don't see an error in the log.
Hopefully someone can help me figure out why I'm not able to load content patcher, GMCM, and a whole slew of mods for Stardew through SMAPI. it seems like SMAPI keeps identifying and UnauthorizedAccessException on majority of my mods when trying to run the game. I have updated all the core mods and uninstalled/reinstalled Stardew + verified file integrity on steam.
Any help would be greatly appreciated as I really would prefer not having to complete wipe the game and reinstall my mods to fix the issue. Thank you in advance ><
[SMAPI] Skipped mods [SMAPI] -------------------------------------------------- [SMAPI] These mods could not be added to your game. [SMAPI] - Autowatering 1.1.0 because it's no longer compatible. Please check for a new version at https://smapi.io/mods
StardewModdingAPI(2077,0x2050c8200) malloc: Heap corruption detected, free list is damaged at 0x60000090e4e0 *** Incorrect guard value: 2305860062372987521 StardewModdingAPI(2077,0x2050c8200) malloc: *** set a breakpoint in malloc_error_break to debug
[Edit: Disregard earlier post--opening the game from the SDVModdingAPI instead of launching from Steam seems to have resolved the issue]
[Edit 2: Just kidding, I guess. I've been fighting with trying to get my game to work for 2-3 days now and I even joined the discord to ask for help there--but for some reason I'm unable to click through the starting steps to gain posting permissions. I got 2 out of 3 and on the final page (the rules list) I can neither scroll down nor click on complete. Tried reaching out to a mod but they (understandably) aren't accepting DMs from random people. I may just have to give up for another x number of months until solid workarounds are found. I followed all instructions to deal with the Mac security problems, including adding terminal, reinstalling things, updating files, etc. I've been able to get the game to open a total of (2) times. Once when first trying to install Smapi, and the second when I tried the method in the first edit here. Direct opening the game from the .exe files no longer works either.]
Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken='. The located assembly's manifest definition does not match the assembly reference. (0x80131040) File name: 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken='
It's been 84 years. I keep trying to get around Mac security to run small, but nothing is working. I've read so many posts and articles and tried for weeks. Is anyone else having this issue? I have the most recent version of macOS - Sequoia 15.5
[table]13:04:05ERRORgameError initializing the Galaxy API.TypeInitializationException: The type initializer for 'Galaxy.Api.GalaxyInstancePINVOKE' threw an exception. ---> TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. ---> DllNotFoundException: Unable to load shared library 'GalaxyCSharpGlue' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libGalaxyCSharpGlue: cannot open shared object file: No such file or directory at Galaxy.Api.GalaxyInstancePINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_GalaxyInstance(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate) at Galaxy.Api.GalaxyInstancePINVOKE.SWIGExceptionHelper..cctor() --- End of inner exception stack trace --- at Galaxy.Api.GalaxyInstancePINVOKE.SWIGExceptionHelper..ctor() at Galaxy.Api.GalaxyInstancePINVOKE..cctor() --- End of inner exception stack trace --- at Galaxy.Api.GalaxyInstancePINVOKE.new_InitParams__SWIG_3(String jarg1, String jarg2, String jarg3) at StardewValley.SDKs.Steam.SteamHelper.Initialize() in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\SDKs\Steam\SteamHelper.cs:line 9013:04:08ERRORgameGalaxy SignInSteam failed with an exception:TypeInitializationException: The type initializer for 'Galaxy.Api.GalaxyInstance' threw an exception. ---> TypeInitializationException: The type initializer for 'CustomExceptionHelper' threw an exception. ---> DllNotFoundException: Unable to load shared library 'GalaxyCSharpGlue' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libGalaxyCSharpGlue: cannot open shared object file: No such file or directory at Galaxy.Api.GalaxyInstance.CustomExceptionHelper.CustomExceptionRegisterCallback(CustomExceptionDelegate customCallback) at Galaxy.Api.GalaxyInstance.CustomExceptionHelper..cctor() --- End of inner exception stack trace --- at Galaxy.Api.GalaxyInstance.CustomExceptionHelper..ctor() at Galaxy.Api.GalaxyInstance..cctor() --- End of inner exception stack trace --- at Galaxy.Api.GalaxyInstance.User() at StardewValley.SDKs.Steam.SteamHelper.onEncryptedAppTicketResponse(EncryptedAppTicketResponse_t response, Boolean ioFailure) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\SDKs\Steam\SteamHelper.cs:line 251[/table]
10340 comments
SMAPI does not contain malware; it seems something changed recently with the macOS security restrictions.
You can follow the updated macOS install guide to fix that. Make sure to follow each step carefully, since it may not work if you skip a step.
Read this before asking for help or reporting an issue. Common questions are answered here.
Hopefully someone can help me figure out why I'm not able to load content patcher, GMCM, and a whole slew of mods for Stardew through SMAPI. it seems like SMAPI keeps identifying and UnauthorizedAccessException on majority of my mods when trying to run the game. I have updated all the core mods and uninstalled/reinstalled Stardew + verified file integrity on steam.
https://smapi.io/log/d05b1f41767b496bbf61c97483178040
Any help would be greatly appreciated as I really would prefer not having to complete wipe the game and reinstall my mods to fix the issue. Thank you in advance ><
Run SMAPI or Vortex as Administrator.
If that doesn't fix it, either check the security settings on all the mods or reinstall Vortex and all the mods.
[SMAPI] --------------------------------------------------
[SMAPI] These mods could not be added to your game.
[SMAPI] - Autowatering 1.1.0 because it's no longer compatible. Please check for a new version at https://smapi.io/mods
https://smapi.io/log/78a38c3937fe48468a8f570661c39390
StardewModdingAPI(2077,0x2050c8200) malloc: Heap corruption detected, free list is damaged at 0x60000090e4e0
*** Incorrect guard value: 2305860062372987521
StardewModdingAPI(2077,0x2050c8200) malloc: *** set a breakpoint in malloc_error_break to debug
[Edit: Disregard earlier post--opening the game from the SDVModdingAPI instead of launching from Steam seems to have resolved the issue]
[Edit 2: Just kidding, I guess. I've been fighting with trying to get my game to work for 2-3 days now and I even joined the discord to ask for help there--but for some reason I'm unable to click through the starting steps to gain posting permissions. I got 2 out of 3 and on the final page (the rules list) I can neither scroll down nor click on complete. Tried reaching out to a mod but they (understandably) aren't accepting DMs from random people. I may just have to give up for another x number of months until solid workarounds are found. I followed all instructions to deal with the Mac security problems, including adding terminal, reinstalling things, updating files, etc. I've been able to get the game to open a total of (2) times. Once when first trying to install Smapi, and the second when I tried the method in the first edit here. Direct opening the game from the .exe files no longer works either.]
hi when I click manual download and then I click slow download, it does nothing. doesn't download or anything!!!. I'm so stuck please helppppp
Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken='. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken='
SContentLoadException:PolyamorySweet Rooms 无法从游戏内容加载内容资产“ApryllForever.PolyamorySweetRooms/dict”。
---> Microsoft.Xna.Framework.Content.ContentLoadException:找不到内容文件。
---> FileNotFoundException: Content\ApryllForever.PolyamorySweetRooms/dict.xnb
---> DirectoryNotFoundException: 找不到路径“D:\steam\steamapps\common\Stardew Valley\Content\ApryllForever.PolyamorySweetRooms\dict.xnb”的一部分。
在 Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(字符串完整路径、FileMode 模式、FileAccess 访问、FileShare 共享、FileOptions 选项)
在 Microsoft.Win32.SafeHandles.SafeFileHandle.Open(字符串完整路径、FileMode 模式、FileAccess 访问、FileShare 共享、FileOptions 选项、Int64 preallocationSize)
在 System.IO.Strategies.OSFileStreamStrategy..ctor(字符串路径、FileMode 模式、FileAccess 访问、FileShare 共享、FileOptions 选项、Int64 preallocationSize) 位于 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\TitleContainer.Desktop.cs:第 29
行的 Microsoft.Xna.Framework.TitleContainer.PlatformOpenStream(String safeName)
Microsoft在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:第 37 行
在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:第 58
行的 Microsoft.Xna.Framework.TitleContainer.OpenStream(字符串名称)在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:第 276 行的 Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) 处
--- D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\MonoGame.Framework\Microsoft---
的内部异常堆栈跟踪结束Content\ContentManager.cs:第 289 行Microsoft
,位于 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName) 的第 319
行MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:SMAPI\BaseContentManager.csFramework\ContentManagers\GameContentManager.cs:第 127 行中 StardewMod>b__0<<>c__DisplayClass6_0 dingAPI.Framework.ContentManagers.BaseContentManager.RawLoad[T](IAssetName assetName, Boolean useCache) 的第 340
行
在 SMAPI\Framework\Utilities\ContextHash.cs:第 53 行的 StardewModdingAPI.Framework.Utilities.ContextHash'1.Track[TResult](T 键,Func'1作)
在 StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[T](IAssetName assetName, 布尔值 useCache)
在 StardewModdingAPI.Framework.ContentManagers.BasSMAPI\Framework\ContentManagers\BaseContentManager.cs:第 154 行
在 StardewModdingAPI.Framework.ModHelpers.GameContentHelper.Load[T](IAssetName assetName) 在 SMAPI\Framework\ModHelpers\GameContentHelper.cs:第 91 行
--- 内部异常堆栈跟踪---
结束在 SMAPI\Framework\ModHelpers\GameContentHelper.cs:第 95 行
在 PolyamorySweetRooms.ModEntry.GameLoop_GameLaunched(对象发送者,GameLaunchedEventArgs e) 在 C:\Users\Apryll\source\repos\PolyamorySweetRooms\ModEntry.cs:第 286 行
在 SMAPI\Framework\Events\ManagedEvent.cs:第 101 行 StardewModdingAPI.Framework.Events.ManagedEvent'1.Raise(TEventArgs args)
[游戏]游戏无法启动:Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException:无法创建图形设备!---> PlatformNotSupportedException:MonoGame 需要 ARB_framebuffer_object 或 EXT_framebuffer_object。尝试更新您的图形驱动程序。在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsDevice.OpenGL.FramebufferHelper.cs 的 Microsoft.Xna.Framework.GraphicsDevice.FramebufferHelper.Create(GraphicsDevice gd)处:第 32 行在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsDevice.OpenGL.cs 的 Microsoft.Xna.Framework.Graphics.Graphics.PlatformInitialize() 处:第 343 行在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\GraphicsDevice.cs:第 357 行的 Microsoft.Xna.Framework.Graphics.Graphics.Initialize() 处在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:第 144 行的 Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation gdi)在 Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice() 的 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:第 115 行--- 内部异常堆栈跟踪---结束在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:第 123 行的 Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice()在 Microsoft.Xna.Framework.Game.DoInitialize() 处 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:第 941 行在 Microsoft.Xna.Framework.Game.Run(GameRunBehavior) 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:第 465 行在 SMAPI\Framework\SCore.cs:第 316 行的 StardewModdingAPI.Framework.SCore.RunInteractively()
Thanks in advance
https://smapi.io/log/2f4560d1c65941e29e7a3951a205b81f
[table]13:04:05ERRORgameError initializing the Galaxy API.TypeInitializationException: The type initializer for 'Galaxy.Api.GalaxyInstancePINVOKE' threw an exception.
---> TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception.
---> DllNotFoundException: Unable to load shared library 'GalaxyCSharpGlue' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libGalaxyCSharpGlue: cannot open shared object file: No such file or directory
at Galaxy.Api.GalaxyInstancePINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_GalaxyInstance(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)
at Galaxy.Api.GalaxyInstancePINVOKE.SWIGExceptionHelper..cctor()
--- End of inner exception stack trace ---
at Galaxy.Api.GalaxyInstancePINVOKE.SWIGExceptionHelper..ctor()
at Galaxy.Api.GalaxyInstancePINVOKE..cctor()
--- End of inner exception stack trace ---
at Galaxy.Api.GalaxyInstancePINVOKE.new_InitParams__SWIG_3(String jarg1, String jarg2, String jarg3)
at StardewValley.SDKs.Steam.SteamHelper.Initialize() in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\SDKs\Steam\SteamHelper.cs:line 9013:04:08ERRORgameGalaxy SignInSteam failed with an exception:TypeInitializationException: The type initializer for 'Galaxy.Api.GalaxyInstance' threw an exception.
---> TypeInitializationException: The type initializer for 'CustomExceptionHelper' threw an exception.
---> DllNotFoundException: Unable to load shared library 'GalaxyCSharpGlue' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libGalaxyCSharpGlue: cannot open shared object file: No such file or directory
at Galaxy.Api.GalaxyInstance.CustomExceptionHelper.CustomExceptionRegisterCallback(CustomExceptionDelegate customCallback)
at Galaxy.Api.GalaxyInstance.CustomExceptionHelper..cctor()
--- End of inner exception stack trace ---
at Galaxy.Api.GalaxyInstance.CustomExceptionHelper..ctor()
at Galaxy.Api.GalaxyInstance..cctor()
--- End of inner exception stack trace ---
at Galaxy.Api.GalaxyInstance.User()
at StardewValley.SDKs.Steam.SteamHelper.onEncryptedAppTicketResponse(EncryptedAppTicketResponse_t response, Boolean ioFailure) in D:\GitlabRunner\builds\Gq5qA5P4\1\ConcernedApe\stardewvalley\Farmer\Farmer\SDKs\Steam\SteamHelper.cs:line 251[/table]
https://forums.stardewvalley.net/threads/steam-deck-linux-smapi-error.41869/#post-173923
的 ---> InvalidOperationException:由于对象的当前状态,作无效。
在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetRef.cs:第 371
行在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetRef.cs:第 348
行的 Netcode.NetRefTypes.ReadType(BinaryReader reader)在 Netcode.NetRefBase'2.ReadFull(BinaryReader 读取器,NetVersion 版本) 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetRef.cs:第 224
行在 Netcode.NetDictionary'5.ReadFieldFull(BinaryReader 读取器,NetVersion 版本) 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetDictionary.cs:第 440
行在 Netcode.NetDictionary'5.ReadFull(BinaryReader 读取器,NetVersion 版本) 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetDictionary.cs:第 617 行
在 Netcode.NetFields.ReadFull(BinaryReader 读取器,NetVersion 版本) 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetFields.cs:第 234 行
--- 内部异常堆栈跟踪---
结束在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetFields.cs:第 238 行
在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\Network\Client.cs:第 122
行的 StardewValley.Network.Client.receiveAvailableFarmhands(BinaryReader msg)在 SMAPI\Framework\SMultiplayer.cs:第 336 行
的 StardewModdingAPI.Framework.Framework.SMultiplayer.OnClientProcessingMessage(IncomingMessage message, Action'1 sendMessage, Action resume)在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SDKs\Steam\SteamNetClient.cs:第 406
行在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\Client.cs:第 68 行
在 StardewValley.Menus.FarmhandMenu.update(游戏时间) 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\FarmhandMenu.cs:第 302
行在 StardewValley.Menus.TitleMenu.update(游戏时间) 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\TitleMenu.cs:line 2008
at StardewValley.Game1.updateActiveMenu(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 5079
at StardewValley.Game1._update(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 4376
在 StardewValley.Game1.Update(GameTime gameTime) 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Game1.cs:第 3454 行
在 StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) 在 SMAPI\Framework\SCore.cs:第 1095 行