Linked Questions

2 votes
5 answers
4k views

How can I write data to a file that users can't easily edit? [duplicate]

Possible Duplicate: How can I protect my save data from casual hacking? While working on game saving and loading I figured I could just write all the variable values to a file and then load that ...
Bugster's user avatar
  • 2,024
0 votes
2 answers
815 views

The best way to store and protect game data [duplicate]

I'm writing a sandbox-type game and i'm looking for a good way to store game data. I tryed Lua and plain text files, but the have a big minus - player can edit them his self! So how do I protect data ...
user avatar
-1 votes
2 answers
100 views

Protecting tilesets [duplicate]

I have a game and my tilesheets are placed in the images/ folder. If a user edits the tilesets, they can make them transparent (I use white as my transparent color on them) and in game basically ...
Manchos's user avatar
0 votes
0 answers
303 views

Simple Anti-piracy techniques [duplicate]

I'm releasing a game soon and thinking about adding some simple anti-piracy techniques. It's an offline adventure game but I'm thinking of doing a quick background check on startup for updates if ...
user961882's user avatar
0 votes
0 answers
40 views

When saving data locally for a mobile game, how to protect it? [duplicate]

I am designing a mobile (iOS/Android) game and I try to save data (such as levels, coins, status) in local files. In this way, I am concerning a case that someone can just copy these files and give ...
Joe Huang's user avatar
  • 163
-2 votes
4 answers
2k views

What cryptography algorithm I can use in my game?

In my game I have data like items, enemies, tools, craft formulas, etc. I want store this information on disk securely. What algorithms I can use for free? I currently store my data using the JSON ...
Oleg Kovalov's user avatar
3 votes
2 answers
2k views

Gathering Stats from a StarCraft 2 game

One of the maps I've played, nicknamed SotiS (DoTA in SC2) has the ability to maintain stats, which are sent back to their own server. Does anybody know how this is done?
Austen's user avatar
  • 31
1 vote
3 answers
6k views

How do I save data to the iPhone properly and securely?

I'm creating a game using Cocos2D (objective-c) and it has come to the point where I have to save data to local storage, like high scores and similar stuff. I know that ...
marcg11's user avatar
  • 425
2 votes
3 answers
2k views

Protecting game assets through archiving

I'm writing a game in C++ (with OpenGL) and am getting quite far into development. Currently I'm loading the data directly from different directories. (E.G. I load textures from a /Data/Textures/......
Morgan Frary's user avatar
3 votes
2 answers
570 views

Implementing unlockable items on Android

I know this would be a beginners question (some of you might think) but I would like to know different approaches for this. I have a game with lets say 20 unlockable items, at the main menu I have a ...
coder_For_Life22's user avatar
1 vote
1 answer
162 views

How should I go about protecting my script files?

I am working on a small multiplayer game with a whole bunch of scripting components. I know I can't store my files in plaintext otherwise anyone would be able to change the functionality of core ...
benbot's user avatar
  • 196
-2 votes
1 answer
155 views

Safest place to store data [closed]

What is safest possible way to store data? Specific directory? (De-)hashing method? Specific permissions? Let say I have file *.txt file; the only ...
Guest's user avatar
  • 7
1 vote
1 answer
150 views

How to handle user save games?

I started on my first game; and now im confused how to handle the player SaveGames. I use google-play-services to persist the user's save games across devices, and I am keeping a local save too. So ...
fahimalizain's user avatar
2 votes
1 answer
50 views

I am trying to create a plugin and upload it online.But I do not want the users to be able to edit any of the content.Is that possible?

I am trying to create a plugin that can be uploaded into the unity asset store.I do not want the users to be able to edit the content.Functions should not be editable,just the variables should be ...
Saranya Ananthakrishnan's user avatar
-1 votes
2 answers
106 views

How to make a proper cache on user computer?

Currently when launching the client of the game, it connects to the server and loads all the cachedata in a normal form (= folders, .txt files and .png files). However I don't like that the players ...
minisurma's user avatar