Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
richardelms authored Dec 6, 2017
1 parent 40921a8 commit 18700c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ Grab the latest unity package from the releases tab of this repo and import it i

I have added a very simple scrambler to the saved json so that players cannot easily cheat by changing the values in the saved game file, this can be enabled or disabled with the bool ScrambleSaveData at the top of FileBasedPrefs.cs. Please note, this is not super secure encription, just a small string scrambler method that i think will stop 99.99% of users from editing the data. Adding your own better encryption would not be super difficult if you had the time.

At the top of the file FileBasedPrefs.cs is a string names "EncryptionCodeword". Please change that string to your own randomised value.

Once you choose a value, you must stick with it or it will break all old save files that were created with the old value.

## Save File Name

At the top of the script FileBasedPrefs.cs you can specify what name you would like your save file to have in the string SaveFileName.
Expand Down

0 comments on commit 18700c7

Please sign in to comment.