Mods / Config lib

Tags: #Library
Author: Maltiez
Side: Both
Created: Dec 13th 2023 at 2:11 PM
Last modified: Jun 16th at 4:22 PM
Downloads: 184952
Follow Unfollow 1575

Latest release (for Vintage Story 1.21.0-pre.1):
configlib_1.5.4.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).

Mod Version For Game version Downloads Release date Changelog Download 1-click mod install*
1.5.4 2629 Jun 16th at 4:22 PM configlib_1.5.4.zip 1-click install

Recompiled for 1.21

1.5.3 22391 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 25669 Mar 13th at 11:06 PM configlib_1.5.2.zip 1-click install

Fixed bug with link buttons

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

Made text about reloading world more visible

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

Some tweaks to links

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

Added links functionality

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

Some fixes

1.4.0 228 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 8500 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 1847 Oct 9th 2024 at 8:45 AM configlib_1.3.16.zip 1-click install

Fixed bug with constants

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

Fixed some weird bug

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

Some features for modders

1.3.12 1022 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 1624 May 15th 2024 at 10:24 AM configlib_1.3.11.zip 1-click install

A feature for custom config

1.3.10 1475 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 4295 Apr 27th 2024 at 3:26 AM configlib_1.3.9.zip 1-click install

Some requested features for mods

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

Fix for boolean settings

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

Added some functionality for mods

1.3.6 1028 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 1117 Apr 18th 2024 at 9:11 PM configlib_1.3.5.zip 1-click install

Quick fix

1.3.2 433 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 1492 Apr 10th 2024 at 4:03 PM configlib_1.3.1.zip 1-click install

Some bug fixes

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

Added support for new format

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

json configs fix

1.2.2 971 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 750 Apr 4th 2024 at 5:18 PM configlib_1.2.1.zip 1-click install

Fixed descriptions

1.2.0 2087 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 1088 Mar 31st 2024 at 1:17 PM configlib_1.1.3.zip 1-click install

Fixed bug with boolean settings

1.1.2 413 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 2127 Mar 17th 2024 at 3:18 PM configlib_1.1.1.zip 1-click install

Fixed nullref bug

1.1.0 404 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 2452 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 270 Mar 2nd 2024 at 12:42 AM configlib_1.0.1.zip 1-click install

Updated to ImGui 1.1.0

1.0.0 520 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 419 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 557 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 208 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 959 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 234 Feb 13th 2024 at 10:11 PM Empty configlib_0.4.4.zip 1-click install
0.4.3 1662 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 4402 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 279 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 460 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 516 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 218 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 2739 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 479 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 234 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 225 Jan 6th 2024 at 6:01 PM configlib_0.3.0.zip 1-click install

Fixed bug with custom mods' widgets

0.2.5 673 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 268 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 296 Dec 17th 2023 at 8:29 AM configlib_0.2.3.zip 1-click install

More null ref fixes

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

Fixed potential null ref exception

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

Some fixes

0.2.0 257 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)


68 Comments (oldest first | newest first)

💬 Goldmoon627, 14 hours ago

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, 14 hours ago

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

💬 Thadeus, 2 days ago

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

 

💬 Twisted_Vine, 3 days ago

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. 

💬 Mattais, 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
💬 Sundyz, 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)