Registering assaultcube:// protocol
#1
When I first installed the game, I didn't register the assaultcube:// protocol. Is there any way to do this without redownloading the game?
Thanks given by:
#2
http://kb.mozillazine.org/Register_protocol
If you don't want to tinker around with registry settings, you could also reinstall :P oh wait, you probably don't have the installer any more.
Thanks given by:
#3
(14 Jan 12, 02:42PM)tempest Wrote: http://kb.mozillazine.org/Register_protocol
If you don't want to tinker around with registry settings, you could also reinstall :P oh wait, you probably don't have the installer any more.

I was hoping that I could use the installer and not redownload the game, but just get the "register assaultcube:// protocol" option. It forces you to download the game and OpenAL and then has other options like shortcuts, registering protocol, etc. I am willing to tinker with registry settings.
Thanks given by:
#4
from source/vcpp/buildEnv/ac.nsi:
Section "Register URL protocol" REGISTERURL

    WriteRegStr HKCR "assaultcube" "" "${AC_SHORTNAME}"
    WriteRegStr HKCR "assaultcube" "URL Protocol" ""
    WriteRegStr HKCR "assaultcube\DefaultIcon" "" '"$INSTDIR\bin_win32\ac_client.exe"'
    WriteRegStr HKCR "assaultcube\shell\open\command" "" '"cmd.exe" /C cd "$INSTDIR" & "assaultcube.bat" "%1"'

SectionEnd
HKCR == HKEY_CLASSES_ROOT according to NSIS Docs Chapter 4.
If someone has it installed it shouldn't be a problem to search the registry for these occurences, export the approriate key and provide you with the file for inclusion onto your system.
HTH
Thanks given by: