Re: PLEASE HELP! PROJECT DELETED ITSELF

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
lightningburrito
Newbie
Posts: 13
Joined: Tue Feb 06, 2018 12:31 am
Soundcloud: Glormpy
Contact:

Re: PLEASE HELP! PROJECT DELETED ITSELF

#1 Post by lightningburrito » Wed Oct 10, 2018 9:44 pm

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.

viewtopic.php?t=51402

The link below is a youtube video i made on the other thread. Of where the 'backup file' is.

https://www.youtube.com/watch?v=D75PhY8 ... e=youtu.be

User avatar
Imperf3kt
Eileen-Class Veteran
Posts: 1955
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Re: PLEASE HELP! PROJECT DELETED ITSELF

#2 Post by Imperf3kt » Wed Oct 10, 2018 10:22 pm

Those files aren't what you need.
Try looking in this area:
C:\Program Files (x86)\renpy\tmp

for example:
https://i.imgur.com/hW5gkLM.png


E:
I now realize this only works i you exported an Android build
Last edited by Imperf3kt on Thu Oct 11, 2018 2:28 pm, edited 1 time in total.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

User avatar
xavimat
Eileen-Class Veteran
Posts: 1337
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love, unknown
Organization: Pilgrim Creations
Github: xavi-mat
itch: xavimat
Location: Italy
Contact:

Re: Re: PLEASE HELP! PROJECT DELETED ITSELF

#3 Post by xavimat » Thu Oct 11, 2018 7:09 am

Look at your folder: ...Roaming > Renpy > backups > Doki Doki Drama Club

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.
Cops&Robbers A two-player experiment
Fear&Love Why can’t we simply express our feelings? Why am I afraid to say ‘I love you’?
unknown [Sci-Fi - mystery - computer]
Honest Critique (Avatar made with Chibi Maker by ~gen8)

lightningburrito
Newbie
Posts: 13
Joined: Tue Feb 06, 2018 12:31 am
Soundcloud: Glormpy
Contact:

Re: Re: PLEASE HELP! PROJECT DELETED ITSELF

#4 Post by lightningburrito » Fri Oct 12, 2018 12:44 am

It's hard to explain, so I made a quick video showing you where you told me and what I found. The links below. It's only a minute long. Thanks for the help. I just wanna get my project back.. >.>

https://youtu.be/0k-lk3trZjU

User avatar
Imperf3kt
Eileen-Class Veteran
Posts: 1955
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Re: PLEASE HELP! PROJECT DELETED ITSELF

#5 Post by Imperf3kt » Fri Oct 12, 2018 2:56 am

The above post by xavimat should work for you, it only requires a small amount of file renaming.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

lightningburrito
Newbie
Posts: 13
Joined: Tue Feb 06, 2018 12:31 am
Soundcloud: Glormpy
Contact:

Re: Re: PLEASE HELP! PROJECT DELETED ITSELF

#6 Post by lightningburrito » Fri Oct 12, 2018 10:42 am

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

User avatar
xavimat
Eileen-Class Veteran
Posts: 1337
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love, unknown
Organization: Pilgrim Creations
Github: xavi-mat
itch: xavimat
Location: Italy
Contact:

Re: Re: PLEASE HELP! PROJECT DELETED ITSELF

#7 Post by xavimat » Fri Oct 12, 2018 5:52 pm

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".
export1.png
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: ^
export2.png
If you click over "Date modified", all these files will be sorted by date:
export3.png
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).

And that's it.
I hope I'm clearer now. :)
Cops&Robbers A two-player experiment
Fear&Love Why can’t we simply express our feelings? Why am I afraid to say ‘I love you’?
unknown [Sci-Fi - mystery - computer]
Honest Critique (Avatar made with Chibi Maker by ~gen8)

lightningburrito
Newbie
Posts: 13
Joined: Tue Feb 06, 2018 12:31 am
Soundcloud: Glormpy
Contact:

Re: Re: PLEASE HELP! PROJECT DELETED ITSELF

#8 Post by lightningburrito » Fri Oct 12, 2018 10:53 pm

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!!

https://youtu.be/zLV_-6EK1Gs

User avatar
Imperf3kt
Eileen-Class Veteran
Posts: 1955
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Re: PLEASE HELP! PROJECT DELETED ITSELF

#9 Post by Imperf3kt » Sat Oct 13, 2018 4:11 am

Please read the traceback message, it tells you exactly why the game isn't running - it can't find a file.
Check you have the file and it's in the right folder, and try again.

YouTube is horrible for this too, screenshots or text are preferred.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Post Reply

Who is online

Users browsing this forum: majike