bepinex init

This commit is contained in:
GetParanoid 2025-07-16 21:11:10 -05:00
parent b3efde978a
commit 8d5b74ca7e
10 changed files with 427 additions and 0 deletions

151
BepInEx/config/BepInEx.cfg Normal file
View file

@ -0,0 +1,151 @@
[Caching]
## Enable/disable assembly metadata cache
## Enabling this will speed up discovery of plugins and patchers by caching the metadata of all types BepInEx discovers.
# Setting type: Boolean
# Default value: true
EnableAssemblyCache = 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 = false
[Harmony.Logger]
## Specifies which Harmony log channels to listen to.
## NOTE: IL channel dumps the whole patch methods, use only when needed!
# Setting type: LogChannel
# Default value: Warn, Error
# Acceptable values: None, Info, IL, Warn, Error, Debug, All
# Multiple values can be set at the same time by separating them with , (e.g. Debug, Warning)
LogChannels = Warn, Error
[Logging]
## Enables showing unity log messages in the BepInEx logging system.
# Setting type: Boolean
# Default value: true
UnityLogListening = true
## If enabled, writes Standard Output messages to Unity log
## NOTE: By default, Unity does so automatically. Only use this option if no console messages are visible in Unity log
##
# Setting type: Boolean
# Default value: false
LogConsoleToUnityLog = false
[Logging.Console]
## Enables showing a console for log output.
# Setting type: Boolean
# Default value: false
Enabled = false
## If enabled, will prevent closing the console (either by deleting the close button or in other platform-specific way).
# Setting type: Boolean
# Default value: false
PreventClose = false
## If true, console is set to the Shift-JIS encoding, otherwise UTF-8 encoding.
# Setting type: Boolean
# Default value: false
ShiftJisEncoding = false
## Hints console manager on what handle to assign as StandardOut. Possible values:
## Auto - lets BepInEx decide how to redirect console output
## ConsoleOut - prefer redirecting to console output; if possible, closes original standard output
## StandardOut - prefer redirecting to standard output; if possible, closes console out
##
# Setting type: ConsoleOutRedirectType
# Default value: Auto
# Acceptable values: Auto, ConsoleOut, StandardOut
StandardOutType = Auto
## Which log levels to show in the console output.
# Setting type: LogLevel
# Default value: Fatal, Error, Warning, Message, Info
# Acceptable values: None, Fatal, Error, Warning, Message, Info, Debug, All
# Multiple values can be set at the same time by separating them with , (e.g. Debug, Warning)
LogLevels = Fatal, Error, Warning, Message, Info
[Logging.Disk]
## Include unity log messages in log file output.
# Setting type: Boolean
# Default value: false
WriteUnityLog = false
## Appends to the log file instead of overwriting, on game startup.
# Setting type: Boolean
# Default value: false
AppendLog = false
## Enables writing log messages to disk.
# Setting type: Boolean
# Default value: true
Enabled = true
## Which log leves are saved to the disk log output.
# Setting type: LogLevel
# Default value: Fatal, Error, Warning, Message, Info
# Acceptable values: None, Fatal, Error, Warning, Message, Info, Debug, All
# Multiple values can be set at the same time by separating them with , (e.g. Debug, Warning)
LogLevels = Fatal, Error, Warning, Message, Info
[Preloader]
## Enables or disables runtime patches.
## This should always be true, unless you cannot start the game due to a Harmony related issue (such as running .NET Standard runtime) or you know what you're doing.
# Setting type: Boolean
# Default value: true
ApplyRuntimePatches = true
## Specifies which MonoMod backend to use for Harmony patches. Auto uses the best available backend.
## This setting should only be used for development purposes (e.g. debugging in dnSpy). Other code might override this setting.
# Setting type: MonoModBackend
# Default value: auto
# Acceptable values: auto, dynamicmethod, methodbuilder, cecil
HarmonyBackend = auto
## If enabled, BepInEx will save patched assemblies into BepInEx/DumpedAssemblies.
## This can be used by developers to inspect and debug preloader patchers.
# Setting type: Boolean
# Default value: false
DumpAssemblies = false
## If enabled, BepInEx will load patched assemblies from BepInEx/DumpedAssemblies instead of memory.
## This can be used to be able to load patched assemblies into debuggers like dnSpy.
## If set to true, will override DumpAssemblies.
# Setting type: Boolean
# Default value: false
LoadDumpedAssemblies = false
## If enabled, BepInEx will call Debugger.Break() once before loading patched assemblies.
## This can be used with debuggers like dnSpy to install breakpoints into patched assemblies before they are loaded.
# Setting type: Boolean
# Default value: false
BreakBeforeLoadAssemblies = false
[Preloader.Entrypoint]
## The local filename of the assembly to target.
# Setting type: String
# Default value: UnityEngine.CoreModule.dll
Assembly = UnityEngine.CoreModule.dll
## The name of the type in the entrypoint assembly to search for the entrypoint method.
# Setting type: String
# Default value: Application
Type = Application
## The name of the method in the specified entrypoint assembly and type to hook and load Chainloader from.
# Setting type: String
# Default value: .cctor
Method = .cctor

