• ⚠️ Notice: Our XenForo license and several essential add-ons are up for renewal.

    We need to raise $300 to keep LewdCorner running smoothly and up to date.

    If you enjoy the platform and want to support its future, please consider donating here.

    Every bit helps — thank you for keeping us online and ad-free.
  • Uploaders Wanted! HERE(Click)

Update only and Full update

Uncle Loco

Game Developer
Prestige 1
Prestige 3
Lewd
Joined
May 19, 2022
Threads
5
Messages
539
Likes
1,378
Activity Coin
16
Donation Coin
0
Platinum Coin
0
Prestige 1 (Permanent)
Ok, I need some help with coding in Renpy. My VN is getting close to that cap and I was trying to figure out how to do an update only patch as well as a full update. Now I am sure someone is going to come in here and say do this and that and you're good to go, but I need this to be explained like I am an idiot (because with coding I am). While my VN is a simple coded game I still struggle with the coding part, so please if you know how to do this explain things simply and with images if possible. I appreciate the help in advance.
 
  • Like
Reactions: 1 user
I love your game and have since the beginning, but alas I know not how to help. I would suggest you email Moonbox (Grandmas house) or Sons_of_Liberty. I know for a fact both have done this and both are super chill and always willing to help.
 
  • Heart
Reactions: 1 user
A update only file would only contain new images script files and the game files like the game.exe. Then all that someone has to do is drag and drop the files from the update to the old version to update it. Also have you converted your images to .webp format? XnConvert is a easy to use batch converter that can convert files to multiple different formats and can be set up to overwrite the files so that all you have to do is do a mass switch of the file format in the script files.
 
If you manage to partition all your new update files in a separate RenPy archive (.rpa), then you should be able to just distribute that as the update.
I am, however, not sure how you should handle updates to already existing files using this method. Perhaps things can be redefined if they are loaded after. If that's the case, then you might be able to specify the loading order so that the new files overwrite the old.
Hopefully this gives you a starting point.
 
Here is how I make update only patches without much effort:

Step 1: All game content is delivered in .rpa archives. Scripts go in "scripts.rpa", and images/movies go into stuff like chapter1.rpa, chapter2.rpa, etc. You declare what archives you want there to be in options.rpy, and the Renpy documentation explains the syntax quite well.

Step 2: When a new update is ready, I create the distribution as usual. Then I open the zip-file, and copy scripts.rpa plus the newest chapterX.rpa outside. I then upload these two files.

Step 3: A player just has to download both scripts.rpa and chapterX.rpa and place both files in the game folder. They overwrite the previous scripts.rpa. They have now succesfully upgraded to the new version.
 
  • Like
Reactions: 1 user
Here is how I make update only patches without much effort:

Step 1: All game content is delivered in .rpa archives. Scripts go in "scripts.rpa", and images/movies go into stuff like chapter1.rpa, chapter2.rpa, etc. You declare what archives you want there to be in options.rpy, and the Renpy documentation explains the syntax quite well.

Step 2: When a new update is ready, I create the distribution as usual. Then I open the zip-file, and copy scripts.rpa plus the newest chapterX.rpa outside. I then upload these two files.

Step 3: A player just has to download both scripts.rpa and chapterX.rpa and place both files in the game folder. They overwrite the previous scripts.rpa. They have now succesfully upgraded to the new version.
how you create rpa archives?
 
Back
Top Bottom