This script provides “patching” functionality for the game. This allows you to distribute updates to your game without asking your clients to download the entire game.
Patches are done by creating a “Patch” folder that is structured the same way as your regular project folder (with Data, Audio, and Graphic folders, and all of the respective subfolders). Sending new content is a matter of copying any custom content and placing them in the appropriate patch folders, and then sending it to your clients.
Patches can be applied without overwriting the original data. However, this script does not support data stored in encrypted archives, so you will need a different protection scheme that ideally protects files on an individual basis.
Script: download here
Place this script below Materials and above Main
Setting up the patch folder
Set the patch folder in the configuration below. By default it is the “Patch”
Testplay the game, and the patch directory structure will be created for you.
Go to your project folder and look for the patch folder and open it. Inside,
you will see something that resembles your own project folder:
There is basically no work required. All you have to do is take your files
and place them into the patch folder. The script will automatically load them
when the game is running.
For example, if you update some Actor information, then you will take the
Actors.rvdata2 file from your data folder and copy it into the patch folder’s
Data folder. To see the effects of the data patcher, you will need to have
a second project that is using the outdated files.
Pack up the patch folder using something like 7zip or your own setup file.
You can then send it to your clients.
Understand how to use this script and then figure out the best way to inform
your clients. The way they will apply your patches is the same way you created
them: just place them in the appropriate folders in the patch folder.