PatrikZero's CS:GO Hearing protection
Program that lowers volume when you die and get flashed in CS:GO.
It aims to lower the chance of hearing damage by significantly reducing overall sound exposure.
Uses game state integration. Anti-cheat safe.
This will not get you VAC banned 100% as it does not hook into the game in any sort of way.
Usage
-
Download from releases on the right side ->
-
Chrome / Windows might flag it as a dangerous file because it doesn't know what it is but don't worry, as it is open source you can compile the code for yourself if you don't trust the .exe!
-
Put "gamestate_integration_VolumeFix.cfg" into your "Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg"
-
Run the .exe
- You can also change how much the volume gets lowered by changing the decimal in "volume.txt"
-
To turn it off just right click the icon in the system tray and Quit.
How to autostart with Windows
This is really simple and recommended!
- Place the main folder where you will not delete it (e.g. C:/)
- Create a shortcut of the executable
- Press Win + R
- Type "shell:startup"
- Place the shortcut in the "Startup" folder that opens up
How it works
Its simple, it lowers the volume when it detects a death and returns the volume when you get to freezetime. This effectively means your volume will be low for everything (e.g. Deathmatch) except actual matches (competitive / casual) where there is freezetime. It also mutes the game when you get flashed so you don't hear the horrible high pitched noise. (It only mutes it for the same duration as the game does so no disadvantage)
It is VAC safe because it uses game state integration and it only changes the Windows sound mixer settings for CS. So it doesn't touch the game at all. Game state integration is the same thing Steelseries for example uses for their mice to change color when you kill someone etc.
Reasonings
Players play CS with dangerously high peak volumes because they want to hear steps correctly. The risk of hearing damage can be severely reduced if you limit your exposure by lowering your volume when you die.
Even if you think your volume doesn't hurt you trust me it might over a long period of time. It took me 9 years of playing to develop tinnitus and I was playing at a reasonable volume. (Judged by multiple non-gamers and me)
I am no expert but I suspect this is due to a build up of small periods of very high volume (Shooting, Flashes, Grenades, Bomb explosion, Dinks).
When you spectate your teammates you get a multiple of the sound exposure you would normally get because on average you are going to have one duel and die, after that you don't need your full listening volume. My limited testing so far showed that lowering volume after death can lower exposure by 50% even if you live most of the round because most of the fighting and loud noises happen late round. (Pro play)
To be added
- Flash volume reduction
- Keyboard toggle to switch between High / Low volume
- Dink (Helmet Headshot) volume reduction
- Toggle for the app (On system tray)
How to build to .exe
- pip install pyinstaller
- pyinstaller --onefile --noconsole --icon Icon.ico --name "PatrikZeros CSGO Sound Fix" main.py
Sources
- In sources.txt
- Thanks to mdhedelund, Simon Brunning and Mark Hammond.