This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Having a protection in new game?


Having a protection in new game?

Postby JoJo » Mar 5, 2003 @ 6:48am

Dear all,

Do you think it is necessary to add protection routine (such as checksum) for prevent program from cracking? If so, I wonder if someone can tell me how to start.

JoJo
JoJo
pm Member
 
Posts: 25
Joined: Feb 12, 2003 @ 9:28pm
Location: Hong Kong


Postby DillRye » Mar 5, 2003 @ 10:57pm

I personally vow that if I ever have copy protection in games, it will not at all hassel the people that actually paid for it. With that said, Id say put enough in to make the casual user not be able to beam it to a friend, but reguardless it WILL be cracked. When it is cracked, its easy for a person to beam it around at will.

I think the best way to create a copy protection is generate some sort of key by username. That way no matter how many new devices a person gets, thier name never changes and neither will the code.

The stuff that generates codes per ppc serial is what really gets me aggervated.
User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Postby fzammetti » Mar 6, 2003 @ 8:33pm

Although I agree that protection will always be cracked no matter what you do, I think there is a certain amount of prudence in putting something in. If you can fend off the pirates for a few days or, with luck, a week or two, that helps sales, and it's about all you can realistically ask for. Well, I suppose we could realistically ask people to not do unethical and illegal things, but let's not start THAT thread again! ;)

As DillRye said though, you have to make sure it's not inconvenient for the user. That will kill you worse than being pirated.

I'm currently toying with some ideas for my next game release, but I haven't made any decisions yet... What I've come up with is this (feel free to steal the idea if you want)...

When you purchase the game from Handango (which will be the only distributor it's available from for reasons you'll see later), the user will download essentially a trial version, or they would have done that already, either way is fine.

When the purchase occurs, Handango sends an eMail to alert me of the sale. I now have an automated process set up that is activated when that eMail is recieved.

Based on the Handango sales number (which is a God-awful long-ass number, that's why I said only they would distribute for me) I create a 10-digit code based on my own custom algorithm. I then send this number to the user via the eMail address they entered. They can also at any time log on to my web site, enter their name and purchase number, and retrieve the code (in case the return eMail doesn't go through).

Once they get this, they enter it and off they go. eMail is fairly reliable in general, and Handango seems to send the notification eMails immediately, so I would expect a user to not wait more than a minute or two before they get their code. I will of course inform them of all this at the time of purchase. In addition, Handango sends a nightly file containing all your purchases. I will have a process that compares this with what got added throughout the day, make sure nothing got missed.

Now, the protection itself is checked at numerous points throughout the game, using variations on the check code, so a would-be cracker would have a little tougher time of it. It also stores the values that are checked to indicate the game is registered in a number of locations (registry, various files, datastore, etc.). Lastly, I do a custom checksum check on the executable and check this in various spots throughout the program, again with varying code. Should make it tougher to tamper with the executable.

I know that sounds like a lot of work, but a while back I wrote a program that takes in source code and basically re-writes it randomly. It winds up being functionally equivalent, but it usually looks totally different each iteration, so I'm really just writing the code once or maybe twice and using this process on it after.

This to me seemed like a reasonable compromise in convenience and protection. Again, it's not going to stop anyone cold, but I do believe it would slow them down. It's elaborate enough to give crackers headaches for a while, but not such an inconvenience on me to implement or end-users to deal with (I think).

In addition, should a code be released, one of two things is true: either (a) they figured out my algorithm and wrote a keygen, or (b) someone bought a copy and gave out the code. In the second case, I at least theoretically know something about the purchaser and could potentially do something about it, but chances are they used fake information, so it'd probably be a dead-end anyway.

I suppose the web site could be hacked too, but presuming I'm a half-way decent admin and web developer, that shouldn't be a huge concern. Besides, you can't cover EVERY base I figure.

Like I said, these are just ideas I'm tossing around, what I've implemented already wasn't actually done specifically for this protection scheme, so I've basically put no real work into this yet. Feel free to use the ideas, or derivates, if you want.
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Digby » Mar 6, 2003 @ 10:04pm

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Postby James S » Mar 6, 2003 @ 11:48pm

fzammetti, you also don't want your program to become such a challenge to hackers that it becomes some kind of prize to find a way to hack it, a target for the crackers.
<img src="http://home.comcast.net/~sonne/james/tag.gif">
James S
pm Insider
 
Posts: 17064
Joined: Jan 12, 2002 @ 2:33pm
Location: Lexington, KY


Postby sponge » Mar 6, 2003 @ 11:49pm

Digby: That's an awfully gloomy way to put it. It's like if all the car manufacturs (yes I can't spell) all walked about because they didn't want their cars broken into.
holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Protection methods etc

Postby Conan » Mar 7, 2003 @ 12:13am

The good news (believe it or not) is that there are lots of people willing & able to purchase software. Regular honest people exist & outway the kids with their dad's old PocketPC who frequent warez sites. Just make sure that your protection is good enough to stop the casual hacker.

I'm not offering any new ideas but there are a few mention on this board. Do a search.

Whatever approach you take make sure you look after the registered users so that they get a better experience than the 'wankers' who can't bring themselves to pay for other people's labour.
What is Best in Life ?
User avatar
Conan
pm Member
 
Posts: 1309
Joined: Dec 24, 2001 @ 5:16am
Location: the Shades, Ankh-Morpock


Postby Sm!rk » Mar 7, 2003 @ 12:34am

User avatar
Sm!rk
pm Member
 
Posts: 172
Joined: Dec 16, 2002 @ 4:40pm


Postby fzammetti » Mar 7, 2003 @ 12:35am

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby sponge » Mar 7, 2003 @ 1:09am

holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby DillRye » Mar 7, 2003 @ 3:33am

Smirk Has the right idea, keep honest people honest. Don't try to fight a war. Most of the people who will pirate your game probably wouldn't have bought it anyhow. You hear about people with gigs and gigs of pirated material, but honestly I can't see them using it all. It ends up being a prize. Good games make good money, if someones game isn't making money, most people blame it on pirates, I think this is a never ending cycle of blame that gets me a little aggervated.

Personally I don't have a single app on my PPC that is pirated, Im not condoning pirating at all, its definatly wrong. Alot of people end up blaming thier lack of sales on this when its actually a much simpler answer.
User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Postby fzammetti » Mar 7, 2003 @ 5:17am

Conversely, whenever I see someone say that piracy doesn't have an impact, I get a little aggrevated.

But again, let's not start that particular thread again.
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby James S » Mar 7, 2003 @ 5:20am

It has an impact but it's not going to make a game sink or swim. Warez is a constant, not a variable factor.
<img src="http://home.comcast.net/~sonne/james/tag.gif">
James S
pm Insider
 
Posts: 17064
Joined: Jan 12, 2002 @ 2:33pm
Location: Lexington, KY


Postby DillRye » Mar 7, 2003 @ 6:58am

User avatar
DillRye
pm Insider
 
Posts: 477
Joined: Apr 25, 2002 @ 7:28am
Location: Iowa State University of Eng


Postby refractor » Mar 7, 2003 @ 10:07am

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Next

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron