Меню

Stardew valley smapi ошибка при запуске

Содержание

  1. Modding:Player Guide/Troubleshooting
  2. Contents
  3. Common fixes
  4. The basics
  5. Reset your content files
  6. Fix common problems
  7. Game doesn’t launch
  8. Game freezes or crashes while opening
  9. Game audio doesn’t play (Windows only)
  10. Save disappeared or doesn’t load
  11. Can’t connect to another player in multiplayer
  12. SMAPI files disappear or antivirus complains
  13. SMAPI doesn’t recognize controller (Steam only)
  14. After updating to the latest versions, launching the game still shows an old SMAPI or game version
  15. Fix specific errors
  16. «SMAPI can’t find the game»
  17. «Skipped ‘. ‘ because it doesn’t have a manifest.json»
  18. «missing executable» (Steam only)
  19. «looks like Mono isn’t installed» (Linux/Mac only)
  20. Could not load file or assembly
  21. Game freezes when loading a save (Mac only)
  22. Game resolution changes when launched with SMAPI (Windows only)
  23. Fix other problems

Modding:Player Guide/Troubleshooting

Did something go wrong with your game? This is the page for you. (This page isn’t only for players who use mods!)

Contents

Common fixes

The basics

  1. Restart your computer.
  2. Make sure you have Stardew Valley 1.5.4 or later.
    Click the «?» button on the title screen, and the version will appear in the bottom-left.
  3. Reset your content files.
  4. If you use SMAPI:
    1. Make sure you have the latest version of that.
      The SMAPI version is shown at the top of the SMAPI console window.
    2. Upload a log to the log parser, following the instructions on that page to find where your log is stored. It can help you diagnose common errors. Take a look at this annotated log for more information on how to read and understand your log.
    3. The very top of your log will show a list of all your mods that need to be updated. You can also use Mod Update Menu to keep track of your updates from the in-game menu. The first thing to try when you’re having issues with mods is to update everything shown there, even if some of the mods seem to be working fine right now.
    4. If you’ve narrowed down the issue to a specific mod or group of mods, try performing a clean reinstall.
      1. Remove all folders for the mod that’s causing the issue, making sure to check the mod page for a list of every folder that’s included. (If you’re downloading mods from Nexus, you can look under «Preview File Contents.» On ModDrop, you can find that information under «Files» on the sidebar.)
      2. Redownload the mod and follow the installation instructions on the mod page. If you normally use a mod manager, reinstall the mod manually to make sure your issue wasn’t caused by the mod manager placing files in the wrong locations.
  5. If you still get the error, look through the common issues on this page or ask for help!

Reset your content files

Many problems are caused by broken game files (especially if you use XNB mods). You can reset your game files to fix that. SMAPI mods won’t be affected.

  1. See instructions for Steam or for GOG Galaxy.
  2. If you use SMAPI on Linux/Mac, reinstall SMAPI to fix the launcher.
more options
If you don’t want to reset all files, you have some other options. Option 2: create retroactive backup to reset any file If you installed XNB mods and want to reset one file you know is broken, you can just restore the original file. If you forgot to back it up, here’s how to recover the original files without losing your modded ones:

  1. Copy your game’s Content folder to Content-modded .
  2. Reset your game files (see instructions for Steam or for GOG Galaxy).
  3. Copy your (now reset) Content folder to Content-backup .
  4. Move Content-modded back to Content .

Now your content files are still modded, but you have a backup of the original files. Option 3: troubleshoot XNB mods If you installed XNB mods, you’re not sure which caused the problem, and you don’t want to remove all your XNB mods, here’s how to figure out which one is causing the problem.

  1. Back up any XNB mods you want to keep.
  2. Reset your game files (see instructions for Steam or for GOG Galaxy). Any XNB mods will be removed, but SMAPI mods won’t be affected.
  3. If you use SMAPI on Linux/Mac, reinstall SMAPI to fix the launcher.
  4. Launch the game to see if the problem is fixed.
  5. Reinstall your XNB mods one at a time. After each install, test the game to make sure the mod doesn’t cause problems.

Fix common problems

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:

  1. Restart your computer.
  2. Make sure you have speakers or headphones plugged in. (They can be muted, but the game needs a working audio device.)
  3. If you play on Windows:
    1. Install (or reinstall) .NET Framework 4.5.2 and XNA Framework 4.0. You may need to remove .NET first.
    2. Restart your computer.
    3. Launch the game.
  4. If you play on Linux:
    1. Your default terminal might not be compatible. Try installing the xterm terminal.
  5. If that doesn’t fix it:
    1. Install SMAPI (if you don’t already have it).
    2. Launch the game.
    3. Ask for help and attach your SMAPI log.

