Changes

Jump to navigation Jump to search
→‎"Could not load 'Stardew Valley' or one of its dependencies": expand, streamline, fix hardcoded versions
Line 140: Line 140:     
=="Could not load 'Stardew Valley' or one of its dependencies"==
 
=="Could not load 'Stardew Valley' or one of its dependencies"==
* Verify that you can launch the game without SMAPI (either remove Steam launch options or directly open {{executable name|Stardew Valley}} for Windows, Stardew Valley unix executable on Mac/Linux).  
+
SMAPI wasn't able to load the game's executable. There's a number of possible reasons for this:
* Verify that you are running Stardew Valley 1.5.6. (You can launch the game without mods, then hit the question mark in bottom right to see the version number in the bottom left).
+
 
* Verify that you have installed SMAPI 3.13.2 or later. (The current version can always be downloaded from [https://smapi.io smapi.io].)
+
# [[#Reset your content files|Reset your content files]].
* Verify your game files through Steam, see this link: [[Modding:Player_Guide/Troubleshooting#Reset_your_content_files]] For some reason, some users have this issue because the files didn’t properly update.
+
# Make sure you have Stardew Valley {{version|link=0}} or later. (If you're not sure: launch without mods per step 4 below, click the "?" button on the title screen, and check the bottom-left corner of the screen.)
* Ensure you are not on the legacy branch, which is not supported by SMAPI.
+
# Make sure you have the [https://smapi.io/ latest version of SMAPI].
* If that doesn’t fix it, check if your Stardew Valley installation is on a different drive from the SMAPI installer. They need to be on the same drive.
+
# Make sure you can launch the game without SMAPI:
* Make sure you're running {{executable name|StardewModdingAPI}} in your game folder (see the [[Modding:Player Guide/Getting Started#Getting started|install instructions]]).
+
## Open [[Modding:Player Guide/Getting Started#Find your game folder|your game folder]].
* Did you install SMAPI manually (not [[Modding:Player Guide/Getting Started#Install SMAPI|using the installer]])? Make sure you copied the right files: <code>internal/Windows</code> for Windows, or <code>internal/Mono</code> for Linux/Mac.  
+
## Double-click {{executable name|Stardew Valley}} (on Windows) or <code>StardewValley-original</code> (on Linux/macOS).
* In rare cases, completely uninstalling then reinstalling the game may be needed.
+
## If the game doesn't work either, see [[#Game doesn't launch|''game doesn't launch'']].
 +
# Make sure you didn't enable the "compatibility branch" in Steam or GOG Galaxy ([[#Known issues|mods don't work on the compatibility branch]]).
 +
# Make sure you're running {{executable name|StardewModdingAPI}} from your game folder (see the [[Modding:Player Guide/Getting Started#Getting started|install instructions]]).
 +
# Did you install SMAPI manually (not [[Modding:Player Guide/Getting Started#Install SMAPI|using the installer]])? Make sure you followed all the steps in the installer's <samp>README.txt</samp> file.  
 +
# In rare cases, completely uninstalling then reinstalling the game may be needed.
    
=="The game failed to launch: <samp>Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException</samp>: Failed to create graphics device"==
 
=="The game failed to launch: <samp>Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException</samp>: Failed to create graphics device"==
translators
8,404

edits

Navigation menu