brndd / vanilla-tweaks

Custom QoL patches to the 1.12.1 WoW client
MIT License
152 stars 24 forks source link

Disable 'Sound in Background' not working #20

Closed psoaln closed 1 year ago

psoaln commented 1 year ago

The command: ./vanilla-tweaks --no-sound-in-background --nameplatedistance 60 WoW.exe does not disable the sound of WoW when in the background. It appears to skip the patch altogether.

j6fogty

brndd commented 1 year ago

That's by design. The flags simply disable the patches, they don't apply the opposite patch on the executable.

I'm guessing the executable you're patching already has the sound in background patch applied to it? You'll have to either replace it with an unmodified executable, or reverse the patch manually. If it's the exact same patch this patcher applies, then changing the byte at 0x3A4869 from 0x27 to 0x14 using a hex editor should undo it.