SMAPI failed to initialize。。。

Discussion in 'Mods' started by masterjoker, Dec 3, 2019.

  1. masterjoker

    masterjoker Space Hobo

    upload_2019-12-3_11-33-11.png I used language translation, but after smapi prompts that the game has not been started, but running game.exe directly can still start the game. I want to play games with mod. What should I do now?
     
    • Rynneer

      Rynneer Intergalactic Tourist

      I've got the same thing. Happened right after installing the 1.4 Stardew Valley patch through steam.
       

        Attached Files:

      • umbraltwilight

        umbraltwilight Void-Bound Voyager

        I am having the same issue. I have been playing since 1.4 update and today this started happening. I get the following error:

        SMAPI failed to initialize: System.TypeInitializationException: The type initializer for 'StardewModdingAPI.Constants' threw an exception. ---> System.FormatException: The input '1.4.0.1' isn't a valid semantic version.
        at StardewModdingAPI.Toolkit.SemanticVersion..ctor(String version) in C:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\SemanticVersion.cs:line 90
        at StardewModdingAPI.Framework.GameVersion..ctor(String version) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\GameVersion.cs:line 39
        at StardewModdingAPI.Constants..cctor() in C:\source\_Stardew\SMAPI\src\SMAPI\Constants.cs:line 92
        --- End of inner exception stack trace ---
        at StardewModdingAPI.Constants.get_GameVersion() in C:\source\_Stardew\SMAPI\src\SMAPI\Constants.cs:line 92
        at StardewModdingAPI.Program.AssertGameVersion() in C:\source\_Stardew\SMAPI\src\SMAPI\Program.cs:line 94
        at StardewModdingAPI.Program.Main(String[] args) in C:\source\_Stardew\SMAPI\src\SMAPI\Program.cs:line 40
        Game has ended. Press any key to exit.

        The game has been working fine and this suddenly happened. I have uninstalled and reinstalled smapi. I have uninstalled and reinstalled Stardew. I have removed all mods. Smapi still brings this up regardless. The game will run if I don't run smapi. I play with my partner and they have no issues and our files are pretty much identical. Any ideas?

        Update:

        It appears that as I typed this they updated to smapi 3.0.1 and it works. Try to get a new version and hopefully it works.
         
          Last edited by a moderator: Dec 3, 2019

        Share This Page