kondrak / vkQuake2

id Software's Quake 2 v3.21 with mission packs and Vulkan support (Windows, Linux, macOS, FreeBSD, Raspberry Pi 4)
GNU General Public License v2.0
896 stars 90 forks source link

CLI argument to disable music playback #159

Closed Slider-Whistle closed 1 year ago

Slider-Whistle commented 1 year ago

Hey, I realise this might be a bit of a silly request, but as awesome as the music sounds in idsoft games, sometimes I just like to play without it and appreciate the ambient grunts and screams of all the monsters. It would be great to have an option for this, without having to do something as cumbersome as set the music volume slider to zero, and then have to turn it back up once I do want to hear it again. Doom has the "-nomusic" option and Quake has the slightly longer "-nocdaudio" parameter (+"-noextmusic" in quakespasm/vkquake).

Quake II reinvents things a bit by only including the vim-style +command system meaning the correct argument this time around would probably be "+cd off" or "+cd_nocd 1" (https://www.eecis.udel.edu/~portnoi/quake/quakeiicom.html) (don't know if this works with DOS executable or linux port as-is, haven't tried), but neither those or this port's "+miniaudio off" seem to have worked for me.

kondrak commented 1 year ago

Running the game with +set no_music 1 will now turn off music by default from CLI.

Slider-Whistle commented 1 year ago

Hey, cool!