VICE
Vice is Valve's tool for ICE encryption, a trick used mainly to protect weapon script files from modification by server admins. Only its source code is included in the SDK. The compiled executable must be placed in the SDK's bin\<engine>\bin\
folder to run.
GetEncryptionKey()
function. All keys must be eight characters long! Valve keys can be found on ICE page.Usage
vice [-quiet] [-nopause] [-encrypt key] [-decrypt key] [-newext name] file ...
- -quiet
- Don't print anything out, don't pause for input.
- -nopause
- Don't pause for input.
- -encrypt
- Encrypt files with given key.
- -decrypt
- Decrypt files with given key.
- -newext
- New output file extension.
Troubleshooting
Most users who try Steam will get a problematic SteamAppId error. This is due to Steam filesystem update inconsistency. 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.
Alternatives
- Standalone Vice (doesn't require Steam)
- Red comet's Standalone Vice with wildcard support (Vice2)
- RavuAlHemio's Standalone Vice with improved wildcard support (Vice3)
See also
External links
|