Clarei
Greenhorn
My SMAPI has been working fine until just the other day where it won't open the game because it's apparently not executable, except I haven't done anything different to my game for a while now. Like, no new mods added at all, no tweaking in the files- nothing, and it's just suddenly not opening the game. The game itself opens just fine (the unmodded version), but the SMAPI launcher won't even get as far as loading any mods before it tells me to press any key to close the tab. Here is exactly what it tells me.
Oops! SMAPI couldn't load the game executable. The technical details below may have more info.
Technical details: System.BadImageFormatException: Could not load file or assembly 'Stardew Valley' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'Stardew Valley'
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError)
at StardewModdingAPI.Program.AssertGamePresent() in C:\source\_Stardew\SMAPI\src\SMAPI\Program.cs:line 83
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Game has ended. Press any key to exit.
-----
Does anyone know what happened? I don't get it at all and I'm usually pretty good when it comes to modding. I'm wondering if Steam updated Stardew Valley and caused my SMAPI to go out of date or something, though my go-to launcher is curse Overwolf. I did click the 'update all' button for the few mods I got from curse, and it updated my Bookcase mod, but to ne honest I can't see how that would change any .dll files or anything.
Oops! SMAPI couldn't load the game executable. The technical details below may have more info.
Technical details: System.BadImageFormatException: Could not load file or assembly 'Stardew Valley' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'Stardew Valley'
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError)
at StardewModdingAPI.Program.AssertGamePresent() in C:\source\_Stardew\SMAPI\src\SMAPI\Program.cs:line 83
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Game has ended. Press any key to exit.
-----
Does anyone know what happened? I don't get it at all and I'm usually pretty good when it comes to modding. I'm wondering if Steam updated Stardew Valley and caused my SMAPI to go out of date or something, though my go-to launcher is curse Overwolf. I did click the 'update all' button for the few mods I got from curse, and it updated my Bookcase mod, but to ne honest I can't see how that would change any .dll files or anything.