Line 48: |
Line 48: |
| ===Game doesn't launch=== | | ===Game doesn't launch=== |
| The game doesn't open when you try to launch it. (If you use Steam, it might show 'running' for a few seconds.) Here are some common fixes: | | The game doesn't open when you try to launch it. (If you use Steam, it might show 'running' for a few seconds.) Here are some common fixes: |
− | # Restart your computer.
| + | |
− | # Make sure you have speakers or headphones plugged in. (They can be muted, but the game needs a working audio device.)
| + | <ol> |
− | ## Sometimes this will cause an error like <tt>Game.Initialize() caught exception initializing XACT:System.InvalidOperationException: This resource could not be created. at Microsoft.Xna.Framework.Audio.AudioEngine..ctor(String settingsFile, TimeSpan lookAheadTime, String rendererId) at StardewValley.Game1.Initialize() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 1805</tt>.
| + | <li>Restart your computer.</li> |
− | # If you play on Windows:
| + | <li><p>Make sure you have speakers or headphones plugged in. They can be muted, but the game needs a working audio device. (This may lead to an error like "''Game.Initialize() caught exception initializing XACT: System.InvalidOperationException: This resource could not be created.''".</p></li> |
− | ## Install (or reinstall) [https://dotnet.microsoft.com/download/dotnet-framework-runtime/net452 .NET Framework 4.5.2] and [https://www.microsoft.com/en-us/download/details.aspx?id=27598 XNA Framework 4.0]. You may need to [https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/How-to-remove-and-reinstall-the-Microsoft-NET-Framework.html remove .NET first.]
| + | <li>If you play on... |
− | ## Restart your computer.
| + | {| class="wikitable" |
− | ## Launch the game.
| + | |- |
− | # If you play on Linux:
| + | ! system |
− | ## Your default terminal might not be compatible. Try installing the xterm terminal.
| + | ! common fixes |
− | # If that doesn't fix it:
| + | |- |
− | ## [[Modding:Installing SMAPI on Windows|Install SMAPI]] (if you don't already have it).
| + | | Windows |
− | ## Launch the game.
| + | | Reinstall [https://dotnet.microsoft.com/download/dotnet-framework-runtime/net452 .NET Framework 4.5.2] and [https://www.microsoft.com/en-us/download/details.aspx?id=27598 XNA Framework 4.0] (you may need to [https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/How-to-remove-and-reinstall-the-Microsoft-NET-Framework.html remove .NET Framework first]), then restart your computer. |
− | ## [[#Ask for help|Ask for help and attach your SMAPI log]].
| + | |- |
| + | | Linux |
| + | | Your default terminal might not be compatible. Try installing the xterm terminal. |
| + | |- |
| + | | macOS |
| + | | If you have a Mac M1, run SMAPI through Rosetta or update to the [https://www.patreon.com/posts/55035968 Stardew Valley 1.5.5 beta]. |
| + | |} |
| + | </li> |
| + | <li>If that doesn't fix it: |
| + | # [[Modding:Installing SMAPI on Windows|Install SMAPI]] (if you don't already have it). |
| + | # Launch the game. |
| + | # [[#Ask for help|Ask for help and attach your SMAPI log]]. |
| + | </li> |
| + | </ol> |
| | | |
| ===Game freezes or crashes while launching=== | | ===Game freezes or crashes while launching=== |