Advertisement
no00ob

My BepInEx.cfg

Dec 10th, 2023
1,722
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.40 KB | None | 0 0
  1. [Caching]
  2.  
  3. ## Enable/disable assembly metadata cache
  4. ## Enabling this will speed up discovery of plugins and patchers by caching the metadata of all types BepInEx discovers.
  5. # Setting type: Boolean
  6. # Default value: true
  7. EnableAssemblyCache = true
  8.  
  9. [Chainloader]
  10.  
  11. ## If enabled, hides BepInEx Manager GameObject from Unity.
  12. ## This can fix loading issues in some games that attempt to prevent BepInEx from being loaded.
  13. ## Use this only if you know what this option means, as it can affect functionality of some older plugins.
  14. ##
  15. # Setting type: Boolean
  16. # Default value: false
  17. HideManagerGameObject = true
  18.  
  19. [Harmony.Logger]
  20.  
  21. ## Specifies which Harmony log channels to listen to.
  22. ## NOTE: IL channel dumps the whole patch methods, use only when needed!
  23. # Setting type: LogChannel
  24. # Default value: Warn, Error
  25. # Acceptable values: None, Info, IL, Warn, Error, Debug, All
  26. # Multiple values can be set at the same time by separating them with , (e.g. Debug, Warning)
  27. LogChannels = Warn, Error
  28.  
  29. [Logging]
  30.  
  31. ## Enables showing unity log messages in the BepInEx logging system.
  32. # Setting type: Boolean
  33. # Default value: true
  34. UnityLogListening = true
  35.  
  36. ## If enabled, writes Standard Output messages to Unity log
  37. ## NOTE: By default, Unity does so automatically. Only use this option if no console messages are visible in Unity log
  38. ##
  39. # Setting type: Boolean
  40. # Default value: false
  41. LogConsoleToUnityLog = false
  42.  
  43. [Logging.Console]
  44.  
  45. ## Enables showing a console for log output.
  46. # Setting type: Boolean
  47. # Default value: false
  48. Enabled = true
  49.  
  50. ## If enabled, will prevent closing the console (either by deleting the close button or in other platform-specific way).
  51. # Setting type: Boolean
  52. # Default value: false
  53. PreventClose = false
  54.  
  55. ## If true, console is set to the Shift-JIS encoding, otherwise UTF-8 encoding.
  56. # Setting type: Boolean
  57. # Default value: false
  58. ShiftJisEncoding = false
  59.  
  60. ## Hints console manager on what handle to assign as StandardOut. Possible values:
  61. ## Auto - lets BepInEx decide how to redirect console output
  62. ## ConsoleOut - prefer redirecting to console output; if possible, closes original standard output
  63. ## StandardOut - prefer redirecting to standard output; if possible, closes console out
  64. ##
  65. # Setting type: ConsoleOutRedirectType
  66. # Default value: Auto
  67. # Acceptable values: Auto, ConsoleOut, StandardOut
  68. StandardOutType = Auto
  69.  
  70. ## Which log levels to show in the console output.
  71. # Setting type: LogLevel
  72. # Default value: Fatal, Error, Warning, Message, Info
  73. # Acceptable values: None, Fatal, Error, Warning, Message, Info, Debug, All
  74. # Multiple values can be set at the same time by separating them with , (e.g. Debug, Warning)
  75. LogLevels = Fatal, Error, Warning, Info, Debug
  76.  
  77. [Logging.Disk]
  78.  
  79. ## Include unity log messages in log file output.
  80. # Setting type: Boolean
  81. # Default value: false
  82. WriteUnityLog = false
  83.  
  84. ## Appends to the log file instead of overwriting, on game startup.
  85. # Setting type: Boolean
  86. # Default value: false
  87. AppendLog = false
  88.  
  89. ## Enables writing log messages to disk.
  90. # Setting type: Boolean
  91. # Default value: true
  92. Enabled = true
  93.  
  94. ## Which log leves are saved to the disk log output.
  95. # Setting type: LogLevel
  96. # Default value: Fatal, Error, Warning, Message, Info
  97. # Acceptable values: None, Fatal, Error, Warning, Message, Info, Debug, All
  98. # Multiple values can be set at the same time by separating them with , (e.g. Debug, Warning)
  99. LogLevels = All
  100.  
  101. [Preloader]
  102.  
  103. ## Enables or disables runtime patches.
  104. ## 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.
  105. # Setting type: Boolean
  106. # Default value: true
  107. ApplyRuntimePatches = true
  108.  
  109. ## Specifies which MonoMod backend to use for Harmony patches. Auto uses the best available backend.
  110. ## This setting should only be used for development purposes (e.g. debugging in dnSpy). Other code might override this setting.
  111. # Setting type: MonoModBackend
  112. # Default value: auto
  113. # Acceptable values: auto, dynamicmethod, methodbuilder, cecil
  114. HarmonyBackend = auto
  115.  
  116. ## If enabled, BepInEx will save patched assemblies into BepInEx/DumpedAssemblies.
  117. ## This can be used by developers to inspect and debug preloader patchers.
  118. # Setting type: Boolean
  119. # Default value: false
  120. DumpAssemblies = false
  121.  
  122. ## If enabled, BepInEx will load patched assemblies from BepInEx/DumpedAssemblies instead of memory.
  123. ## This can be used to be able to load patched assemblies into debuggers like dnSpy.
  124. ## If set to true, will override DumpAssemblies.
  125. # Setting type: Boolean
  126. # Default value: false
  127. LoadDumpedAssemblies = false
  128.  
  129. ## If enabled, BepInEx will call Debugger.Break() once before loading patched assemblies.
  130. ## This can be used with debuggers like dnSpy to install breakpoints into patched assemblies before they are loaded.
  131. # Setting type: Boolean
  132. # Default value: false
  133. BreakBeforeLoadAssemblies = false
  134.  
  135. [Preloader.Entrypoint]
  136.  
  137. ## The local filename of the assembly to target.
  138. # Setting type: String
  139. # Default value: UnityEngine.CoreModule.dll
  140. Assembly = UnityEngine.CoreModule.dll
  141.  
  142. ## The name of the type in the entrypoint assembly to search for the entrypoint method.
  143. # Setting type: String
  144. # Default value: Application
  145. Type = Application
  146.  
  147. ## The name of the method in the specified entrypoint assembly and type to hook and load Chainloader from.
  148. # Setting type: String
  149. # Default value: .cctor
  150. Method = .cctor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement