#######################################################################

Tool:   GameGuard files decrypter
Author: Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org

#######################################################################


This is a very simple tool that decrypts the files used by the
Gameguard anti-cheat program.
As the title says this tool only decrypts the files and does NOT
re-encrypt them because all the files used by the program (executables
too) are digitally signed with a private key and so "should" not
possible to resign them correctly (I'm not an expert of cryptography
but this seems to be the reality).
In short, also if you modify and re-encrypt the files (no problems
here) they will not been accepted by the GameGuard executable
Gameguard.des, but if you are able to patch this executable any problem
is removed and you can use the modified files.

So you can decrypts the INI (located in your game folder and in the
GameGuard one) and the update.cfg (downloaded from the network when
the game searches for updates) files.
For some real examples download the following files:

 http://211.189.28.162/nprotect/GameGuard/EngServer/PristonTaleEng.npz
 http://211.189.28.162/nprotect/GameGuard/EngServer/update.cfg
 http://nprotect.lineage2.com/nProtect/GameGuard/RealServer/update.cfg
 http://nprotect.lineage2.com/nProtect/GameGuard/RealServer/Lineage2US.npz

The files with the NPZ extension are zipped so unzip them first.
Now launch:

  gguardfile update.cfg clear.txt

Now the file update.cfg has been decrypted and you can watch what it
contains with a simple text editor.

The other files like those with the DES extension cannot be decrypted
because they are already clean (they are executables) but can only be
verified using the sign contained at their end.

In short this tool is not really useful but if you was curious to know
what the Lineage2US.ini file contains, now you can.


#######################################################################
