AudioImportLib
A simple mod library that allows mod creators to import audio files as AudioClips.
About this mod Author’s original text
Audio Import Lib
A library to allow code modders to import common audio file formats into AudioClips that are playable in-game.
API
There is only one method in the API.
AudioImportLib.API.LoadAudioClip(string absolutePathToFile, bool dontUnloadUnusedAsset = true);
The first parameter is the local path to the audio file.
The second parameter determines if the lib will automatically set the clip's hideflags to DontUnloadUnusedAsset to prevent Unity from collecting it.
What if I already have Bass.Net and bass.dll installed?
It shouldn't conflict.
Does this support r2modman?
It should.
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.
Install these first, or the mod will not work: