kobaltcore / renkit

A collection of tools to help you organise and use Ren'Py instances from the command line. Especially useful for headless servers.
MIT License
26 stars 2 forks source link

`renutil launch` sourcing renpy version to use from file #26

Closed furudean closed 2 weeks ago

furudean commented 3 weeks ago

it would be nice if the right version of renpy to use could be declared in a checked out file like renconstruct.toml. this is already used for builds, so i think wanting to launch the game with that same version while working on it makes sense. idk, thoughts? it might not semantically make sense to pull a renutil version from a reconstruct config

kobaltcore commented 3 weeks ago

Do you mean something like what Python/pyenv has with a .python-version file per project? It could be read from the project path (which is supplied anyway) and renutil could then select (and optionally auto-install) the required version. In that case it could be a .renpy-version file. There is also sometimes a script_version.txt file that Ren'Py creates (at least in built distributions) so maybe using that one could also work, but it has the chance to conflict with whatever Ren'Py proper does with it.

furudean commented 3 weeks ago

I'm fine with any of these

kobaltcore commented 2 weeks ago

Got a prototype of this working in a feature branch, its functionality is explained in the changelog in the commit referenced above. This will eventually make it into a pre-release for public testing.