Save File Issue

Rixuous

Newcomer
I just started with Stardew mods, and I have some experience in Java language but I cannot figure out what this error is trying to tell me:


[game] System.NotSupportedException: The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.IO.DirectoryInfo.Init(String path, Boolean checkHost)
at System.IO.DirectoryInfo..ctor(String path)
at StardewModdingAPI.Constants.GetSaveFolder() in C:\source\_Stardew\SMAPI\src\SMAPI\Constants.cs:line 352
at StardewModdingAPI.Constants.GetSaveFolderPathIfExists() in C:\source\_Stardew\SMAPI\src\SMAPI\Constants.cs:line 331
at SpaceCore.Patches.SaveGamePatcher.SerializeProxy(XmlSerializer serializer, XmlWriter origWriter, Object obj) in C:\source\_Stardew\Mods.spacechase0\SpaceCore\Patches\SaveGamePatcher.cs:line 377
at StardewValley.SaveGame+<getSaveEnumerator>d__90.MoveNext_PatchedBy<spacechase0.SpaceCore>(<getSaveEnumerator>d__90 this)
at StardewValley.SaveGame.<>c__DisplayClass88_0.<Save>b__0() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SaveGame.cs:line 386
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
[SMAPI] An error occurred in the overridden update loop: System.NotSupportedException: The given path's format is not supported.
at StardewValley.SaveGame.<Save>d__88.MoveNext() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SaveGame.cs:line 414
at StardewValley.Menus.SaveGameMenu.update(GameTime time) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\SaveGameMenu.cs:line 123
at StardewValley.Game1._update(GameTime gameTime) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 4080
at StardewValley.Game1.Update(GameTime gameTime) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 3872
at StardewModdingAPI.Framework.SGame.<>c__DisplayClass40_0.<Update>b__0() in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SGame.cs:line 186
at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SCore.cs:line 709


If anyone has any info, please let me know.
 

UlyanaLeyana

Planter
I just started with Stardew mods, and I have some experience in Java language but I cannot figure out what this error is trying to tell me:


[game] System.NotSupportedException: The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.IO.DirectoryInfo.Init(String path, Boolean checkHost)
at System.IO.DirectoryInfo..ctor(String path)
at StardewModdingAPI.Constants.GetSaveFolder() in C:\source\_Stardew\SMAPI\src\SMAPI\Constants.cs:line 352
at StardewModdingAPI.Constants.GetSaveFolderPathIfExists() in C:\source\_Stardew\SMAPI\src\SMAPI\Constants.cs:line 331
at SpaceCore.Patches.SaveGamePatcher.SerializeProxy(XmlSerializer serializer, XmlWriter origWriter, Object obj) in C:\source\_Stardew\Mods.spacechase0\SpaceCore\Patches\SaveGamePatcher.cs:line 377
at StardewValley.SaveGame+<getSaveEnumerator>d__90.MoveNext_PatchedBy<spacechase0.SpaceCore>(<getSaveEnumerator>d__90 this)
at StardewValley.SaveGame.<>c__DisplayClass88_0.<Save>b__0() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SaveGame.cs:line 386
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
[SMAPI] An error occurred in the overridden update loop: System.NotSupportedException: The given path's format is not supported.
at StardewValley.SaveGame.<Save>d__88.MoveNext() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\SaveGame.cs:line 414
at StardewValley.Menus.SaveGameMenu.update(GameTime time) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Menus\SaveGameMenu.cs:line 123
at StardewValley.Game1._update(GameTime gameTime) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 4080
at StardewValley.Game1.Update(GameTime gameTime) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 3872
at StardewModdingAPI.Framework.SGame.<>c__DisplayClass40_0.<Update>b__0() in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SGame.cs:line 186
at StardewModdingAPI.Framework.SCore.OnPlayerInstanceUpdating(SGame instance, GameTime gameTime, Action runUpdate) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SCore.cs:line 709


If anyone has any info, please let me know.
Hi, instead of the copy paste of the error, could you upload your entire SMAPI log and link to it here? There are instructions at that page for how to find and share it.
 

Rixuous

Newcomer
Hi! Apologies, I figured out the issue. It was the save file with the _STARDEWVALLEYSAVETMP at the end which wouldn't let it load.
 
Top