how to update a game but not losing data

Winterfire

Conversation Conqueror
Respected User
Game Developer
Sep 27, 2018
6,519
9,354
800
It depends on the game.

Assuming the game does not require a restart on each new build, and it is Ren'Py, you can simply load up a save without doing anything as Ren'Py saves in two locations (Game Folder and Appdata).
 

lemonfreak

The Freakiest of Lemons
Oct 24, 2018
5,612
10,425
925
Depends on the engine, with Renpy, unless the dev has had to break old saves, the process is automatic as they stored outside of the game's root folder. With HTML games you usually need to save to disc rather than one of the numbered save points. With RPGM you go to game\www\save and copy/paste to the new version.