Stardew Valley

Stardew Valley

View Stats:
SMAPI not working
everytime I try to launch the game it doesn't work even though i downloaded the new version of SMAPI. please help if you can. this is the error i got:

SMAPI failed to initialize: System.IO.FileNotFoundException: Could not load file or assembly 'SMAPI.Toolkit.CoreInterfaces, Version=3.18.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the path specified.

File name: 'SMAPI.Toolkit.CoreInterfaces, Version=3.18.2.0, Culture=neutral, PublicKeyToken=null'
---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/james/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS/smapi-internal'.
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at StardewModdingAPI.Program.CurrentDomain_AssemblyResolve(Object sender, ResolveEventArgs e) in E:\source\_Stardew\SMAPI\src\SMAPI\Program.cs:line 71
at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler eventHandler, RuntimeAssembly assembly, String name)
at System.Runtime.Loader.AssemblyLoadContext.OnAssemblyResolve(RuntimeAssembly assembly, String assemblyFullName)
at StardewModdingAPI.Program.AssertGameVersion()
at StardewModdingAPI.Program.Main(String[] args) in E:\source\_Stardew\SMAPI\src\SMAPI\Program.cs:line 39
Game has ended. Press any key to exit.
< >
Showing 1-2 of 2 comments
jjul.tt Mar 20, 2024 @ 5:21pm 
Originally posted by scarygirl0221:
everytime I try to launch the game it doesn't work even though i downloaded the new version of SMAPI. please help if you can. this is the error i got:

SMAPI failed to initialize: System.IO.FileNotFoundException: Could not load file or assembly 'SMAPI.Toolkit.CoreInterfaces, Version=3.18.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the path specified.

File name: 'SMAPI.Toolkit.CoreInterfaces, Version=3.18.2.0, Culture=neutral, PublicKeyToken=null'
---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/james/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS/smapi-internal'.
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at StardewModdingAPI.Program.CurrentDomain_AssemblyResolve(Object sender, ResolveEventArgs e) in E:\source\_Stardew\SMAPI\src\SMAPI\Program.cs:line 71
at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler eventHandler, RuntimeAssembly assembly, String name)
at System.Runtime.Loader.AssemblyLoadContext.OnAssemblyResolve(RuntimeAssembly assembly, String assemblyFullName)
at StardewModdingAPI.Program.AssertGameVersion()
at StardewModdingAPI.Program.Main(String[] args) in E:\source\_Stardew\SMAPI\src\SMAPI\Program.cs:line 39
Game has ended. Press any key to exit.
You need to use SMAPI version 4 with the new update. The error may suggest that you are still on old one. Have you installed it properly? Best to uninstall old and install a new one. Also make sure that all of your mods are updated.
scarygirl0221 Mar 20, 2024 @ 5:24pm 
Originally posted by jjul.tt:
Originally posted by scarygirl0221:
everytime I try to launch the game it doesn't work even though i downloaded the new version of SMAPI. please help if you can. this is the error i got:

SMAPI failed to initialize: System.IO.FileNotFoundException: Could not load file or assembly 'SMAPI.Toolkit.CoreInterfaces, Version=3.18.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the path specified.

File name: 'SMAPI.Toolkit.CoreInterfaces, Version=3.18.2.0, Culture=neutral, PublicKeyToken=null'
---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/Users/james/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS/smapi-internal'.
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at StardewModdingAPI.Program.CurrentDomain_AssemblyResolve(Object sender, ResolveEventArgs e) in E:\source\_Stardew\SMAPI\src\SMAPI\Program.cs:line 71
at System.Runtime.Loader.AssemblyLoadContext.InvokeResolveEvent(ResolveEventHandler eventHandler, RuntimeAssembly assembly, String name)
at System.Runtime.Loader.AssemblyLoadContext.OnAssemblyResolve(RuntimeAssembly assembly, String assemblyFullName)
at StardewModdingAPI.Program.AssertGameVersion()
at StardewModdingAPI.Program.Main(String[] args) in E:\source\_Stardew\SMAPI\src\SMAPI\Program.cs:line 39
Game has ended. Press any key to exit.
You need to use SMAPI version 4 with the new update. The error may suggest that you are still on old one. Have you installed it properly? Best to uninstall old and install a new one. Also make sure that all of your mods are updated.

I uninstalled the old one but for some reason it seems like it’s still there and i’m not sure why
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Mar 20, 2024 @ 5:11pm
Posts: 2