[SOLVED] Best Practices for Allowing Easily Patchable Files?

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
Obscura
Eileen-Class Veteran
Posts: 1431
Joined: Fri Mar 09, 2012 6:58 pm
Projects: Coming Out On Top
Location: United States
Contact:

[SOLVED] Best Practices for Allowing Easily Patchable Files?

#1 Post by Obscura »

What's the recommended way to compile a game to easily allow .rpy-based bug fixes? (Asking because I won't be using the automatic Renpy updater.)

From what I understand it's:

1. compile the game, excluding the .rpy files, and archiving the .rpyc files separately
2. if there are any bugs in the script that are discovered later, one would fix the script, repeat step 1, then make the new .rpyc archive available for players to download
3. they would be able to drop archive in their game folder, fixing the bug, without having to download the entire game again

Is this the recommended practice? The goal is to reduce the amount of download time in case of a minor bug.

Thanks for any input!
Last edited by Obscura on Thu Jan 24, 2019 11:48 am, edited 1 time in total.
Coming Out On Top - An Adult Gay Dating Sim
website

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Best Practices for Allowing Easily Patchable Files?

#2 Post by PyTom »

That's certainly a good way to do it.

That being said, probably the best way to do it would would to distribute through something like itch or steam. The modern app stores do differential updates, so updates should be relatively minimal. (The too approaches work together, but I believe both Steam and Itch are able to differentially update .rpas.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Obscura
Eileen-Class Veteran
Posts: 1431
Joined: Fri Mar 09, 2012 6:58 pm
Projects: Coming Out On Top
Location: United States
Contact:

Re: Best Practices for Allowing Easily Patchable Files?

#3 Post by Obscura »

Thanks Tom! :)
Coming Out On Top - An Adult Gay Dating Sim
website

Post Reply

Who is online

Users browsing this forum: Google [Bot]