Mods / Config lib

Tags: #Library
Author: Maltiez
Side: Both
Created: Dec 13th 2023 at 2:11 PM
Last modified: Sep 9th at 3:53 AM
Downloads: 249469
Follow Unfollow 2213

Latest release (for Vintage Story 1.21.0, potentially outdated):
configlib_1.10.2.zip  1-click install


You can support me on Patreon:


Requires ImGui

There is an addon you might want to check: Auto Config lib

For other modders (or if you want to help): I need help with wrighting documentation for this library, I'm bad at it and dont have energy to do this stuff. Also I will be happy to have some help with testing new features.

 

This is a library that allows making configs even for content mods (there is also API for code mods, including custom widgets) and provides a unified GUI for editing them in game. It does not require for your mod to depend on this library. If the library is not installed, default values from assets will be used.

This library also allows changing values in regular JSON patches, that can be valuable for server configurations and can make tweaking other mods for server needs much easier.

 

Documentation on JSON API of this library (written by Somnium). If you want to help keep documentation up-to-date, expand it and help test new features, please ping me in discord, any help will me much appreciated.

If you need help with adding a config file using this lib feel free to ping me in discord on official VS server.

Thanks Somnium for feature suggestions and help with testing them, and the documentation.

Some of the mods that use this library:

Feel free to request any features you might need under mod's discord post (link is above in Homepage tab).

 

Example of adding config reload functionality keeping optional dependency:

public sealed class CombatOverhaulSystem : ModSystem
{
    public Settings Settings = new();
    public event Action<Settings> SettingsChanged;

    public override void Start(ICoreAPI api)
    {
        if (api.ModLoader.IsModEnabled("configlib"))
        {
            SubscribeToConfigChange(api);
        }
    }

    private void SubscribeToConfigChange(ICoreAPI api)
    {
        ConfigLibModSystem system = api.ModLoader.GetModSystem<ConfigLibModSystem>();

        system.SettingChanged += (domain, config, setting) =>
        {
            if (domain != "combatoverhaul") return;
            setting.AssignSettingValue(Settings);
            SettingsChanged?.Invoke(Settings);
        };
        system.ConfigsLoaded += () =>
        {
            system.GetConfig("combatoverhaul")?.AssignSettingsValues(Settings);
        };
    }
}

Mod Version For Game version Downloads Released Changelog Download 1-click mod install*
1.10.2 13003 Sep 9th at 3:53 AM configlib_1.10.2.zip 1-click install

Fixed color settings not being auto assigned

1.10.1 17459 Aug 17th at 6:21 PM configlib_1.10.1.zip 1-click install

Added an error message if a setting has no code specified

1.10.0 372 Aug 15th at 2:22 PM configlib_1.10.0.zip 1-click install

Implemented conditional path for patches, example:

"combatoverhaul:entities/spear.json": {
  "client/behaviors/code=CombatOverhaul:ProjectilePhysics/airDragFactor": "value / spears_thrown_distance",
  "client/behaviors/code=CombatOverhaul:ProjectilePhysics/gravityFactor": "value / spears_thrown_distance",
  "server/behaviors/code=CombatOverhaul:ProjectilePhysics/airDragFactor": "value / spears_thrown_distance",
  "server/behaviors/code=CombatOverhaul:ProjectilePhysics/gravityFactor": "value / spears_thrown_distance"
},
1.9.3 728 Aug 9th at 9:48 PM configlib_1.9.3.zip 1-click install

Made config window close on pressing esc when it is in focus.

1.9.2 52 Aug 9th at 7:28 PM configlib_1.9.2.zip 1-click install

Fixed bug with config not being properly saved sometimes

1.9.1 179 Aug 9th at 2:18 AM configlib_1.9.1.zip 1-click install

Fixed other category patches not supporting constants

1.9.0 1009 Jul 28th at 3:52 PM configlib_1.9.0.zip 1-click install

Added functionality for code mods: custom managed configs

1.8.0 187 Jul 27th at 2:20 PM configlib_1.8.0.zip 1-click install

Added API for reloading configs

1.7.1 54 Jul 27th at 12:38 PM configlib_1.7.1.zip 1-click install

Added additional protection from changing server side settings by non admin users

1.7.0 105 Jul 26th at 10:38 PM configlib_1.7.0.zip 1-click install

Now config lib will update config files from disc after file on disc have changed. Works both for json and yaml configs.

1.6.4 33 Jul 26th at 9:01 PM configlib_1.6.4.zip 1-click install

Added more error logging

1.6.3 269 Jul 24th at 1:48 PM configlib_1.6.3.zip 1-click install

Added newline before comment for a setting in yaml settings files, makes it more readable.

1.6.2 671 Jul 16th at 3:40 PM configlib_1.6.2.zip 1-click install

