PocketMatrix forums

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

Anti piracy measures

I'm about to release my first program, and would like to hear tips on preventing piracy. I do realize that eventually it will probably get cracked, but would like to make it as hard as possible.

Also, what are the bounds of what it is acceptable to do ? Is it ok to validate codes through the internet, sending the hardware id, owner name and key code to my server for validation, or would this violate the users privace / be insecure ?

I've also never generated serials before, so what type of algorithm should I use ?
yuit,

Try this: Hit "Search" in the top menu, type "pirating" as the keyword, select the "General Developer Discussion" forum. You'll get about 6-7 threads that discuss pirating and protection.

If you have any specific questions after that, I'm sure we'll try to come up with good answers. :)

Hope this helps,
-John
Only the first couple of pages have programmer-useful info, people like me can't resist commenting on how you shouldn't make it intrusive to the user and drive it off-topic :P
If you're dealing with serials, try to protect the code from being disassembled. Some good hints for a start are in "Secure Programming Cookbook for C++" by O'Reilly.
If the code can be disassembled, an advanced assembler programmer can write the formula for your serial within a few minutes.
Erwin wrote:If you're dealing with serials, try to protect the code from being disassembled. Some good hints for a start are in "Secure Programming Cookbook for C++" by O'Reilly.
If the code can be disassembled, an advanced assembler programmer can write the formula for your serial within a few minutes.


It can always be disassembled...
Thierry wrote:It can always be disassembled...


Agreed, it can always be disassebled, but it it not necessarily the 'correct' code you will get
Erwin wrote:Agreed, it can always be disassebled, but it it not necessarily the 'correct' code you will get


Sorry Erwin... If the CPU can read it and figure it out, so can I.
What I was referring to is the following:
- suppose you disassemble game.exe
- you get a bunch of illegal opcodes or noops cause the real code is somewhere else
I admit, I don't know if that's possible with PocketPC OS, but it definitely is elsewhere.
It's always possible to disassemble anything.

But, a dead listing is not always representing what the CPU will see at run time.

Self modifiying code is one of the several techniques you'll have to use to protect your game.
Peter Balogh · 24 Feb 2004, 06:57 UTC
I know it sounds weird, but you shouldn't go to all those great length against piracy if it means you'll trouble your buyers more or if it gives you a lot more support requests.
Yes, PPC games are pirated and No, those who use warez copies are not potential buyers. Also, one day they might become potential buyers, when they have a bit more money and a lot more respect toward others.
I don't like warezing, but I don't feel like punishing our paying customers too much for it. Also, if I could put that extra work into marketing our games, I'll see more sales than if I put it into preventing warez.

Cheers,
Peter
Wow, I am very glad someone who is one of the top ppc game publishers shares my ideas about copy protection. Peter basically said what I always try to get across. Maybe people will belive it comming from someone who makes a living off of ppc games.

I personally get tired of fighting copy protection on the games I own. I run daemon tools on my computer with most of my games ripped to isos. Its soo much easier than swapping/scratching cds.
I'm about to release a game soon also. I'll probably put enough protection in to stop casual copying, and leave it at that. A few months ago I read all about cracking PPC games, it's too easy. To really prevent it, you'd have to go through more trouble than it's worth, because as Peter said, you could spend that time marketing and doing other activities and see a better return.
Why not just add some minor protection, and release updated versions of your product now and then with a couple bonuses? Then the old cracks become obsolete after a little while. Or something like that anyhow...
Thierry":2jvsb8ae]

Truth and no matter how good of a code you may develope or how much protection your procure...Someone will crack it be sure
Volte6 wrote:Why not just add some minor protection, and release updated versions of your product now and then with a couple bonuses? Then the old cracks become obsolete after a little while. Or something like that anyhow...


That's exactly what we'll be doing. We'll be actively maintaining this game so updates are pretty much guaranteed. They'll obviously include fixes for any bugs, but also new functionality if it's appropriate. I think that's the most compelling reason to purchase the product, since the upgrades are free to registered users.
Web based content will help too, with extras. Unique accounts/serials so you can shut down any account quickly.
I would also say don't charge $25 for a PPC game...That is ridiculous. :) I wouldn't mind paying a few dollars but when people get crazy and go over a couple bucks my opinion is shunned and I tend to not get it.