Code Monkey home page Code Monkey logo

tobey.unityaudio's Introduction

Tobey's Unity Audio Patcher for BepInEx

A universal BepInEx patcher to enable/disable Unity's built-in audio for any Unity game. Primarily useful for games where Unity's audio engine has been disabled by the game developers due to using a third-party audio engine, such as FMOD.

Includes a BepInEx plugin for in-game configuration with Configuration Manager.

Usage

In most cases you won't need to do much beyond plopping the contents of the downloaded .zip from the releases page into your game folder (after installing BepInEx, of course).

However, in some cases, manual configuration is required. The below configuration options can be edited in-game with Configuration Manager (some options require enabling "Advanced settings" to view them), or by editing the Tobey.UnityAudio.cfg file generated in BepInEx\config:

## Settings file was created by plugin Unity Audio Patcher v2.0.2
## Plugin GUID: Tobey.UnityAudio

[Patching]

## Whether to apply the Unity Audio patch on game launch.
# Setting type: Boolean
# Default value: true
Enabled = true

## Whether to enable or disable Unity Audio. Automatic will enable Unity Audio if a reference to it is found in game's managed assemblies or BepInEx plugin assemblies, otherwise it will disable it.
# Setting type: PatchType
# Default value: Automatic
# Acceptable values: Automatic, Enable, Disable
Patch type = Automatic

## Comma-separated list of additional paths to search for assemblies which could be using Unity Audio. Ignored if `Patch type` is not set to `Automatic`.
# Setting type: String
# Default value: 
Additional assembly search paths = 

## Comma-separated list of assembly file names to exclude in the search for references to Unity Audio. Ignored if `Patch type` is not set to `Automatic`.
# Setting type: String
# Default value: 
Excluded assemblies = 

## Comma-separated list of additional fully qualified type names which signify the use of Unity Audio. Ignored if `Patch type` is not set to `Automatic`.
# Setting type: String
# Default value: 
Additional Unity Audio type names = 

[Runtime Testing]

## Whether to test the Unity Audio state at runtime. This will attempt to load a .wav file into memory as an AudioClip to determine the runtime state of Unity Audio.
# Setting type: Boolean
# Default value: true
Enabled = true

## The path to the .wav audio file to load for testing Unity Audio. Relative paths are relative to the location of the plugin. Ignored if `Enabled` is `false`. Must be a Waveform Audio file.
# Setting type: String
# Default value: chime.wav
.wav audio file path = chime.wav

## Whether the test audio file should be played on start up. Ignored if `Enabled` is `false`.
# Setting type: Boolean
# Default value: false
Play test audio file on plugin start = false

## Keyboard shortcut to play the test audio file on demand. Ignored if `Enabled` is `false`.
# Setting type: KeyboardShortcut
# Default value: 
Play test audio file shortcut = 

License

Tobey's Unity Audio Patcher for BepInEx is licensed under the LGPL-3.0 license.

tobey.unityaudio's People

Contributors

toebeann avatar

Stargazers

 avatar  avatar

Watchers

 avatar

tobey.unityaudio's Issues

Thunderstore release

I am using this plugin as a soft dependendency in my mod.

Would you consider creating a thunderstore.io release to make it easier to install as a dep. with other mods?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.