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.

Hi.
Awhile back my project deleted itself. It was very scary as I thought I lost all of my data. I couldn't find it in Ren'py and it was just gone from my desktop. After getting some help from some others on this website I was able to find a 'backup file'. I put in it quotes because its not 100% what my file used to look like. The folder is filled with renpy documents with tons of numbers and letters. I don't know how to get this file back into renpy. or if I have to convert this into something else. I waited for someone to reply to the old form on how to do this but it never happened. So I made a new thread. Down Below is a link to the old thread, in case you wanna look at any of the stuff. Thanks in advance for the help. I am very worried.

Those files are what you need to recover the most recent auto-backup rpy files.

Click on "Date modified" to sort files by last date and pick only the more recent ones (one of each: script, screens, options, gui... and so on).
- You have a lot of "script.numbersnumbers.rpy" files, the more recent one is what you need now.

Copy that files to a new project.
Delete the numbers on that filenames and you'll have your original (most recent) script.rpy, gui.rpy etc. You've probably lost your last changes, but at least not all of your work.

On the other hand, is unlikely that a project deleted itself. Probably there is another reason. Anyway, always backup your projects, don't trust only in the auto-backup.

I tried doing what he said. I went into that folder but the only things in there was a numbers and letters .rpy files. No script, GUI or anything. Do I need t look somewhere else? That’s what I showed in the vid above

I'm looking at your video and I'm a bit confused. Probably I haven't been clear.

1. You say that "the only things in there was a numbers and letters .rpy files". But I'm seeing in your video that the filenames in the folder start indeed with one of the words: "script", "gui", "screens", "options". After that word, there is a dot and a series of numbers and letters, and, at the end, the extension ".rpy".

2. Also, in the video you haven't clicked on "Date modified". As you can see, your files are sorted by name. look at the little symbol here that looks like this: ^

If you click over "Date modified", all these files will be sorted by date:

Look for the more recent files that start with "script.", "screens.", "gui.", "options." One of each. I mean:
- among all files that start with "script." pick the more recent one.
- among all files that start with "screens." pick the more recent one.
- among all files that start with "gui." pick the more recent one.
- among all files that start with "options." pick the more recent one.

You'll have then four files. Change the filenames to delete the numbers and letters in the middle. So you'll have the files with the original names: script.rpy, screens.rpy, gui.rpy, options.rpy. These are your recovered files. FIRST MAKE A BACKUP COPY OF THEM!!! Then proceed.

Create a new project with renpy. Copy your recovered files in that new project, (you'll have to overwrite the newly created ones).

Your amazing! I got all the new files, and put them in a folder on my desktop. I then created a new game and pasted the new rpy files into it. However, every-time I try to launch it, it gives me a big error. I'll paste a pic below. Maybe, it's because my photos aren't in it? I really dont know. Thanks for helping me this far. I'm so close!!