   encryption/decryption?
  i would like to encrypt my resource files in my projects so as they cant be use without permition but i'm unsure how to encrypt and decript them? The type of files i was thinking of was .bmp .tga .jpeg .ms3d etc. thanks   
  By definition, if your game can decrypt the resources, the players of your games can decrypt the resources.   ;  The simplest way would be to XOR the file by a number or string. Then you'd just XOR it again to get the original file.If you want something more secure you'll want to look into actual encryption algorithms. IMO this seems like a waste of time, because if someone is determined enough they'll be able to get your resource files, and it's extra work to implement.   ;  The easiest way to go about it would to be to use an existing encryption library. thefreecountry.com has a  list of free encryption libraries.   