AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   Decrypt weapon files (CTX) (https://forums.alliedmods.net/showthread.php?t=198004)

Bacardi 10-10-2012 08:57

Decrypt weapon files (CTX)
 
Who are interested...

*update
psychonic's sm_getkey


https://developer.valvesoftware.com/wiki/Vice
Quote:

Originally Posted by https://developer.valvesoftware.com/wiki/Vice
...a trick used mainly to protect weapon script files from modification by server admins.

So this is not big secret anymore.
You just find right encryption key and convert weapon file back to TXT file. (more here http://wiki.alliedmods.net/Vice_keys)


I (try) made simple batch file, you just drag & drop file(s) on batch file and choose right option.
(Or choose option 7 and add your own key)
bat file

This require little program vice3.exe
(Site https://developer.valvesoftware.com/...dcard_handling)
*new link vice3.exe

Do this way.


Finally.
When you have TXT files, move them in your server in ...scripts/ folder where are also CTX files.
- Don't edit or remove CTX files, leave those alone. Server can read TXT files.
When you edit weapon TXT files, you need reboot server.

You better set up own dedicated server for testing purpose.

Doc-Holiday 10-13-2012 16:58

Re: Decrypt weapon files (CTX)
 
that is very useful... now no key for csgo yet?

psychonic 10-13-2012 17:09

Re: Decrypt weapon files (CTX)
 
Quote:

Originally Posted by Doc-Holiday (Post 1818256)
that is very useful... now no key for csgo yet?

d7NSuLq2

Doc-Holiday 10-13-2012 17:36

Re: Decrypt weapon files (CTX)
 
Quote:

Originally Posted by psychonic (Post 1818266)
d7NSuLq2

ok so you would do it just like css then thanks.

EDIT:
My scripts folder inside of csgo's VPK doesn't have those cxt files... are they in a different place?

psychonic 10-13-2012 21:48

Re: Decrypt weapon files (CTX)
 
Quote:

Originally Posted by Doc-Holiday (Post 1818280)
ok so you would do it just like css then thanks.

I didn't realize that that was also css's key until you said it.

Quote:

Originally Posted by Doc-Holiday (Post 1818280)
My scripts folder inside of csgo's VPK doesn't have those cxt files... are they in a different place?

After looking, no, there are no ctx files. The weapon scripts are already there and unencrypted.

Doc-Holiday 10-14-2012 03:55

Re: Decrypt weapon files (CTX)
 
Quote:

Originally Posted by psychonic (Post 1818391)
I didn't realize that that was also css's key until you said it.


After looking, no, there are no ctx files. The weapon scripts are already there and unencrypted.

lmao... thanks im retarded for not even looking.

iGANGNAM 10-20-2012 08:46

Re: Decrypt weapon files (CTX)
 
Any possibility to create a NEW weapon?

minimoney1 10-20-2012 10:04

Re: Decrypt weapon files (CTX)
 
Quote:

Originally Posted by iGANGNAM (Post 1822198)
Any possibility to create a NEW weapon?

There are three entities for that specific purpose, but from what I know, none of them work.
Here are the names:
weapon_basecsgrenade
weapon_cs_base
weapon_csbase_gun

SGCatlantis 10-20-2012 14:22

Re: Decrypt weapon files (CTX)
 
hi,
(Half-Life 2: Deathmatch x9Ke0BY7) key does not work for the mod stargate the last stand?

Bacardi 10-20-2012 16:19

Re: Decrypt weapon files (CTX)
 
Quote:

Originally Posted by SGCatlantis (Post 1822389)
hi,
(Half-Life 2: Deathmatch x9Ke0BY7) key does not work for the mod stargate the last stand?

Because it's not Deathmatch anymore and Stargate: The Last Stand mod not use same key.
Shhh...


All times are GMT -4. The time now is 10:02.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.