I'm making a game in Java, and I need a good file format to store the player's saved data.
Any suggestions?
Feel free to give examples in code if you want.
EDIT: This is a server-client game, so the saved data will be on the server's machine. Also, I don't want to use Serialization.
XML
let's you save any data structure you may have in a standard format and you won't need to write your own parser/writer for it
if you need the files to be "secured" from gamers changing their scores/progress/... (not sure where the files are stored? or whether this matters?) you could pass the XML through an encryption algorithm or encrypt the data elements before putting them into the XML