loaforcsSoundAPI
A soundtool made to give Soundpack creators ultimate control.
Date uploaded | a month ago |
Version | 1.0.10 |
Download link | loaforc-loaforcsSoundAPI-1.0.10.zip |
Downloads | 232370 |
Dependency string | loaforc-loaforcsSoundAPI-1.0.10 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
loaforcsSoundAPI
A soundtool made to give Sound-Pack creators ultimate control, and users the ultimate experience.
[!IMPORTANT] Absolutely not meant as a replacement for LCSoundTool and CustomSounds. This sound replacement API is much, much more complex than either of those and is meant for advanced users.
Ultimate Experience
loaforcsSoundAPI makes use of Multithreading, splitting sound loading into two steps. With very little effort LethalResonance was decreased from 4 seconds of time during startup to just under 250 ms.
Ultimate Control
loaforcsSoundAPI affords a Sound-Pack creator much more control over how their sounds are played and how they organise.
A simple tutorial to make a sound pack is available in the github wiki. A couple templates are avaliable as well.
Main Benefits
- Custom File Structure Hierachy
- Intuitive variations for sounds
- Mapping multiple sounds to the same sounds
- Sound-packs can create config options just like regular mods
- Swap out audio clips live based on what is happening ingame.
CHANGELOG
v1.0.0!!!
It's taken a bit of time but it's here.
Added:
- Conditions, you're now able to make your sounds react better to what's happening in game.
"update_every_frame"
. A new option that lets you swap out a sound as its playing, it will also respect the amount of time that has elapsed.
Changed:
- Changed to a thread pool based multithreading system.
- Intro Skipper mods should work better.
- Crashes should also be fixed.
- Genuinely wild speedup. LethalResonance's non-startup sounds took 12 seconds to load on v0.x. It now takes 2 (for me at least, your numbers will vary a lot)
Fixed:
- Added more null checks, should be more compatible with LittleCompany.
v1.0.2
- Fixed an issue where AudioSourceReplaceHandler would try to unregister itself multiple times.
v1.0.3
- Maybe registering stuff would help.
v1.0.4
- Temporary debug logs for conditions
v1.0.5
- More null checks
v1.0.6
- :skull:
v1.0.11
- Deprecated
load_on_startup
(Multithreading is now always before the main menu, so it didn't make sense to have this anymore) andrandom
(i've got a better plan for syncing sounds. eventually.) - Changed default threads from 32 to 4
- Slightly improved memory usage
- Setting
sound
tonull
on a sound replacement will remove the sound if it gets replaced like that. - Added timer to multithreaded load times.
v1.0.12
- Fixed some sounds just going i no no wanna
- Added logging levels. You can stop complaining now.
Old Versions
v0.1
- Added basic condition system
- Added support for soundpacks to have custom configs
- Fixed an issue where the voice chat could have been broken (seems to work now).
v0.1.1
- Fixed an issue where the ship thrusters were silent
- More processing done on matching strings:
Flame (3):ThrusterCloseAudio (1):ShipThrusterClose
toFlame:ThrusterCloseAudio:ShipThrusterClose
v0.1.2
- Fixed an issue where if two sound replacers replaced a sound and the one that loaded first was disabled due to a config, the second enabled one couldn't play
v0.1.3
- Finally fixed the changelog not being placed correctly on the mod page
- Put a quick warning message for advanced company users.
v0.0
- Inital release
v0.0.2
- Fixed an issue where debug logs were happening twice
- Fixed an issue where
Ship3dSFX
wasn't being picked up correctly
v0.0.3
- Fixed an issue where soundpacks wouldn't load if they were unpacked by a mod manager