Sorry if I'm being dumb and missing something. I found this thread that is a good starting point for me, but I need help to figure out the rest:
viewtopic.php?t=24850
The command renpy.sh launcher distribute /path/to/mygame builds 5 versions for me currently: linux, mac, market, pc and win, in the folder [renpy projects]/[game_name]-[config.version]-dists
I have two questions basically:
1 - is it possible to only build specific distros, e.g. just pc, mac and linux?
2 - can I specify where the dists are placed?
I'm experimenting with GitLab and its pipelines, and if the two things above are possible, it'd save me creating a bash file to move, rename and delete files and folders. My end goal is to push commits that triggers a pipeline:
- pull / sync images files from separate location (probably google drive). I'm separating the images folder to save bandwidth when committing.
- build distributions for the 3 versions: mac, pc, linux
- upload the distributions to google drive
Building distribution options from command line
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.
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.
-
- Newbie
- Posts: 17
- Joined: Mon Oct 02, 2017 9:00 am
- Completed: Lucy Got Problems
- Projects: CrocApoca!!
- Organization: Flat Chest
- itch: flatchest
- Contact:
Re: Building distribution options from command line
Not sure if it's still relevant for you, but I've been looking into a similar problem, and decided to share my findings.
I skimmed through some Ren'Py launcher code to figured out the proper args for this command, but you can in fact just run it with --help argument to get the full list of commands.
I skimmed through some Ren'Py launcher code to figured out the proper args for this command, but you can in fact just run it with --help argument to get the full list of commands.
Code: Select all
distribute command arguments:
--destination DESTINATION, --dest DESTINATION
The directory where the packaged files should be
placed.
--packagedest PACKAGEDEST
If given, gives the full path to the package file,
without extensions.
--no-update Prevents updates from being built.
--package PACKAGE If given, a package to build. Defaults to building all
packages.
--no-archive If given, files will not be added to archives.
project The path to the project directory.
Re: Building distribution options from command line
Did anyone ever work out the commands to build a subset of packages?
This builds everything into 'D:\buildtest':
This seems to do nothing, but also doesn't log any errors:
I couldn't see that the package names or how to pass them is documented anywhere.
This builds everything into 'D:\buildtest':
Code: Select all
renpy launcher distribute --dest D:\buildtest C:\path\to\game
Code: Select all
renpy launcher distribute --dest D:\buildtest --package pc C:\path\to\game
Who is online
Users browsing this forum: Google [Bot]