Page 1 of 1

Project directory separation

Posted: Mon Nov 23, 2020 11:53 pm
by The King
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. :)

Re: Project directory separation

Posted: Tue Nov 24, 2020 12:28 am
by gas
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.

Re: Project directory separation

Posted: Tue Nov 24, 2020 12:36 am
by hell_oh_world
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.

Re: Project directory separation

Posted: Tue Nov 24, 2020 12:58 am
by Imperf3kt
Are you using Windows? Log in as a different user, you'll have separate app data on a per user basis.

Re: Project directory separation

Posted: Wed Nov 25, 2020 12:01 am
by The King
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. :)