Tool SMAPI: Stardew Modding API

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

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

    Entoarox Oxygen Tank

    Data\fruitTrees isnt supposed to be a texture, its a data file....
     
    • oniichanaino

      oniichanaino Void-Bound Voyager

      Hmm maybe when I unzipped one of the mods, I overwrote a file I wasn't supposed to. I'll reinstall and see if that fixes it then.
       
      • ClxS

        ClxS Pangalactic Porcupine

        Looks like you've used an XNB mod (where you replace a file in Content) that wasn't packaged properly.
         
        • oniichanaino

          oniichanaino Void-Bound Voyager

          Well that definitely did it. Reinstalling cleaned up the issue because it will now let me plant saplings. Sweet. Thanks =)
           
          • Tempest712

            Tempest712 Void-Bound Voyager

            Could anyone help me with this, I can't figure out why it's not working, could the red text have something to do with it upload_2016-5-29_15-53-58.png
             

              Attached Files:

            • Entoarox

              Entoarox Oxygen Tank

              Update the game.
               
              • keezow

                keezow Void-Bound Voyager

                hey could anyone give me and example of how to add items? im trying but i cant quite figure it out.if you could show me for example how to add some coal i'd be happy
                 
                • MrKowa

                  MrKowa Void-Bound Voyager

                  Could SMAPI be reason why game quits to desktop anytime, anywhere no matter what i do in game?
                   
                  • Entoarox

                    Entoarox Oxygen Tank

                    Please post the text file found in %appdata%\StardewValley\ErrorLogs
                     
                    • MrKowa

                      MrKowa Void-Bound Voyager

                      No error log can be found, game just closes. Only "MODDED_ProgramLog.Log_LATEST" is created.

                      [01:15:30.691 ] Initializing SDV Assembly...
                      [01:15:30.699 ] Validating api paths...
                      [01:15:30.702 ] Injecting New SDV Version...
                      [01:15:30.702 ] Starting SDV...
                      [01:15:30.705 ] SMAPI Version: 0.40.0 Alpha
                      [01:15:30.710 ] SDV Version: 1.07
                      [01:15:30.855 ] Patching SDV Graphics Profile...
                      [01:15:30.857 ] LOADING MODS
                      [01:15:30.875 ] Found Manifest: E:\Steam\steamapps\common\Stardew Valley\Mods\GiftTasteHelper\manifest.json
                      [01:15:31.253 ] Created psconfigs directory @E:\Steam\steamapps\common\Stardew Valley\Mods\GiftTasteHelper\psconfigs
                      [01:15:31.298 ] Loading Mod DLL...
                      [01:15:31.298 ] LOADED MOD: GiftTasteHelper by Tyler - Version StardewModdingAPI.Version | Description: Displays NPC gift tastes in a handy tooltip. (@ E:\Steam\steamapps\common\Stardew Valley\Mods\GiftTasteHelper\GiftTasteHelper.dll)
                      [01:15:31.300 ] Found Manifest: E:\Steam\steamapps\common\Stardew Valley\Mods\HarvestWithScytheSMAPI\manifest.json
                      [01:15:31.325 ] Created psconfigs directory @E:\Steam\steamapps\common\Stardew Valley\Mods\HarvestWithScytheSMAPI\psconfigs
                      [01:15:31.348 ] Loading Mod DLL...
                      [01:15:31.348 ] LOADED MOD: HarvestWithScytheSMAPI by ThatNorthernMonkey - Version StardewModdingAPI.Version | Description: (@ E:\Steam\steamapps\common\Stardew Valley\Mods\HarvestWithScytheSMAPI\HarvestWithScytheSMAPI.dll)
                      [01:15:31.367 ] Found Manifest: E:\Steam\steamapps\common\Stardew Valley\Mods\LovedLabels\manifest.json
                      [01:15:31.388 ] Created psconfigs directory @E:\Steam\steamapps\common\Stardew Valley\Mods\LovedLabels\psconfigs
                      [01:15:31.415 ] Loading Mod DLL...
                      [01:15:31.415 ] LOADED MOD: LovedLabels by Advize & Jinxiewinxie - Version StardewModdingAPI.Version | Description: Gives pets customizeable tooltips so you can see who needs the love. (@ E:\Steam\steamapps\common\Stardew Valley\Mods\LovedLabels\LovedLabels.dll)
                      [01:15:31.449 ] Found Manifest: E:\Steam\steamapps\common\Stardew Valley\Mods\NPCMapLocations\manifest.json
                      [01:15:31.468 ] Created psconfigs directory @E:\Steam\steamapps\common\Stardew Valley\Mods\NPCMapLocations\psconfigs
                      [01:15:31.499 ] Loading Mod DLL...
                      [01:15:31.501 ] LOADED MOD: NPC Map Locations Mod by Bouhm - Version StardewModdingAPI.Version | Description: Shows NPC locations on the map (@ E:\Steam\steamapps\common\Stardew Valley\Mods\NPCMapLocations\NPCMapLocations.dll)
                      [01:15:31.579 ] Found Manifest: E:\Steam\steamapps\common\Stardew Valley\Mods\SMAPISprinklerMod\manifest.json
                      [01:15:31.598 ] Created psconfigs directory @E:\Steam\steamapps\common\Stardew Valley\Mods\SMAPISprinklerMod\psconfigs
                      [01:15:31.613 ] Loading Mod DLL...
                      [01:15:31.613 ] LOADED MOD: Configurable Improved Sprinklers Mod by MaurĂ­cio Gomes (Speeder) - Version StardewModdingAPI.Version | Description: Make the Sprinklers work better. (@ E:\Steam\steamapps\common\Stardew Valley\Mods\SMAPISprinklerMod\SMAPISprinklerMod.dll)
                      [01:15:31.709 ] Found Manifest: E:\Steam\steamapps\common\Stardew Valley\Mods\StardewCJB\manifest.json
                      [01:15:31.738 ] Created psconfigs directory @E:\Steam\steamapps\common\Stardew Valley\Mods\StardewCJB\psconfigs
                      [01:15:31.755 ] Loading Mod DLL...
                      [01:15:31.755 ] LOADED MOD: CJB Show Item Sell Price by CJ Bok - Version StardewModdingAPI.Version | Description: Show item sell price in your inventory! (@ E:\Steam\steamapps\common\Stardew Valley\Mods\StardewCJB\StardewCJB.dll)
                      [01:15:31.764 ] Found Manifest: E:\Steam\steamapps\common\Stardew Valley\Mods\TrainerMod\manifest.json
                      [01:15:31.793 ] Created psconfigs directory @E:\Steam\steamapps\common\Stardew Valley\Mods\TrainerMod\psconfigs
                      [01:15:31.835 ] Loading Mod DLL...
                      [01:15:31.835 ] 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. (@ E:\Steam\steamapps\common\Stardew Valley\Mods\TrainerMod\TrainerMod.dll)
                      [01:15:31.841 ] Registered command: types
                      [01:15:31.843 ] Registered command: hide
                      [01:15:31.845 ] Registered command: exit
                      [01:15:31.846 ] Registered command: stop
                      [01:15:31.848 ] Registered command: player_setname
                      [01:15:31.843 ] Registered command: show
                      [01:15:31.849 ] Registered command: player_setstamina
                      [01:15:31.849 ] Registered command: player_setmaxstamina
                      [01:15:31.848 ] Registered command: player_setmoney
                      [01:15:31.851 ] Registered command: player_setmaxhealth
                      [01:15:31.851 ] Registered command: player_setimmunity
                      [01:15:31.843 ] Registered command: save
                      [01:15:31.844 ] Registered command: load
                      [01:15:31.854 ] Registered command: player_changestyle
                      [01:15:31.855 ] Registered command: player_additem
                      [01:15:31.856 ] Registered command: player_addmelee
                      [01:15:31.850 ] Registered command: player_sethealth
                      [01:15:31.858 ] Registered command: out_items
                      [01:15:31.858 ] Registered command: out_melee
                      [01:15:31.854 ] Registered command: player_changecolour
                      [01:15:31.860 ] Registered command: newitem
                      [01:15:31.861 ] Registered command: world_settime
                      [01:15:31.856 ] Registered command: player_addring
                      [01:15:31.863 ] Registered command: world_setday
                      [01:15:31.864 ] Registered command: world_setseason
                      [01:15:31.859 ] Registered command: out_rings
                      [01:15:31.865 ] Registered command: world_setminelevel
                      [01:15:31.866 ] LOADED 7 MODS
                      [01:15:31.865 ] Registered command: world_downminelevel
                      [01:15:31.853 ] Registered command: player_setlevel
                      [01:15:31.853 ] Registered command: player_setspeed
                      [01:15:31.863 ] Registered command: world_freezetime
                      [01:15:31.869 ] Applying Final SDV Tweaks...
                      [01:15:31.866 ] SDV Loaded Into Memory
                      [01:15:31.868 ] Initializing Console Input Thread...
                      [01:15:31.868 ] Registered command: help
                      [01:15:32.807 ] XNA Initialize
                      [01:15:32.852 ] XNA LoadContent
                      [01:15:33.761 ] Initializing Debug Assets...
                      [01:15:39.836 ] Game Loaded
                      [01:15:39.837 ] Type 'help' for help, or 'help <cmd>' for a command's usage
                       
                      • Entoarox

                        Entoarox Oxygen Tank

                        I am using all those mods except gift taste helper, try removing that one and see if it works.
                        If that still doesnt help, remove every mod 1 by 1 untill you find the culprit.
                         
                        • MrKowa

                          MrKowa Void-Bound Voyager

                          Nope, game crashed again. Tried event with one mod better sprinklers and game quits to desktop.

                          And what more weird, without any mod game demand me to use scythe to harvest potatoes, like i somehow added mod to game files also.
                           
                          • Entoarox

                            Entoarox Oxygen Tank

                            That is because the scythe mod modifies the existing crops, new ones will not require a scythe, but existing ones do.
                             
                            • MrKowa

                              MrKowa Void-Bound Voyager

                              Ok, tried game without any mod and game crashed ( in mine), error log was created

                              Message: Value does not fall within the expected range.
                              InnerException:
                              Stack Trace: at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Present(tagRECT* pSource, tagRECT* pDest, HWND__* hOverride)
                              at Microsoft.Xna.Framework.GraphicsDeviceManager.Microsoft.Xna.Framework.IGraphicsDeviceManager.EndDraw()
                              at Microsoft.Xna.Framework.Game.EndDraw()
                              at Microsoft.Xna.Framework.Game.DrawFrame()
                              at Microsoft.Xna.Framework.Game.Tick()
                              at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
                              at Microsoft.Xna.Framework.GameHost.OnIdle()
                              at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
                              at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
                              at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
                              at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
                              at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
                              at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
                              at System.Windows.Forms.Application.Run(Form mainForm)
                              at Microsoft.Xna.Framework.WindowsGameHost.Run()
                              at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
                              at StardewValley.Program.Main(String[] args)
                               
                              • Davrial

                                Davrial Big Damn Hero

                                Looking forward to Farmhand. Will it have self-updating functionality like SMAPI does?

                                Also, didn't I hear something a while ago about it being able to do something to prevent conflicts between two mods that edit the same thing but in different ways? Is that still going to be a thing, or was that too ambitions? (Or was I just misunderstanding when it was being talked about conceptually?)
                                 
                                • Entoarox

                                  Entoarox Oxygen Tank

                                  SMAPI self-updating? Since when?
                                   
                                  • Nurio

                                    Nurio Cosmic Narwhal

                                    He might refer to mod managers that do this...
                                    But yep, SMAPI itself doesn't have a self-updating functionality
                                     
                                    • Davrial

                                      Davrial Big Damn Hero

                                      Must have updated my SMAPI without remembering doing so then.

                                      Well this new API should have an auto updater. Not too hard to make (possibly time consuming, but not hard)
                                       
                                      • Entoarox

                                        Entoarox Oxygen Tank

                                        It cant, the API needs to be installed INTO your stardew valley .exe in order to properly work, so really auto-updating it isnt possible.
                                         
                                        • Davrial

                                          Davrial Big Damn Hero

                                          Oh, it's going to be installed into it instead of having a separate executable like SMAPI?
                                           
                                          Thread Status:
                                          Not open for further replies.

                                          Share This Page