Fixed server side settings not synced to clients when changed

1.6.1 26 Jul 16th at 3:06 PM configlib_1.6.1.zip 1-click install

Now players with privilege "controlserver" can change and save server side setting from GUI

1.5.4 3796 Jun 16th at 4:22 PM configlib_1.5.4.zip 1-click install

Recompiled for 1.21

1.5.3 47088 Apr 28th at 10:12 AM configlib_1.5.3.zip 1-click install

Fixed bug with displaying settings with missing translation

1.5.2 26207 Mar 13th at 11:06 PM configlib_1.5.2.zip 1-click install

Fixed bug with link buttons

1.5.1 23135 Feb 10th at 12:26 AM Empty configlib_1.5.1.zip 1-click install
1.5.0 1119 Feb 9th at 4:39 AM Empty configlib_1.5.0.zip 1-click install
1.4.4 13949 Jan 23rd at 3:17 PM configlib_1.4.4.zip 1-click install

Made text about reloading world more visible

1.4.3 6943 Jan 12th at 10:57 AM configlib_1.4.3.zip 1-click install

Some tweaks to links

1.4.2 150 Jan 12th at 10:29 AM configlib_1.4.2.zip 1-click install

Added links functionality

1.4.1 2261 Jan 3rd at 10:19 AM configlib_1.4.1.zip 1-click install

Some fixes

1.4.0 274 Jan 3rd at 2:27 AM configlib_1.4.0.zip 1-click install

Added more logging

'-' in path of a patch now means each element in array

Now if element defined by path does not exists it is skipped instead of creating this element

1.3.17 8563 Oct 24th 2024 at 5:30 AM configlib_1.3.17.zip 1-click install

Updated to 1.20.0-pre.7

1.3.16 1896 Oct 9th 2024 at 8:45 AM configlib_1.3.16.zip 1-click install

Fixed bug with constants

1.3.15 543 Oct 6th 2024 at 5:13 PM configlib_1.3.15.zip 1-click install

Fixed some weird bug

1.3.14 523 Oct 5th 2024 at 3:39 PM Empty configlib_1.3.14.zip 1-click install
1.3.13 36024 May 24th 2024 at 4:43 PM configlib_1.3.13.zip 1-click install

Some features for modders

1.3.12 1076 May 22nd 2024 at 2:48 AM configlib_1.3.12.zip 1-click install

Added color setting type
Added constants section in patches file format

1.3.11 1690 May 15th 2024 at 10:24 AM configlib_1.3.11.zip 1-click install

A feature for custom config

1.3.10 1516 May 8th 2024 at 4:40 AM configlib_1.3.10.zip 1-click install

Fixed crash with server side only mods

1.3.9 4373 Apr 27th 2024 at 3:26 AM configlib_1.3.9.zip 1-click install

Some requested features for mods

1.3.8 247 Apr 27th 2024 at 1:35 AM configlib_1.3.8.zip 1-click install

Fix for boolean settings

1.3.7 338 Apr 26th 2024 at 6:29 PM configlib_1.3.7.zip 1-click install

Added some functionality for mods

1.3.6 1076 Apr 23rd 2024 at 4:51 PM configlib_1.3.6.zip 1-click install

Added reset to default button and default value into yaml config files

1.3.5 1161 Apr 18th 2024 at 9:11 PM configlib_1.3.5.zip 1-click install

Quick fix

1.3.2 495 Apr 17th 2024 at 12:53 PM configlib_1.3.2.zip 1-click install

Added collapsible headers functionality, will be documented soon

1.3.1 1566 Apr 10th 2024 at 4:03 PM configlib_1.3.1.zip 1-click install

Some bug fixes

1.3.0 277 Apr 10th 2024 at 1:29 PM configlib_1.3.0.zip 1-click install

Added support for new format

1.2.3 303 Apr 10th 2024 at 9:16 AM configlib_1.2.3.zip 1-click install

json configs fix

1.2.2 1018 Apr 6th 2024 at 6:03 PM configlib_1.2.2.zip 1-click install

More features for modders to use, more for me to document

1.2.1 816 Apr 4th 2024 at 5:18 PM configlib_1.2.1.zip 1-click install

Fixed descriptions

1.2.0 2159 Apr 4th 2024 at 9:23 AM configlib_1.2.0.zip 1-click install

Comments now translatable

Added new features to patches (will be documented on wiki on github)

Added search bar for settings

1.1.3 1147 Mar 31st 2024 at 1:17 PM configlib_1.1.3.zip 1-click install

Fixed bug with boolean settings

1.1.2 477 Mar 30th 2024 at 4:54 PM configlib_1.1.2.zip 1-click install

Fixed config not saved when editing from gui

