Raised This Month: $51 Target: $400
 12% 

TF2: weapon_name.ctx file editors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
teddyruxpin
Overseer of lost packets
Join Date: Feb 2008
Old 03-28-2008 , 22:23   TF2: weapon_name.ctx file editors
Reply With Quote #1

Anyone know how to edit the various weapon *.ctx files? I have tried notepad, GCFScape and Crafty and all fail. Any ideas would be appreciated.

Thanks,

-Teddy
teddyruxpin is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 03-28-2008 , 23:58   Re: TF2: weapon_name.ctx file editors
Reply With Quote #2

http://developer.valvesoftware.com/wiki/CTX
bl4nk is offline
BAILOPAN
Join Date: Jan 2004
Old 03-29-2008 , 00:18   Re: TF2: weapon_name.ctx file editors
Reply With Quote #3

For some games these files may be encrypted. Their properties are all stored in memory though, and that means you don't need to modify the actual files. Check if there is an open feature request to do this in SourceMod -- if not, feel free to file one.
__________________
egg
BAILOPAN is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 03-29-2008 , 12:55   Re: TF2: weapon_name.ctx file editors
Reply With Quote #4

That would be nice. Could you possibly do the same for the script files?
bl4nk is offline
joozy
Junior Member
Join Date: Mar 2008
Old 04-20-2008 , 00:08   Re: TF2: weapon_name.ctx file editors
Reply With Quote #5

when i put a tf2 file in there and it extracts to a txt all i get is a bunch of characters and crap no editable text anywhere
joozy is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 04-20-2008 , 11:22   Re: TF2: weapon_name.ctx file editors
Reply With Quote #6

It doesn't work with folders that have spaces in their name. Extract it to C:\ or something like that.
bl4nk is offline
joozy
Junior Member
Join Date: Mar 2008
Old 04-20-2008 , 19:08   Re: TF2: weapon_name.ctx file editors
Reply With Quote #7

nope i took the spaces out of the file name and it still comes out all garbled. then when i plop the files in the C:/ drive and hit convert i cant find the txt file that it outputs to
joozy is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 04-20-2008 , 19:29   Re: TF2: weapon_name.ctx file editors
Reply With Quote #8

It's not just the file name that matters. It's also spaces in the path. Place the file to be decrypted in the C:\ folder and tell it to extract there as well.
bl4nk is offline
Denshiro
New Member
Join Date: Apr 2008
Old 04-20-2008 , 22:40   Re: TF2: weapon_name.ctx file editors
Reply With Quote #9

I got it to spit out a text file, but its still random stuff, any idea how to get this to work? Please post here or PM, thanks.
Denshiro is offline
noob cannon lol
SourceMod Donor
Join Date: Sep 2005
Old 04-20-2008 , 22:45   Re: TF2: weapon_name.ctx file editors
Reply With Quote #10

You need the correct key in order to decrypt it. It should be stored in one of the gamerules classes in an accessor function, so you can probably open the linux binary up in IDA and find it.
noob cannon lol is offline
Send a message via AIM to noob cannon lol Send a message via MSN to noob cannon lol
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:55.


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