[Solved] Edit file not working (can't script)

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
xino_zero
Newbie
Posts: 8
Joined: Sun May 19, 2019 3:29 pm
Contact:

[Solved] Edit file not working (can't script)

#1 Post by xino_zero »

Okay so I am new to this
I cant edit script. Because windows "how would you like to open this type of file" set the wrong default.
Renpy won't let me change it. I click "script.rpy" and nothing. I've tried deleting renpy and reinstalling to no avail.

What do i do to fix this?
Last edited by xino_zero on Mon May 20, 2019 10:34 pm, edited 1 time in total.

Ayael
Regular
Posts: 82
Joined: Fri Apr 07, 2017 2:17 pm
Projects: Imperial Grace (on going), Autumn Spirit, Ballads at Midnight
Contact:

Re: Edit file not working (can't script)

#2 Post by Ayael »

Hello,
Try to install atom (it's the best for ren'py I think, really, usually I use Notepad++ but for the indent Atom is really the best so I recomand this one)
Then, go in the folder of your game (not renpy, but the folder named after the project you created)
[Name of your project]>Game > script.rpy
Right click on the one you want to open (for example script.rpy), and then "open with" (if by defaut it doesn't propose atom, go on "choose an other program")

OR open Atom, File > Open file > (And then find your file)
(It should work from whathever software you are using)

Sorry if the translation are not perfect my system is in french not in english, but it should be kinda the same.
Image Image

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

Re: Edit file not working (can't script)

#3 Post by Imperf3kt »

Right click on your script file and select 'open with'
Find the program you want to use and make sure 'always open this type of file with this program' is checked before continuing.

That should fix opening the file from Windows Explorer.

For Ren'Py, click on 'preferences' in the bottom right of the launcher and make sure a text editor has been set.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

xino_zero
Newbie
Posts: 8
Joined: Sun May 19, 2019 3:29 pm
Contact:

Re: Edit file not working (can't script)

#4 Post by xino_zero »

Thank you both. With yours and my brothers help i resolved the issue.
As thanks my first test frame.
(Just a test to prove i can use the engine. Not my art so i wont be keeping it)
Thanks for the help I can't wait to start work on my very own game!
Attachments
It was a happy accident. The skin was clear. >.>
It was a happy accident. The skin was clear. >.>

Ayael
Regular
Posts: 82
Joined: Fri Apr 07, 2017 2:17 pm
Projects: Imperial Grace (on going), Autumn Spirit, Ballads at Midnight
Contact:

Re: Edit file not working (can't script)

#5 Post by Ayael »

xino_zero wrote: Sun May 19, 2019 5:28 pm Thank you both. With yours and my brothers help i resolved the issue.
As thanks my first test frame.
(Just a test to prove i can use the engine. Not my art so i wont be keeping it)
Thanks for the help I can't wait to start work on my very own game!
Glade it worked ! Don't forget to put a "Solved" on the title, it help =)
Image Image

Post Reply

Who is online

Users browsing this forum: Google [Bot]