Building Distributions - Archives and DLCs [SOLVED]
Posted: Sat Mar 11, 2017 6:09 am
I'm trying to build my first distribution, but I'm not sure how I should proceed with some Bonus / DLC content.
Also, I don't really understand the distributon building syntax, so newbie friendly advice would be appreciated
The goal: A free VN, but if let's say a user wants to pay $1 on itch.io they get some bonus content for the VN.
But if someone wants to get it free, then decides they want the bonus content, then they shouldn't redownload a whole new distribution with the bonus content, only the bonus files.
The main.rpy script is adjusted accordingly:
Images and backgrounds are separated into Main folder and Bonus folder.
Question is, what code do I use to build archived distribution, so that the user can add the bonus content by copying the bonus archive to the main game diretory?
Also, I don't really understand the distributon building syntax, so newbie friendly advice would be appreciated
The goal: A free VN, but if let's say a user wants to pay $1 on itch.io they get some bonus content for the VN.
But if someone wants to get it free, then decides they want the bonus content, then they shouldn't redownload a whole new distribution with the bonus content, only the bonus files.
The main.rpy script is adjusted accordingly:
Code: Select all
label main_content:
[main content]
if renpy.has_label("bonus_content_1"):
jump bonus_content_1
label continue_main_content:
[continue main content]
# in bonus1.rpy
label bonus_content_1:
[bonus content]
jump continue_main_content
Question is, what code do I use to build archived distribution, so that the user can add the bonus content by copying the bonus archive to the main game diretory?