Code Monkey home page Code Monkey logo

bepinexconfigmanager's People

Contributors

sinai-dev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bepinexconfigmanager's Issues

[Question] KeyboardShortcut too instead only KeyCode

Is possible make KeyboardShortcut compatible to listen keys pressed, like as KeyCode?

I use more than one key on my shortcut, so all my HotKeys are been edited as text.
It would be perfect if it works!

I am using the Mono version and lastest BepInEx v5.4.21

Thank you!!!!

Null Ref on Startup

One of our devs and myself encountered this issue when testing this.

[Message:BepInExConfigManager] Loaded legacy.5.6 bundle for Unity 5.6.4p2
[Message:BepInExConfigManager] UniverseLib 1.3.2 initialized.
NullReferenceException: Object reference not set to an instance of an object
  at ConfigManager.UI.UIManager.SetupCategory (BepInEx.Configuration.ConfigFile configFile, System.Object plugin, BepInEx.BepInPlugin meta, Boolean forceAdvanced) [0x00000] in <filename unknown>:0 
  at ConfigManager.UI.UIManager+<DelayedProcess>d__11.MoveNext () [0x00000] in <filename unknown>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0

Doesn't seem to break anything, but guessing you might wanna know about it.

Window size cannot be changed when the game window is small

2022-06-11_01-13-26_LastOrigin_N.mp4

The game I'm playing is a PC port of a mobile game, so I can play it in a small window.
But, when the game is small, the window of this plugin becomes cannot change size.

Also, the first time I call the screen of this plugin after starting the game, it always sticks out of the window. It is more convenient if it does not stick out.

2022-06-11_01-16-40_LastOrigin_N

Thanks to this plugin, I don't have to create a setting screen for my mod. appreciate!

Needs to query BepInEx at runtime for unhollower directory

The correct path might not always be BepInEx\unhollower, but you should be able to get the path from BepInEx.IL2CPP.Preloader.IL2CPPUnhollowedPath.

To reproduce set this in BepInEx.cfg:

UnhollowedAssembliesPath={BepInEx}\{ProcessName}

Mouse Cursor Constantly On Screen - Sons of the forest

After the latest update to sons of the forest, while using BepinEx Config Manager, a secondary mouse cursor is persistently on the screen with no way of disabling it.

nothing in the BepinEx Config Manager menu to disable this either and is causing issues while playing.

Can't re-open after when using close button

When using the close button to close the GUI, the hotkey fails to reopen the GUI.

Guessing they both toggle a different gameObject.

Wasn't an issue with the previous version btw.

Broken float handling

When opening the manager, the period is removed from all float settings, so e.g. 0.7 just becomes 7. Saving then ofc gives wildly incorrect values. I also can't type a period into any float fields.

This likely has something to do with my system language being German which uses a , instead of a . for decimals. I've had the same problem in the past with another config manager. Certain standard C# float formatting functions take this into account. Presumably, some different function then removes everything that's not a number or period which means the result then doesn't have either. And I guess the same mechanism also removes them when trying I try to type either of them.

It does insert and display a period . when resetting the value to the default though.

Window not showing up in Stacklands game

In Stacklands, the configuration window doesn't show up no matter what I try.

I tried changing the hotkey and startup delay and disabling the event override.

Weirdly, the UnityExplorer works just fine with default settings and the hotkey does bring it up. It's also not a conflict between them since it doesn't work if I remove UnityExplorer either.

Even weirder, BepInEx.ConfigurationManager also doesn't show up in exactly the same way.

Logs don't say anything interesting, it definitely loads the plugin and UniversalLib does get initialized.

Float inputs don't allow typing a period after the number

When a float input has a current value like 7, it's impossible to type a . after it to eventually type something like 7.5.

The reason is that it parses the intermediate 7. as 7 and then immediately overrides the input value with that.

Once you know what the issue is, you can somewhat work around it by first typing 75 and then inserting the period but it's pretty confusing at first.

I guess one possible solution could be to not override the input if it's functionally identical, i.e. before setting the input value when the setting changed, parse the current input and check whether it's already the same value and if so, don't override it. This would also avoid the somewhat odd behavior of it automatically changing .7 to 0.7 and would also avoid it changing 7.0 to 7 if you want to type 7.05.

dependency error

I recently updated to the latest version and got this error on start up
[Error : BepInEx] Error loading [BepInExConfigManager 1.2.3]: Could not load file or assembly 'Gee.External.Capstone, Version=2.0.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.

it was working fine before updating.

Use event on ConfigFile rather than per ConfigEntry<T>

ConfigFile has an event called SettingChanged
The argument for this event is the ConfigEntryBase that was changed

Using this event rather than the event on ConfigEntry<T> will:

  • Allow for other classes deriving from ConfigEntryBase
  • Remove the reflection that is currently used to subscribe to ConfigEntry<T>

The current system causes an exception with non-ConfigEntry<T> types and ignores them

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.