How to distribute a game without being accused of distributing a virus.

Started by
3 comments, last by Firestryke31 11 years, 4 months ago
Is there any way of writing a game in c++ and distributing it without anti-virus software accusing it of being a virus? I wanted my friend to play the game I made and he said that his computer wouldn't let him open the file. It prevented him with this message -> "Your internet security settings prevented one or more files from being opened." He didn't know which virus protection he had.

Is compiling and distributing a .exe file with the game on it a bad idea? What is the best way to distribute a game?

He doesn't have a compiler or the motivation to install allegro to compile it himself.


P.S. Sorry that the topic title is worded properly. I should have named the topic "How do I distribute a game without being accused of distributing a virus?".
Advertisement
He's probably getting that message just because of the fact that his browser is seeing an executable, regardless of its contents. The best way to ensure that you're not going to be accused of distributing a virus is not to change your language or anything of that nature.

It might not be the best way, but it's at least probably good practice to have the MD5 checksum of the file you're distributing readily available to be checked against an MD5 tool's output so that there is no confusion as to whether a third party is tampering with your file. Even better if you have the sourcecode available so that particularly skeptical users are free to compile it on their own if they wish.
.exe files are often blocked from direct access via email or browser. Best to put it in a zipped archive.
Also, some virus scanners are overly picky about self-decompressing executable files (Mole Box Runtime packer for example)

Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

It is just trying to tell the user that a .exe file can potentially be harmful. There isnt a way around it. I think your friend just might not be as computer savvy as you and might have been scared by it. There might be an ignore button of some sort.

Chances are if he goes off to get the windows 8 update checker from microsoft themselves his computer might throw a wobbly at it too. It probably isn't discriminating against individual files, just anything which is a .exe.

Publishing source code is often one way to assure the public that it is not malware.
You might also consider getting a certificate with which you can sign the executable if you're planning on ever selling anything. IIRC you can use it for signing as much as you want, but be sure to keep it safe so others can't sign stuff as you. Don't ask me about details though, I've never gotten far enough to be worth getting one.

This topic is closed to new replies.

Advertisement