1.1.1 2197 Mar 17th 2024 at 3:18 PM configlib_1.1.1.zip 1-click install

Fixed nullref bug

1.1.0 472 Mar 17th 2024 at 10:51 AM configlib_1.1.0.zip 1-click install

Added functionality for client-side settings

Refactored some code, fixed some bugs with settings synchronization.

1.0.2 2530 Mar 2nd 2024 at 6:03 AM configlib_1.0.2.zip 1-click install

Fixed custom mods configs not showing up (currently affects only Status Hud)

1.0.1 319 Mar 2nd 2024 at 12:42 AM configlib_1.0.1.zip 1-click install

Updated to ImGui 1.1.0

1.0.0 580 Feb 28th 2024 at 10:07 AM configlib_1.0.0.zip 1-click install

Better integrated closing/opening configs window into imgui

1.0.0-pre.1 464 Feb 26th 2024 at 10:43 AM configlib_1.0.0-pre.1.zip 1-click install

Moved to new ImGui version (1.0.0), can be unstable.

0.5.4 593 Feb 23rd 2024 at 9:23 AM configlib_0.5.4.zip 1-click install

Removed ability to edit local content mod settings in multiplayer

Added logarithmic flag to settings (can make slider logarithmic)

0.5.3 250 Feb 23rd 2024 at 7:45 AM configlib_0.5.3.zip 1-click install

New server/client synchronization method

Confirmation on resetting config to default values

Ability to enter value directly for slider settings

Proper names for settings in gui (can be localized)

0.4.5 1019 Feb 14th 2024 at 2:34 AM configlib_0.4.5.zip 1-click install

Escape menu button and additional config formatting features

0.4.4 286 Feb 13th 2024 at 10:11 PM Empty configlib_0.4.4.zip 1-click install
0.4.3 1711 Feb 13th 2024 at 7:54 PM configlib_0.4.3.zip 1-click install

Required on both sides (for client only, use previous one)

0.4.2 4470 Feb 13th 2024 at 1:10 PM configlib_0.4.2.zip 1-click install

Added integer/float patches and settings categories

0.4.1 339 Feb 12th 2024 at 3:04 PM configlib_0.4.1.zip 1-click install

Changed configs format. Now one need to specify paths as in json patches.

0.3.6 512 Feb 5th 2024 at 7:38 AM configlib_0.3.6.zip 1-click install

Updated imgui dependency cause vanilla mod-manager is still being broken sometimes

0.3.5 588 Jan 30th 2024 at 7:55 PM configlib_0.3.5.zip 1-click install

Changed "requiredOnClient": true back to false, because there is a vanilla bug associated with it

0.3.4 267 Jan 30th 2024 at 7:23 PM configlib_0.3.4.zip 1-click install

Changed version of YamlDotNet.dll so there should be not compatibility issues with BillyGalbreath's mods

0.3.3 2799 Jan 14th 2024 at 3:24 AM configlib_0.3.3.zip 1-click install

Just update required game and imgui versions to help moddb load correct version of the mod

0.3.2 533 Jan 9th 2024 at 10:12 AM configlib_0.3.2.zip 1-click install

Made it not required to be on both server and client

0.3.1 287 Jan 6th 2024 at 7:21 PM configlib_0.3.1.zip 1-click install

Added access to control buttons (like Save) to custom mod's widgets in config window

0.3.0 290 Jan 6th 2024 at 6:01 PM configlib_0.3.0.zip 1-click install

Fixed bug with custom mods' widgets

0.2.5 724 Dec 30th 2023 at 12:15 PM configlib_0.2.5.zip 1-click install

Fixed bug with some decimal and boolean settings converted to string

0.2.4 309 Dec 24th 2023 at 3:57 PM configlib_0.2.4.zip 1-click install

Added support for custom mods widgets via RegisterCustomConfig method of ConfigLibModSystem

0.2.3 359 Dec 17th 2023 at 8:29 AM configlib_0.2.3.zip 1-click install

More null ref fixes

0.2.2 302 Dec 17th 2023 at 5:53 AM configlib_0.2.2.zip 1-click install

Fixed potential null ref exception

0.2.1 269 Dec 16th 2023 at 12:37 PM configlib_0.2.1.zip 1-click install

Some fixes

0.2.0 333 Dec 16th 2023 at 11:31 AM configlib_0.2.0.zip 1-click install

Reworked library

Added support for recipes and patches

GUI in-game settings editor (default key: P)


86 Comments (oldest first | newest first)

💬 Maltiez , 2 days ago

Mods cannot modify starting menu, they are only loaded when you entering the world

💬 Charlistic, 2 days ago

Would it be possible to get a button to enter the configs on the starting menu so i dont have to load a save to open the configs window? Or is there already a way i just havent realized?

💬 jayu, Sep 1st at 6:11 PM

