UPDATE TO SMAPI 4.0.8 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.
What's new in SMAPI 4.0? This mainly updates for Stardew Valley 1.6.0, improves performance and compatibility rewriting, adds per-mod-folder settings, and removes Error Handler (which is now integrated into the game itself). For mod authors, it mainly adds custom update manifests, adds new render step events, and drops deprecated APIs.
How do I update? Just run the new installer, it'll update previous files automatically.
Is it safe to update? SMAPI 4.0.0 is the update for Stardew Valley 1.6, so older SMAPI versions won't work with the new game update. Mods may break with the game update though. 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!
When I launched the game, I saw a message like "the 'StardewModdingAPI.deps.json' file didn't match"? The full message is:
The 'StardewModdingAPI.deps.json' file didn't match the game's version. SMAPI fixed it automatically, but you must restart SMAPI for the change to take effect.
That happens once after a game update. You can just re-launch the game to continue playing normally.
(Stardew Valley and SMAPI both have a *.deps.json file which need to match for SMAPI to work. So when the game updates, SMAPI automatically updates its file to match the game. It needs to restart for the changes to take effect.)
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.
Hello, I think this is my last hope in terms of getting stardew to work without needing to get my computer checked out by a computer person thing.
I have been struggling and have sought out support from reddit, twice, here and here. I have also posted on Discord twice, posted on the stardew forums things, and here will be my last cry for help, so hopefully someone can help me out. Taking a look at the comments on those reddit posts will probably be the best thing to see what all I have tried, but I shall give a brief summary of the things and all the things.
Issue: with mods installed, every time I launch the game it wont let me get past the title screen/character creation part before my computer freezes and forces a restart or I need to manually restart. what we tried in order of operations.
launching stardew from steam only, not the shortcut on my desktop (worked for 3 seconds, started a new world, cleared some brush, attempted to plant ONE seed and then it crashed again) (log: https://smapi.io/log/e9222029577d4add8f83ad141e446541)
ctrl-alt-delete when things start to freeze (only worked once, was able to get into the world with ridgside characters listed)
changing the gpu to high performance or whatever, did not work.
validated my files, many times, nothing changed, everything was always fine but anytime i tried to open a world or make a new world it would crash somehow (log: https://smapi.io/log/66caa077d2f343318f702dcc84cfffb3)
removed all mods and smapi, just vanilla, didn't work, crashes continued
uninstalled and reinstalled stardew, vanilla (no smapi or mods) everything was fine, i could play and plant seeds.
tried to run vanilla stardew with smapi still installed (opened the file in the actual file thing) and it froze, I had gotten to the point where I clicked create a person and it froze just the stardew window and then the entire window on the loading screen, I needed to do a forced restart and I had no mods installed and was not running smapi.
this morning I tried running stardew with smapi again and it did not let me get past the loading screen for the character selection. I clicked the create a new file button my computer crashed. the entire screen went black and i had to restart. here is the log for that https://smapi.io/log/f410fe5d5ec94a2cb7c5b9727abe1e60
I did a memory diagnostic this morning as well and it restarted my computer. I opened stardew and created two new profiles with JUST SMAPI running, no mods, and I was able to get into the world and move around, in one I was even able to plant seeds. Then I added just the content patcher mod and tried again to open a new world and it did not let me get past character selection. https://smapi.io/log/28863f008a604c36bba48a3fb0a54758
Other things to note - I do not have any mod managers - my system is new, it has had more than enough power to use mods with stardew. I’ve already play stardew with expanded and mutliple other mods and had zero problem. I also have recently played Minecraft with multiple mods and a shader and resource packs with no issue. - I download my stardew mods from nexus, and my minecraft mods from curseforge - i do manual installs for all of the mods (stardew and minecrast) and I manually unzip/extract them. - someone kept mentioning GOG as a concerning thing in my log, I have never made a GOG account, I had never heard of them until this saga has occurred, I do not know why it is in my log but i have done EVERYTHING in my power to locate anything GOG related in my computer (as seen in the second reddit post) and nothing has worked to find it...
can anyone please help me? and if not, can anyone suggest what I might say about my laptop to a computer professional regarding what is wrong with it?
Hello! The SMAPI keeps instantly crashing, before I can even see error codes. I've done everything suggested on the "game crashes" page and still do not have any luck launching it. I have uninstalled and reinstalled, I have restarted my computer, and I entered the text to see if there were error codes on the power shell. The base game works, just not the SMAPI.
[game] The game failed to launch: Microsoft.Xna.Framework.Content.ContentLoadException: The content file was not found. ---> FileNotFoundException: Content\Characters/Farmer/hairstyles.xnb ---> DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Administrator\steammm\steamapps\common\Stardew Valley\Content\Characters\Farmer\hairstyles.xnb'. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(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) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at Microsoft.Xna.Framework.TitleContainer.PlatformOpenStream(String safeName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\TitleContainer.Desktop.cs:line 29 at Microsoft.Xna.Framework.TitleContainer.OpenStream(String name) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:line 37 at Microsoft.Xna.Framework.TitleContainer.OpenStream(String name) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:line 58 at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 276 --- End of inner exception stack trace --- at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 289 at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 319 at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 255 at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.RawLoad[T](IAssetName assetName, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 340 at StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>c__DisplayClass6_0`1.<LoadExact>b__0() in SMAPI\Framework\ContentManagers\GameContentManager.cs:line 127 at StardewModdingAPI.Framework.Utilities.ContextHash`1.Track[TResult](T key, Func`1 action) in SMAPI\Framework\Utilities\ContextHash.cs:line 53 at StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[T](IAssetName assetName, Boolean useCache) at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.LoadLocalized[T](IAssetName assetName, LanguageCode language, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 154 at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.Load[T](String assetName, LanguageCode language) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 136 at StardewValley.Game1.LoadContent() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 2369 at StardewModdingAPI.Framework.SGame.LoadContent() in SMAPI\Framework\SGame.cs:line 146 at StardewValley.GameRunner.LoadContent() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 800 at StardewValley.GameRunner.Initialize() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 656 at Microsoft.Xna.Framework.Game.DoInitialize() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 944 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 309
Hello, sorry, I have downloaded smapi and I have put it correctly, I have put some mods but I don't know why it doesn't take them, they are in the mods folder and I extracted them there as I should. I have also tried to delete them and put them back but it doesn't work either, right now I have the content patcher, generic mod and the seasonal outfit, I have downloaded others but I deleted them when I saw that they don't work or they appeared when playing it :(Here I leave my log https://smapi.io/log/cf72e444133c410b9833db066d8df771
我和我的朋友一起联机我输入邀请码后却显示服务器上没有空闲位置 [game] An error occurred in the base update loop: InvalidOperationException: Failed reading Character (Farmer) field 'Character (Farmer): SpaceCore_PersonalCurrencies' ---> EndOfStreamException: Unable to read beyond the end of the stream. at System.IO.BinaryReader.InternalRead(Int32 numBytes) at System.IO.BinaryReader.ReadInt32() at Netcode.NetDictionary`5.ReadFull(BinaryReader reader, NetVersion version) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetDictionary.cs:line 597 at Netcode.NetFields.ReadFull(BinaryReader reader, NetVersion version) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetFields.cs:line 236 --- End of inner exception stack trace --- at Netcode.NetFields.ReadFull(BinaryReader reader, NetVersion version) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetFields.cs:line 240 at StardewValley.Network.Client.receiveAvailableFarmhands(BinaryReader msg) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\Client.cs:line 124 at StardewModdingAPI.Framework.SMultiplayer.OnClientProcessingMessage(IncomingMessage message, Action`1 sendMessage, Action resume) in SMAPI\Framework\SMultiplayer.cs:line 336 at StardewValley.SDKs.Steam.SteamNetClient.receiveMessagesImpl() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SDKs\Steam\SteamNetClient.cs:line 406 at StardewValley.Network.Client.receiveMessages() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\Client.cs:line 70 at StardewValley.Menus.FarmhandMenu.update(GameTime time) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\FarmhandMenu.cs:line 292 at StardewValley.Menus.TitleMenu.update(GameTime time) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\TitleMenu.cs:line 1728 at StardewValley.Game1.updateActiveMenu(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 4795 at StardewValley.Game1._update(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 4117 at StardewValley.Game1.Update(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 3185 at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 1084 [game] WARNING: Mismatched UI Mode Push/Pop counts. Correcting.
8094 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.
or is that 1.6?
I have been struggling and have sought out support from reddit, twice, here and here. I have also posted on Discord twice, posted on the stardew forums things, and here will be my last cry for help, so hopefully someone can help me out. Taking a look at the comments on those reddit posts will probably be the best thing to see what all I have tried, but I shall give a brief summary of the things and all the things.
Issue: with mods installed, every time I launch the game it wont let me get past the title screen/character creation part before my computer freezes and forces a restart or I need to manually restart.
what we tried in order of operations.
- launching stardew from steam only, not the shortcut on my desktop (worked for 3 seconds, started a new world, cleared some brush, attempted to plant ONE seed and then it crashed again) (log: https://smapi.io/log/e9222029577d4add8f83ad141e446541)
- ctrl-alt-delete when things start to freeze (only worked once, was able to get into the world with ridgside characters listed)
- changing the gpu to high performance or whatever, did not work.
- tried playing offline twice, didn't work (log: https://smapi.io/log/5d8a4ce457114f1183ec4a98dac21e1f)
- removing just ridgeside mod, didn't work (https://smapi.io/log/a94c1e343d324ae694e403fd5ab14091)
- Tried removing one of the mods, didn't work (log: https://smapi.io/log/eedc1198bd944d56a120dd299673f3d4)
- tried turning my firewall off and running, didn't work (log: https://smapi.io/log/09a5cc24f4ec4fcd9c144ee605e42fae)
- validated my files, many times, nothing changed, everything was always fine but anytime i tried to open a world or make a new world it would crash somehow (log: https://smapi.io/log/66caa077d2f343318f702dcc84cfffb3)
- removed all mods and smapi, just vanilla, didn't work, crashes continued
- uninstalled and reinstalled stardew, vanilla (no smapi or mods) everything was fine, i could play and plant seeds.
- reinstalled JUST smapi, no other mods, didn't work. (log: https://smapi.io/log/764547683a8644cf8b4c9c3ec78c8ed5)
- tried to run vanilla stardew with smapi still installed (opened the file in the actual file thing) and it froze, I had gotten to the point where I clicked create a person and it froze just the stardew window and then the entire window on the loading screen, I needed to do a forced restart and I had no mods installed and was not running smapi.
- this morning I tried running stardew with smapi again and it did not let me get past the loading screen for the character selection. I clicked the create a new file button my computer crashed. the entire screen went black and i had to restart. here is the log for that https://smapi.io/log/f410fe5d5ec94a2cb7c5b9727abe1e60
- I did a memory diagnostic this morning as well and it restarted my computer. I opened stardew and created two new profiles with JUST SMAPI running, no mods, and I was able to get into the world and move around, in one I was even able to plant seeds. Then I added just the content patcher mod and tried again to open a new world and it did not let me get past character selection. https://smapi.io/log/28863f008a604c36bba48a3fb0a54758
Other things to note- I do not have any mod managers
- my system is new, it has had more than enough power to use mods with stardew. I’ve already play stardew with expanded and mutliple other mods and had zero problem. I also have recently played Minecraft with multiple mods and a shader and resource packs with no issue.
- I download my stardew mods from nexus, and my minecraft mods from curseforge
- i do manual installs for all of the mods (stardew and minecrast) and I manually unzip/extract them.
- someone kept mentioning GOG as a concerning thing in my log, I have never made a GOG account, I had never heard of them until this saga has occurred, I do not know why it is in my log but i have done EVERYTHING in my power to locate anything GOG related in my computer (as seen in the second reddit post) and nothing has worked to find it...
can anyone please help me? and if not, can anyone suggest what I might say about my laptop to a computer professional regarding what is wrong with it?
---> FileNotFoundException: Content\Characters/Farmer/hairstyles.xnb
---> DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Administrator\steammm\steamapps\common\Stardew Valley\Content\Characters\Farmer\hairstyles.xnb'.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(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)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at Microsoft.Xna.Framework.TitleContainer.PlatformOpenStream(String safeName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\TitleContainer.Desktop.cs:line 29
at Microsoft.Xna.Framework.TitleContainer.OpenStream(String name) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:line 37
at Microsoft.Xna.Framework.TitleContainer.OpenStream(String name) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:line 58
at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 276
--- End of inner exception stack trace ---
at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 289
at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 319
at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 255
at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.RawLoad[T](IAssetName assetName, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 340
at StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>c__DisplayClass6_0`1.<LoadExact>b__0() in SMAPI\Framework\ContentManagers\GameContentManager.cs:line 127
at StardewModdingAPI.Framework.Utilities.ContextHash`1.Track[TResult](T key, Func`1 action) in SMAPI\Framework\Utilities\ContextHash.cs:line 53
at StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[T](IAssetName assetName, Boolean useCache)
at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.LoadLocalized[T](IAssetName assetName, LanguageCode language, Boolean useCache) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 154
at StardewModdingAPI.Framework.ContentManagers.BaseContentManager.Load[T](String assetName, LanguageCode language) in SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 136
at StardewValley.Game1.LoadContent() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 2369
at StardewModdingAPI.Framework.SGame.LoadContent() in SMAPI\Framework\SGame.cs:line 146
at StardewValley.GameRunner.LoadContent() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 800
at StardewValley.GameRunner.Initialize() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\LocalMultiplayer.cs:line 656
at Microsoft.Xna.Framework.Game.DoInitialize() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 944
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 309
InvalidOperationException:XML 文档 (1, 4235624) 中存在错误。
---> Microsoft.Xna.Framework.Content.ContentLoadException:未找到内容文件。
---> FileNotFoundException:找不到文件“D:\ggg\steamapps\common\Stardew Valley\Content\Portraits\Gil.xnb”。
文件名: 'D:\ggg\steamapps\common\Stardew Valley\Content\Portraits\Gil.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)
Microsoft在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\TitleContainer.Desktop.cs:第 29
行在 Microsoft.Xna.Framework.TitleContainer.OpenStream(字符串名称) 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:行 37
在 Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:行 276
---内部异常堆栈跟踪---结束
在 Microsoft D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 289
在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\Content\ 中的第 289 行 Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action'1 recordDisposableObject)ContentManager.cs:在 SMAPI\Framework\ContentManagers BaseContentManager.cs\Microsoft:line 340
中的 .Xna.Framework.Content.ContentManager.Load[T](IAssetName assetName) 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernApe\Stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\Content\ContentManager.cs:line 255
处的第 319
行在 StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>c__DisplayClass6_0'1.<LoadExact>b__0() 在 SMAPI\Framework\ContentManagers\GameContentManager.cs:行 127
在 StardewModdingAPI.Framework.Utilities.ContextHash'1.Track[TResult](T 键,Func'1 动作) 在 SMAPI\Framework\Utilities\ContextHash.cs:行 53
在 StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[T](IAssetName assetName,布尔值useCache)
在 SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 190
中的 StardewModdingAPI.Framework.ContentManagers.BaseContentManager.LoadLocalized[T](String assetName, LanguageCode language) 在 SMAPI\Framework\ContentManagers BaseContentManager.cs\:line 136
在StardewValley.Locations.AdventureGuild。在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernApe\stardewvalley\Farmer\Farmer\Locations\AdventureGuild.cs:第 13
行 在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read184_AdventureGuild(Boolean isNullable, Boolean checkType) 在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read245_GameLocation(Boolean isNullable, Boolean checkType)
在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read273_SaveGame (布尔值为 Nullable,布尔值 checkType)
在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read274_SaveGame()
--- 内部异常堆栈跟踪结束 ---
在 System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader xmlReader,字符串编码样式,XmlDeserializationEvents 事件)
在 System.Xml.Serialization.XmlSerializer.Deserialize (流流)
在 StardewValley.SaveGame.<>c__DisplayClass96_0.<getLoadEnumerator>b__1() 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernApe\stardewvalley\Farmer\Farmer\SaveGame.cs:行 1435
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.<>c.<.cctor>b__272_0 (对象 obj)
在 System.Threading.ExecutionContext.RunInternal (ExecutionContext executionContext, ContextCallback 回调, 对象状态)
--- 从上一个位置---堆栈跟踪结束
在 System.Threading.ExecutionContext.RunInternal (ExecutionContext executionContext, ContextCallback 回调, 对象状态)
在 System.Threading.Tasks.Task.ExecuteWithThreadLocal (Task&; currentTaskSlot, 线程 threadPoolThread)
[SMAPI的]重写的更新循环中出错:InvalidOperationException:XML 文档 (1, 4235624) 中存在错误。
---> Microsoft.Xna.Framework.Content.ContentLoadException:未找到内容文件。
---> FileNotFoundException:找不到文件“D:\ggg\steamapps\common\Stardew Valley\Content\Portraits\Gil.xnb”。
文件名: 'D:\ggg\steamapps\common\Stardew Valley\Content\Portraits\Gil.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)
Microsoft在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\TitleContainer.Desktop.cs:第 29
行在 Microsoft D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\TitleContainer.cs:行 37
在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\:line 37 中的 Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName) 在 D:\GitlabRunner\builds\GqA5P4\0\ConcernApe\Stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\ContentManager.cs:line 276
--- 内结束在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content ContentManager.cs:line 289 的 Microsoft Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action'1 recordDisposableObject) 的 D:\GitlabRunner\builds\GqA5P4\0\ConcernedApe\stardewvalley\MonoGame.Framework\Content:line 289
处---
异常堆栈跟踪。MonoGame.Framework\Content\ContentManager.cs:
在 SMAPI\Framework\ContentManagers\ConcernApe\Stardewvalley\MonoGame.Desktop\MonoGame.Framework\Content\Content\ContentManager.cs:line 255
的 Microsoft.Xna.Framework.Content.ContentManager.Load[T](IAssetName assetName, Boolean useCache) SMAPI\Framework\ContentManagers\BaseContentManager.cs:在 SMAPI\Framework\ContentManagers\GameContentManager.cs中的 StardewModdingAPI.Framework.ContentManagers.GameContentManager.<>c__DisplayClass6_0'1.<LoadExact>b__0() 的第 340
行:在 StardewModdingAPI.Framework.Utilities.ContextHash'1.Track[TResult](T 键,Func'1 动作) 在 SMAPI\Framework\Utilities\ContextHash.cs:第 53
行在 StardewModdingAPI.Framework.ContentManagers.GameContentManager.LoadExact[T](IAssetName assetName, 布尔值 useCache)
在 StardewModdingAPI.Framework.ContentManagers.BaseContentManagers.LoadLocalized[T](IAssetName assetName, LanguageCode language, Boolean useCache) 在 SMAPI\Framework\ContentManagers\BaseContentManager.cs:line 190
在 StardewModdingAPI.Framework.ContentManagers.BaseContentManager.Load[T](字符串 assetName, LanguageCode 语言) 在 SMAPI\Framework\ContentManagers\BaseContentManager.cs:行 136
在StardewValley.Locations.AdventureGuild。在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernApe\stardewvalley\Farmer\Farmer\Locations\AdventureGuild.cs:第 13
行 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read184_AdventureGuild(Boolean isNullable, Boolean checkType) 在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read245_GameLocation(Boolean isNullable, Boolean checkType)
在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read273_SaveGame(布尔值为 Nullable,布尔值 checkType)
在 Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSaveGame.Read274_SaveGame()
--- 内部异常堆栈跟踪---
结束 在 StardewValley.SaveGame.getLoadEnumerator(字符串文件)+MoveNext() 在 D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernApe\stardewvalley\Farmer\Farmer\SaveGame.cs:SMAPI\Framework\SCore.cs:line 686 中的 StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) 的第 1449
行
SMAPI log parser - SMAPI.io
To share screenshots if you need it:
https://stardewvalleywiki.com/Modding:Help#Share_screenshots
https://ibb.co/4Z1KqTG
[game] An error occurred in the base update loop: InvalidOperationException: Failed reading Character (Farmer) field 'Character (Farmer): SpaceCore_PersonalCurrencies'
---> EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.InternalRead(Int32 numBytes)
at System.IO.BinaryReader.ReadInt32()
at Netcode.NetDictionary`5.ReadFull(BinaryReader reader, NetVersion version) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetDictionary.cs:line 597
at Netcode.NetFields.ReadFull(BinaryReader reader, NetVersion version) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetFields.cs:line 236
--- End of inner exception stack trace ---
at Netcode.NetFields.ReadFull(BinaryReader reader, NetVersion version) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\NetFields\NetFields.cs:line 240
at StardewValley.Network.Client.receiveAvailableFarmhands(BinaryReader msg) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\Client.cs:line 124
at StardewModdingAPI.Framework.SMultiplayer.OnClientProcessingMessage(IncomingMessage message, Action`1 sendMessage, Action resume) in SMAPI\Framework\SMultiplayer.cs:line 336
at StardewValley.SDKs.Steam.SteamNetClient.receiveMessagesImpl() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SDKs\Steam\SteamNetClient.cs:line 406
at StardewValley.Network.Client.receiveMessages() in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Network\Client.cs:line 70
at StardewValley.Menus.FarmhandMenu.update(GameTime time) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\FarmhandMenu.cs:line 292
at StardewValley.Menus.TitleMenu.update(GameTime time) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\TitleMenu.cs:line 1728
at StardewValley.Game1.updateActiveMenu(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 4795
at StardewValley.Game1._update(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 4117
at StardewValley.Game1.Update(GameTime gameTime) in D:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 3185
at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in SMAPI\Framework\SCore.cs:line 1084
[game] WARNING: Mismatched UI Mode Push/Pop counts. Correcting.