As the title says: I release an update of my game that includes some new maps and events, my users see it at my page and download it. How do they update the game that they had without losing it?
If you want specific information, just tell me.
It's urgent, please, somebody help me.
- Diego
How do they update the game that they had without losing it?
Do you mean the save game they had?
Yeah, thank you! The community is awesome, especially moderators!!!
What Kes said covers most of the case, but there is one case I experienced before with this kind of "update". Your player saved his game inside a house, and the only way to get out of the house was through the door. However, I forgot to put a command Transfer Player for the door, so the player was stuck inside the house. And being aware of this, I released a patch which applying a Transfer Player command to the door, and gave the player "Mapxx.json" to fix it. However, the game did not update that map where the player was after the save, and I couldn't find a way to deal with this but to tell him to restart the game from the beginning.
Long story short, the game will not update any data of your current map where you save your game. It only updates if you leave that map and come back again. Be careful of this and try not to make your players stuck inside a map if you allow them to save there.
Well that was the default way for updates for games made using the past makers especially for encrypted games made using the default encryption (because the encryption of older makers bundle the data files and the graphics into one file), so being old here, its kinda grown on me (especially since my games are very low file size anyway). Unless you use your own custom patching system, or simply dont encrypt the game so you can only update the data files without the graphics and music. They dont need to paste their saves into your new deployment, you paste the new deployment into their old files..
I admit its a bit file size hogging though esprcially if your game is huge.
As for the files you need, I havent checked yet which file has the versioning but if you include every file except for the graphics/music then you should be able to do it right without a very big patch file since its those resources that usually make the game big. But I think it would be somewhere on the xml file or something for the game.
Take note that this mostly applies to unencrypted games. If you have encryption in your game, the method will depend on how you encrypted your game files. Like does your encryption encrypt per file or does it bundle the files into a pack etc.
I only encrypt graphics and music files. I'm thinking of giving the players all JSON files and the XML one. At least the size of these files is light. Hope this will solve my problem.
If you want to go for a more meta approach you could release two versions, one with a “chapter select” or something of that nature.