Software Copyright Protection
To those of you out there who sell Pocket PC software on sites like PocketGear or Handango:
What is the best way of copy protecting a PPC game? I'm about to finish my first game and I'm trying to figure out the best way to do it. My priorities are:
* How hard it makes the game to steal.
* How much work I have to do everytime someone buys a copy of my game.
* How inconvienent it is for paying customers.
Seems like the best solution would be to generate unique authorization keys for different devices by hashing the PDA's unique serial number. That way everyone would need to get a key from me to play the game their device. However, the two main problems with this approach are: I would need to somehow automate the keygen process (I wouldn't want to do it by hand every time someone buys my game) and secondly, people would get angry if they bought software that would only run on one machine (look at windows XP). The solution to this would be to keep a database of all paying customers and allow five or six installs for each purchase, but then we're talking about some serious infrastructure resources on my side (I'd have to run a database/software registration server in my dorm room). So how do you guys do it?
I think if your going for copy protection, you should base it off the devices user name. While not perfect, unless it is cracked would be a major inconvenience to anyone with multiple pirated apps(they would have to constantly switch user names to use different apps/games).
I don't mind copyprotection that lets me use the software how I want to, but alot of protection schemes are really limiting these days. Mapping the serial to a device ID in my opinion is a very bad thing. Alot of small developers end up going away, what happens then when I get a new device?
I suppose you could do what ID software does, release the game with initial copy protection, then release a patch after the initial sales have happened.
I would suggest against creating a code based on anything specific to a device. You need to keep in mind that there is absolutely ZERO you can do to stop piracy, so all you want to do is stop casual copying and not inconvenience your buyers.
I would suggest creating the code based on the person's name or eMail address or something like that, unless your goal is actually to stop legitimate users from playing on more than one device. You have to decide if you believe that to be fair or not.
As far as actually protecting your software goes, remember that crackers WILL crack it, you just want to slow them down a bit. The best approach I know of to do so is to do various checks at various points in the program and be very careful to create code that (a) doesn't boil down to one simply IF statement and (b) doesn't look the same in each place. This of course is all easier said than done, but it will at least make it tougher on pirates.
As for infrastructure, I think your best bet is the something like the system I set up for my software. Handango and Pocketgear both can be configured to send an eMail when a purchase is made. With this, what you can do is set up a process to watch for those eMails to a specific mailbox. When it is recieved, parse the message and add the info to a database. Then, have the customer come to your web site, enter their purchase ID and then generate their code for them. This is perhaps a bit more of a hassle than you might want to make them go through, but it's not ultimately that bad. This has the added bonus that they can always get their code again without bothering you, and also you will be able to track codes to sales ID's. So, if you see a code out on some pirate board, you can match it to the purchase ID (my system creates the code based on this purchase ID by the way). Chances are the sales will have been made with bogus information, but on the off chance it wasn't you can track the person down and perhaps prosecute, if you so choose.
In the end though, remember what I said to open: no matter what you do, your software IS going to be pirated. Therefore, your goal is to simply stop casual copying, and to not add any significant inconvenience to your legitimate customers. If you make them go through hell, you'll find that your protection scheme ultimately costs you far more than piracy ever will.
If your game gets any attention at all, it WILL be cracked. Chances are, it'll be cracked in a way so you can enter any serial, so don't trust that. If you want to stop casual piracy, base it off the user name. Anymore than that, and it becomes a hassle as you need a new serial number everytime you hard reset, or get a new device, which leads to installing the cracked version anyway (doesn't matter then I suppose, unless you make bugs in the game if it finds that it's cracked)
Believe me too, I know what I'm talking about.
What about flooding with false cracked versions ?
How would you do that? All the large distribution places have operators/moderators everywhere, not to mention tons of private sites.
If you write the software using .net or vb it can't be disassembled. So someone would have to buy it to spread it. Mix that with a device generated serial and you'd see lots of activity from someone who is giving out serials.
The first statement could be wrong, going off of what i've heard.
goatCE wrote:
The first statement could be wrong, going off of what i've heard.
http://www.remotesoft.com/salamander/
http://www.saurik.com/net/exemplar/
etc.
Searching on Google will point you to loads of them pretty quickly.
Sure there are 'obfuscators' and whatnot, but those do little more than make it so you don't get nearly identical code when you decompile.
First you must look at what Handango actually offer for automatic registration. They won't just take your system and run with it so you either fit in with them or you have to issue registrations or give them a bank of reg codes.
I send out all Handango codes myself via email as I don't want to use their system however for Shareit! who do around half my registrations I can write a custom dll whoch they then use so you can be as fancy & unique as you want.
For my next release I expect I will use Handangos automatic system unless I think that this will lead to easier cracking ( if all games sold via Handango use the same system then it must be easier to find & hack? )
How exactly do crackers crack things without the source code? Do they use code-extracters (which work horribly) or something?
Cracking at the simplest level just requires a Hex editor, and setting various bytes to 0. For example, to keep a message box from appearing, you can set the first character of the string to 0. The MessageBox routine will not show a window if it is passed a string of zero length. 0 is NOP, so you can prevent branches to other code by setting a 0, etc.
The idea of any protection scheme is two-fold. To prevent casual sharing from among typical users, and to prevent trivial hacks from breaking the protection (ie the types of hacking I mentioned above).
Dan East
They just use a disassembler. <a href="http://www.datarescue.com/idabase/">ida pro</a> or somesuch.
Usually IDA Pro.
Occasionally, a stupid program can be "cracked" with a program like EXEScope (which is quite useful otherwise, by the way) For example, there was once a program that had Save grayed out. All I had to do was load it in EXEScope and uncheck a box, reenabling it.
Hex editors...I remember when I was in 3rd grade with my overclocked 80 mhz PowerPC 601 Mac comp, I used to fool around with a program called "ResEdit", and just screw up the code.
What does being in 3rd grade have anything to do with anything???
Anonymous wrote:
What does being in 3rd grade have anything to do with anything???
There, I fixed it "Mr. Guest". The point was that it was a long time ago.
To what point? I dont see how that was relevent at all.
Anonymous wrote:
To what point? I dont see how that was relevent at all.
LOL. I also wonder what was the point.
I suppose it illustrates that putting security information and dialogs in the resource section is a bad idea.
It made me smile as it reminded me of when I spent a dull afternoon at work drawing rude pictures in the bitmap resources in cards.dll and putting it on various peoples' PCs. You soon find out who's playing solitaire instead of working.
Doesn't it all comes down to: How much sales do I miss because of illegal copying.
We have not put any copy protection in our games because of the hypothesis that the average user doesn't know how to find the full game without paying for it. Instead we have a full version and a trial version. Perhaps this is wrong now that the Pocket PC community is more established. Any thoughts on this? I still don't think that we are missing much sales because of this. Perhaps there might be as many illegal users of our games as legal but how many of the illegal users would have bought the game if it was their only option?
If you have a game that are among the top 20 most popular games and targets young people then it might be different. Our average (legal) user actually seems to be a middleage woman.
the previous post touches on the point of age. My software sells to mainly men & women rather than kids so there's much less chance of hacking/copying/key swapping.
Well, on the point of having a separate trial and full version, I agree with that approach, it's what I do. As long as it's written in such a way that the full version will simply install over the trial with no problem, I don't see that as a problem. Some people complain because they should just be able to activate the trial, but I also don't see it as any major inconvenience to have to do a second install, as I said, as long as it's seemless.
I had someone who informed me that my Electro program was pirated, and I was curious to see what was really out there, so I ventured into some PocketPC warez newsgroups. In short, EVERYTHING is there. It's all easy to find and easy to get. So, on the question of how much it really hurts sales, I don't think anyone can really answer that, but I can say this with certainty: it's trivial for anyone with even a slight bit of knowledge and motivation to get pirated PocketPC software. Take that for whatever it's worth.
Were the sites / groups you visited operasting in such a way that it would be possible to get the site closed down for illegal practices or were they not blatantly offering cracked s/w or stolen codes?
Working in the legal field as I do I know that it's not too difficult nor too expensive to get a domain removed from dodgy operators but only if they are obviously doing/condoning something illegal. ( though I would only do this if I thought I was losing out on sales as it involves paperwork)
I only checked out newsgroups because it was easier to find them than a warez site. I don't think there's much recourse there, you'd have to get each newsgroup provider to remove the group, and that doesn't seem terribly likely, or worth the time in the long run even if you could.
I think with the way the Internet is these days, shutting down a domain isn't even worth the time and effort because in the long-run you aren't really going to stop anything. You arguably won't even slow it down, not when it comes to warez. I think the sites that are out there (Spam's comes to mind, I don't know if that's still around) are pretty careful to not be obvious about what they are doing. You and I as develoeprs know full well what's going on, but from a legal perspective I'm not sure there's a whole lot to be done (I bow to your experience though if you say otherwise).
If thoses newsgroups are easy to find you can flood them with false cracks of your software just before their release...
I don't know however if downloading such a false crack would be a real incentive to buy the software..
I don't think that would work in this day and age. What you did would be figured out pretty quickly and the word would be spread just as fast.
Again I'll say it, and anyone is welcome to disagree, but I don't think fighting the battle against newsgroups, warez sites and pirates is a battle you can realistically win. I was a part of that community years ago, and it's only gotten easier now with the Internet.
All you can really do I believe is cut down on casual copying with a reasonable registration scheme, and try and tie whatever codes you get to some piece of information that you can track in some way, just in case you want to try and prosecute someone later. Beyond that, you can more eaily do yourself harm by pissing off legitimate customers than actually stopping piracy.
Most people who crack the program wouldn't buy it anyway. It's cliched, but it's true, I see it all the time. As for shutting down, I'd doubt it (look at all the XDCC channels, etc, on EFNet)
In all honesty, don't try and fight the underground community. Quite a few developers in the past have tried, and all failed, some with varying consequences if I remember right.
As long as you have a trial version, a fair price, and a non-intrusive registration method, and you wont lose TOO many sales over piracy.
sponge wrote:
Most people who crack the program wouldn't buy it anyway.
Exactly! Almost all of the games that I have "downloaded" I would have never bought anyway. For example, do you think my family would let me have Postal 2? Heck no. I bought battlefield 1942, however.
Transgendered party chip, why are you in the developer's board?
And I don't understand why anyone would WANT Postal 2.

James Sonne wrote:
Transgendered party chip, why are you in the developer's board?
And I don't understand why anyone would WANT Postal 2.
1. You can call me Mal, or something else now.
2. I'm learning C/C++.
3. Postal 2's developers have a
great statement. "Violence belongs in video games, not real life."