Skip to content

Commit f78c0a3

Browse files
committed
Add new config files
1 parent 0d2b37f commit f78c0a3

4 files changed

Lines changed: 88 additions & 21 deletions

File tree

config/BepInEx.cfg

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
[Logging]
2+
3+
# Redirects text from Console.Out during preloader patch loading to the BepInEx logging system.
4+
PreloaderConsoleOutRedirection = true
5+
6+
# Enables showing unity log messages in the BepInEx logging system.
7+
UnityLogListening = true
8+
9+
[Logging.Console]
10+
11+
# Enables showing a console for log output.
12+
Enabled = true
13+
14+
# If true, console is set to the Shift-JIS encoding, otherwise UTF-8 encoding.
15+
ShiftJisEncoding = true
16+
17+
# Only displays the specified log level and above in the console output.
18+
DisplayedLogLevel = Info
19+
20+
[Logging.Disk]
21+
22+
# Only displays the specified log level and above in the console output.
23+
DisplayedLogLevel = Info
24+
25+
# Include unity log messages in log file output.
26+
WriteUnityLog = false
27+
28+
# Appends to the log file instead of overwriting, on game startup.
29+
AppendLog = false
30+
31+
[Paths]
32+
33+
# The relative directory to the BepInEx folder where plugins are loaded.
34+
PluginsDirectory = plugins
35+
36+
[Preloader]
37+
38+
# Enables or disables runtime patches.
39+
# 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.
40+
ApplyRuntimePatches = true
41+
42+
# If enabled, BepInEx will save patched assemblies into BepInEx/DumpedAssemblies.
43+
# This can be used by developers to inspect and debug preloader patchers.
44+
DumpAssemblies = false
45+
46+
# If enabled, BepInEx will load patched assemblies from BepInEx/DumpedAssemblies instead of memory.
47+
# This can be used to be able to load patched assemblies into debuggers like dnSpy.
48+
# If set to true, will override DumpAssemblies.
49+
LoadDumpedAssemblies = false
50+
51+
# If enabled, BepInEx will call Debugger.Break() once before loading patched assemblies.
52+
# This can be used with debuggers like dnSpy to install breakpoints into patched assemblies before they are loaded.
53+
BreakBeforeLoadAssemblies = false
54+
55+
[Preloader.Entrypoint]
56+
57+
# The local filename of the assembly to target.
58+
Assembly = UnityEngine.dll
59+
60+
# The name of the type in the entrypoint assembly to search for the entrypoint method.
61+
Type = Application
62+
63+
# The name of the method in the specified entrypoint assembly and type to hook and load Chainloader from.
64+
Method = .cctor
65+

config/SybarisLoader.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[Paths]
2+
3+
# Path where Sybaris patchers are located
4+
# Path is relative to game root
5+
SybarisPath = Sybaris
6+

config/config.ini

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[Entrypoint]
2+
3+
# The name of a game DLL that should be the entry point of UnityInjector
4+
Assembly = Assembly-CSharp
5+
6+
# The name of the type inside Assembly that should be the entry point
7+
Type = SceneLogo
8+
9+
# The name of the method inside Type that should be the entry point
10+
Method = Start
11+
12+
[Paths]
13+
14+
# Location of UnityInjector folder relative to game root
15+
# Can be an absolute path
16+
UnityInjector = Sybaris\UnityInjector
17+

0 commit comments

Comments
 (0)