PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Copy Protection

Hello, do any of you have any recommendations regarding copy protection systems/methods for games?

I would consider paying for a 3rd party library in principle, but I'm unsure of how much one can typically expect to earn from a game and I am poor :).

Thanks
do something that is simple for both the user and you. it doesn't really matter what you do as it will be cracked, its only a matter of time. the better your game, the faster it gets cracked. the most uncrackable game that I know of might be crazy kart or one of the other int13 games, but even they were cracked, just do some searching on them on this forum and you will find plenty.
Crazy Kart got cracked, but not our other games.

They could be cracked, but it's hard enough...

Note : you could find warez copies of Darklaga, but we made them ourselves, and I can say that they are not working as expected.


:evil:
If you assume that your game will be cracked I recommend only making available from one store at first and as soon as the game has been out for a week uploading it with a different protection method. The crack will be dis-credited as it wastes the lamers' time trying it. This does 'work' but all you are doing is annoying those people who never buy anyway cause they like being a little crooked.
Honestly, I think you should worry about it, but don't delay release, or really even kill yourself over it. Unless you really hit on something special, it won't be long.

I don't know how complete it is, but keep your eye out on this site: http://www.nfodb.com/section_5_pda_nfo.html once released, the NFO will appear there. The scene is a LOT more competitive than it used to be years ago.
Thanks, after reading around the following approach looks quite promising :

Gather some system information (mac address would be ideal, but not all ppcs have built in network cards, dunno if there is another unique id), then generate a hash from that and send it to an online server. The server would then generate an authentication key from that which the ppc could verify against its public key. In the actual game this key would be verified in various places (obviously not calling the same check function :) ), but if the verification failed, the game would not immediately die, but enter an invalid state : eg disabling an important trigger or reducing the characters jump distance by a tiny amount :). The idea is to make cracking it like bugfixing, crash bugs are easy to fix, whereas the more subtle ones can be a real nightmare.
pappaxray wrote:....The idea is to make cracking it like bugfixing, crash bugs are easy to fix, whereas the more subtle ones can be a real nightmare.


Good start :)

Every PocketPC have a unique deviceid, search msdn and you'll find the API.

For the key, it's better to give a very small piece of code instead of a key...
Hi! I'm going to release the demo of my game soon and the one thing is disturbing me:

How should I prepare the demo- so it wouldn't be the key to the cracking of full version? Or even the key for the cracker to make the full version from the demo(adding resources etc. from the full)?

Should I think about protection system of full version Before releasing the Demo? If yes, than should I include some disabled parts of it in the demo to make the code look like the full version?

Thanks
Ahh thanks, found it :

bool retVal = KernelIoControl(IOCTL_HAL_GET_DEVICEID,
IntPtr.Zero
0,
OutputBuffer,
OutputBufferSize,
ref BytesReturned);

This'll make things easier :).

V good article for anyone who's interested, u need to register tho.

http://www.gamasutra.com/features/20011017/dodd_01.htm
pappaxray wrote:bool retVal = KernelIoControl(IOCTL_HAL_GET_DEVICEID, ...);

It is not so difficult to intercept this (or any other) function and force it to return a predefined value. Thus your game would be carded one time, and a cracker would release an universal loader.
You should also use some other information. For phone-edition devices IMEI is a good thing to check, the date/time of NK.EXE file is also a constant, unless the device is reflashed (you should check GMT time and not local time that depends on timezone and would change if the user travels). Owner name is too easy to modify, but you should also check it.

Moving the checking part of protection and several not time-critical parts of the game (for example level loading for levels starting after the shareware-limit) to some script-language that would be interpreted at runtime would be a real pain for a cracker. Your game may check in several places if the script is modified or use several different scripts. You should not use any of the well-known scripting languages. I used SeeR in my projects - http://przemekp.prv.pl/seer, it can be ported for PocketPC and slightly modified to be unrecognizeable.
SeeR code is similar to C++, so you can debug your program without it and later move some procedures to script with minor midifications.
You can encrypt some parts of the script and decrypt it by serial number (simple XOR would be enough, this part is usually easy to crack), or serial number may contain several bytes of this script. For example you may have one unencrypted script that checks that serial number has a valid format and decrypts the second script that contains some of the game logic and rest of the protection checks. It is much easier than encrypting code in your EXE file. But this part can be cracked having one valid serial number.
Also use as much as possible SEH and C++ exceptions in your protection. eVC and VS2005 debugger don't like them.
Using these techniques correctly would give you several days or even weeks before a crack would appear.

And remember what +Orc said: "if it runs, it can be defeated".