From Valve Developer Community
Revision as of 16:59, 20 August 2008 by NovisItdel (talk | contribs)

Jump to: navigation, search

downloads free phone ringtone us robotics v.92 drivers pink floyd the wall movie clips free downloading ringtones kyocera phones national drug code ndc www sex video stream kings of the sun movie farrah fawcett gallery link car stereo installations schools http thompson boats mp3 splitter joiner v2.88 crack wouldyouhitthis domain der nebel 4entertainmentjobs money back guarantee dragon toys street fighter third strike video one night in paris sample movie philadelphia phillies tickets big dog choppers top kranti movie songs monster hunter almost skate video soundtrack leslies pools arizona electricity line static time superman the movie pencil fight video ringtones for verizon lg phone delaware water gap free tracfone downloadable ringtone www music video codes david banner play alexis love ohio real estate agents water massage oak express furniture store young drag queens pink tits vicodin pill identification skinny little girl metaframe servers brazilian bang hawaii vacation deals news clips video fetishlover rosario dawson vidcaps jenna lewis sex video clip facials sperm snoop dog adult video estate pipes mrs.starr video temperate ocean chili dog regal cinemas in bellingham movie times volcom logo movies on dvd and vhs movie scripts sling blade main virgin schoolgirl saleen s7 supercar inflamatory bowel diseases physer drugs erectile dysfunction new drug recipes with liquer adrenaline crew videos http gang bang swinger outlook password recovery master serial number north carolina driver license written test education game provide used video mediterranean island ruby bridges video clips pablo francisco videos job in sports isa pci slot picture polyphonic downloadable ringtones spider man 2 movie game most popular drug jessica alba naked video sex in shower living dead girl video movie awards 2003 wholesale lcd tvs http roger rabbit movie final fantasy 13 anti racism videos massacre videos in iraq army builder 3.0 cracks www cryptoquip naked women photos supreme court case juvenile death penalty puppy biting problem lampwork beads

Default Key

If you do not know the encryption key of your mod, it's probably x9Ke0BY7 (the default for HL2DM). You should encrypt your script files so they can not easily be changed by users.

Changing Encrypted Weapon Scripts

To have the ability to change the weapon scripts, a mod user would have to delete the .ctx files and create the .txt files from scratch. This makes your mod more resistant to change, which means hosted servers won't as likely have changed the weapon scripts.


The source code of a Steam dependent version of VICE is available in the Source SDK.

There are multiple modified versions available, each often improving on the previous. You may wish to take a look at them, as they may save you some hassle.

You can download the vice standalone application with wildcard support from here.


Most users who try Steam will get a problematic SteamAppId error. This is due to Steam filesystem update inconsistancy. It stripped one word from the gameinfo.txt and didn't notify anyone. In order to use these Steam applications you must go to the root folder of your mod or the game you want to modify, and change ToolsAppID to AppID. This will allow you to use both versions of vice and a few more programs like mdldecompiler. You must also make sure that your mod or game is selected in vconfig. If you edit your mod's gameinfo file and have Half-Life 2 selected in vconfig you will not be doing much.

If you are decrypting Valve games and not your own mods, then you will have to make this change each time you want to use vice or any other applications that give the same message. For each time you run say, Day of Defeat: Source, it creates a new GameInfo.txt file that still include Tools.


Execute this in the command prompt to make the .ctx files:

"[Source SDK Bin]\vice.exe" -x .ctx -k [Key: x9Ke0BY7 by default for HL2DM mods] [.txt filename (Use * for all files in the current directory)]

Changing the Key for Your Mod

You must change the returned string in the function "GetEncryptionKey" in the gamerules. The new encryption key must be eight characters long. Use the same encryption key when running VICE.

Decrypting Script Files

If you happen to lose your .txt files and you only have their .ctx files and your mod's encryption key, you can run VICE to decrypt also:

"[Source SDK Bin]\vice.exe" -d -x .txt -k [Key: x9Ke0BY7 by default for HL2DM mods] [.ctx filename (Use * for wildcard)]

Modified versions

See Also