Jump to content
  • Advertisement
Sign in to follow this  
t5hoo6

programming help

This topic is 4743 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hay, I am making a encription file, but I cant figure out how to change its code so it cannot run enless You run a decription file, or setup in this case. I need some code, dont tell me to look at google, evry time I do I get a new vires, yes I have an Anti-Vires, I donot care if the file is bigger or smaller than the origenal, I dont know the code for zips or cabinent files.(*.zip,*.cab if I spelled that wrong) All I'm doing is a setup file.

Share this post


Link to post
Share on other sites
Advertisement
Do you mean compression/decompression instead of encryption/decryption? Or do you just want to pack multiple files into one without caring about compression (since you did say you don't care if the file is bigger than smaller than the original)?

Compression = Making a file smaller while preserving all the data
Encryption = Making it difficult to get information from a file

You get a virus every time you google? That's pretty wierd. Although one time I did see a heavily-abused computer that like changed the results that google would return. (It wasn't just an IE hack, it did that with FF too. I think they like modified incoming http packets or something...I ended up reformatting it)

As for compression, look at zlib.
As for encryption, there plenty of algorithms out there. Common symmetric algorithms are Blowfish and Rjindael.

There are programs out there that can make setup files for you. Installsheild, etc.. not sure if thats free or not.

Share this post


Link to post
Share on other sites
Quote:
Original post by t5hoo6
I want to make it hard to read the code.

As in you want it to be hard for people to read the sourcecode of your program? That's called "obfuscation", but it isn't really useful if you're using a compiled language such as C or C++. Once your code is compiled into an executable, there is no longer any sourcecode for your users to read. They can use something called a dissassembler to convert the executable back into assembly code, but assembly isn't particularly readable, and would be completely useless to most people.

With a language such as Java obfuscation can sometimes be more useful - there are programs around which will automatically obfuscate your code for you if you really want to.

Quote:
All I'm doing is a setup file.

A setup file is something completely different. If you want to create setup files for your programs, a couple of good free options (Windows only) are NSIS and Clickteam Install Creator (which is free, but includes an ad - you can register to get rid of it/get some more features).

Does that help you at all?

Share this post


Link to post
Share on other sites
What do you mean it helped a little, assembly is a bitch to read so your source code will be hard to read, if you want to call it source code.As for a setup file, make it easy on yourself and use one of the 2 he suggested.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!