SaintJavelin current version is already compatible with 1.21.0

💬 Hazardous42, Aug 28th at 9:30 PM

does anyone else get the issue where the button for mod config pops up but nothing happens when u click on it im new to modding but have tried every version compatible with my game version and i was hoping unistalling all mods and updating my game would be the solution alas its not 

 

💬 SaintJavelin, Aug 28th at 7:21 PM

Please Update for 1.21.0!🙂

💬 NylonCat, Aug 26th at 6:28 PM

Running this in conjunction with ImGUI 1.1.12 (for 1.21.0-rc.4) + BetterRuins 0.5.0 (for 1.21.0-rc.7) + Status HUD continued 3.3.0 on latest 1.21 stable release without any issues.
That's not to say there aren't any, but it generally seems to play nice with the stable version!

💬 jayu, Aug 26th at 1:58 PM (modified Aug 26th at 3:16 PM)

Cool info for code modders: If you use config lib with code and have to include the imgui dll it's available as a nuget package https://www.nuget.org/packages/VSImGui

💬 Pervy_Sage, Aug 22nd at 9:45 PM (modified Aug 22nd at 9:57 PM)

Can you please add a game pause when the config menu is open for single player? Configuring can use up a lot of time and it leaves you vulnerable. Thank you.

Edit: Hmm, deselecting the search window after the handbook is open and then opening the config menu is a good work around.

💬 bringitonwimps, Aug 20th at 12:18 AM

ok, First time really attempting to use configlib.  When I open it and hit mod settings I can onpy edit likie 1 or 2 things, the rest are "greyed" out.  I'm assuming its a permisssions thing, I am the admin, so anyone know what I am doing wrong or where the setting is?

💬 Asrael, Jul 29th at 1:26 PM

kirtini my guy you are a hero thank you ! Was wondering why there wasn't any mod config button.

Lostar as you're playing 1.20.12 just like me, you need to revert to config 1.5.3 and imgui 1.1.8, the released version for stable vs 1.20.7, it did work for me ! Because you installed 1.5.4 config lib and 1.1.9 imgui which are still for unstable pre 1.21.

💬 Mynxae, Jul 26th at 1:21 AM

Yeah I'm having a similar issue - I've tried just installing the most current version of both DT and ImGui, nothing. Installing the version before that on both of them and restarting the game (and removing the old versions), nothing. 

Ah well, hopefully it's fixed soon. 

💬 Lostar, Jul 23rd at 10:48 PM

kirtini Unfortunatly this solution did not work for me if I am understanding it correctly. I uninstalled both and reinstalled Config 1.5.4 and ImGui 1.1.9 and I am still not seeing the mod menu like I had in the past. I am playing in singleplayer on the 1.20.12 (stable). 

💬 Aimli_, Jul 16th at 1:44 AM

Title: Feature Request: API support for i18n keys

Hey, love the library!

Would it be possible for the API to accept lang file keys directly, instead of pre-resolved strings?

For example:

  • Current: config.AddButton(Lang.Get("mymod:my-setting"), ...)

  • Proposed: config.AddButton("mymod:my-setting", ...)

ConfigLib would then handle the Lang.Get() call. This would make it much easier for all mods using it to support multiple languages.

Thanks!

KodaPop

💬 kirtini, Jul 15th at 5:37 PM

If you are having issues with this mod and ImGui:
uninstall both and go into the "files" tab on both mod pages to download the previous version

make sure you restart your game.

the problem is that the mods have updated to support the unstable branch of the game, but that does not support the stable branch anymore.

once you go back to the previous version and restart the game, the issue will be fixed.

💬 KodaPop, Jul 15th at 3:42 PM

Aimli_ I don't know if you could have made a more obviously AI generated post or not. A wall of AI slop isn't needed when it can be explained in a few sentences.

💬 KodaPop, Jul 14th at 12:33 AM

Same problem as everyone else, have the ImGui installed. No mod button, and upon the second time I enter a save in SP, the game crashes.

💬 Hezrou, Jul 14th at 12:11 AM

Also joining in to add that the mod settings button has vanished.

💬 CozyDub, Jul 13th at 2:41 PM

Confirming the same issue stated by users below; mod settings button is missing.

💬 Goldmoon627, Jul 11th at 3:49 PM

idk if i got lucky or if this was the problem but i was having the same issue with the missing settings button everyone seems to be having. i managed to get it to appear by installing the previous version of both this mod (v. 1.5.3) and ImGui (v. 1.1.8). Note that i am running the 1.20.12 stable version and not the 1.21.0 preview versions so anyone running those and still having issues idk if this will work.

💬 Armar0s, Jul 11th at 3:06 PM

Unfortunately, it isn't working for me. There is no mod settings button. 

💬 Thadeus, Jul 10th at 2:29 AM

