Lity
Greenhorn
This is a problem I have seen a lot of people have but still no answers.
So I've been having a long running issue of my game not running. I have gone through all the basic troubleshoots, including because I will be asked... Restart your computer. Make sure you have speakers or headphones plugged in. (They can be muted, but the game needs a working audio device.) If you play on Windows: Install (or reinstall) .NET Framework 4.5.2 and XNA Framework 4.0 Reinstalled and repaired C++. I have SMAPI installed, it cannot boot through that either. I try to find the crash logs, but when I do the search through the run prompt with "%appdata%\StardewValley\ErrorLogs" I get a prompt saying that the Error Logs cannot be found. There are no error log folders. When I attempt to open through SMAPI, this is the message I am given:
SMAPI failed to initialize: System.BadImageFormatException: Could not load file or assembly 'Microsoft.Xna.Framework.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
File name: 'Microsoft.Xna.Framework.dll'
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 76
at StardewModdingAPI.Program.Main(String[] args) in C:\source\_Stardew\SMAPI\src\SMAPI\Program.cs:line 30
I have uninstalled Framework 4.0 and reinstalled then repaired even, still no fix. I have rewound to an earlier version of windows, still no fix.
I know this is alot of text, but I am trying to be as detailed as possible so this unresolved issue can be figured out.
So I've been having a long running issue of my game not running. I have gone through all the basic troubleshoots, including because I will be asked... Restart your computer. Make sure you have speakers or headphones plugged in. (They can be muted, but the game needs a working audio device.) If you play on Windows: Install (or reinstall) .NET Framework 4.5.2 and XNA Framework 4.0 Reinstalled and repaired C++. I have SMAPI installed, it cannot boot through that either. I try to find the crash logs, but when I do the search through the run prompt with "%appdata%\StardewValley\ErrorLogs" I get a prompt saying that the Error Logs cannot be found. There are no error log folders. When I attempt to open through SMAPI, this is the message I am given:
SMAPI failed to initialize: System.BadImageFormatException: Could not load file or assembly 'Microsoft.Xna.Framework.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
File name: 'Microsoft.Xna.Framework.dll'
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 76
at StardewModdingAPI.Program.Main(String[] args) in C:\source\_Stardew\SMAPI\src\SMAPI\Program.cs:line 30
I have uninstalled Framework 4.0 and reinstalled then repaired even, still no fix. I have rewound to an earlier version of windows, still no fix.
I know this is alot of text, but I am trying to be as detailed as possible so this unresolved issue can be figured out.
Last edited by a moderator: