So I use this app to mute microphone communication in Valorant. But I also want to mute the game itself.
The devs of the game have separated these 2 so in Volume Mixer (SndVol.exe) they are 2 processes one called:
RiotClientServices.exe the microphone comms which I can mute just fine with this command in a batch file:
nircmd.exe muteappvolume RiotClientServices.exe 2
And the second one which is the main game volume which I never got it to work and I don't know what the issue is:
nircmd.exe muteappvolume VALORANT-Win64-Shipping.exe 2
I know the app works fine cause for chrome.exe and the previous .exe I mentioned it works but for VALORANT-Win64-Shipping.exe it doesn't do anything. I suspect maybe there's something with the dash symbol or the numbers in the file name (I can't test this theory cause I can't change the filename of the game cause it will not open anymore) or maybe it is the wrong file name but that's not possible.
Nirsoft actually has another software with a GUI called soundvolumeview which can make this easy it creates a shortcut of the program and it has every program listed but that has compatibility issues with my system or windows 10 so the app constantly is frozen , I managed to find a version which didn't freeze version 2.06 but that is freezing too these days hence I am asking the question here.
I really would love if NirCmd worked cause that just works instantly meanwhile soundvolumeview has real performance issues and even when it works there's a delay.
I have trying adding quotes like
nircmd.exe muteappvolume "VALORANT-Win64-Shipping.exe" 2
tried Process Path ID:
nircmd.exe muteappvolume "C:\Riot Games\VALORANT\live\ShooterGame\Binaries\Win64\VALORANT-Win64Shipping.exe" 2
doesn't work either even thou this works for other apps like chrome or RiotClientServices
I feel like I have tried everything possible.
Edit:
@DavidPostill Yes I have sent them an email a year ago but they didn't reply.
@harrymc Yes of course it shows its the main volume of the game , and as I explained it can kind of work with the other app SoundVolumeView
Edit2: SoundVolumeView has now new command line type app which also faces the problem of being buggy and freezes but that might be related to me muting most devices and removing microphone and maybe the app is looking for a long time to find those devices and that maybe causes the freezing.
Edit3: It turns out that if I disable my useless monitor Playback device option in sounds it causes me issues in soundvolumeview 2.06 version where it takes a good 15 seconds to take a command. Even more weird there are 2 monitor playback options one which is the 3.5mm jack output which works fine and even if disabled doesn't affect the program, but the other one with the exact same name in the playback devices there which says is unplugged.
The newer versions of SoundVolumeView have that issue of freezing more pronounced so they are un-usable at all.
Solution: Not optimal but the only one is don't mess with the monitor playback devices in sounds options. Don't disable them especially those that say disconnected and are related to your monitor. I don't know what they do but apparently they do something important for SoundVolumeView