Same problem, no idea where the mod settings button is.

 

💬 Twisted_Vine, Jul 9th at 2:53 AM

I have this downloaded but the mod settings button is not there.

💬 _WillowWisp_, Jul 3rd at 7:48 PM

(posted this on the wrong mod woopsi) Im running the latest version of both mods for betterRuins but the button doesent do anything.. im on 1.20.12 am i doing something wrong?

💬 Just_Somebody, Jun 23rd at 12:55 AM

i am having dificulties i dont get erors but i dont get the butten to open thee config menu 

💬 Laboredwalker, Jun 20th at 5:46 AM

Whenever I try opening a world it just corrupts it for whatever reason. It happened to me once already and I managed to recover that world but I tried enabling it on another world again but it corrupted that one too. If I had to guess what the issue was it would be some conflict with some other mod. I'll try again after disabling my other mods and update once I try that.

Update: I loaded in with only one mod that I knew used the config, and it didn't corrupt my world this time but it gave me several error messages upon trying to load into the world as well as the configLib just not working whatsoever.

💬 dianaisnthere, Jun 13th at 9:08 PM

Gleipnyr configlib requires the imgui mod, which is linked in the description right above

💬 Kyrju, Jun 12th at 3:42 PM

Hello, very useful Mod, or rather essential, but will there be a version 1.20.12? Please reply. Regards, good job!

💬 Gleipnyr, Jun 11th at 7:24 PM

The mod doesn't  work me, saying i'm missing  " vsimgui@"

 

I have no clue what that even is, whelp

💬 Rythillian, Jun 2nd at 6:33 PM

Does this work with servers if you are the admin?

💬 SevenIndex, Jun 2nd at 8:20 AM

Hey I've been trying to get Configlib to link the settings between my yaml file and the GUI, but get an error every time I add the "file" line to "configlib-patches.json".

Here's the error from the server log:

Spoiler!

Also here's my configlib-patches file:

Spoiler!

I've been banging my head against this issue for quite a while, so please tell me if I'm missing something obvious here. 

💬 Tyrnn, Jun 2nd at 3:40 AM

How do I access the Mod Settings (config menu) as a Moderator/Op/Admin?
I only have access to client based changes. My account in game has already been made an OP but it won't let me change anything.

Maltiez

💬 Blackbob, Apr 30th at 5:04 PM

Version 1.5.3 is causing my game to crash on 1.20.9 :(

💬 Memphenheimer, Apr 30th at 4:12 AM

im hosting a mp server for me and my friends and it wont let me edit the config lib menu is there a way to fix this i open it but all options are greyed out.

💬 Maltiez , Mar 18th at 1:48 PM

Please contact me in discord to help debug this bug

💬 CaptainNiko, Mar 14th at 11:38 PM

I don't know if this is the correct place to ask, but I am desperate. When I try to edit Better Ruins, I change the numbers and sliders, hit save, restart the game, but when I start the game again, all the changes I had made have reset.

I only have this mod, ImGui, and Better Ruins installed, with the latest updates.

💬 DrKlinger, Mar 4th at 4:12 AM

Thank you so much for this library. You've turned what would've been 6+ hrs of me setting up C# environment into 15 minutes of using your documentation.

I can not stress enough how easy and useful this mod is in making config files for content mods.

💬 RivlWolf, Mar 3rd at 5:25 AM

hey not sure if im doing something wrong or what but i can edit things on singleplayer but not on server side (note i am an admin server side) not sure what to do if anyone has any idea what im doing wrong please let me know also for note its a gportal server also on a side note the homepage button to access your discord server doesnt work for people not already in the server just takes me to my browser app for discord with a blank page and nothing to join

💬 JunidO, Feb 18th at 4:32 PM

I have a server with my buddies, and i have OP, and im not able to change or play around with some of the setting, why is this? - Wich to know it, too. Have a Server for Vintage Story 1.20.3 and have trayed out all versions from v1.3.13 up to v1.5.1

💬 HonkHonk14, Feb 5th at 8:48 PM

I have a server with my buddies, and i have OP, and im not able to change or play around with some of the setting, why is this?

💬 KassyIsSassy, Feb 2nd at 1:37 PM

I really appreciate ths because I couldn't have edited the settings on my own.

💬 Pear120, Feb 1st at 8:25 AM

Hey, honest question Maltiez. And it's a bit of a rant because I've been working on getting my mods working today, and a significant amount of that time has revolved around the oddities of this framework.

What's the point of this? Config Lib and its GUI dependency are 2 extra mods to add to bloat up my modlist for.... an ability to edit configs in-game..? But configs don't take effect until you reload the save? So I have to wait to load a save, make a change, leave it, and wait while it loads again to confirm? Instead of, say.... editing a .json config file in my ModConfig folder?

Like, ok, sure, it's fine and dandy and neat for people who can't be bothered to find their ModConfig folder or learn they can open a .json file with Notepad. But the thing that gets me is that mods (Combat Overhaul specifically, but there might be more) have built their config dependencies around this mod, to the point where firstly, you can't even configure the mod, AT ALL, without Config Lib and ImGui, but also, if you load Config Lib, use it to config the mod (once again, only know of CO that did this, so correct me if I'm wrong) save the changes and then UNINSTALL Config Lib, the changes will REVERT??? The configured .yaml files are RIGHT THERE IN THE MODCONFIG FOLDER! With all the OTHER .json CONFIG FILES!!!! That I don't need TWO SEPARATE MODS FOR THEM TO TAKE EFFECT!!!

