Not sure if this is a bepinex issue, or not but you may want to add this to your FAQ or troubleshooting section of this mod because it doesn't work as intended on steam
The mod did not work whatsoever until I tried what someone else mentioned here, editing bepinex.cfg and change one line
[Preloader.Entrypoint] Type = MonoBehaviour
After I changed it from "application" to "monobehavior", your plugin works perfectly now
after i made the change, the plugin config file was also automatically generated upon launching the game
hope this helps anyone else wanting to use this mod also
Yeah, it seems like some wierd issue with BepInEx. I think it depends on which unity version is game based on, and how you install the BepInEx. For me it works with just these settings which are the default settings:[Preloader.Entrypoint] Assembly = UnityEngine.CoreModule.dll Type = Application Method = .cctor Only thing that i had to change was this: [Chainloader] HideManagerGameObject = true
But i will make a pinned post for troubleshooting methods in case it does not work out of the box.
These are my files located, I've run the game, and it's already created some files for me.
But somehow, I just can launch the config manager using the F5 key inside the game. Since, in the game, F5 will function as the quick action, I changed it to F11. But still nothing, not showing any config manager UI.
I tried to change the value of AwesomeHeadlamp.cfg. For example, I changed ## Set light intensity. # Setting type: Single # Default value: 50 Intensity = 350
To test if the thing works, but it doesn't change anything, I can't also toggle " H ".
I'm not sure if BepInEx works with the Game Pass version, but I know sometimes Game Pass version games have files locked in read only mode. Maybe that's why BepInEx can't patch the original files and therfore it won't load the plugins. However you can try to change a few values in "BepInEx.cfg" configuration and see will it work. In "BepInEx.cfg" try to change these values:
[Logging.Console] ## Enables showing a console for log output. # Setting type: Boolean # Default value: false Enabled = true
[Chainloader] ## If enabled, hides BepInEx Manager GameObject from Unity. ## This can fix loading issues in some games that attempt to prevent BepInEx from being loaded. ## Use this only if you know what this option means, as it can affect functionality of some older plugins. ## # Setting type: Boolean # Default value: false HideManagerGameObject = true
After enabling Logging.Console, you can see if there's any errors in the output window and go from there.
Ive done that and still no config folder. maybe i installed it wrong ill try again
Ive uninstalled and re-installed and still dont have a cfg folder. Maybe one of the other two mods i put is conflicting with it.. i dont know. maybe ill remove them and see if it shows up
As far as i am aware, there's no other mod that modifies the headlamp, so there shouldn't be a conflict. However be sure to install BepInEx correctly. Here's the installation guide for BepInEx: Installing BepInEx. Once you install BepInEx to your game folder, run the game once so it can create the reqiured configuration for BepInEx. After that, download my mod and extract the "AwesomeHeadlamp.dll" file from the .zip archive to your GameFolder/BepInEx/plugins folder. After that, run the game once more, and if you don't have the "config" folder in GameFolder/BepInEx, it will be created and inside will be file called: "AwesomeHeadlamp.cfg" file, which is configuration file for my mod. You can adjust the values there and save the .cfg file, or you can download another mod called: "BepInExConfigManager" and with it you can set the values for all mod configuration files in game. Here's the Config Manager install instructions and how to use it: ConfigManager HowTo.
I've done all of that i just don't get the cfg file. the other mod i downloaded came with the file cfg file so i just put it in but after running the game with your mod there still isn't a cfg file. I'm stumped. Thanks for the help i guess im out of luck with this mod(the one my old eyes really needs too lol)
I am not really sure why it does not works for you. But I've uploaded the configuration file under optional downloads, so you can download it and try it that way.
https://github.com/BepInEx/BepInEx.ConfigurationManager/releases latest version 18.0.1 https://github.com/BepInEx/BepInEx.ConfigurationManager/releases/download/v18.0.1/BepInEx.ConfigurationManager_v18.0.1.zip Has way more updates and changes as well many fixes released 3 weeks ago
The version your using is 1.3.0 found on the forked git https://github.com/sinai-dev/BepInExConfigManager/releases/download/1.3.0/BepInExConfigManager.Mono.zip which was released Jun 23, 2022
I am aware of up to date ConfigurationManager, I just like using ConfigManager from sinai-dev. The config manager it's not a hard requirement for the mod anyway, it's merely a suggestion. Users can use which ever config manager they want since it's not a mod dependency.
25 comments
[Chainloader]
HideManagerGameObject = true
[Preloader.Entrypoint]
Assembly = UnityEngine.CoreModule.dll
Type = MonoBehavior
Method = .cctor
(edit) none of the mods work for me i don't know what i'm doing wrong.
The mod did not work whatsoever until I tried what someone else mentioned here, editing bepinex.cfg and change one line
[Preloader.Entrypoint]
Type = MonoBehaviour
After I changed it from "application" to "monobehavior", your plugin works perfectly now
after i made the change, the plugin config file was also automatically generated upon launching the game
hope this helps anyone else wanting to use this mod also
[Preloader.Entrypoint]
Only thing that i had to change was this:Assembly = UnityEngine.CoreModule.dll
Type = Application
Method = .cctor
[Chainloader]
HideManagerGameObject = true
But i will make a pinned post for troubleshooting methods in case it does not work out of the box.
I've followed the steps for installing the Bepinex:
C:\XboxGames\Techtonica\Content\BepInEx
C:\XboxGames\Techtonica\Content\BepInEx\config
C:\XboxGames\Techtonica\Content\BepInEx\Plugins
These are my files located, I've run the game, and it's already created some files for me.
But somehow, I just can launch the config manager using the F5 key inside the game.
Since, in the game, F5 will function as the quick action, I changed it to F11. But still nothing, not showing any config manager UI.
I tried to change the value of AwesomeHeadlamp.cfg. For example, I changed
## Set light intensity.
# Setting type: Single
# Default value: 50
Intensity = 350
To test if the thing works, but it doesn't change anything, I can't also toggle " H ".
Do you happen to know about this?
[Logging.Console]
## Enables showing a console for log output.
# Setting type: Boolean
# Default value: false
Enabled = true
[Chainloader]
## If enabled, hides BepInEx Manager GameObject from Unity.
## This can fix loading issues in some games that attempt to prevent BepInEx from being loaded.
## Use this only if you know what this option means, as it can affect functionality of some older plugins.
##
# Setting type: Boolean
# Default value: false
HideManagerGameObject = true
After enabling Logging.Console, you can see if there's any errors in the output window and go from there.
With this fix, it's working like a charm!
Thank you!
%gamepath%\BepInEx\config\BepInEx.cfg
.
.
.
[Preloader.Entrypoint]
Assembly = UnityEngine.CoreModule.dll
Type = MonoBehaviour
Method = .cctor
environment:
Game: v0.1.0f
BepInEx: v5.4.21 (x64)
proof:
BepInEx Troubleshooting: https://docs.bepinex.dev/articles/user_guide/troubleshooting.html
section: Unity 2017 and newer
@BlackStorm112: Thanks for the cool mod!
Ive uninstalled and re-installed and still dont have a cfg folder. Maybe one of the other two mods i put is conflicting with it.. i dont know. maybe ill remove them and see if it shows up
latest version 18.0.1
https://github.com/BepInEx/BepInEx.ConfigurationManager/releases/download/v18.0.1/BepInEx.ConfigurationManager_v18.0.1.zip
Has way more updates and changes as well many fixes released 3 weeks ago
The version your using is 1.3.0 found on the forked git https://github.com/sinai-dev/BepInExConfigManager/releases/download/1.3.0/BepInExConfigManager.Mono.zip which was released Jun 23, 2022