View file

@ -0,0 +1,39 @@
## Settings file was created by plugin Configuration Manager v18.0.1
## Plugin GUID: com.bepis.bepinex.configurationmanager
[]
Show config manager = F12
[Filtering]
# Setting type: Boolean
# Default value: false
Show advanced = false
# Setting type: Boolean
# Default value: true
Show keybinds = true
# Setting type: Boolean
# Default value: true
Show settings = true
[General]
## The shortcut used to toggle the config manager window on and off.
## The key can be overridden by a game-specific plugin if necessary, in that case this setting is ignored.
# Setting type: KeyboardShortcut
# Default value: F1
Show config manager = F12
## Show section title for plugins with only one section
# Setting type: Boolean
# Default value: false
Hide single sections = false
## If set to true plugins will be collapsed when opening the configuration manager window
# Setting type: Boolean
# Default value: true
Plugin collapsed default = true

BIN
BepInEx/plugins/spt/ConfigurationManager.dll (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,216 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>ConfigurationManager</name>
</assembly>
<members>
<member name="M:ConfigurationManager.SettingSearcher.GetBepInExCoreConfig">
<summary>
Get entries for all core BepInEx settings
</summary>
</member>
<member name="M:ConfigurationManager.SettingSearcher.GetPluginConfig(BepInEx.BaseUnityPlugin)">
<summary>
Get entries for all settings of a plugin
</summary>
</member>
<member name="M:ConfigurationManager.Utilities.Utils.FindPlugins">
<summary>
Search for all instances of BaseUnityPlugin loaded by chainloader or other means.
</summary>
</member>
<member name="T:ConfigurationManager.ConfigurationManager">
<summary>
An easy way to let user configure how a plugin behaves without the need to make your own GUI. The user can change any of the settings you expose, even keyboard shortcuts.
https://github.com/ManlyMarco/BepInEx.ConfigurationManager
</summary>
</member>
<member name="F:ConfigurationManager.ConfigurationManager.GUID">
<summary>
GUID of this plugin
</summary>
</member>
<member name="F:ConfigurationManager.ConfigurationManager.Version">
<summary>
Version constant
</summary>
</member>
<member name="E:ConfigurationManager.ConfigurationManager.DisplayingWindowChanged">
<summary>
Event fired every time the manager window is shown or hidden.
</summary>
</member>
<member name="F:ConfigurationManager.ConfigurationManager.OverrideHotkey">
<summary>
Disable the hotkey check used by config manager. If enabled you have to set <see cref="P:ConfigurationManager.ConfigurationManager.DisplayingWindow"/> to show the manager.
</summary>
</member>
<member name="M:ConfigurationManager.ConfigurationManager.#ctor">
<inheritdoc />
</member>
<member name="P:ConfigurationManager.ConfigurationManager.DisplayingWindow">
<summary>
Is the config manager main window displayed on screen
</summary>
</member>
<member name="M:ConfigurationManager.ConfigurationManager.RegisterCustomSettingDrawer(System.Type,System.Action{ConfigurationManager.SettingEntryBase})">
<summary>
Register a custom setting drawer for a given type. The action is ran in OnGui in a single setting slot.
Do not use any Begin / End layout methods, and avoid raising height from standard.
</summary>
</member>
<member name="M:ConfigurationManager.ConfigurationManager.BuildSettingList">
<summary>
Rebuild the setting list. Use to update the config manager window if config settings were removed or added while it was open.
</summary>
</member>
<member name="P:ConfigurationManager.ConfigurationManager.SearchString">
<summary>
String currently entered into the search box
</summary>
</member>
<member name="T:ConfigurationManager.SettingEntryBase">
<summary>
Class representing all data about a setting collected by ConfigurationManager.
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.AcceptableValues">
<summary>
List of values this setting can take
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.AcceptableValueRange">
<summary>
Range of the values this setting can take
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.ShowRangeAsPercent">
<summary>
Should the setting be shown as a percentage (only applies to value range settings)
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.CustomDrawer">
<summary>
Custom setting draw action.
Use either CustomDrawer or CustomHotkeyDrawer, using both at the same time leads to undefined behaviour.
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.CustomHotkeyDrawer">
<summary>
Custom setting draw action that allows polling keyboard input with the Input class.
Use either CustomDrawer or CustomHotkeyDrawer, using both at the same time leads to undefined behaviour.
</summary>
</member>
<member name="T:ConfigurationManager.SettingEntryBase.CustomHotkeyDrawerFunc">
<summary>
Custom setting draw action that allows polling keyboard input with the Input class.
</summary>
<param name="setting">Setting currently being set, is available</param>
<param name="isCurrentlyAcceptingInput">Set this ref parameter to true when you want the current setting drawer to receive Input events. Remember to set it to false after you are done!</param>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.Browsable">
<summary>
Show this setting in the settings screen at all? If false, don't show.
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.Category">
<summary>
Category the setting is under. Null to be directly under the plugin.
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.DefaultValue">
<summary>
If set, a "Default" button will be shown next to the setting to allow resetting to default.
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.HideDefaultButton">
<summary>
Force the "Reset" button to not be displayed, even if a valid DefaultValue is available.
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.HideSettingName">
<summary>
Force the setting name to not be displayed. Should only be used with a <see cref="P:ConfigurationManager.SettingEntryBase.CustomDrawer"/> to get more space.
Can be used together with <see cref="P:ConfigurationManager.SettingEntryBase.HideDefaultButton"/> to gain even more space.
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.Description">
<summary>
Optional description shown when hovering over the setting
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.DispName">
<summary>
Name of the setting
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.PluginInfo">
<summary>
Plugin this setting belongs to
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.ReadOnly">
<summary>
Only allow showing of the value. False whenever possible by default.
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.SettingType">
<summary>
Type of the variable
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.PluginInstance">
<summary>
Instance of the plugin that owns this setting
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.IsAdvanced">
<summary>
Is this setting advanced
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.Order">
<summary>
Order of the setting on the settings list relative to other settings in a category. 0 by default, lower is higher on the list.
</summary>
</member>
<member name="M:ConfigurationManager.SettingEntryBase.Get">
<summary>
Get the value of this setting
</summary>
</member>
<member name="M:ConfigurationManager.SettingEntryBase.Set(System.Object)">
<summary>
Set the value of this setting
</summary>
</member>
<member name="M:ConfigurationManager.SettingEntryBase.SetValue(System.Object)">
<summary>
Implementation of <see cref="M:ConfigurationManager.SettingEntryBase.Set(System.Object)"/>
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.ObjToStr">
<summary>
Custom converter from setting type to string for the textbox
</summary>
</member>
<member name="P:ConfigurationManager.SettingEntryBase.StrToObj">
<summary>
Custom converter from string to setting type for the textbox
</summary>
</member>
<member name="T:ConfigurationManager.ValueChangedEventArgs`1">
<summary>
Arguments representing a change in value
</summary>
</member>
<member name="M:ConfigurationManager.ValueChangedEventArgs`1.#ctor(`0)">
<inheritdoc />
</member>
<member name="P:ConfigurationManager.ValueChangedEventArgs`1.NewValue">
<summary>
Newly assigned value
</summary>
</member>
</members>
</doc>

BIN
BepInEx/plugins/spt/spt-common.dll (Stored with Git LFS) Normal file

Binary file not shown.

BIN
BepInEx/plugins/spt/spt-core.dll (Stored with Git LFS) Normal file

Binary file not shown.

BIN
BepInEx/plugins/spt/spt-custom.dll (Stored with Git LFS) Normal file

Binary file not shown.

BIN
BepInEx/plugins/spt/spt-debugging.dll (Stored with Git LFS) Normal file

Binary file not shown.

BIN
BepInEx/plugins/spt/spt-reflection.dll (Stored with Git LFS) Normal file

Binary file not shown.

BIN
BepInEx/plugins/spt/spt-singleplayer.dll (Stored with Git LFS) Normal file

Binary file not shown.