But even if there are settings that can be tweaked without reloading the save, why use an entirely different filetype? Why not simply encourage mod authors to keep using the .json format and have your Config Lib edit those?? The existing .json files even have support for variable descriptions and defaults, just like the .yaml files. It's like building brand new hoops you have to jump through, for no reason?

💬 Kasuxae_Xaesys, Jan 31st at 7:24 PM

Is it possible to add an option to run this mod without ImGui so that settings can only be modified via the file? Maltiez

The reasoning behind this is because I am hosting a server and I do not wany anyone with admin permisssions to be able to access the mod settings as well.

I also do not want an extra redundant button always visable on the client side.

💬 Yootah, Jan 17th at 9:48 AM

For me the configs always reset to their initial values after I edit them and reload my save. 

Anything I'm doing wrong on my end? Like should I execute /autosavenow before reloading?

💬 zackadiax24, Jan 8th at 2:16 AM

The settings menu dosnt appear properly when using fullscreen + always on top.

💬 Maltiez , Jan 1st at 8:04 AM

Check ImGui version in logs, should be the latest. Also report bugs via discord.

💬 HimiTosi, Jan 1st at 6:22 AM

Confirming "mod settings" does not load the GUI in 1.20 RC6 on servers. but DOES work in single player.

💬 Silas, Dec 25th 2024 at 2:51 PM

Currently in 1.20 RC 6 and the gui doesn't want to load up when I hit Mods Settings, was doing that for other RC versions as well

💬 SrTuco, Nov 18th 2024 at 10:29 PM
The 'Mods settings' button overlaps the 'settings' button when used with the game in Brazilian Portuguese and is difficult to click, with the game in 'English' it is perfect,
 could you please fix it for PTBR? please (I used google translate to write this, sorry for anything)
💬 Maltiez , Nov 11th 2024 at 8:33 AM

1.19.4 is compatible for 1.19.4 - 1.19.8 versions

💬 LaleneMan, Nov 11th 2024 at 7:56 AM

Also adding my one cent, but I too am looking to see if this works with the current stable ersion, 1.19.8 since the latest non-1.2 seems to be 1.19.4 for this mod.

💬 Ryukori, Nov 10th 2024 at 6:27 AM

I'm on version 1.19.8 but I'm seeing that this one could not be loaded.

"Unable to load mod. Requires dependency game v1.20.0-pre.5"

How do I resolve this?

💬 QiForce, Nov 6th 2024 at 5:46 PM

which version is compatible with 1.19.8? (current stable)

💬 Calamity, Nov 5th 2024 at 4:45 PM

does this work for servers?

💬 Maltiez , Oct 9th 2024 at 7:26 PM

Sollyz

Make sure you have the correct version of the mod for your version of the game

💬 Maltiez , Oct 9th 2024 at 7:25 PM
💬 Loofy_Goofy, Oct 9th 2024 at 7:24 PM

It says I need a mod called "Dependency game" ??? I can't find it anywhere 

💬 Maltiez , Oct 5th 2024 at 10:19 AM

Seems to work on 1.20

💬 R0D96, Oct 3rd 2024 at 11:11 PM

Im clicking the mod settings button, but nothing seems to be happening

💬 Maltiez , Jul 12th 2024 at 5:28 PM

Report it vi discord

💬 Aimli, Jul 12th 2024 at 2:51 PM

In this mod, Chinese is displayed as "?" now.

💬 Maltiez , Mar 21st 2024 at 5:38 AM

Pheargrimm

Please ping me in official VS discord and send screenshot and logs, and also your VS graphics settings, number of monitors and main monitor resolution.

💬 Pheargrimm, Mar 21st 2024 at 5:07 AM

Maltiez

I have the same problem as Shade_Guye.  When I open the config screen I cannot interact with it directly when the cursor is placed directly over the visual elements of the config menu.  However if I move the cursor to the left of the Menu's visual elements on screen, I can interact with the config menu.  It appears the visual elements of the Config menu are offset to the right of where the cursor can interact with them. Looks like approximate about one full width of the menu.

