Assuming this is from the OS shell, you can set your .dem handler to launch vkQuake with the appropriate parameters. For example in Windows you can use a cmd file like
for %%F in ("%~1\..") do set modname="%%~nxF"
cd /D "%~dp0"
vkQuake -game %modname% +playdemo "%~nx1"
place it along vkQuake and assign .dem files to it (or just drop them on top of it).
I do like the feature some Doom source ports have where they do the right thing when you directly pass a file as a parameter. Quake could interpret directories as mods, map files as game + map, and dem files as game + playdemo requests.
Assuming this is from the OS shell, you can set your
.dem
handler to launch vkQuake with the appropriate parameters. For example in Windows you can use acmd
file likeplace it along vkQuake and assign
.dem
files to it (or just drop them on top of it).I do like the feature some Doom source ports have where they do the right thing when you directly pass a file as a parameter. Quake could interpret directories as mods,
map
files asgame
+map
, anddem
files asgame
+playdemo
requests.