Using saves from an older game version in a new game version

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
GeeSeki
Regular
Posts: 112
Joined: Sat Dec 17, 2016 3:39 am
Projects: A Town Uncovered
itch: geeseki
Contact:

Using saves from an older game version in a new game version

#1 Post by GeeSeki »

I know it might be pretty hard but does anyone have a solution to this issue? My game is in development and I release an updated version every few weeks. But everytime I do that, the old save file becomes useless in the newer version because it'll cause errors such as variables not being defined. Is there any solution to this problem? The only thing I can think of is to implement some sort of feature that resets a certain part of the game or at least set all the variables to its first state.

User avatar
stwkun
Regular
Posts: 82
Joined: Wed Jan 02, 2013 7:57 pm
Organization: Stw Projects
Contact:

Re: Using saves from an older game version in a new game ver

#2 Post by stwkun »

possible solution

Delete the "cache" folder in your game and also the "saves" folder

User avatar
Divona
Miko-Class Veteran
Posts: 678
Joined: Sun Jun 05, 2016 8:29 pm
Completed: The Falconers: Moonlight
Organization: Bionic Penguin
itch: bionicpenguin
Contact:

Re: Using saves from an older game version in a new game ver

#3 Post by Divona »

Variables not defined error is happen because you haven't defined variable as default during "init" period. Here is the link to documentation on "default": https://www.renpy.org/doc/html/python.h ... -statement
Completed:
Image

Post Reply

Who is online

Users browsing this forum: Bing [Bot]