Tool Storm Modding API

Discussion in 'Mods' started by Handsome Matt, Mar 7, 2016.

  1. KuroBear

    KuroBear Phantasmal Quasar

    maybe u can set log file attributes => readonly
     
    • GosuGian

      GosuGian Twenty-three is number one

      Alright thanks
       
      • false_chicken

        false_chicken Void-Bound Voyager

        Yeah I ran into this when trying to build Storm. Not too big of a deal as long as binaries continue to be distributed.
         
        • false_chicken

          false_chicken Void-Bound Voyager

          Hmmm.... When I try to run the Storm Loader with Wine it crashes.

          http://pastebin.com/ecm9W8GZ

          Unhandled Exception: System.TypeLoadException: Could not load type 'System.Collections.Generic.IReadOnlyDictionary`2' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

          Any suggestions?
           
          • Undreamed

            Undreamed Scruffy Nerf-Herder

            I reinstall the Game and clear/delete ALL files and try to run storm again.... same error


            [CecilInjectorFactory] Loaded 1469 injectors.
            [CecilEventCallbackInjector] Invalid param count on callback!
            StardewValley.Crop .ctor (System.Int32,System.Int32,System.Int32)System.Void
            PreCropConstructorCallback (Storm.StardewValley.Accessor.CropAccessor,System.Int32,System.Int32,System.Int32)Storm.Manipulation.DetourEvent


            [CecilEventCallbackInjector] Invalid param count on callback!
            StardewValley.Crop .ctor (System.Int32,System.Int32,System.Int32)System.Void
            PostCropConstructorCallback (Storm.StardewValley.Accessor.CropAccessor,System.Int32,System.Int32,System.Int32)Storm.Manipulation.DetourEvent


            [CecilEventCallbackInjector] Instruction 2801 out of bounds
            StardewValley.Game1 Draw (Microsoft.Xna.Framework.GameTime)System.Void
            PostDrawCallback (Storm.StardewValley.Accessor.StaticContextAccessor)Storm.Manipulation.DetourEvent

            System.Int32[]
            [CecilFieldAccessorMutatorInjector] Could not find field!
            StardewValley.Farmer temporarySpeedBuff System.Single
            TemporarySpeedBuff System.Single False
            System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
            bei StardewValley.Game1.UnloadContent()
            bei Microsoft.Xna.Framework.Game.DeviceDisposing(Object sender, EventArgs e)
            bei Microsoft.Xna.Framework.GraphicsDeviceManager.OnDeviceDisposing(Object sender, EventArgs args)
            bei Microsoft.Xna.Framework.GraphicsDeviceManager.HandleDisposing(Object sender, EventArgs e)
            bei Microsoft.Xna.Framework.Graphics.GraphicsDevice.~GraphicsDevice()
            bei Microsoft.Xna.Framework.Graphics.GraphicsDevice.Dispose(Boolean )
            bei Microsoft.Xna.Framework.GraphicsDeviceManager.Dispose(Boolean disposing)
            bei Microsoft.Xna.Framework.GraphicsDeviceManager.System.IDisposable.Dispose()
            bei Microsoft.Xna.Framework.Game.Dispose(Boolean disposing)
            bei Microsoft.Xna.Framework.Game.Dispose()
            bei StardewValley.Program.Main(String[] args)
            --- Ende der internen Ausnahmestapelüberwachung ---
            bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
            bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
            bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
            bei Storm.StardewValley.ManagedStardewValleyLauncher.Launch()
            bei Storm.Program.Main(String[] args)

             
            • ZakG

              ZakG Lucky Number 13

              Hi, new to Stardew Valley but after a few hours playing the game i felt i really needed to look into finding a mod to slow down the speed of the day/night cycle, to better get into the 'relaxing' lifestyle the game suggests it is about. Anyway there is a mod for that, but i have a problem, this Storm tool does not work for me.

              I get this error message whenever i try to run it:

              'I:\GOG Games\Stardew Valley\StormLoader.exe is not a valid Win32 application'

              I know this is because i'm running Stardew Valley on the OS XP, and yes that is an old unsupported OS now. I do have another PC with Windows 7 but my main gaming PC is still my old XP one, it is not internet connected or anything, but as i like mostly older games i play most of my games on it, while the other PC is in a different room that i use for work.

              So is it possible at all to get the Storm API to run under XP? Also is it possible to use it on the GOG version i have?

              Thanks in advance and any suggestions on how to extend the day/night cycle in Stardew Valley would be much appreciated. I want to love this game (a huge Harvest Moon fan) but it is too 'fast' for true relaxing gameplay for me currently.
               
              • LunarNemuri

                LunarNemuri Void-Bound Voyager

                I have the same thing but I get an error saying 'cannot gain access to the file. You may not have sufficient authorization.'?

                I know absolutely nothing about programming so maybe that's why I don't understand what I am doing wrong..
                 
                • cantorsdust

                  cantorsdust Existential Complex

                  This one was my fault when I was adding a new event. Storm and the game will function fine despite the error. I've already submitted a merge request with a fix.
                   
                  • LLSix

                    LLSix Intergalactic Tourist

                    wrong thread
                     
                      Last edited: Mar 11, 2016
                    • Ankluas

                      Ankluas Void-Bound Voyager

                      Will the steam achievements still work when using the storm exe instead?
                       
                      • Piccolo113

                        Piccolo113 Void-Bound Voyager

                        Pardon me for being such a newbie...but why must we go through all these steps to compile/build the api? Why can't it be a pre-built file we can then just plop into the folder and run?
                         
                        • Handsome Matt

                          Handsome Matt Aquatic Astronaut

                          yes.

                          you should actually read.
                           
                            Ankluas likes this.
                          • SPRidley

                            SPRidley Void-Bound Voyager

                            With the latest version of storm I downloaded (that has the steamappid.txt) it seems steam is executing the game when i use the storm loader (so I suppose achivements still work and is still counting the hours), but seems I cant do steam screenshots nor use the steam hud while ingame, which is a pity (or maybe im doing something wrong).
                             
                            • zeraxx

                              zeraxx Subatomic Cosmonaut

                              Right click Stardew Valley in Steam library > Properties > Set launch option
                              Copy and paste all of this including quotation marks, but change the partition and folder based on your install location

                              "C:\GAME\Steam\SteamApps\common\Stardew Valley\StormLoader.exe" %command%

                              After that you can just click play directly from steam library, it will launch stormloader with all steam function
                               
                              • hjzz

                                hjzz Space Spelunker

                                error when i run loader

                                [CecilInjectorFactory] Loaded 1469 injectors.
                                [CecilEventCallbackInjector] Invalid param count on callback!
                                StardewValley.Crop .ctor (System.Int32,System.Int32,System.Int32)System.Void
                                PreCropConstructorCallback (Storm.StardewValley.Accessor.CropAccessor,System.Int32,System.Int32,System.Int32)Storm.Manipulation.DetourEvent


                                [CecilEventCallbackInjector] Invalid param count on callback!
                                StardewValley.Crop .ctor (System.Int32,System.Int32,System.Int32)System.Void
                                PostCropConstructorCallback (Storm.StardewValley.Accessor.CropAccessor,System.Int32,System.Int32,System.Int32)Storm.Manipulation.DetourEvent


                                [CecilEventCallbackInjector] Instruction 2801 out of bounds
                                StardewValley.Game1 Draw (Microsoft.Xna.Framework.GameTime)System.Void
                                PostDrawCallback (Storm.StardewValley.Accessor.StaticContextAccessor)Storm.Manipulation.DetourEvent

                                System.Int32[]
                                [CecilFieldAccessorMutatorInjector] Could not find field!
                                StardewValley.Farmer temporarySpeedBuff System.Single
                                TemporarySpeedBuff System.Single False
                                [CecilFieldAccessorMutatorInjector] Could not find field!
                                StardewValley.Farmer movementMultiplier System.Single
                                MovementMultiplier System.Single False
                                [CecilFieldAccessorMutatorInjector] Could not find field!
                                StardewValley.TerrainFeatures.Flooring whichView System.Int32
                                WhichView System.Int32 False
                                [CecilFieldAccessorMutatorInjector] Could not find field!
                                StardewValley.TerrainFeatures.Flooring isSteppingStone System.Boolean
                                IsSteppingStone System.Boolean False
                                [CecilFieldAccessorMutatorInjector] Could not find field!
                                StardewValley.TerrainFeatures.FruitTree greenHouseTree System.Boolean
                                GreenHouseTree System.Boolean False
                                [CecilFieldAccessorMutatorInjector] Could not find field!
                                StardewValley.Game1 thumbstickMotionMargin System.Int32
                                ThumbstickMotionMargin System.Int32 False
                                [CecilFieldAccessorMutatorInjector] Could not find field!
                                StardewValley.Object health System.Int32
                                Health System.Int32 False
                                System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Method '_GetThumbstickMotionMargin' in type 'StardewValley.Game1' from assembly 'Storm-Hooked-Game, Version=1.0.5900.15624, Culture=neutral, PublicKeyToken=null' does not have an implementation.
                                at StardewValley.Program.Main(String[] args)
                                --- End of inner exception stack trace ---
                                at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
                                at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
                                at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
                                at Storm.StardewValley.ManagedStardewValleyLauncher.Launch()
                                at Storm.Program.Main(String[] args)

                                 
                                • SPRidley

                                  SPRidley Void-Bound Voyager

                                  YES! Just what i was looking for!
                                  Thanks a bunch! :D
                                   
                                  • Piccolo113

                                    Piccolo113 Void-Bound Voyager

                                    Boy, I sure feel dumb right now. I don't know how I missed that entire chunk of your post. I'll just go away now...
                                     
                                    • yBot

                                      yBot Space Hobo

                                      Is this compatible with old mods? Is this a list of current/working mods?
                                       
                                      • false_chicken

                                        false_chicken Void-Bound Voyager

                                        Solved it. Needed to have .Net 4.5 installed. I only installed 4.0 in the Wine bottle for the game.
                                         
                                        • Zoryn4163

                                          Zoryn4163 Big Damn Hero

                                          Storm is not compatible with SMAPI mods. Storm is not compatible with mods that used old calls that have since been updated. There is not a list of all storm mods on this thread.
                                           

                                          Share This Page