RELEASED [SMAPI] [1.0.1] StardewConfigMenu -- A Unified Mod Options Page For Modders [Initial Release]

Discussion in 'Mods' started by Juice805, Jul 7, 2017.

  1. Juice805

    Juice805 Void-Bound Voyager

    Hello everyone, new to this community! Been hard at work creating a framework for a unified Mod Options tab built into the main menu. It's now in beta for any modders who are interested. SMAPI required. SMAPI 2.0 Ready.

    [​IMG]

    The goal of this Framework and its accompanying mod is to allow modders to give users easy access to their mod's configuration, all without touching config files or fighting other mods for screen space. The StardewConfigMenu mod handles the display of all mod settings which has a simple UI for users as well as a simple framework for modder access and manipulation. I'm looking for feedback and suggestions!

    Github Link -- Nexus Link -- Wiki Link

    Getting Started

    Included in this version (1.0.1):
    • Category Labels
    • Buttons
    • Checkboxes
    • Plus/Minus Steppers
    • Dropdowns
    • Simple Centralized Saving/Loading of ModOptions
    • Sliders (NEW)
    If interest is expressed I will be adding others such as keybind components, and text input components.
     
      Last edited: Jul 25, 2017
      Androxilogin and Beon like this.
    • Juice805

      Juice805 Void-Bound Voyager

    • Juice805

      Juice805 Void-Bound Voyager

      1.0.0 Released!
      Lots of bug fixes, Added Sliders
       
        HopeWasHere likes this.
      • Juice805

        Juice805 Void-Bound Voyager

        HopeWasHere likes this.
      • Juice805

        Juice805 Void-Bound Voyager

        I've added some functionality to my StardewConfigMenu compatible version of UI Info Suite, including some custom fishing location icons from the awesome 4SlicePizza. Link is the same, images below.
        [​IMG] [​IMG] [​IMG] [​IMG]
         
          HopeWasHere likes this.
        • Xuomi

          Xuomi Phantasmal Quasar

          I think I might have installed this wrong?

          I downloaded StardewConfigMenu and placed the folder into the Mods folder for Stardew Valley. Then I downloaded the UI Info Suite compatibility file and placed the folder inside the Mods folder as well. But when I load in, I receive this error:
          Code:
          [03:30:49 ERROR SMAPI] A mod failed handling the SaveEvents.AfterLoad event:
          System.TypeInitializationException: The type initializer for 'UIInfoSuite.Tools' threw an exception. ---> Microsoft.Xna.Framework.Content.ContentLoadException: Error loading "Data\ObjectInformation.xnb". File not found. ---> System.IO.FileNotFoundException: Error loading "Content\Data\ObjectInformation.xnb.xnb". File not found.
             at Microsoft.Xna.Framework.TitleContainer.OpenStream(String name)
             at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName)
             --- End of inner exception stack trace ---
             at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName)
             at Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject)
             at Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName)
             at StardewValley.LocalizedContentManager.Load[T](String assetName)
             at Entoarox.Framework.SmartContentManager.Load[T](String assetName) in d:\documents\visual studio 2015\Projects\StardewMods\Framework\Internal\SmartContentManager.cs:line 42
             at UIInfoSuite.Tools..cctor() in D:\Cloud\git\Ui-Info-Suite\SDVModTest\Tools.cs:line 17
             --- End of inner exception stack trace ---
             at UIInfoSuite.Tools.GetWidthInPlayArea()
             at UIInfoSuite.UIElements.LuckOfDay.AdjustIconXToBlackBorder(Object sender, EventArgsCurrentLocationChanged e) in D:\Cloud\git\Ui-Info-Suite\SDVModTest\UIElements\LuckOfDay.cs:line 93
             at UIInfoSuite.UIElements.LuckOfDay.Toggle(String identifier, Boolean showLuckOfDay) in D:\Cloud\git\Ui-Info-Suite\SDVModTest\UIElements\LuckOfDay.cs:line 32
             at UIInfoSuite.UIElements.LuckOfDay..ctor(ModOptions modOptions, IModHelper helper) in D:\Cloud\git\Ui-Info-Suite\SDVModTest\UIElements\LuckOfDay.cs:line 49
             at UIInfoSuite.FeatureController..ctor(ModOptions modOptions, ModConfig modconfig, IModHelper helper) in D:\Cloud\git\Ui-Info-Suite\SDVModTest\FeatureController.cs:line 43
             at UIInfoSuite.ModEntry.LoadModData(Object sender, EventArgs e) in D:\Cloud\git\Ui-Info-Suite\SDVModTest\ModEntry.cs:line 87
             at StardewModdingAPI.Framework.InternalExtensions.SafelyRaisePlainEvent(IMonitor monitor, String name, IEnumerable`1 handlers, Object sender, EventArgs args) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\InternalExtensions.cs:line 40
          I'm assuming that I'm supposed to place the folder inside of the Mods folder and not into StardewConfigMenu itself... but I'm not sure.

          And my game only shows this for the config menu for UI Info Suite:
          config.png
           
            Juice805 likes this.
          • Juice805

            Juice805 Void-Bound Voyager

            You're right, they should both be in the `Mods` Folder. It's a bug in UI Info Suite, I'll look into it now!

            edit: oh simply mistyped a path. :zzz:
             
              Last edited: Jul 27, 2017
              Xuomi likes this.
            • Juice805

              Juice805 Void-Bound Voyager

              Uploaded a new version on Nexus, should fix it, although I can't be sure as I wasn't having the issue. What Operating system was it?
               
                Xuomi likes this.
              • Xuomi

                Xuomi Phantasmal Quasar

                @Juice805 Works perfectly now, thank you! I'm on Windows 10 Home.
                 

                Share This Page