1. Hey Guest! Stardew Valley is out today on Xbox One and PlayStation 4!
    Dismiss Notice

Tool SMAPI: Stardew Modding API

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

  1. Pathoschild

    Pathoschild Sandwich Man

    I'm not sure why it's happening for you; we're looking into a similar launcher issue for some Linux users, which might address your issue too. Please keep an eye on the next couple of SMAPI releases, and let us know for each release whether the issue still happens. In the meantime, please continue to launch SMAPI manually; as long as Steam is running in the background, I think the Steam overlay and achievements should still work.

    Can you reply with your latest error log attached?

    You're using an old version of SMAPI; please update to the latest SMAPI 1.4 release. You should update your mods to their latest versions too.
     
    • Khaosius

      Khaosius Zero Gravity Genie

      Oops, thought I did this. Thanks for your patience and being awesome to us non-coders.
       
        Pathoschild likes this.
      • theworldwhispers

        theworldwhispers Space Hobo

        I've been trying to upgrade to the latest SMAPI 1.4 release for a couple of hours now and have finally just decided to bite the bullet and ask for help. I had an old version of SMAPI installed from the last time I'd played the game (which was back in March - life got busy, but now I want to come back!), and that version was 0.39.2. I'd followed the video instructions back in the day and had no problem installing it at all, used it for 36 hours or so of gameplay just fine. I tried to just upgrade SMAPI, but that didn't seem to work, so I deleted the old version and tried to do a clean install of it. But when I went to go install the new version tonight, it's like it just doesn't exist for me.

        I've downloaded the zip file probably about 10 times at this point, and the install.exe file is in the folder before I extract the files, but not after. So no big deal, I figured I'd just do a manual install, like I'd done back at the beginning of the year with the old version. But when I go into the Windows folder to copy files, the StardewModdingAPI.exe file doesn't exist either. (Note: It too exists in the zip file before extraction, but not after.)

        At this point, I figured... well, let's try installing 1.3 just out of curiosity. Downloaded that zip file, extracted it, and install.exe was there after extraction. I ran it; it seemed to go fine, and it felt very encouraging. But when I checked the Steam/steamapps/common/Stardew Valley folder to see if it had worked, the StardewModdingAPI application wasn't there. All of the other bits and pieces that come in the SMAPI download were there, but for some reason, I cannot get the actual application of SMAPI to download for me. Any ideas what I'm doing wrong?? Because this whole ordeal took me about 5 minutes earlier this year and now it won't work at all. :(
         
        • Pathoschild

          Pathoschild Sandwich Man

        • theworldwhispers

          theworldwhispers Space Hobo

          I swear, I wondered if this was maybe the issue, but my antivirus usually pops up a notification when it does something or removes something, so I'd convinced myself that couldn't be it. Of course, it was, and now I feel very silly for wasting so much time trying to fix it, haha. It worked perfectly fine after doing that. Thank you!! Sorry for making the mistake of not trying that before commenting. You guys are the best! :)
           
            Pathoschild likes this.
          • Pathoschild

            Pathoschild Sandwich Man

            SMAPI 1.5 beta is now available. This is a preview of the upcoming release, which I'll publish soon if no issues are reported with the beta.

            Release highlights:
            • SMAPI now shows a friendly error if you install a known incompatible mod, and suggests where to find a compatible version (see screenshot).
            • You can now disable update checks using the new StardewModdingAPI.config.json file.
            • Various fixes, improvements, and deprecations; see the release notes for details.
            To try the beta, follow the using mods guide using the attached release. Feedback, suggestions, and bug reports are welcome here. :)

            [Edit: download removed, see latest version instead]
             
              Last edited: Jan 16, 2017 at 2:30 AM
              ShneekeyTheLost and Surenu like this.
            • betasword

              betasword Void-Bound Voyager

              Well, SMAPI itself seems to work just fine. However, using it seems to keep Steam from being able to do anything overlay related, which is also making use of the Steam Controller impossible. I'm not sure if the fact that it opens the console first is messing with things or not, but the Steam overlay works just fine running off the base executable, but not running off the SMAPI one. This is from both 1.4 and the 1.5 beta.

              Edit: I can get the Steam overlay to work if I add the SMAPI executable as a non-steam game, however that keeps me from being able to use my Steam controller bindings, and anything else actually specific to the game itself, thus kinda defeating the purpose. I've also set everything to run as admin (SMAPI, the main exe, and Steam), restarted steam, and all that fun stuff.
               
                Last edited: Dec 27, 2016
              • Pathoschild

                Pathoschild Sandwich Man

              • betasword

                betasword Void-Bound Voyager

                Yep. Used both "StardewModdingAPI %command%" and also using the entire path to the executable. Both do the same thing: Start SMAPI, but disable the overlay. Like I said, SMAPI itself works perfectly fine. It's just... Disabling the overlay, for some reason. Not entirely sure how to go forward from here, without using a separate shortcut in Steam for the actual SMAPI exe, and just trying to copy over my controller config, and hoping it'll still work with achievements properly.
                 
                • Pathoschild

                  Pathoschild Sandwich Man

                  That's weird. I don't have the Steam version, so unfortunately I can't help with that. Hopefully another Steam user who's seen that before can help. :)
                   
                  • betasword

                    betasword Void-Bound Voyager

                    Haha, it's all good. I'll figure some way around this. Weirdest part is, when I launch SMAPI from its own Steam shortcut, Steam still says regular Stardew Valley is running, not the SMAPI shortcut. So it's seeing that properly. Just... Something about running SMAPI through launch options is causing Steam to freak out and not want to do the overlay. Weird!
                     
                    • FieryChaos

                      FieryChaos Big Damn Hero

                      Steam overlay usually loads for me; most of the time it loads (I'd say probably 95% of the time), sometimes it doesn't, and usually when it doesn't, it loads later eventually while I'm playing. *shrug*. I do use the [ "D:\Program Files\Steam\steamapps\common\Stardew Valley\StardewModdingAPI.exe" %command% ] method. Tried several times just now using [ StardewModdingAPI %command% ] and it never loaded. Switched back to full filepath and Steam overlay loaded on the 1st launch pretty much right after the game window came up.
                       
                      • HypeSuprem84

                        HypeSuprem84 Space Hobo

                        i don't have any mod and still the game wont start
                         
                        • Pathoschild

                          Pathoschild Sandwich Man

                        • Pathoschild

                          Pathoschild Sandwich Man

                          SMAPI 1.5 is now available!

                          Release highlights:
                          • SMAPI now shows a friendly error if you install a known incompatible mod, and suggests where to find a compatible version (see screenshot).
                          • You can now disable update checks using the StardewModdingAPI.config.json file.
                          • Various fixes and improvements; see the release notes for details.
                          For mod developers:
                          • This release deprecates Manifest and Version (in favour of IManifest and ISemanticVersion), and increases the deprecation level for some rarely-used interfaces from notice to info. For more information, see the 1.5 release notes and deprecation guide.
                          • Don't have time to update your mods for the SMAPI 1.0+ changes? I can do it for you!
                          Feedback, suggestions, and bug reports are welcome here. :)
                           
                          • nirasa1957

                            nirasa1957 Yeah, You!

                            SMAPI 1.5 = it works manually, but via Steam don't. The situation is the same :(
                             
                            • Pathoschild

                              Pathoschild Sandwich Man

                              @nirasa1957 I added a change in SMAPI 1.5 that might help. First, can you try again and then attach your latest error log?
                               
                                holland5 likes this.
                              • holland5

                                holland5 Intergalactic Tourist

                                Hi there made an account first off to thank you but also for a question :)

                                i made this great thing work on my macbook and didn't even have to change the opening path on steam. Moreover, it shows on steam that the game is running yet I cant open the community overlay- does this mean I will or will not get achievements?

                                thanks for your dedication, appreciate it!
                                (according to terminal, it is running stardewvalley.bin.osx and results in all mods working + steam showing its running, but community overlay not showing)
                                 
                                • ShneekeyTheLost

                                  ShneekeyTheLost Big Damn Hero

                                  On Linux, it seems Steam isn't able to run the executable built by SMAPI, but when I manually run the executable, it recognizes that SDV is running, and I get achievements logged.

                                  I also get a TON of errors about permission denied when various mods try to check to see if there's an update to inform you of. Linux doesn't much like it when a program tries to reach out to the web without sudo permission.
                                   
                                  • Taena

                                    Taena Space Hobo

                                    Hi - New to this, just tried to install SMAPI (after like 2 hours of getting Microsoft .net framework to install...) for the first time.

                                    Using Windows 7. I downloaded the SMAPI-1.5 zip file. I unziped it. When I went into the folder and clicked on the installer and tell it to run.

                                    It opens a black window with a promt, a few lines come up. Then I get a windows error saying that the installer has stopped working and asking if I want to check for a solution online or close the program. I have tried deleting the file and downloading it again, but the problem still comes up. If I tell it to check online for solutions it closes the program after a second or two saying it's looking for a solution but can't find one.

                                    Under the view problem details this is what it says -

                                    Problem signature:
                                    Problem Event Name: CLR20r3
                                    Problem Signature 01: install.exe
                                    Problem Signature 02: 1.5.0.0
                                    Problem Signature 03: 5862b9ce
                                    Problem Signature 04: StardewModdingAPI.Installer
                                    Problem Signature 05: 1.5.0.0
                                    Problem Signature 06: 5862b9ce
                                    Problem Signature 07: 11
                                    Problem Signature 08: 0
                                    Problem Signature 09: System.MissingMethodException
                                    OS Version: 6.1.7601.2.1.0.768.3
                                    Locale ID: 1033
                                    Additional Information 1: 0a9e
                                    Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
                                    Additional Information 3: 0a9e
                                    Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
                                     

                                    Share This Page