Baaleos
Joined: 02 Sep 2007 Posts: 830
|
Posted: Sun Sep 08, 2013 13:11 Post subject: |
|
|
It sounds like you want to remove the DRM portion of NWN2 and replace it with your own.
I'd be cautious about this- as it seems like the sort of thing that would be illegal, and obviously no one here is going to tell you how to crack the game so it doesn't require cd keys.
There are many ways to create more robust security validations in a PW.
Eg: use a MySQL server, the player name gets linked to a cd key, and you then have the choice of banning player and/or cd key- that doesn't prevent them from making a new cd key or a new player name, but you could also take it a step further as I have done in my PW- and linked player accounts to forum accounts.
Forum accounts are then linked to Facebook- and it's less likely for a person to have 3-4 fake face books.
If your heart is set on the creation of cd keys-
http://www.codeproject.com/Articles/11012/License-Key-Generation
In C# the class you might get best use out of is the GuID class, simply take the x digit long alpha-numerical string it gives and modify as needed to fit your license key rule set-
Then insert them into a database of VALID cd keys, and distribute them as needed.
You could create an ingame cd key entry screen where the players enter your license key, if they don't get a valid key, they don't get to play.
I think if you continue down the avenue of attempting to or even researching tampering with Bioware/Obsidians code that validates cd keys in the application you run the risk of breaching terms and conditions.
Arguably both games are ancient and probably no one would care that much- but if the same effect can be achieved without modifications to the exe- why not try those first? |
|