The menu is still fully functional, just a little fiddly to use. Of course it could be completely my fault I may be missing something, not a coder just a lover of mods.

If you need further evidence I can provide a video and logs to discord.

I have tested it in isolation with no other mods installed on a fresh world.
I have replicated the fault with both BetterRuins and StatusUIContinued separately.
I have tested it the following configurations
- Config 1.1.1 vsimgui 1.1.0 - Fault initially found
- Config 1.1.1 vsimgui 1.1.0 - No Other Mod Installed - Fault replicated
- Config 1.1.1 vsimgui 1.1.1 - Opening config menu cause crash to desktop
- Config 1.1.1 vsimgui 1.1.2 - Fault replicated

*Edit OS is Windows 10.

💬 Maltiez , Mar 15th 2024 at 1:58 PM

Shade_Guye

Please ping me in official VS discord and send screenshot and logs

💬 Shade_Guye, Mar 15th 2024 at 12:13 PM

It increases the more right on the screen I go. I did reinstall ImGui, as at first I forgot it and let the game install it, there were 2 vers one of which was unusable, so I removed them and got it manually, didn't fix it. That was right when I got the mod.

💬 Maltiez , Mar 15th 2024 at 6:28 AM

Shade_Guye

Make sure you have latest ImGui version. Also, what OS you are on? How much it is misaligned?

💬 Shade_Guye, Mar 14th 2024 at 6:22 PM

Hi I have a bug with the window itself, the cursor is misaligned down-right by some amount. I tried it in windowed but it still happened. Any mods that are known to be conflicting? I don't have many, and only have status hud as a mod that is relevant to ui.

💬 MagicWand92FS, Feb 23rd 2024 at 3:27 PM

fair enough thanks

 

💬 Maltiez , Feb 23rd 2024 at 3:16 PM

MagicWand92FS

My bad, it is for 1.19.4-rc.1, I just selected wrong version here on moddb

💬 MagicWand92FS, Feb 23rd 2024 at 3:15 PM

Maltiez 

config v0.5.1 is requesting game version 1.19.4-rc.1

💬 Maltiez , Feb 13th 2024 at 9:45 AM

EquivalentBad

This is caused by some other mod. "BlockAnimalNest" is not a vanilla class and has nothing to do with this mod.

Upd.: it is Feverstone Wilds, remove it, because it is not updated to 1.19. And please next time make sure that you found the actual mod that causes problems.

💬 Maltiez , Jan 30th 2024 at 7:02 AM

Maamessu

Need the list of installed mods. Better to send it via discord in official VS server though.

💬 Maamessu, Jan 30th 2024 at 1:52 AM

I'm having the same issue as below:

[Error] [configlib] An exception was thrown when trying to load assembly:
30.1.2024 01:48:05 [Error] [configlib] Exception: Assembly with same name is already loaded
at System.Runtime.Loader.AssemblyLoadContext.<LoadFromPath>g____PInvoke|5_0(IntPtr ptrNativeAssemblyBinder, UInt16* ilPath, UInt16* niPath, ObjectHandleOnStack retAssembly)
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Vintagestory.Common.ModAssemblyLoader.LoadFrom(String path) in VintagestoryLib\Common\API\ModAssemblyLoader.cs:line 34
at Vintagestory.Common.ModContainer.<>c__DisplayClass35_0.<LoadAssembly>b__0(String path) in VintagestoryLib\Common\API\ModContainer.cs:line 449
at System.Linq.Enumerable.SelectListIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
at Vintagestory.Common.ModContainer.LoadAssembly(ModCompilationContext compilationContext, ModAssemblyLoader loader) in VintagestoryLib\Common\API\ModContainer.cs:line 448

I can confirm I don't have more than one copy/version of config lib installed.

💬 Maltiez , Jan 15th 2024 at 6:44 AM

Cpt_C0nfus3d

You have two versions of the mod installed, leave only one

💬 Cpt_C0nfus3d, Jan 15th 2024 at 5:41 AM

This is from 1.19.0-RC8

 

14.1.2024 21:57:00 [Error] [configlib] An exception was thrown when trying to load assembly:
14.1.2024 21:57:00 [Error] [configlib] Exception: Assembly with same name is already loaded
at System.Runtime.Loader.AssemblyLoadContext.<LoadFromPath>g____PInvoke|5_0(IntPtr ptrNativeAssemblyBinder, UInt16* ilPath, UInt16* niPath, ObjectHandleOnStack retAssembly)
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Vintagestory.Common.ModAssemblyLoader.LoadFrom(String path) in VintagestoryLib\Common\API\ModAssemblyLoader.cs:line 34
at Vintagestory.Common.ModContainer.<>c__DisplayClass35_0.<LoadAssembly>b__0(String path) in VintagestoryLib\Common\API\ModContainer.cs:line 449
at System.Linq.Enumerable.SelectListIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
at Vintagestory.Common.ModContainer.LoadAssembly(ModCompilationContext compilationContext, ModAssemblyLoader loader) in VintagestoryLib\Common\API\ModContainer.cs:line 448