Game freezes or crashes while opening

The game tries to open, but crashes before the title screen. Here are some common fixes:

  1. Try everything in the list above first.
  2. Delete your startup_preferences , found in %appdata%/StardewValley on Windows.
  3. Disable antivirus if using SMAPI.
  4. Disable any programs that intercept the game (like MSI AfterBurner or RivaTuner).
  5. If that doesn’t fix it, follow the steps to ask for help.

Game audio doesn’t play (Windows only)

Audio plays fine in your browser or other apps, but the game is silent. Here are some common fixes:

Save disappeared or doesn’t load

Can’t connect to another player in multiplayer

  1. Check that Stardew Valley is up to date and your save is loaded in co-op mode. The host needs to go to the Co-op tab in the main menu and launch the save by clicking «Host (farmname) Farm». Loading a save through the regular load game menu, even if cabins have been built, will launch it in singleplayer.
  2. Make sure you have enough cabins built for the number of players.
  3. Make sure everyone launches the game through Steam or GOG Galaxy (not a separate shortcut). On Windows, see Launch SMAPI through Steam or GOG Galaxy in the Windows install guide.
  4. Make sure the server is set to online in the game options.
  5. Turn firewalls and antivirus off for all players. If you have more than one antivirus, that’s very likely the cause. Never use more than one antivirus at a time.
  6. Do a content reset for all players.
  7. Delete your startup_preferences (found in %appdata%/StardewValley on Windows or

/.config/StardewValley on Linux/Mac).

  • Restart all players’ PCs.
  • Restart all players’ routers, and check for any updates for your router.
  • If you don’t see the ‘enter invite code’ option, your Steam name may have been flagged as inappropriate. Try changing it and re-launching the game.
  • (Windows only) Try reinstalling .NET Framework 4.5.2 and XNA Framework 4.0 first and Visual C++ Redistributable Packages for Visual Studio 2013 if that fails.
  • If you use mods and are getting a «version mismatch» error, check your log files for a line like [19:49:26 TRACE game] Starting server. Protocol version: 1.4.0.1 and check whether the protocol version matches.
  • For console players, please try as many of the steps as you can (particularly the first three) and try power cycling your console. Please note that all consoles require their paid online service to play over the internet.

    SMAPI files disappear or antivirus complains

    Your antivirus might remove or report SMAPI/mod files. This is almost always a false positive, meaning the files don’t contain a trojan.

    How can I know if it’s actually safe? Nothing on the Internet is guaranteed, but SMAPI itself is most likely safe — you can check by reading the code, decompiling the download, or uploading it to VirusTotal. For mods, you can check by decompiling them or uploading to VirusTotal too. Note that every file downloaded from Nexus Mods is scanned before it’s available. Why does this happen? Antiviruses are usually concerned because.

    • The download is still new. In this case it didn’t really detect anything, it’s just worried because it’s an unknown file. Antiviruses often show a fake trojan name like Trojan:Win32/Emali.A!cl for this. Antiviruses learn to allow it after enough users download it, but that resets for each release.
    • Antiviruses may check for certain patterns like accessing files or rewriting code, which are both things SMAPI mods do as part of their normal functionality (since changing the game is the whole point).

    How can I install SMAPI or the mod if my antivirus flags it?

    • One option is to just wait a few days before downloading a new update (or a few weeks for a less popular mod). By then enough users should have downloaded it to reduce antivirus alerts.
    • If you’ve checked that it’s safe above, another option is to.
      1. Temporarily disable your antivirus.
      2. Redownload and install SMAPI or the mod.
      3. Add an exception to your antivirus for the Stardew Valley folder (search online for your antivirus name with the words add folder exception for instructions).

    SMAPI doesn’t recognize controller (Steam only)

    1. Launch the game through Steam.
    2. Windows only: make sure you set the launch options (see Launch SMAPI through Steam or GOG Galaxy in the Windows install guide), don’t add SMAPI as a non-Steam game.
    3. If all else fails, you can use third-party software to add controller support. Suggested software:
      • Linux: SC Controller.
      • Mac: 360Controller. When using a non-Xbox controller, you should enable ‘pretend to be an Xbox 360 controller’. (In some cases, you may need to enable it even for an Xbox controller.)
      • Windows: reWASD (not free after trial period) or InputMapper (free but more complicated) to remap your controller as an Xbox controller.

    As a last resort on Linux or Mac, you can disable the SMAPI console window to fix this. You won’t see update/error alerts unless you check the log, and your game won’t launch after a crash until you delete the smapi-internal/StardewModdingAPI.crash.marker file. You should periodically check the log to make sure everything is working correctly. If you really want to do this:

    • Linux:
      1. Find your game folder.
      2. Open the StardewValley file (the one with no file extension) in a text editor.
      3. Remove the entire section under # open SMAPI in terminal (up to the next fi line).
      4. Find this text at the bottom:

    And change it to this:

    And change it to this:

    You’ll need to repeat this after updating SMAPI.

    After updating to the latest versions, launching the game still shows an old SMAPI or game version

    That usually means you have two copies of the game: one copy you updated, and another you’re actually playing.

    To check if that’s the issue:

    1. Launch the SMAPI installer again, and note the «Game path» shown on the first screen:
    2. Launch the game with SMAPI, and note the «Mods go here» path shown at the top of the output:
    3. If the two paths are not identical (except for the /Mods part), then you have two game folders.

    If you have multiple copies installed, the best solution is to only have one. To do that:

    1. Make a copy of your Mods folder somewhere else.
    2. Uninstall the game.
    3. Delete both folders you found above.
    4. Reinstall the game through Steam or GOG Galaxy.
    5. Reinstall SMAPI, which should now detect your single game path.
    6. Copy your mods back into the new game folder.
    last resort on Linux/Mac
    more options
    If having multiple copies of the game is deliberate, you can also copy the SMAPI installer into a subfolder of the game folder you want to update. When you run it, it’ll detect the parent folder automatically and update that one.

    Fix specific errors

    «SMAPI can’t find the game»

    • Make sure you’re running StardewModdingAPI.exe in your game folder (see the install instructions).
    • Did you install SMAPI manually (not using the installer)? Make sure you copied the right files: internal/Windows for Windows, or internal/Mono for Linux/Mac.

    «Skipped ‘. ‘ because it doesn’t have a manifest.json»

    SMAPI couldn’t find the manifest.json file for the mod in that folder. That usually means it’s not a SMAPI mod, so it won’t work from the Mods folder. See that mod’s documentation for install instructions.

    «missing executable» (Steam only)

    Steam can’t find the game launcher, usually because your Steam launch options are incorrect. Common fixes:

    • If you want to use SMAPI:
      make sure it’s installed and your launch options are correct (see install guide).
    • If you’re uninstalling SMAPI:
      1. In Steam, right-click Stardew Valley and choose Properties.
      2. Click the Set Launch Options button.
      3. Make sure the textbox is completely empty.

    «looks like Mono isn’t installed» (Linux/Mac only)

    Mono is a framework needed by the installer and SMAPI to work correctly. Installing Mono and restarting your computer usually fixes this error.

    On Mac, it might not work after installing Mono. If so:

      Enter this command:

    Could not load file or assembly

    If the ‘file or assembly’ starts with Microsoft or System (like «FileNotFoundException: Could not load file or assembly ‘System.[. ]’ or one of its dependencies«), something is wrong with the core frameworks used by the game.

    1. Common fixes:
      platform reinstall frameworks
      Windows reinstall .NET Framework 4.5.2 and XNA Framework 4.0 (those exact versions).
      Linux reinstall mono-complete.
      Mac reinstall Mono (either channel is fine).
    2. On Windows only, in rare cases that won’t fix the issue. Unfortunately that’s hard to fix since .NET Framework is part of Windows itself. In those cases you may need to perform a Windows reset (you can keep your files), or perform a clean reinstall of Windows. This is drastic, but should fix the issue.

    Game freezes when loading a save (Mac only)

    On Mac only, the game may freeze when you create or load a save; reinstalling Mono (either version) usually fixes that. If it doesn’t, ask for help!

    Game resolution changes when launched with SMAPI (Windows only)

    Everything looks bigger/smaller if you launch the game with SMAPI. This is usually due to Windows DPI settings.

    1. Right-click on StardewModdingAPI.exe, go to Properties >Compatibility >Change High DPI settings, and keep it open.
    2. Right-click on StardewValley.exe, and go to Properties >Compatibility >Change High DPI settings.
    3. Change the DPI settings for StardewModdingAPI.exe so they match the ones for StardewValley.exe.

    Fix other problems

    Run the game without SMAPI by launching Stardew Valley.exe (on Windows) or StardewValley-original (on Linux/Mac) in your game folder.

    • If it still happens without SMAPI: see this guide to fixing your game. If you still need help, ask for help.
    • If it only happens with SMAPI, ask for help.

    Источник

    Hello! I’ll preface this by saying that I am absolutely hopeless with technology, so I’m sorry if this is an useless post.

    So… We all know what happened with the 1.5.5 update — lots of things were bound to break. A lot of people are having trouble updating SMAPI, the mods, etc. I’ve installed the right version of .NET, successfully updated SMAPI, updated the mods and whatnot, but I’m having trouble getting SMAPI to actually launch Stardew.

    I’ve got no error logs. I’ve got no red texts on the console. However, SMAPI never gets to actually open the game, it is stuck on the console where it says ‘All mods loaded!’. The vanilla version launches with no problems through Steam. So… is there anything I’m doing wrong? I’ve tried uninstalling SMAPI, reinstalling it, updating all the mods, removing heavy content packs, SVE, PPJA… And it makes no difference.

    I’m a bit bummed out since I can’t play. Maybe it’s just me being impatient and I should just wait for a bug-free version to release. But if anyone else is having this problem or knows how to fix it, please help!

    EDIT: I should add that SMAPI doesn’t crash — it has actually stayed stuck in the «All mods loaded!» screen for like 4-5 hours this morning.

    UPDATE: Thank you all so so much for all the responses and the helpful tips!! I found a solution that seems like it might work: I went into %appdata%StardewValleySaves in my laptop, deleted the startup_preferences file, updated all my mods once again and it seems to work fine now. It occasionally breaks but it’s been working fine. I hope this helps some of you guys!!

    Tags:

    • bug
    • error
    • help
    • mod
    • moddingapi
    • smapi
    • stardewvalley
    • stardewvalleymoddingapi
    1. Ive been trying for absolute days now to figure out how to install mods on Stardew Valley. I have the 1.3.3 version and ive downloaded SMAPI 2.6 beta which should be the correct version. Every time i try to open StardewModdingAPI.exe it shows this on a black screen

      Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly ‘StardewModdingAPI.Toolkit.CoreInterfaces, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.
      at StardewModdingAPI.Program.AssertMinimumCompatibility()
      at StardewModdingAPI.Program.Main(String[] args)

      I literally have no idea what to do anymore. When I downloaded the game there was no mods folder so i made one, put the mods in and it didnt work. Ive tried uninstalling SMAPI numerous times and ive looked everywhere for help, please, someone help me for the love of god all i wanna do is play this game with mods !!!

      • Hi @atsuko10_. First, you should update to the latest Stardew Valley 1.3.21. Second, make sure you’re running the installer (not copying files manually). If it still doesn’t work, can you post…

        • a screenshot of the full installer window when it shows the green text at the end;
        • a screenshot of the full window showing that error.
        • STAR.png

          DEW.png

          im pretty sure im just running the installer

          • SMAPI is getting installed to C:GOG GamesStardew Valley, but you’re launching SMAPI from C:UsersPHONEX-PCDownloadsSTARDEW VALLEY. The easiest solution is to delete C:GOG GamesStardew Valley if you no longer need it, and the installer will ask you to specify the game path.

            • just did what you said, it asked me to specify the file path so i extracted stardew valley.exe to the folder i was using and it showed the green text so it had worked, then i tried to open stardewvalleymoddingAPI and got this;

                Attached Files:

                • fffffff.png

              • Can you post a screenshot of your C:UsersPHONEX-PCDownloadsSTARDEW VALLEY folder?

                • yep here you go

                    Attached Files:

                    • hhhhhhhh.png

                  • @atsuko10_ You seem to be missing some of the game files. I suggest trying a different version or buying the game (20% off for the Steam Summer Sale!).

                    • im gonna try and find a different version yea, thanks for the help though i appreciate it !!

                      • Hey, I too am having this issue but I have the steam version and have checked all of the issues you noticed he had. I don’t appear to be missing any game files and have uninstalled and reinstalled smapi multiple times. My file locations are set correctly and everything but it’s still showing this error. Help is appreciated.

                        The only thing different is that the error never changes it’s just the error he showed in his first picture and no red or green text and closes quickly after opening.

                        • @nathanginn Can you post a screenshot of your error? (Often it looks like the same error, but some details are different.)

                          • Hello, it’s been a while but I started to have the same problem. I am using the steam version and have already checked the integrity of the game folder

                              Attached Files:

                            • @Sandrix Make sure you unzip the download before running the installer. (If you have a choice when downloading, choose ‘download’ instead of ‘run’ or ‘open’.) If it still happens, can you try reinstalling .NET Framework 4.5.2?

                              • The problem was really the Framework. I formatted the pc a few days ago and thought I updated, but apparently I was wrong. Thanks for the help and I apologize for the simple problem.

                                Share This Page


                                Chucklefish Forums

                                0 0 голоса
                                Рейтинг статьи
                                Подписаться
                                Уведомить о
                                guest

                                0 комментариев
                                Старые
                                Новые Популярные
                                Межтекстовые Отзывы
                                Посмотреть все комментарии

                                А вот еще интересные материалы:

                              • Яшка сломя голову остановился исправьте ошибки
                              • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
                              • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
                              • Starline пищит ошибку ос 7
                              • Star wars battlefront 2 ошибка 5035