Commit Graph

5 Commits

Author SHA1 Message Date
647d871c56 Use presets instead of hardcoded values 2019-05-29 00:05:46 +02:00
d247cb4a30 Add support for versions 1.0.1E and (propably) 1.0.0E.
I don't have access to 1.0.0E right now but since every other patch for 1.0.1E also works with 1.0.0E I'll just assume this one is gonna work as well.
2019-05-29 00:04:34 +02:00
d650bbedf8 Hook GetCategoryVolume in loop as well 2019-05-29 00:04:34 +02:00
aa9ddb1092 Less intrusive approach using codecave.
Instead of overwriting half the original function, we just replace the calls to GetCategoryVolume with calls to our hooking functions located in a codecave (thank god what an awesome feature). Also makes it easier to maintain this patch and gives us volume control for each category independently.
2019-05-29 00:04:34 +02:00
871d76ba00 Reduce volume of BGM and possibly other "noisy" audio since voice audio can't be increased.
Overwrites parts of the setup code in fw::CSoundManager::setupCategory() to not call GetCategoryVolume but instead use values we control. Parts of the original code (calls to GetCategoryIndex) have to still happen!

We're quite limited with the amount of space we have available to us. There has to be a better way...
2019-05-29 00:04:11 +02:00