Force deleting saved games? [SOLVED]
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.
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.
- 78909087
- Veteran
- Posts: 277
- Joined: Sat Aug 16, 2014 2:33 pm
- Completed: Dungeons and Don't Do It, Wake Up
- Projects: Lethe
- IRC Nick: Pacermist
- Contact:
Force deleting saved games? [SOLVED]
I've seen the code for it before, but can't find it for the life of me.
In the game, once you've finished the route, I want to force delete the saved data without deleting the persistent data.
I've seen it done before, seen the code for it too, but didn't need it at the time, and didn't copy it.
Thank-you in advance.
In the game, once you've finished the route, I want to force delete the saved data without deleting the persistent data.
I've seen it done before, seen the code for it too, but didn't need it at the time, and didn't copy it.
Thank-you in advance.
Last edited by 78909087 on Thu Jan 22, 2015 3:41 am, edited 1 time in total.
- shivanshs9
- Regular
- Posts: 54
- Joined: Sun Jul 20, 2014 1:59 pm
- Projects: The Destiny(http://thedestiny-cxz.blogspot.com)
- Organization: Cyber-X-Zone
- Location: India
- Contact:
Re: Force deleting saved games?
Put this code whenever you want to completely destroy all your saves!
Source: Mine Post!
But, beware... This code doesn't understand human emotions and will destroy all the saves(including Auto and Quick), which will make the readers of this novel cry and scream in madness... (<- Just Kidding!)
By the way, why do you want to destroy your saves?
Code: Select all
python:
for slot in renpy.list_saved_games(fast=True):
renpy.unlink_save(slot)
But, beware... This code doesn't understand human emotions and will destroy all the saves(including Auto and Quick), which will make the readers of this novel cry and scream in madness... (<- Just Kidding!)
By the way, why do you want to destroy your saves?
"Destiny is a no matter of chance
It is a matter of choice
It is not a thing to be waited for
It is a thing to be achieved..."
-William Jennings Bryan
It is a matter of choice
It is not a thing to be waited for
It is a thing to be achieved..."
-William Jennings Bryan
If you can dream and not make dreams your master;
If you can think and not make thoughts your aim,
If you can meet with Triumph and Disaster;
And treat those two impostors just the same,
Only then can you ever win against yourself...
If you can think and not make thoughts your aim,
If you can meet with Triumph and Disaster;
And treat those two impostors just the same,
Only then can you ever win against yourself...
- 78909087
- Veteran
- Posts: 277
- Joined: Sat Aug 16, 2014 2:33 pm
- Completed: Dungeons and Don't Do It, Wake Up
- Projects: Lethe
- IRC Nick: Pacermist
- Contact:
Re: Force deleting saved games?
It's a part of my game to completely crush the soul of the reader by destroying all of their saves!
- shivanshs9
- Regular
- Posts: 54
- Joined: Sun Jul 20, 2014 1:59 pm
- Projects: The Destiny(http://thedestiny-cxz.blogspot.com)
- Organization: Cyber-X-Zone
- Location: India
- Contact:
Re: Force deleting saved games?
Wow... a totally sadistic game to wash away the hardworking reader's progress...
"Destiny is a no matter of chance
It is a matter of choice
It is not a thing to be waited for
It is a thing to be achieved..."
-William Jennings Bryan
It is a matter of choice
It is not a thing to be waited for
It is a thing to be achieved..."
-William Jennings Bryan
If you can dream and not make dreams your master;
If you can think and not make thoughts your aim,
If you can meet with Triumph and Disaster;
And treat those two impostors just the same,
Only then can you ever win against yourself...
If you can think and not make thoughts your aim,
If you can meet with Triumph and Disaster;
And treat those two impostors just the same,
Only then can you ever win against yourself...
- 78909087
- Veteran
- Posts: 277
- Joined: Sat Aug 16, 2014 2:33 pm
- Completed: Dungeons and Don't Do It, Wake Up
- Projects: Lethe
- IRC Nick: Pacermist
- Contact:
Re: Force deleting saved games?
Well it's all a part of the game, to involve the reader more.
If they hate me afterwards, they can do that.
But for the effect I want... They must suffer.
If they hate me afterwards, they can do that.
Re: Force deleting saved games?
Can you write me a mail or something like that when you release your game? I'm interested in it
There's no point in standing around with your mouth open waiting for talent to fall from the sky. You make your own. No matter what you're doing, the most essential thing is not to give up.
- 78909087
- Veteran
- Posts: 277
- Joined: Sat Aug 16, 2014 2:33 pm
- Completed: Dungeons and Don't Do It, Wake Up
- Projects: Lethe
- IRC Nick: Pacermist
- Contact:
Re: Force deleting saved games?
The one with the force delete?Yuuji wrote:Can you write me a mail or something like that when you release your game? I'm interested in it
Re: Force deleting saved games?
Yes
There's no point in standing around with your mouth open waiting for talent to fall from the sky. You make your own. No matter what you're doing, the most essential thing is not to give up.
- 78909087
- Veteran
- Posts: 277
- Joined: Sat Aug 16, 2014 2:33 pm
- Completed: Dungeons and Don't Do It, Wake Up
- Projects: Lethe
- IRC Nick: Pacermist
- Contact:
Re: Force deleting saved games?
Well then it might take a while. I'll write you down in the bottom of the script so I remember, though.Yuuji wrote:Yes
Re: Force deleting saved games?
I remember somebody talking about something similar happening in Nitro+'s Kimi to Kanojo to Kanojo no Koi, when one of the protagonist's love interest erases the saves of the other girl you previously(?) romanced.
But, does that mean the player can never finish the game, or just that they must avoid a certain ending at all cost?
Sounds like a dangerous bet.
But, does that mean the player can never finish the game, or just that they must avoid a certain ending at all cost?
Sounds like a dangerous bet.
Re: Force deleting saved games?
I suppose player just cannot replay scenes which he saved. Progress is not deleted I think.Marchare wrote: But, does that mean the player can never finish the game, or just that they must avoid a certain ending at all cost?
There's no point in standing around with your mouth open waiting for talent to fall from the sky. You make your own. No matter what you're doing, the most essential thing is not to give up.
- 78909087
- Veteran
- Posts: 277
- Joined: Sat Aug 16, 2014 2:33 pm
- Completed: Dungeons and Don't Do It, Wake Up
- Projects: Lethe
- IRC Nick: Pacermist
- Contact:
Re: Force deleting saved games?
It's only deleted at the end of the one route. If the player reaches that point, they will KNOW.
Ahahaha.
Ahahaha.
- Dizzydude
- Regular
- Posts: 58
- Joined: Mon May 26, 2014 8:40 pm
- Projects: 「To Be Announced」
- Location: U.S.A
- Contact:
Re: Force deleting saved games?
So will/would it be like a "One Chance" type of game?
Just out of curiosity here.
Just out of curiosity here.
- 78909087
- Veteran
- Posts: 277
- Joined: Sat Aug 16, 2014 2:33 pm
- Completed: Dungeons and Don't Do It, Wake Up
- Projects: Lethe
- IRC Nick: Pacermist
- Contact:
Re: Force deleting saved games?
Nope. I think I get what you mean. It's a normal VN, to be honest.Dizzydude wrote:So will/would it be like a "One Chance" type of game?
Just out of curiosity here.
Who is online
Users browsing this forum: Google [Bot]