Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toebeann/tobey.unityaudio
A universal BepInEx patcher to enable/disable Unity's built-in audio for any Unity game.
https://github.com/toebeann/tobey.unityaudio
bepinex bepinex-patcher bepinex-plugin bepinex-plugins unity unity-audio-api unity-audioclip unity3d
Last synced: 10 days ago
JSON representation
A universal BepInEx patcher to enable/disable Unity's built-in audio for any Unity game.
- Host: GitHub
- URL: https://github.com/toebeann/tobey.unityaudio
- Owner: toebeann
- License: lgpl-3.0
- Created: 2023-04-02T22:17:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-22T12:13:22.000Z (about 1 year ago)
- Last Synced: 2024-05-01T19:46:49.715Z (9 months ago)
- Topics: bepinex, bepinex-patcher, bepinex-plugin, bepinex-plugins, unity, unity-audio-api, unity-audioclip, unity3d
- Language: C#
- Homepage:
- Size: 897 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/BepInEx/BepInEx.ConfigurationManager).
## Usage
In most cases you won't need to do much beyond plopping the contents of the downloaded .zip from [the releases page](https://github.com/toebeann/Tobey.UnityAudio/releases) into your game folder (after installing [BepInEx](https://github.com/BepInEx/BepInEx), of course).
However, in some cases, manual configuration is required. The below configuration options can be edited in-game with [Configuration Manager](https://github.com/BepInEx/BepInEx.ConfigurationManager) (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](https://github.com/toebeann/Tobey.UnityAudio/blob/main/LICENSE) license.