UPDATE TO SMAPI 4.0.7 BEFORE ASKING FOR HELP. Stardew Valley 1.6.4 and 1.6.5 were released recently. The SMAPI 4.0.7 update is required to avoid mod errors. To update SMAPI, just download and install the latest version (no need to uninstall it first).
STOP! Read this before asking for help or reporting an issue. Common questions are answered here.
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, [url=https://smapi.io/log]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.
Hi there! Do you know when the next update is coming out that will fix the crash/return to load screen when trying to load a save file?
I get through to the load menu, click my save file, it says loading for about a minute and then returns me to the home menu and then I repeat the process.
I haven't been able to play my game in a few days :(( it's my comfort game so I'm really excited for it to get resolved!
Adding my smapi log here if there's anything I can do to fix it myself? https://smapi.io/log/5eb82644113a40f68dc42cd0d4cc8567
smapi 4.0.8 wont work everytime i press play the symbol just spins a few times then stops when i go back to 4.0.6 (i dont have 4.0.7) it works but thats outdated. does anyone know what to do or if/when it will be fixed? im completely new to modding so i dont really know what im doing. im not getting any errors or popups so i dont know what to look for. edit: found 4.0.7 and it works
Note: Went to an independent JSON validator and it says it's valid. So I am stumped as to why SMAPI is detecting a technical error when neither JSON validator says there's no issues.
hi! i've been unable to get my game to load through SMAPI for a few days now, i've followed every step i can find for troubleshooting and nothing has worked. it always shows:
"Technical details: System.BadImageFormatException: Could not load file or assembly 'StardewValley.GameData, Version=1.6.3.24087, Culture=neutral, PublicKeyToken=null'. An attempt was made to load a program with an incorrect format. File name: 'StardewValley.GameData, Version=1.6.3.24087, Culture=neutral, PublicKeyToken=null'" etc, every time command prompt opens to run the game. i tried searching for an error log but it says the file doesn't even exist when i search for it. if i delete SMAPI entirely and un/reinstall my stardew, the game will run just fine. not sure how to fix this, any help is appreciated.
i install it myself and have tried reinstalling both stardew valley itself and SMAPI, as well as resetting the game files. as i mentioned before, when searching for an error log windows says it doesn't exist to begin with.
sorry i meant whenever i follow those steps, no error logs are found. in that case somehow maybe it's not running properly? i've installed it right every time according to the instructions but if it isn't creating logs then i guess it's not running for me.
Hi, im not sure where to ask and i thought you would most likely know! Considering upgrading my cpu soon. and im thinking between 7700x or 7800x3d. Would you know if heavily modded sdv benefit more from vcache x3d tech? or would 7700x outperformed it for this game?
btw im currently using i5 7600k and am running two instances through nuclues coop to be able to use 2 keyboards/mice. About 400 mods it runs pretty good. but sometimes i start to get very high cpu usage. but gpu usage stays very low. (1080gtx)
Hello despite trying everything ı get "SMAPI : Waiting for game to launch" error then it closes it palys on Steam it looks then it goes it opens without?
7643 comments
Stardew Valley 1.6.4 and 1.6.5 were released recently. The SMAPI 4.0.7 update is required to avoid mod errors. To update SMAPI, just download and install the latest version (no need to uninstall it first).
Read this before asking for help or reporting an issue. Common questions are answered here.
I get through to the load menu, click my save file, it says loading for about a minute and then returns me to the home menu and then I repeat the process.
I haven't been able to play my game in a few days :(( it's my comfort game so I'm really excited for it to get resolved!
Adding my smapi log here if there's anything I can do to fix it myself? https://smapi.io/log/5eb82644113a40f68dc42cd0d4cc8567
Any help would be amazing, so appreciate you!!
https://smapi.io/log/e6164d7b68904f2eaba5bf82ce535905
The affected file reads as follows:
{ "Format": "2.0.0", "Changes": [{ "Action": "Load", "Target": "Mods/MelindaC.MoreWildBerries/Boysenberries, Mods/MelindaC.MoreWildBerries/Boysenberries_Crop, Mods/MelindaC.MoreWildBerries/Boysenberries_Seed, Mods/MelindaC.MoreWildBerries/Marionberry, Mods/MelindaC.MoreWildBerries/Wild_Blueberry, Mods/MelindaC.MoreWildBerries/Marionberry_Crop, Mods/MelindaC.MoreWildBerries/Marionberry_Seed", "FromFile": "assets/{{TargetWithoutPath}}.png" }, { "Action": "Include", "FromFile": "Data/crops.json" }, { "Action": "Include", "FromFile": "Data/objects.json" }, { "Action": "Include", "FromFile": "Data/gifttastes.json" }, { "Action": "Include", "FromFile": "Data/machines.json" }, { "Action": "Include", "FromFile": "Data/shop_pierre.json" } ]}
What the heck am I doing wrong?
Note: Went to an independent JSON validator and it says it's valid. So I am stumped as to why SMAPI is detecting a technical error when neither JSON validator says there's no issues.
"Technical details: System.BadImageFormatException: Could not load file or assembly 'StardewValley.GameData, Version=1.6.3.24087, Culture=neutral, PublicKeyToken=null'. An attempt was made to load a program with an incorrect format.
File name: 'StardewValley.GameData, Version=1.6.3.24087, Culture=neutral, PublicKeyToken=null'" etc, every time command prompt opens to run the game. i tried searching for an error log but it says the file doesn't even exist when i search for it. if i delete SMAPI entirely and un/reinstall my stardew, the game will run just fine. not sure how to fix this, any help is appreciated.
thanks <3
(The log is always created if SMAPI ran, regardless of whether there was an error.)
upon a game crash i was able to find an error log :)
btw im currently using i5 7600k and am running two instances through nuclues coop to be able to use 2 keyboards/mice. About 400 mods it runs pretty good. but sometimes i start to get very high cpu usage. but gpu usage stays very low. (1080gtx)
UiApp::trySetupGraphicsWindow, gwindow == window 00000000001C0CB6
HookApp::hookD3d9, 0
HookApp::deferHook,
HookApp::hookWindow,
---> InvalidOperationException:无法读取友谊字段“友谊:__instance.get_questionsAsked()”
-- -> InvalidOperationException:由于对象的当前状态,操作无效。
在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetRef.cs 中的 Netcode.NetRefTypes.ReadGenericType(BinaryReader reader):第 368
行在 Netcode.NetRefTypes.ReadType(BinaryReader reader)在D:\ GitlabRunner \ builds \ Gq5qA5P4 \ 0 \ ConcernedApe \ stardewvalley \ Farmer \ Farmer \ Network \ NetFields \ NetRef.cs:第345行
在 Netcode.NetRefBase`2.ReadFull(BinaryReader reader,NetVersion 版本) 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetRef.cs:第 221 行在
Netcode.NetList` 2.ReadFull(BinaryReader阅读器,NetVersion版本)位于D:\ GitlabRunner \ builds \ Gq5qA5P4 \ 0 \ ConcernedApe \ stardewvalley \ Farmer \ Farmer \ Network \ NetFields \ NetList.cs:
Netcode.NetFields.ReadFull(BinaryReader阅读器,第277行, NetVersion 版本)位于 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetFields.cs:line 236
--- 内部异常堆栈跟踪结束 ---
在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetFields.cs 中的 Netcode.NetFields.ReadFull(BinaryReader reader,NetVersion 版本):
Netcode.NetExtendableRef`2 的第 240 行。 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetRef.cs 中的 ReadValueFull(T 值,BinaryReader 阅读器,NetVersion 版本):
Netcode.NetRefBase`2.ReadFull第 264 行BinaryReader 阅读器,NetVersion 版本)位于 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetRef.cs:
Netcode.NetDictionary`5.ReadFieldFull(BinaryReader 阅读器,NetVersion 版本)第 223 行)在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetDictionary.cs:第 426 行
在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetDictionary.cs 中的 Netcode.NetDictionary`5.ReadFull(BinaryReader reader,NetVersion 版本):
Netcode.NetFields 的第 603 行。 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetFields.cs 中的 ReadFull(BinaryReader reader, NetVersion version):第 236 行
--- 内部异常堆栈跟踪结束 ---
在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetFields.cs 中的 Netcode.NetFields.ReadFull(BinaryReader reader,NetVersion 版本):第 240 行
在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\Client.cs 中的 StardewValley.Network.Client.receiveAvailableFarmhands(BinaryReader msg):
StardewModdingAPI.Framework.SMultiplayer.OnClientProcessingMessage(IncomingMessage) 的第 124 行SMAPI\Framework\SMultiplayer.cs 中的消息、Action`1 sendMessage、Actionresume):
D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer 中 StardewValley.SDKs.Steam.SteamNetClient.receiveMessagesImpl() 的第 336 行\Farmer\SDKs\Steam\SteamNetClient.cs:
D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\Client.cs 中 StardewValley.Network.Client.receiveMessages() 的第 406 行:line 70
在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\FarmhandMenu.cs 中的 StardewValley.Menus.FarmhandMenu.update(GameTime 时间):第 292
行在 StardewValley.Menus.TitleMenu.update(GameTime时间)在D:\ GitlabRunner \ builds \ Gq5qA5P4 \ 0 \ ConcernedApe \ stardewvalley \ Farmer \ Farmer \ Menus \ TitleMenu.cs:第1728
行在StardewValley.Game1.updateActiveMenu(GameTime gameTime)在D:\ GitlabRunner \ builds \ Gq5qA5P4 \ 0 \ ConcernedApe \ stardewvalley \ Farmer \ Farmer \ Game1.cs
:D:\ GitlabRunner \ builds \ Gq5qA5P4 \ 0 \ ConcernedApe \ stardewvalley \ Farmer \ Farmer \ Game1.cs中的StardewValley.Game1._update(GameTime gameTime)第4786行:
D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs 中的 StardewValley.Game1.Update(GameTime gameTime)第 4108 行:第 3176 行
在 SMAPI\Framework\SCore.cs 中的 StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame 实例、GameTime gameTime、Action runUpdate):第 1084 行