Hidden game media
Hidden game media
Hello
I am working in my first game and
I want to ask if there is way to completely prevent the end user form played or change the game images and textures .
thanks
I am working in my first game and
I want to ask if there is way to completely prevent the end user form played or change the game images and textures .
thanks
In simple words: no.
You can make it harder by using a compressed file, but as long as your program can access the data the user also can. I wrote a cheat program for Descent ][ myself long time ago, where the data of the savegames was modified, and this data lies around in a non-documented (at least to the player) binary file, so it took some time to find the right spots in the file. It's the same with all other game media: is someone really wants to modfiy it and has some knowledge he will find a way to do so.
You can make it harder by using a compressed file, but as long as your program can access the data the user also can. I wrote a cheat program for Descent ][ myself long time ago, where the data of the savegames was modified, and this data lies around in a non-documented (at least to the player) binary file, so it took some time to find the right spots in the file. It's the same with all other game media: is someone really wants to modfiy it and has some knowledge he will find a way to do so.
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
-
- Posts: 157
- Joined: Tue Mar 20, 2007 8:30 am
That's true, no matter what you do, someone who really wants to is gonna get to your files. The only thing you can do is try to make it more difficult, or at least make it so the average user can't get to them. Once I get around to it for my own project, I intend to encrypt my files or at least make them a little less legible (at the moment you can see them perfectly in any internet browser) and possibly pack them all up in a .dat or .pak or .pk3 file or something that irrlicht will read
Tell me what you cherish most. Give me the pleasure of taking it away.
It's correct that you can't really prevent it in PC games (you can prevent it if you control the hardware like on consoles - at least until those protections are cracked which usually happens after the first weekend).
Still - I also had to "protect" some files recently due to a stupid license forcing me to do so. I used the new IFileArchive interface for that and basically wrote an own archive which contains a single zip file which is on openFile completely decompressed into a memory read file. That certainly sucks, but as long as I don't need it too much it's a solution that works.
In general I recommend just not protecting game resources. People starting to mod your game is usually about the best thing that can happen to you. So invest that time rather in making it easier for people to mod your game :-)
Still - I also had to "protect" some files recently due to a stupid license forcing me to do so. I used the new IFileArchive interface for that and basically wrote an own archive which contains a single zip file which is on openFile completely decompressed into a memory read file. That certainly sucks, but as long as I don't need it too much it's a solution that works.
In general I recommend just not protecting game resources. People starting to mod your game is usually about the best thing that can happen to you. So invest that time rather in making it easier for people to mod your game :-)
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Lol what a waste of ressources...DeM0nFiRe wrote:You could always extend Irrlicht to read a better archive format. I am working on having it read a CAB file with a 576-bit Blowfish encryption algorithm.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
A Descent2 player! Yeah! I'm involved in a project to remake a Descent-like game so something like this will have to be faced eventually.... If you're interested in helping out, lemme know.Brainsaw wrote: I wrote a cheat program for Descent ][ myself long time ago, where the data of the savegames was modified, and this data lies around in a non-documented (at least to the player) binary file,
It would be interesting to be able to hide data, and really handy in some cases.
The Open Descent Foundation is always looking for programmers! http://www.odf-online.org
"I'll find out if what I deleted was vital here shortly..." -d3jake
"I'll find out if what I deleted was vital here shortly..." -d3jake
So TrueIn general I recommend just not protecting game resources. People starting to mod your game is usually about the best thing that can happen to you. So invest that time rather in making it easier for people to mod your game
Come on people, do you really think your stuff is so great that anyone actually "capable" would steal your game resources and use it in their own game!
If they have to steal resources then I'm pretty sure they will never get further than stealing them and rendering them in their own little bubble!
POP! the bubble burst!
I can hear birds chirping
I live in the Eye of Insanity.
I live in the Eye of Insanity.