SOLVEDReloading a normal saved game leads to wrong Autosave.

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.
Message
Author
User avatar
Helyees
Regular
Posts: 152
Joined: Tue Mar 08, 2016 3:14 pm
Projects: Panzer Hearts
Contact:

SOLVEDReloading a normal saved game leads to wrong Autosave.

#1 Post by Helyees »

Hi,

Have been using Renpy for 6 months now. Been working on one big project and therefore been forced to copy/paste some game files from one project to another.

Now, for some reason I have come across a problem that my saved games don´t work correctly anymore. This problem persist even if I don´t do new coding in between saving and loading.

I can do a saved game during a game run, but when trying to load it I alwats end up in a Auto save that the game has made automatically in the beginning of the game run (not the actual start thought). This same problem is now disturbing many of my project files and I cant think of what could be the source of the problem.

Where possibly could I start to look for the corrupted code or something that is causing this? :cry:

BR/
Esko
Last edited by Helyees on Sat Mar 19, 2016 12:11 pm, edited 1 time in total.

User avatar
gas
Miko-Class Veteran
Posts: 842
Joined: Mon Jan 26, 2009 7:21 pm
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#2 Post by gas »

Is not a "corrupted" anything. Your config is pointing to the old saves.

Code: Select all

#########################################
    ## This is the name of the directory where the game's data is
    ## stored. (It needs to be set early, before any other init code
    ## is run, so the persistent information can be found by the init code.)
python early:
    config.save_directory = "RedEyesDungeonCrawler-1456677904"
for example.
The solution is to create a new project, copy the old content but not this line.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.

10 ? "RENPY"
20 GOTO 10

RUN

User avatar
Helyees
Regular
Posts: 152
Joined: Tue Mar 08, 2016 3:14 pm
Projects: Panzer Hearts
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#3 Post by Helyees »

The problem with saving continues :cry:

So I started a fresh project, copied only the script content in it and some audio and pictures (no editing to the options.rpy file). But still the problem persists. :shock:

It has to be something in my script file or?, could It be something concerning init codes, because these lines in the options.rpy:

#########################################
## This is the name of the directory where the game's data is
## stored. (It needs to be set early, before any other init code
## is run, so the persistent information can be found by the init code.



:?: :?: :?:
Sincerely,
Esko

User avatar
Helyees
Regular
Posts: 152
Joined: Tue Mar 08, 2016 3:14 pm
Projects: Panzer Hearts
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#4 Post by Helyees »

Ok, now my problem starts to feel even more confusing! :cry:

I realised that when I make a save game in one project and then launch another game project and when I hit load game I can see the save (the small screenshot pic) that I just made in the other project! ??? Are my projects interconnected in some way that is disturbing them all? This is very annoying and can´t really work any further on my projects because of this.. Should I try to reinstall the whole Renpy or do anyone have any other suggestions? :?

philat
Eileen-Class Veteran
Posts: 1909
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#5 Post by philat »

What version are you running, and on what platform? I've never heard of this.

User avatar
Helyees
Regular
Posts: 152
Joined: Tue Mar 08, 2016 3:14 pm
Projects: Panzer Hearts
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#6 Post by Helyees »

Hi,
My version is the 6.99.5.602. This problem occured about a month ago, but cant trace where and why? I have been copying the same scripts to new project files, but it does not seem to be the whole issue here.

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#7 Post by xela »

Any chance that you've simply messed up the loading action?
Like what we're doing? Support us at:
Image

User avatar
Helyees
Regular
Posts: 152
Joined: Tue Mar 08, 2016 3:14 pm
Projects: Panzer Hearts
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#8 Post by Helyees »

Im not sure. How and where can I check out if the loading action is the
cause of the problem?

User avatar
Helyees
Regular
Posts: 152
Joined: Tue Mar 08, 2016 3:14 pm
Projects: Panzer Hearts
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#9 Post by Helyees »

Of some reason the saved games of my projects seem to mix because of the Renpy software itself. When I make a save game in one project and quit and start another project then I can see the save game I made in the other game!! :!: :?: When I click it ,it leads to very beginning of the game (the first autosave I guess) :shock:

Now I installed the new version, but the same problem continues..

My serious crush with Renpy has been on a total halt over three weeks now because of this. Is there any trace I could try to help myself with this? I really want to get back to working with my stories! :P

Please help me, someone :?: :?

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#10 Post by xela »

Maybe deleting all savefiles may help? Make sure to backup them just in case.
Like what we're doing? Support us at:
Image

User avatar
Helyees
Regular
Posts: 152
Joined: Tue Mar 08, 2016 3:14 pm
Projects: Panzer Hearts
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#11 Post by Helyees »

Maybe deleting all savefiles may help? Make sure to backup them just in case.
I tried this Xela and it took me a bit further here, but the case is not yet solved...

I realised that I got some old save files to work now inside my main project. When continuing from an still working save game I can make saves in the project normally.

Still, when starting a new game in the same project and then saving a game and then loading, the loading of the file takes me to the first a1 autosave made in the very beginning. It´s has something to do with the a1 autosave where I always land when loading save files.

The problem in this thread has some similarities to my case:
http://lemmasoft.renai.us/forums/viewto ... =8&t=27649
Last edited by Helyees on Fri Mar 18, 2016 7:50 am, edited 2 times in total.

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#12 Post by xela »

Does this happen with every new project you start? Or just something that you work on?
Like what we're doing? Support us at:
Image

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#13 Post by nyaatrap »

You can see what is happening your save data lively seeing the renpy save data folder written in config.save_directory.
If you modified save screens and config variables, post here relevant codes.

User avatar
Helyees
Regular
Posts: 152
Joined: Tue Mar 08, 2016 3:14 pm
Projects: Panzer Hearts
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#14 Post by Helyees »

nyaatrap wrote:You can see what is happening your save data lively seeing the renpy save data folder written in config.save_directory.
If you modified save screens and config variables, post here relevant codes.

Im not quite sure what you mean? Something with these lines in options.rpy`?

Code: Select all

    #########################################
    ## This is the name of the directory where the game's data is
    ## stored. (It needs to be set early, before any other init code
    ## is run, so the persistent information can be found by the init code.)
python early:
    config.save_directory = "Samuel2-1444547717"
I have many init python: lines in the beginning of my script.rpy. which I have copied from older script.rpy files Can they be causing some issue here?
Last edited by Helyees on Fri Mar 18, 2016 8:01 am, edited 1 time in total.

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Reloading a normal saved game leads to wrong Autosave.

#15 Post by nyaatrap »

I'm 90% sure thee problem is copying 'config.save_directory'
Same config.save_directory shares same data between games.
Even if you though you changed them between games (you should always change, don't copy), but if there's another copied file in your game folder then it might override.

Post Reply

Who is online

Users browsing this forum: Google [Bot]