Tool SMAPI: Stardew Modding API

Discussion in 'Mods' started by ClxS, Mar 6, 2016.

Thread Status:
Not open for further replies.
  1. awfulx3

    awfulx3 Orbital Explorer

    The newest. 0.40.1.1-2
    When I start the game with SMAPI, the screen appaers, but then disappear and nothing happen ..
     
    • Entoarox

      Entoarox Oxygen Tank

    • awfulx3

      awfulx3 Orbital Explorer


      [08:04:45.090 ] SDV Version: 1.07
      [08:04:45.112 ] SMAPI Version: 0.40.0 1.1-2
      [08:04:45.112 ] Validating api paths...
      [08:04:45.160 ] Initializing SDV Assembly...
      [08:04:45.161 ] Injecting New SDV Version...
      [08:04:45.251 ] Starting SDV...
      [08:04:45.628 ] Patching SDV Graphics Profile...
      [08:04:45.765 ] Found Manifest: C:\Users\Aileen\Desktop\SMAPI-0.40.0\Mods\GetDressed\manifest.json
      [08:04:45.646 ] LOADING MODS
      [08:04:46.635 ] Created psconfigs directory @C:\Users\Aileen\Desktop\SMAPI-0.40.0\Mods\GetDressed\psconfigs
      [08:04:46.878 ] Found Manifest: C:\Users\Aileen\Desktop\SMAPI-0.40.0\Mods\TrainerMod\manifest.json
      [08:04:46.981 ] Created psconfigs directory @C:\Users\Aileen\Desktop\SMAPI-0.40.0\Mods\TrainerMod\psconfigs
      [08:04:46.983 ] Loading Mod DLL...
      [08:04:46.983 ] LOADED MOD: Trainer Mod by Zoryn - Version StardewModdingAPI.Version | Description: Registers several commands to use. Most commands are trainer-like in that they offer forms of cheating. (@ C:\Users\Aileen\Desktop\SMAPI-0.40.0\Mods\TrainerMod\TrainerMod.dll)
      [08:04:46.984 ] Registered command: types
      [08:04:46.984 ] Registered command: hide
      [08:04:46.985 ] Registered command: show
      [08:04:46.985 ] Registered command: save
      [08:04:46.985 ] Registered command: load
      [08:04:46.985 ] Registered command: exit
      [08:04:46.986 ] Registered command: stop
      [08:04:46.986 ] Registered command: player_setname
      [08:04:46.986 ] Registered command: player_setmoney
      [08:04:46.987 ] Registered command: player_setstamina
      [08:04:46.987 ] Registered command: player_setmaxstamina
      [08:04:46.987 ] Registered command: player_sethealth
      [08:04:46.990 ] Registered command: player_setmaxhealth
      [08:04:47.000 ] Registered command: player_setimmunity
      [08:04:47.004 ] Registered command: player_setlevel
      [08:04:47.007 ] Registered command: player_setspeed
      [08:04:47.013 ] Registered command: player_changecolour
      [08:04:47.016 ] Registered command: player_changestyle
      [08:04:47.020 ] Registered command: player_additem
      [08:04:47.027 ] Registered command: player_addmelee
      [08:04:47.030 ] Registered command: player_addring
      [08:04:47.033 ] Registered command: out_items
      [08:04:47.036 ] Registered command: out_melee
      [08:04:47.045 ] Registered command: out_rings
      [08:04:47.048 ] Registered command: newitem
      [08:04:47.054 ] Registered command: world_settime
      [08:04:47.059 ] Registered command: world_freezetime
      [08:04:47.059 ] Registered command: world_setday
      [08:04:47.068 ] Registered command: world_setseason
      [08:04:46.636 ] LOADED MOD: GetDressed by Advize & Jinxiewinxie - Version StardewModdingAPI.Version | Description: Adds a dresser in the farmhouse that you can use to edit your character again (@ C:\Users\Aileen\Desktop\SMAPI-0.40.0\Mods\GetDressed\GetDressed.dll)
      [08:04:47.084 ] Registered command: world_downminelevel
      [08:04:46.635 ] Loading Mod DLL...
      [08:04:47.095 ] LOADED 2 MODS
      [08:04:47.099 ] SDV Loaded Into Memory
      [08:04:47.100 ] Initializing Console Input Thread...
      [08:04:47.112 ] Registered command: help
      [08:04:47.118 ] Applying Final SDV Tweaks...
      [08:04:47.086 ] Registered command: world_setminelevel
      [08:04:47.298 ] XNA Initialize
      [08:04:47.298 ] XNA LoadContent
      [08:04:48.159 ] Initializing Debug Assets...
      [08:04:52.102 ] An exception occured in XNA UpdateTick: System.MissingFieldException: Feld nicht gefunden: "StardewValley.Game1.content".
      bei GetDressed.GetDressed.InitializeContent()
      bei GetDressed.GetDressed.Event_UpdateTick(Object sender, EventArgs e)
      bei System.EventHandler.Invoke(Object sender, EventArgs e)
      bei StardewModdingAPI.Events.GameEvents.InvokeUpdateTick() in Z:\Projects\SMAPI\src\StardewModdingAPI\Events\Game.cs:Zeile 80.
      [08:04:52.236 ] Game Loaded


      you mean that?
       
      • Entoarox

        Entoarox Oxygen Tank

        Yep, you are using the old stardew, the new 1.1 SMAPI's are made for stardew 1.1 and will crash on older versions.
         
        • awfulx3

          awfulx3 Orbital Explorer

          When I start it without SMAPI I have the new Version. (1.1) So .. what should I do?

          The new Error:


          [09:33:04.585 ] SDV Version: 1.1
          [09:33:04.585 ] SMAPI Version: 0.40.0 1.1-2
          [09:33:04.600 ] Validating api paths...
          [09:33:04.772 ] Initializing SDV Assembly...
          [09:33:04.835 ] Starting SDV...
          [09:33:04.772 ] Injecting New SDV Version...
          [09:33:06.506 ] Patching SDV Graphics Profile...
          [09:33:06.756 ] Found Manifest: C:\Users\Aileen\Desktop\Stardew Valley\Mods\TrainerMod\manifest.json
          [09:33:06.506 ] LOADING MODS
          [09:33:07.678 ] Created psconfigs directory @C:\Users\Aileen\Desktop\Stardew Valley\Mods\TrainerMod\psconfigs
          [09:33:09.131 ] Loading Mod DLL...
          [09:33:09.178 ] Registered command: hide
          [09:33:09.178 ] Registered command: show
          [09:33:09.178 ] Registered command: save
          [09:33:09.178 ] Registered command: load
          [09:33:09.178 ] Registered command: exit
          [09:33:09.178 ] Registered command: stop
          [09:33:09.178 ] Registered command: player_setname
          [09:33:09.178 ] Registered command: player_setmoney
          [09:33:09.178 ] Registered command: player_setstamina
          [09:33:09.178 ] Registered command: player_setmaxstamina
          [09:33:09.178 ] Registered command: player_sethealth
          [09:33:09.178 ] Registered command: player_setmaxhealth
          [09:33:09.178 ] Registered command: player_setimmunity
          [09:33:09.178 ] Registered command: player_setlevel
          [09:33:09.178 ] Registered command: player_setspeed
          [09:33:09.178 ] Registered command: player_changecolour
          [09:33:09.178 ] Registered command: player_changestyle
          [09:33:09.178 ] Registered command: player_additem
          [09:33:09.194 ] Registered command: player_addmelee
          [09:33:09.210 ] Registered command: player_addring
          [09:33:09.210 ] Registered command: out_items
          [09:33:09.210 ] Registered command: out_melee
          [09:33:09.210 ] Registered command: out_rings
          [09:33:09.210 ] Registered command: newitem
          [09:33:09.210 ] Registered command: world_settime
          [09:33:09.225 ] Registered command: world_freezetime
          [09:33:09.225 ] Registered command: world_setday
          [09:33:09.225 ] Registered command: world_setseason
          [09:33:09.225 ] Registered command: world_downminelevel
          [09:33:09.241 ] Registered command: world_setminelevel
          [09:33:09.241 ] LOADED 1 MODS
          [09:33:09.241 ] SDV Loaded Into Memory
          [09:33:09.241 ] Initializing Console Input Thread...
          [09:33:09.256 ] Registered command: help
          [09:33:09.256 ] Applying Final SDV Tweaks...
          [09:33:09.131 ] Registered command: types
          [09:33:09.131 ] LOADED MOD: Trainer Mod by Zoryn - Version StardewModdingAPI.Version | Description: Registers several commands to use. Most commands are trainer-like in that they offer forms of cheating. (@ C:\Users\Aileen\Desktop\Stardew Valley\Mods\TrainerMod\TrainerMod.dll)
          [09:33:09.860 ] XNA Initialize
          [09:33:09.860 ] XNA LoadContent
          [09:33:11.248 ] Initializing Debug Assets...
           
          • Entoarox

            Entoarox Oxygen Tank

            This log contains no error, did it simply crash? If so, try removing the trainer mod and seeing if you can get the game to load then.
             
            • awfulx3

              awfulx3 Orbital Explorer

              Thank you.
              After I removed the mod, the game run. But whats now with my other mods?
               
              • Collish424

                Collish424 Void-Bound Voyager

                Don't think I am, but I will go and get them and then test to see if that works. Thank you

                EDIT: The patched mods did the trick. Thank you very much
                 
                  Last edited: Oct 6, 2016
                • Entoarox

                  Entoarox Oxygen Tank

                • Luna_Amell

                  Luna_Amell Scruffy Nerf-Herder

                  I updated my game and downloaded the newest SMAPI but I keep getting "Failed to Start Game" (unknown error) when I launch the game from steam. But the game runs just fine if I click both start up icons in the folder. Is there something else I need to do? It has been months since I last played.

                  Nevermind fixed it myself. My launch option was messed up.
                   
                    Last edited: Oct 7, 2016
                  • lizak

                    lizak Master Chief

                    I found there is an small issue that has remain for months, but it doesn't get fixed yet.
                    https://github.com/cjsu/SMAPI/issues/106

                    Could you spend a little time on this one and merge it to current SMAPI, please?
                    It would be just an one line change.
                     
                    • ClxS

                      ClxS Pangalactic Porcupine

                      Did it before you posted :)
                      Zoryn did explain why it wasn't going to be seen back then though — only recently re-looked at the SMAPI issues list.
                       
                      • 6f00ff

                        6f00ff Space Hobo

                        I can't post an error log for SMAPI because I can't even get it to run, but here's my issue:
                        1. Fresh install of SDV via Steam; ran once to ensure all dependencies were installed, had no issues.
                        2. Downloaded SMAPI-0.40.1.1-3 from github, extracted into SDV folder; downloaded 1.1-MakeshiftMultiplyer-0.2.6.zip from Nexus, extracted into Mods.
                        3. Ran SMAPI as administrator, instantly hit with the following error.
                        StardewModdingAPI.exe - The application was unable to start correctly (0xc0000142).

                        I tried the following but haven't had any luck getting SMAPI to run.
                        • Disabled antivirus and firewall.
                        • Made sure my Visual C++ and .NET files were up to the latest version (and met the requirement on the github page).
                        • Ran "sfc /scannow" and "dism /online /cleanup-image /restorehealth" to make sure I didn't have any corrupted files.
                        • Scanned for and fixed registry errors.
                        • Uninstalled and reinstalled the game.
                        • Tried using old versions of SMAPI.
                        • Tried running without the trainer mod.
                        I'm using Windows 10 x64, and I can't find anything about this error being mentioned in relation to Stardew Valley. I have no problems running the actual game through Steam; any ideas?
                         
                        • ClxS

                          ClxS Pangalactic Porcupine

                          Have you tried running without the multiplayer mod, just in case that's the cause?
                          Not a clue what could be causing it but could you try checking Event Viewer?
                          Windows Key + R, and enter: eventvwr

                          Check the logs for errors. It'll help if you try running it repeatedly so you'll have a big block of errors to look at when you open it. It'll probably be under the Windows Logs > Application tab, but try checking the others if there's nothing there.
                           
                          • 6f00ff

                            6f00ff Space Hobo

                            Yeah, I tried it without the MP mod and it didn't change anything.

                            It looks like I can't get the .exe to throw an error report into Application unless I take it out of the Stardew Valley folder. When it's in the folder, it only logs as an Application Popup under the System log. Outside of the folder it logs a problem with "KERNELBASE.dll", but I'm not sure if that's because it's trying to hook Stardew Valley from the wrong location or if it's an actual .dll issue.

                            Faulting application name: StardewModdingAPI.exe, version: 0.40.0.0, time stamp: 0x57f7db32
                            Faulting module name: KERNELBASE.dll, version: 10.0.10586.589, time stamp: 0x57cf9bf1
                            Exception code: 0xe0434352

                            Edit: I see this is listed as version 0.40.0.0 for some reason, however this is being logged from the file in 0.40.1.1-3.
                             
                              Last edited: Oct 8, 2016
                            • MadByte

                              MadByte Void-Bound Voyager

                              I got a question:
                              Is it possible to make SMAPI compatible with .NET Framwork 4.0 instead of 4.5?
                              I know that SDV works with .NET 4.0 but the modding tool doesnt. The problem is that 4.5 does not work on WIndows XP while 4.0 does. How much of a difference would it be to make SMAPI compatible to it ? Are there any (big) disadvantages when using 4.0?
                               
                                Last edited: Oct 8, 2016
                              • nakamawan

                                nakamawan Big Damn Hero

                                Is it working with the last update?

                                PS: game still crashes. I downloaded the latest stable version of SMAPI though, and the only mod that I'm using I downloaded it from Ento's home of Abandoned Mods
                                 
                                  Last edited: Oct 8, 2016
                                • 6f00ff

                                  6f00ff Space Hobo

                                  Well, I solved the problem, but I'm not sure what caused the issue to begin with. I have two locations for my Steam files, and it turns out that SMAPI won't run unless it's in the main drive installation (C) rather than my secondary drive (D), regardless of having no internal issues with Steam. Just posting the solution here in case it helps anyone else getting this error.
                                   
                                  • Borodin

                                    Borodin Oxygen Tank

                                    That's odd, because I've always run SDV off my D: drive. SMAPI's there of course, too.
                                     
                                    • Ristlen

                                      Ristlen Void-Bound Voyager

                                      I have installed the latest SMAPI and reinstalled Stardew today yet it still crashes on loading any character new or old. If you have posted a fix about this somewhere and I have missed it then I am terribly sorry. And if I did this wrong I am sorry as well.
                                       

                                        Attached Files:

                                      Thread Status:
                                      Not open for further replies.

                                      Share This Page