Page 1 of 1

Unable to select project directory

Posted: Fri Apr 19, 2024 5:34 pm
by NeonNights
So I installed Renpy (8.2.1) on my chromebook (using Linux) and I ran it. I went to preferences hoping to immediately select my projects directory and got a flash of a screen that read something along the lines of "please choose a directory for your projects ... renpy will load projects from here and create new projects here." (it went by so quick I was only able to read it with a very fast screenshot)
Then, it went to an error screen that said: "No directory is selected, but one is required." without ever prompting me to select a directory by opening a file explorer or something. I'm confused. Same thing happens if I try to create a new project.
Can anyone help? Thanks!

Re: Unable to select project directory

Posted: Sat Apr 20, 2024 7:45 am
by m_from_space
NeonNights wrote: Fri Apr 19, 2024 5:34 pm Can anyone help? Thanks!
Inside the Renpy launcher you have the "preferences" -> "General" -> "Projects Directory". You should be able to insert your directory there, for example /home/user/myprojects

Re: Unable to select project directory

Posted: Sat Apr 20, 2024 11:06 am
by NeonNights
m_from_space wrote: Sat Apr 20, 2024 7:45 am Inside the Renpy launcher you have the "preferences" -> "General" -> "Projects Directory". You should be able to insert your directory there, for example /home/user/myprojects
How do I insert the directory though? General -> Projects Directory is where I was when the error happened. I clicked the button to pick a directory and that's what happened. So if there's another way to insert a directory I'm not sure how to do it.

Re: Unable to select project directory

Posted: Sat Apr 20, 2024 6:37 pm
by m_from_space
NeonNights wrote: Sat Apr 20, 2024 11:06 am
m_from_space wrote: Sat Apr 20, 2024 7:45 am Inside the Renpy launcher you have the "preferences" -> "General" -> "Projects Directory". You should be able to insert your directory there, for example /home/user/myprojects
How do I insert the directory though? General -> Projects Directory is where I was when the error happened. I clicked the button to pick a directory and that's what happened. So if there's another way to insert a directory I'm not sure how to do it.
Is it possible that for some reason your Renpy launcher has no permissions and so it doesn't show any directory selection menu? Just a wild guess though.

Re: Unable to select project directory

Posted: Sat Apr 20, 2024 8:26 pm
by NeonNights
m_from_space wrote: Sat Apr 20, 2024 6:37 pm Is it possible that for some reason your Renpy launcher has no permissions and so it doesn't show any directory selection menu? Just a wild guess though.
I mean, it's certainly possible. I don't know how I'd check that though. I've never had this issue with any other Linux apps on my Chromebook - they can all access files just fine.

Re: Unable to select project directory

Posted: Sat Apr 20, 2024 10:02 pm
by PyTom
Open a command line, and run:

sudo apt install zenity

Re: Unable to select project directory

Posted: Sun Apr 21, 2024 2:15 am
by NeonNights
PyTom wrote: Sat Apr 20, 2024 10:02 pm Open a command line, and run:

sudo apt install zenity
Zenity is already installed and the newest version.