💬 B0bb0, Jan 9th 2024 at 11:53 PM

Maltiez,  Thanks!  I let the client pick the dependencies.  Downloading the latest IMGui solved the issue.

💬 Maltiez , Jan 9th 2024 at 7:17 AM

Install latest version of ImGui

💬 B0bb0, Jan 9th 2024 at 12:24 AM

Hello, just installed 'status hud continued' and the associated 'config lib' and 'vsimgui' mods in 1.19-rc6. When pressing 'p' to open the config, a window appears with the text "Config lib: cursor unlock" in the header. The client log shows what looks like a hardcoded path. Can you point me in the right direction?   Status Hud Continued?  Many thanks!

8.1.2024 18:27:07 [Error] [configlib] An exception was thrown when trying to start the mod:
8.1.2024 18:27:07 [Error] [configlib] Exception: Could not load type 'VSImGui.Style' from assembly 'VSImGui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. at ConfigLib.ConfigWindow..ctor(ICoreClientAPI api) at ConfigLib.GuiManager..ctor(ICoreClientAPI api) in D:\Projects\Firearms\configlib\configlib\src\GUI\GuiManager.cs:line 27 at ConfigLib.ConfigLibModSystem.AssetsFinalize(ICoreAPI api) in D:\Projects\Firearms\configlib\configlib\src\ContentSettingsModSystem.cs:line 47 at Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase) in VintagestoryLib\Common\API\ModLoader.cs:line 654
8.1.2024 18:27:07 [Error] Failed to run mod phase AssetsFinalize for mod ConfigLib.ConfigLibModSystem

💬 BraniyaKz, Dec 17th 2023 at 6:10 AM

@Maltiez - Thank you and thank you again! This time the discord works. Wonderful work, I'll test it out. From now on, I'll try to stick to discord for further happenings.

💬 Maltiez , Dec 17th 2023 at 5:46 AM

BraniyaKz

It is not my discord server, it is official Vintage Story discord server, here is invite-link: discord.com/invite/CkJjdrB

Made a patch for this problem. No idea what caused it, but should not be a problem now

💬 BraniyaKz, Dec 17th 2023 at 5:01 AM

Maltiez - I'm having more issues, and I can't access your Discord server via the issue tracker button on the top of this page... The page just stays greyed out and I can't click on any channels or anything. It says I don't have permission to post messages in the channel. I have logs to show you about the patch file with boolean options that disable another mods' items, which throws a null reference exception. [The Log] [The Patch File] [The settings-config.json]

💬 BraniyaKz, Dec 16th 2023 at 2:21 PM

Maltiez - I apoligize, I've been having trouble accessing discord at all. But you're right about it being a better place for discussion, so I'll try to fix my situation and do more testing for ya. And btw, I think you're making GREAT progress with this, and it's definately a very much needed resource. Thanks again.

💬 Maltiez , Dec 16th 2023 at 11:33 AM

BraniyaKz

Reworked library, should fix most of the problems. But still it is better to report issues in discord, cause you can link files and stuff and I can see it earlier and reply immideatly sometimes

💬 Maltiez , Dec 15th 2023 at 10:53 AM

BraniyaKz

Moddb is a bad place for reporting and solving issues. There is official VS discord server and a dedicated post for this mod, all links are above.

💬 BraniyaKz, Dec 15th 2023 at 10:29 AM

OH BOY, does the log throw errors when making configs for optionally disabling itemtypes and recipes. Seems to not entirely work in some cases. Here's what happened:

15.12.2023 05:23:45 [Error] Patch 4 (target: acorns:recipes/grid/mallet-head.json) in qolmaster:patches/acorns-qol.json failed, following Exception was thrown: Set JArray values with invalid key value: "enabled". Int32 array index expected. -> That value, false, worked before without errors.

💬 Maltiez , Dec 15th 2023 at 9:29 AM

BraniyaKz

Thanks for reply. I'm currently working on gui for it for edditing user config for a mod, and mod config for a developer of the mod, you can check out mod-development in official VS discord for details.

💬 BraniyaKz, Dec 15th 2023 at 9:05 AM

Just what I was looking for! I plan on using this functionality for boolean variables in my content mod QoL Master. Thank you so much! I have a special case already tho: I want to use a value that reads "hammer", with the "", as a value for replacement. I did, and it crashed. I only used the default "hammer", name, and comment in the config file.

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом