Skip to content
Geoffrey Horsington edited this page May 5, 2018 · 2 revisions

Welcome to the SybarisLoader wiki!

Here you can find information about SybarisLoader.

About SybarisLoader

SybarisLoader is an example project of how to use Unity Doorstop.

Sybaris Loader is a copy of Sybaris 2.1 done with the help of Unity Doorstop.

NOTE: This tools is aimed for developers only! No end-user support is provided and no guarantee for a working product is made. If you need something that works, use BepInEx.

Installation

The distribution of Sybaris Loader comes prepackaged with all needed assemblies: the latest version of Doorstop with the needed configurations and Sybaris Loader. To install

  1. Remove opengl32.dll and Sybaris\Sybaris.Loader.dll, if you have those.
  2. Put winhttp.dll and doorstop_config.ini into the game's root folder.
  3. Put SybarisLoader.dll and all Mono.Cecil dlls into Sybaris folder, overwriting as needed.
  4. Run the game once to create a new SybarisLoader.json (remove one if you have already) in Sybaris folder
  5. Configure SybarisLoader.json with the guide below
  6. Install Sybaris patchers as normal
  7. Run the game

Writing patchers

Sybaris Loader supports normal Sybaris patchers, so you can create patchers with the same structure.

Configuration

Options for PatchLoaderConfig.json

Use the configuration file to configure the functionality of the patching process.
Most of the options are for debugging and logging.

Options

debug section

The section contains options for various logging and debugging capabilities.

debug.logging section

The logger capability of the patcher.

debug.logging.enabled

Default: true
Possible values: true or false

Specify whether enable or disable patcher log creation.
If enabled, the logs will be saved in UnityPrePatcher\logs.

debug.logging.redirectConsole

Default: true
Possible values: true or false

Specify whether the standard output should be redirected to the logger.
Use this to log debug messages from each patcher individually.

`debug.logging.outputDirectory

Default: "Sybaris\\logs"
Possible values: Any valid path, existing or nonexisting

Specify the path where to save patch logs, if logging is enabled.

debug.outputAssemblies section

Patch result outputting feature. Use this to output the patched assemblies as files for debugging purposes.

debug.outputAssemblies.enabled

Default: false
Possible values: true or false

If enabled, UPP's patcher loader will output the patched assembly to a file.

debug.outputAssemblies.outputDirectory

Default: "Sybaris\\patched_assemblies"
Possible values: any valid path (absolute or relative to the game's executable; existing or nonexisting).

Specifies the folder where to output the patched assemblies, if debug.outputAssemblies.enabled is set to true.