[Solved] Need help restoring a .rpy file

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
vastutustundetu
Newbie
Posts: 3
Joined: Sat Apr 20, 2013 10:35 am
Location: Estonia
Contact:

[Solved] Need help restoring a .rpy file

#1 Post by vastutustundetu » Sun Sep 01, 2013 9:10 am

My computer froze while I was editing a script, which I afterwards found filled with NUL bytes. Having it in the game folder prevents Ren'Py from working and the file itself seems to be completely useless. Why does it happen and is there any way to restore it? I'd rather not rewrite it from scratch... I have a partial backup and a .rpyc that contains most, but not all, of that script (not attached anymore).
Thanks in advance.
Last edited by vastutustundetu on Mon Sep 02, 2013 6:25 pm, edited 1 time in total.

Elmiwisa
Veteran
Posts: 476
Joined: Sun Jul 21, 2013 8:08 am
Contact:

Re: Need help restoring a .rpy file

#2 Post by Elmiwisa » Sun Sep 01, 2013 9:33 am

There is a thread right below this one: http://lemmasoft.renai.us/forums/viewto ... =8&t=13871
Which of course will not help you. It is worth mentioning however to show that it is frowned upon to help people with this problem.

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Need help restoring a .rpy file

#3 Post by PyTom » Sun Sep 01, 2013 10:35 am

Helping is not frowned upon, I just don't want the scripts used to be widely distributed.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
vastutustundetu
Newbie
Posts: 3
Joined: Sat Apr 20, 2013 10:35 am
Location: Estonia
Contact:

Re: [Solved] Need help restoring a .rpy file

#4 Post by vastutustundetu » Mon Sep 02, 2013 6:49 pm

I've actually tried to use that decompiler, but somehow it didn't work. However, I've received a PM from Donmai who was kind enough to help me. The problem is now solved.

Post Reply

Who is online

Users browsing this forum: enaielei