Results 1 to 7 of 7

Thread: protect iwd or gsc

  1. #1
    Private
    Join Date
    Feb 2014
    Posts
    27
    Thanks
    11
    Thanked 0 Times in 0 Posts

    protect iwd or gsc

    Have some way to protect the mod of read and edit? Encrypt or password...
    I'm not talking about block download.
    Thanks

  2. #2
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    You cant put a password on a IWD. If you put a password on it, COD2 cant read it and it will not be loaded

  3. #3
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by qwrtyp View Post
    Have some way to protect the mod of read and edit? Encrypt or password...
    I'm not talking about block download.
    Thanks
    If you are wanting to protect your server files from the known exploit known as q3dirtrav, then the only known work-around is to:

    1. Hex edit the COD2 executable, renaming the server-side file name "_svr_" to some unique/custom name such as (example) "_qrt_", then put this on your server and run the game from it;
    2. Put all the files you want protected into an IWD file, whose name contains the new "_grt_" in its name:

    Code:
    zz_grt_01.iwd
    That will not download to clients, and cannot be traversed because the hacker wont know the new extension name.

    If you are also wanting to protect your server config files (so for example they cannot download them and get your server's rcon password), put the server config files in the server-side IWD file and your server will read them from there.

    NOTE - you have to put them in a folder with a unique name such as "protectme":

    Example:

    Code:
    +exec protectme/server-mp.cfg
    Where your server-side IWD file contains the folder and config file: zz_grt_01.iwd/protectme/server-mp.cfg
    Last edited by Tally; 13th May 2014 at 10:22.

  4. #4
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    There is also using libcod (atleast for cod2):

    http://killtube.org/showthread.php?1...ck-in-download

  5. #5
    Private
    Join Date
    Feb 2014
    Posts
    27
    Thanks
    11
    Thanked 0 Times in 0 Posts
    i want to provide the mod for download in my website, for everyone to use, but not edit or read the "source code".
    so this is not possible.
    thank you all!

  6. #6
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by qwrtyp View Post
    i want to provide the mod for download in my website, for everyone to use, but not edit or read the "source code".
    so this is not possible.
    thank you all!
    Only in version 1.2 and 1.3.

  7. #7
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Quote Originally Posted by qwrtyp View Post
    i want to provide the mod for download in my website, for everyone to use, but not edit or read the "source code".
    Just release an unobfuscated mod... try to step over your ego.
    timescale 0.01

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •