Thread Closed 
Registering assaultcube:// protocol
14 Jan 12, 02:27PM
Post: #1
Registering assaultcube:// protocol
When I first installed the game, I didn't register the assaultcube:// protocol. Is there any way to do this without redownloading the game?
Find all posts by this user
14 Jan 12, 02:42PM (This post was last modified: 14 Jan 12 02:44PM by tempest.)
Post: #2
RE: Registering assaultcube:// protocol
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.
Find all posts by this user
14 Jan 12, 04:26PM
Post: #3
RE: Registering assaultcube:// protocol
(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.
Find all posts by this user
20 Jan 12, 08:34PM
Post: #4
RE: Registering assaultcube:// protocol
from source/vcpp/buildEnv/ac.nsi:
Code:
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
Find all posts by this user
Thread Closed 




User(s) browsing this thread: 3 Guest(s)