10327 comments

  1. Pathoschild
    Pathoschild
    • premium
    • 4,212 kudos
    Locked
    Sticky
    Why does macOS detect SMAPI as malware?

    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.
  2. Pathoschild
    Pathoschild
    • premium
    • 4,212 kudos
    Locked
    Sticky
    STOP!
    Read this before asking for help or reporting an issue. Common questions are answered here.


    What's new in SMAPI 4.2?
    SMAPI 4.2 has various bug fixes and improvements, an improved translation API, and mod events on the shipping menu.

    See the release highlights and release notes for more info.
    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.1 should 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.

    You can either:
    Where can I see fixes for common issues?
    See the mod troubleshooting guide!
    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.
  3. fidaugf
    fidaugf
    • member
    • 0 kudos
    [game] The game failed to launch: Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Failed to create graphics device!
     ---> NullReferenceException: Object reference not set to an instance of an object.
       at MonoGame.OpenGL.GL.LoadExtensions() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\OpenGL.cs:line 1444
       at MonoGame.OpenGL.GraphicsContext..ctor(IWindowInfo info) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsContext.SDL.cs:line 49
       at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformSetup() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsDevice.OpenGL.cs:line 252
       at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Setup() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\GraphicsDevice.cs:line 297
       at Microsoft.Xna.Framework.Graphics.GraphicsDevice..ctor(GraphicsAdapter adapter, GraphicsProfile graphicsProfile, Boolean preferHalfPixelOffset, PresentationParameters presentationParameters) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\GraphicsDevice.cs:line 273
       at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation gdi) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 144
       at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 115
       --- End of inner exception stack trace ---
       at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 123
       at Microsoft.Xna.Framework.Game.DoInitialize() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 941
       at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 465
       at StardewModdingAPI.Framework.SCore.RunInteractively() in SMAPI\Framework\SCore.cs:line 316
  4. Jonesooa
    Jonesooa
    • member
    • 0 kudos
    https://smapi.io/log/c6e49ea2edbe498f8fabe0cd2e309dce
  5. CNSCZJ
    CNSCZJ
    • premium
    • 20 kudos
    Spoiler:  
    Show
    Hi there! I'll help you install or remove SMAPI. Just a few questions first.
    Color scheme: auto-detect
    ----------------------------------------------------------------------------

    Where do you want to add or remove SMAPI?
    [1] C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley
    [2] c:\program files (x86)\steam\steamapps\common\Stardew Valley
    [3] Enter a custom game path.

    Type the number next to your choice, then press enter.

    Hello author, please install SMAPI appears when the same program path, how to remove the duplicate path.
    I tried to delete the registry, but it didn't work.
  6. hzgnb111
    hzgnb111
    • member
    • 0 kudos
    夏28日睡觉后游戏黑屏,并循环出现大片以下内容:
    --- End of stack trace from previous location ---at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext,state)at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot,Thread[game] An error occurred in the base update loop: System.Exception: Error on new day:---------------NullReferenceException: 0bject reference not set to an instance of an object.at StardewValley.SspecialOrders.SpecialOrder.UlpdateAvailableSpecialOrders(String orderType,Boolean forceRefresh) in D:\GitlabRunner(builds (Gq5qA5Pu(e\ConcernedApe\stardewvalley\FarmerFarmer\Specialorders\SpecialOrder.cs:Line 490at StardewValley.Gane1*<_newDaylfterFade>d._784 . oveMext_PatchedBy<Spiderbuttons.BETAS>(<_newDayAfterFade>d_784 thisat StardewValley.Game1.<>c.<newDayAfterFade>b__782_2(at System.Threading.Tasks.Task. InnerInvoke(at System.Threading.Tasks.Task,<>c.<.cctor>b__272_0(Object obj)at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext,ContextCallback callback,Objectstate)--- End of stack trace from previous location --at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext,ContextCallback callback,Objectstate)at System.Threading.Tasks.Task.ExecuteMithThreadLocal(Task& currentTaskSlot,ThreadthreadPoolThread)--------------一at StardewValley .Game1._update(GameTime gameTime] in D:\GitlabRunner(builds Gg5q45P4(0\ConcernedApe|stardewvalley)IFarmer\Farmer\Game1.cs:line 3646at StardewValley .Game1.lpdate(GameTime gameTime)in D:GitlabRunner(builds Gq5qA5Pu\8(ConcernedApelstardewvalley'Farner\Farmer\Game1.cs:line 3454at StardewModdingAPI.Framework.SCore.OnPlayerInstancelpdating(SGame instance,GameTime gameTime,Action runUpdate)inSMAPI\Framework\score.cs:line 1095
  7. Sogreth03
    Sogreth03
    • member
    • 0 kudos
    I know this isn't for the Andriod version of SMAPI, but I have a question if anyone is able to answer.

    I have SMAPI running on my Samsung just fine, but it seems that SMAPI is disabling quick-saves. Is there anyway to turn this feature off?
  8. wangaixinyi
    wangaixinyi
    • member
    • 0 kudos
    [Polyamory Sweet Bed] Tried to map a mod-provided API to interface 'PolyamorySweetBed.IGenericModConfigMenuApi', which isn't compatible with the actual mod API.技术详细信息: ArgumentException: 未处理的代理/转换方法 for info: ProxyInfo{target: TypeInfo{context: spacechase0.GenericModConfigMenu, type: GenericModConfigMenu.Framework.Api, GenericModConfigMenu, Version=1.12.0.0, Culture=neutral, PublicKeyToken=null}, proxy: TypeInfo{context: ApryllForever.PolyamorySweetBed, type: PolyamorySweetBed.IGenericModConfigMenuApi, PolyamorySweetBed, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null}}---> ArgumentException:IGenericModConfigMenuApi 接口定义了 OpenModMenuAsChildMenu 方法,该方法在 API 中不存在,或者依赖于无法映射的接口!在 Nanoray.Pintail.ProxyManagerConfiguration'1.<>c.<.cctor>b__42_4(ProxyInfo'1 proxyInfo, MethodInfo proxyMethod)在 Nanoray.Pintail.InterfaceOrDelegateProxyFactory'1.Prepare(ProxyManager'1 manager, String typeName)在 Nanoray.Pintail.ProxyManager'1.ObtainProxyFactory(ProxyInfo'1 proxyInfo)--- 内部异常堆栈跟踪---结束在 Nanoray.Pintail.ProxyManager'1.ObtainProxyFactory(ProxyInfo'1 proxyInfo)在 Nanoray.Pintail.IProxyManagerExtensions.ObtainProxy[Context,TProxy](IProxyManager'1 self, Object instance, Context targetContext, Context proxyContext)在 SMAPI\Framework\ModHelpers\ModRegistryHelper.cs:第 135 行中的 StardewModdingAPI.Framework.ModHelpers.ModRegistryHelper.GetApi[TInterface](String uniqueID)[多角恋甜蜜的爱]尝试将 mod 提供的 API 映射到接口 'PolyamorySweetLove.IGenericModConfigMenuApi',这与实际的 mod API 不兼容。技术详细信息: ArgumentException: 未处理的代理/转换方法 for info: ProxyInfo{target: TypeInfo{context: spacechase0.GenericModConfigMenu, 类型: GenericModConfigMenu.Framework.Api, GenericModConfigMenu, Version=1.12.0.0, Culture=neutral, PublicKeyToken=null}, proxy: TypeInfo{context: ApryllForever.PolyamorySweetLove, 类型: PolyamorySweetLove.IGenericModConfigMenuApi, PolyamorySweetLove, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null}}---> ArgumentException:IGenericModConfigMenuApi 接口定义了 OpenModMenuAsChildMenu 方法,该方法在 API 中不存在,或者依赖于无法映射的接口!在 Nanoray.Pintail.ProxyManagerConfiguration'1.<>c.<.cctor>b__42_4(ProxyInfo'1 proxyInfo, MethodInfo proxyMethod)在 Nanoray.Pintail.InterfaceOrDelegateProxyFactory'1.Prepare(ProxyManager'1 manager, String typeName)在 Nanoray.Pintail.ProxyManager'1.ObtainProxyFactory(ProxyInfo'1 proxyInfo)--- 内部异常堆栈跟踪---结束在 Nanoray.Pintail.ProxyManager'1.ObtainProxyFactory(ProxyInfo'1 proxyInfo)在 Nanoray.Pintail.IProxyManagerExtensions.ObtainProxy[Context,TProxy](IProxyManager'1 self, Object instance, Context targetContext, Context proxyContext)
    在 SMAPI\Framework\ModHelpers\ModRegistryHelper.cs:第 135 行中的 StardewModdingAPI.Framework.ModHelpers.ModRegistryHelper.GetApi[TInterface](String uniqueID)
  9. giyuogiuoh
    giyuogiuoh
    • member
    • 0 kudos
    [SMAPI]跳过的 Mod
    [SMAPI] --------------------------------------------------
    [SMAPI] 这些 Mod 无法添加到您的游戏中。
    [SMAPI] - 内容补丁,因为你安装了这个 mod 的多个副本。要解决此问题,请删除这些文件夹并重新安装 Mod:Mods\Content Patcher 2.6.1-1915-2-6-1-1743088629\ContentPatcher, Mods\Content Patcher 2.7.2-1915-2-7-2-1749250719\ContentPatcher。
    [SMAPI] - (CP) 更多背包升级的回归 1.0.2 因为它需要“内容补丁”模组,但无法加载。
    [SMAPI] - (CP) 派大星 1.0.0,因为它需要“内容补丁”模组,但无法加载。
    [SMAPI] - (CP)Veronnica 的肖像 1.1.1,因为它需要“内容补丁”模组,但无法加载。
    [SMAPI] - 6480 的 Giant Crops 2.1.2,因为它需要“Content Patcher”模组,但无法加载。
    [SMAPI] - Fast Animations 1.14.0,因为它需要 SMAPI 4.2.0 或更高版本。请将 SMAPI 更新到最新版本以使用此 mod。
    [SMAPI] - Fast Animations 1.15.0,因为它需要 SMAPI 4.2.0 或更高版本。请将 SMAPI 更新到最新版本以使用此 mod。
    [SMAPI] - Shop Tweaks 1.0.7 因为它需要“Content Patcher”模组,但无法加载。
    [SMAPI] - SMAPI 4.1.10-2400-4-1-10-1734578111\SMAPI 4.1.10 安装程序,因为 SMAPI 安装程序不是 mod(您可以在运行安装程序文件后删除此文件夹)。
  10. hudasdasd
    hudasdasd
    • member
    • 0 kudos
    [游戏]尝试访问文件“C:\Users\R7000P21\AppData\Roaming\StardewValley\Saves\XX_380509606\SaveGameInfo”
    FileNotFoundException时发生异常:找不到文件“C:\Users\R7000P21\AppData\Roaming\StardewValley\Saves\XX_380509606\SaveGameInfo”。
    文件名:Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(字符串完整路径、FileMode 模式、FileAccess 访问、FileShare 共享、FileOptions 选项).Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) 的 'C:\Users\R7000P21\AppData\Roaming\StardewValley\SaveValley\XX_380509606 SaveGameInfo'
    (String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
    在 System.IO.Strategies.OSFileStreamStrategy..ctor(字符串路径,FileMode模式,FileAccess访问,FileShare共享,FileOptions选项,Int64 preallocationSize)
    at StardewValley.Menus.LoadGameMenu.<FindSaveGames>g__TryReadFile|45_0[TData](字符串路径,异常&加载错误,Func'2加载) 在D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\LoadGameMenu.cs:line 677
    [游戏]尝试访问文件“C:\Users\R7000P21\AppData\Roaming\StardewValley\Saves\XX_380511067\SaveGameInfo”
    FileNotFoundException时发生异常:找不到文件“C:\Users\R7000P21\AppData\Roaming\StardewValley\Saves\XX_380511067\SaveGameInfo”。
    文件名:Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(字符串完整路径、FileMode 模式、FileAccess 访问、FileShare 共享、FileOptions 选项)
    Microsoft.Win32.SafeHandles.SafeFileHandle.Open(字符串完整路径、FileMode 模式、FileAccess 访问、FileShare 共享、FileOptions 选项、Int64 preallocationSize)
    的 'C:\Users\R7000P21\AppData\Roaming\StardewValley\Save XX_380511067 s\SaveGameInfo'
    在 System.IO.Strategies.OSFileStreamStrategy..ctor(字符串路径,FileMode模式,FileAccess访问,FileShare共享,FileOptions选项,Int64 preallocationSize)
    at StardewValley.Menus.LoadGameMenu.<FindSaveGames>g__TryReadFile|45_0[TData](字符串路径,异常&加载错误,Func'2加载) 在D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\LoadGameMenu.cs:line 677
  11. magtb
    magtb
    • member
    • 0 kudos
    [19:43:15 ERRO SMAPI] O jogo travou na última vez que você jogou. Se isso acontecer repetidamente, consulte "obter ajuda" em https://smapi.io.
    [19:43:15 ERRO SMAPI] Se você pedir ajuda, compartilhe seu log SMAPI: https://smapi.io/log.
  12. yanjiyaing5
    yanjiyaing5
    • member
    • 0 kudos
    [SMAPI]    Skipped mods
    [SMAPI]    --------------------------------------------------
    [SMAPI]       These mods could not be added to your game.
    [SMAPI]       - Grandpa's Farm-3753-1-15-9-1741905891\Grandpa's Farm\[CP] Stardew Valley Expanded\assets because it's an empty folder.
    [SMAPI]       - Health Bars 1.9.0 because it's no longer compatible. Please check for a version newer than 1.9.1-unofficial.2-libraryaddict at https://www.nexusmods.com/stardewvalley/mods/541 or https://smapi.io/mods
    [SMAPI]       - Stardew Valley Expanded\[CP] Stardew Valley Expanded\assets because it's an empty folder.
    [SMAPI]       - Stardew Valley Expanded\[CP] Stardew Valley Expanded\i18n because it contains files, but none of them are manifest.json.


    why