Project directory separation

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
The King
Regular
Posts: 35
Joined: Fri Sep 25, 2020 12:37 pm
Completed: 0
Projects: LB
Contact:

Project directory separation

#1 Post by The King » Mon Nov 23, 2020 11:53 pm

Here's what I want to do. I have 2 versions of renpy, the current pre release, and version 6.99.12.4. My problem arises when I try to set the directory for the project files. I created a project folder in the newest version of renpy, and I set the launcher in the newest version to save my projects to that folder. Then, when I go over to the older version, it also has the directory now saved to the project folder in the renpy pre release. If I change the directory in version 6.99.12.4 to save in the renpy folder for it, then it also sets this for the newest version. My question is, is there a way to make them not share the same directory? This problem only started when I set the directory, when it wasn't set, nothing went wrong. So if there's no way to make them not save to the same directory, is there a way I can reset the 2 versions so that there is no set directory? Sorry if this is a bothersome question, I just need it so I can be more organized and less distracted when switching between the two versions. Please let me know as soon as you can, thank you. :)

User avatar
gas
Miko-Class Veteran
Posts: 838
Joined: Mon Jan 26, 2009 7:21 pm
Contact:

Re: Project directory separation

#2 Post by gas » Tue Nov 24, 2020 12:28 am

The moment you set the directory, doesn't belong to the "launcher" anymore but the setting is stored in your application data folder (something like .renpy) somewhere on your device - that depend on the OS. That's why each different launcher point to the same folder if that data exist. This is how the setting will be persistent across updates, but as you can see it's hard to have two versions running in parallel.
You should find the folder and erase the relative file (don't ask me what and where, it was easy in Linux I can't find it on Windows).
Anyway I don't see the point of doing that. You can mark each project as "74_name" and so you'll know is about the prerelease - not speaking you can't distribute a compile and so such projects will be erased anyway.
Last edited by gas on Tue Nov 24, 2020 12:38 am, edited 1 time in total.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.

10 ? "RENPY"
20 GOTO 10

RUN

User avatar
hell_oh_world
Miko-Class Veteran
Posts: 777
Joined: Fri Jul 12, 2019 5:21 am
Projects: The Button Man
Organization: NILA
Github: hell-oh-world
Location: Philippines
Contact:

Re: Project directory separation

#3 Post by hell_oh_world » Tue Nov 24, 2020 12:36 am

I have two versions of Ren'Py too, and I can confirm that both versions share the same persistent settings for the launcher. What I did was just to just create a single directory for all of my renpy projects (any version) then set the launcher to that directory, then whenever I switch from the new version to the old, I'll just open the respective launcher for the version, and force recompile the project that I want to launch first, then finally launch the project.
This doesn't answer the question, yes. But I would like to share that any renpy projects that you have, either created from the prerelease or the current stable version, are all launchable through the different version launchers, but not recompiling the codes after launching it from another version of the launcher might cause the game to not launch at all. So it is better to recompile your codes first when switching the launcher to use.

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

Re: Project directory separation

#4 Post by Imperf3kt » Tue Nov 24, 2020 12:58 am

Are you using Windows? Log in as a different user, you'll have separate app data on a per user basis.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

User avatar
The King
Regular
Posts: 35
Joined: Fri Sep 25, 2020 12:37 pm
Completed: 0
Projects: LB
Contact:

Re: Project directory separation

#5 Post by The King » Wed Nov 25, 2020 12:01 am

These are all good ideas that I'll try to use. This should be all for this topic, at least for now, thank you all for your help. :)

Post Reply

Who is online

Users browsing this forum: No registered users