Modding Help How to update mods for SMAPI 2.0

Discussion in 'Mods' started by Pathoschild, Jul 3, 2017.

  1. Pathoschild

    Pathoschild Tiy's Beard

    This thread is no longer maintained. See updating mods for Stardew Valley 1.3 instead.



    ----------------------------------




    Why does SMAPI 2.0 break mods?

    SMAPI 2.0 lets mods do much more, but it no longer supports old deprecated APIs. Any mods which still have deprecation warnings won't work in SMAPI 2.0.​

    How do I update my mods?
    Follow the instructions on the SMAPI compatibility page. If a mod is still broken, post a message in this thread and I'll help. Make sure to attach your SMAPI log after trying the mod.​

    What do modders need to do?
    If your mods are broken, see for mod developers.​

    Continued from how to fix mods broken in Stardew Valley 1.2.
     
      Last edited: Jul 14, 2019
    • Pathoschild

      Pathoschild Tiy's Beard

      (Don't download these files directly! Follow the instructions in the previous post instead.)
       

        Attached Files:

        Last edited: Jul 10, 2017
        Elrohir_of_Rivendell likes this.
      • SpringsSong

        SpringsSong Cosmic Narwhal

        Lambui's OmniFarm is throwing deprecation warnings with this newest update.

        In addition, the following mods are also throwing deprecation warnings:
        Entoarox Framework
        AnimalSitter
        Better Quarry
        DynamicChecklist
        FarmAutomation Mod: Barn Door Automation
        FarmAutomation Mod: Item Collector
        Forage at the Farm
        Longevity
        MailOrderPigs
        NPC Map Locations Mod
        PelicanFiber
        Seasonal Immersion
        BuildHealth
        Solar Eclipse Event
        Stardew Notification
        StashItemsToChest
        A Tappers Dream - A Tree Overhaul
        Museum Rearranger
        Better Shipping Box
        3-heart Dance Partner

        ...and many more things that would make more sense with my attached log. :rofl:
         

          Attached Files:

        • FieryChaos

          FieryChaos Cosmic Narwhal

        • Pathoschild

          Pathoschild Tiy's Beard

        • SpringsSong

          SpringsSong Cosmic Narwhal

          Another one I found (since I put it back in today) :

          Code:
          [09:45:40 WARN  SMAPI] Skill Prestige uses deprecated code (GameEvents.GameLoaded).
          [09:45:40 WARN  SMAPI] Skill Prestige uses deprecated code (GameEvents.LoadContent).
          While the Cooking Skill adapter has an unofficial update, the main mod does not. So... another one for the list?
           
          • Pathoschild

            Pathoschild Tiy's Beard

          • springacres

            springacres Phantasmal Quasar

            I'm getting deprecation warnings for NoDebugMode and Animal Mood Fix.
             
            • Xuomi

              Xuomi Phantasmal Quasar

              @springacres Animal Mood Fix is an obsolete mod and has been since the 1.2 Stardew Valley update, and No Debug Mode has been labeled obsolete since SMAPI 1.0.
               
                Last edited: Jul 13, 2017
              • springacres

                springacres Phantasmal Quasar

                @Xuomi wow, am I out of date then :rofl: Thanks for the heads up!
                 
                • Pathoschild

                  Pathoschild Tiy's Beard

                • Xuomi

                  Xuomi Phantasmal Quasar

                  @Pathoschild I was just curious because I hadn't seen them on the list yet, were Crab Net and Replanter by jwdred going to be updated with the rest of their mods for SMAPI 2.0? (github)
                   
                  • Pathoschild

                    Pathoschild Tiy's Beard

                    @Xuomi Yep, added to the list. I'm planning to test every SMAPI mod on Nexus to update the list soon, but feel free to mention any other mods that are missing.
                     
                      Xuomi likes this.
                    • Xuomi

                      Xuomi Phantasmal Quasar

                    • Pathoschild

                      Pathoschild Tiy's Beard

                      I tested every SMAPI mod on Nexus (containing "SMAPI" in the description). Out of 207 mods tested so far:
                      • 50% are already compatible with SMAPI 2.0.
                      • 13% can be fixed by the player or have a working alternative.
                      • 22% are open-source, so I can update them if the authors don't.
                      • 15% are broken (often due to Stardew Valley 1.1 or 1.2) and not open-source.
                      So in total, at least 85% of mods so far should be compatible with SMAPI 2.0 when it releases. That number isn't as high as I'd like, so I'll probably prepare unofficial updates for closed-source mods too this time around.

                      That doesn't include mods which are only uploaded to the Chucklefish mod repo, which I'll review next.
                       
                        zeemoliu, HopeWasHere and Xuomi like this.
                      • Pathoschild

                        Pathoschild Tiy's Beard

                        Done. Here are the results for the 245 SMAPI mods I found on Nexus and the Chucklefish mod repo:
                        • 52% are already compatible.
                        • 10% can be replaced with a working alternative.
                        • 23% can be updated (because they're open-source).
                        • 15% are broken (often due to Stardew Valley 1.1 or 1.2) and not open-source.
                        The overall number of compatible mods is unchanged at 85%.

                        The list of mods should be mostly complete now. Let me know you have any SMAPI mods that aren't listed there.
                         
                          Ladysarajane, Constance and Xuomi like this.
                        • Xuomi

                          Xuomi Phantasmal Quasar

                          Pathoschild likes this.
                        • Pathoschild

                          Pathoschild Tiy's Beard

                          Turns out some SMAPI mods don't mention SMAPI in their description. I went through the full mod list on Nexus to find those. This should hopefully be the last pass.

                          Out of 257 SMAPI mods tested:
                          • 53% are already compatible.
                          • 12% can be replaced with a working alternative.
                          • 22% can be updated (because they're open-source).
                          • 13% are broken (often due to Stardew Valley 1.1 or 1.2) and not open-source.
                           
                            simply_fabulous and Xuomi like this.
                          • Talmatia

                            Talmatia Void-Bound Voyager

                            Having some issues with one mod (TimeFreeze) and a few are showing warnings
                             

                              Attached Files:

                            • Pathoschild

                              Pathoschild Tiy's Beard

                            Share This Page