I've been building a role playing game on PC using the Java language for 2 months.
I managed to implement a "save and load system" in 3 days.
The roadblock currently with development is "it is really easy to find the textfile from the game's folder and just start editing the numbers which can ruin the game exploration and balance."
The save file needs to be a textfile because Java has this file input and output object that knows how to handle textfile. I am not sure if it can handle any other file extensions.
What are my options to stop users from manipulating a game save data text file?
gameSaveData.txt
MapScreen: 0
Map Position: 0 0
Camera: 245 -215
Character's Level: 5
Character's Life: 50
Character's MaxLife: 50
Gold Amount: 29
NPC0: FINISHED
NPC1: FINISHED