"Patching" a released Ren'Py game [Resolved]
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.
"Patching" a released Ren'Py game [Resolved]
Hi all!
I want to add some new content to a ren'py game that I've already released, and possibly update some text in the released game. Is there a way to do this via some sort of patching tool etc, or does it require either:
1. Creating an entirely new build and having people redownload the entire game to access the new content.
2. Outputting a file with updated and additional .rpy files, i.e. a new version of the script, which includes the new content, and any new assets.
Those two options aren't exactly ideal from a consumer ease standpoint, so I was wondering if there's any other way to do it?
All I've managed to find are ways before you release the game to allow future patches, which doesn't really help my situation, as I hadn't planned on adding content until... last night basically.
Thanks for any advice you can give!
I want to add some new content to a ren'py game that I've already released, and possibly update some text in the released game. Is there a way to do this via some sort of patching tool etc, or does it require either:
1. Creating an entirely new build and having people redownload the entire game to access the new content.
2. Outputting a file with updated and additional .rpy files, i.e. a new version of the script, which includes the new content, and any new assets.
Those two options aren't exactly ideal from a consumer ease standpoint, so I was wondering if there's any other way to do it?
All I've managed to find are ways before you release the game to allow future patches, which doesn't really help my situation, as I hadn't planned on adding content until... last night basically.
Thanks for any advice you can give!
Last edited by drbugs on Mon Jan 10, 2022 2:16 am, edited 1 time in total.
- Ocelot
- Eileen-Class Veteran
- Posts: 1882
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: "Patching" a released Ren'Py game
You can check RenPy updater: https://www.renpy.org/doc/html/updater.html
Though you need to provide your own hosting for it.
Though you need to provide your own hosting for it.
< < insert Rick Cook quote here > >
Re: "Patching" a released Ren'Py game
A lot depends on how the game is packaged. I usually package my rpy files into a “scripts.rpa”, images into “images.rpa,” etc.
This means that providing updated scripts can be done by distributing a new scripts.rpa, which is usually much smaller than the images, for example.
If everything is packaged into a single “archive.rpa” it’s trickier. You could, in theory, distribute replacement scripts as an add on by using different label names and have the old scripts jump into the new scripts by using renpy’s “replace this label with that” support.
This means that providing updated scripts can be done by distributing a new scripts.rpa, which is usually much smaller than the images, for example.
If everything is packaged into a single “archive.rpa” it’s trickier. You could, in theory, distribute replacement scripts as an add on by using different label names and have the old scripts jump into the new scripts by using renpy’s “replace this label with that” support.
Re: "Patching" a released Ren'Py game
Thanks for the suggestions!
@Ocelot: I don't have it online and I'm not sure if I really plan to but I'll keep it in mind. I don't know if it's a viable option for me though as I don't have anywhere to host it.
@rames44: I'm pretty sure I packaged it in the most generic way; you download it as a zip file and in the zip file is the exe but you can also see all the scripts/images etc, I didn't do anything to bundle them or archive anything. That's why updating a script would be viable, but would also require people copying the new script, images and music into their old folder which is... Well, it's an option but not super customer friendly, you know?
@Ocelot: I don't have it online and I'm not sure if I really plan to but I'll keep it in mind. I don't know if it's a viable option for me though as I don't have anywhere to host it.
@rames44: I'm pretty sure I packaged it in the most generic way; you download it as a zip file and in the zip file is the exe but you can also see all the scripts/images etc, I didn't do anything to bundle them or archive anything. That's why updating a script would be viable, but would also require people copying the new script, images and music into their old folder which is... Well, it's an option but not super customer friendly, you know?
- Ocelot
- Eileen-Class Veteran
- Posts: 1882
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: "Patching" a released Ren'Py game
The next option is to write your own updater. Make it replace nessesaty files with new ones.
< < insert Rick Cook quote here > >
Re: "Patching" a released Ren'Py game
Some developers do just that. They pack some files in 'game' folder inside zip, and let users just unpack it overwriting the previous folder.
Having a hosting is not too complicated either. It costs like a dozen or a few dozens bucks a year, and also there can be some free hosting options (though they might work a bit slow... but this case is definitely not so critical to demand some runtime fast reaction)...
Re: "Patching" a released Ren'Py game
That's a point!jeffster wrote: ↑Sat Jan 08, 2022 2:12 pmSome developers do just that. They pack some files in 'game' folder inside zip, and let users just unpack it overwriting the previous folder.
Having a hosting is not too complicated either. It costs like a dozen or a few dozens bucks a year, and also there can be some free hosting options (though they might work a bit slow... but this case is definitely not so critical to demand some runtime fast reaction)...
I think I'll just do the zip file option after all, and just add some patch coding for next time (if there is a next time).
Thanks everyone for responding!
Who is online
Users browsing this forum: CharlieFuu69, Google [Bot]