-
-
Notifications
You must be signed in to change notification settings - Fork 53
Hosting Patch Files
With SimplePatchTool, you can host your patch files virtually anywhere you want as long as the clients can access these files. This tutorial assumes that the patch files (RepairPatch, IncrementalPatch, InstallerPatch directories and VersionInfo.info) are stored in a directory called Output on your computer.
Google Drive™
- (first time only) create an empty directory on your Drive (let's say PatchFilesServer)
- (first time only) right click the PatchFilesServer directory and select "Get shareable link" to make this directory public
- drag&drop the contents of Output directory into the PatchFilesServer directory
Dropbox™
- (first time only) create an empty directory on your Dropbox (let's say PatchFilesServer)
- drag&drop the contents of Output directory into the PatchFilesServer directory (if drag&drop doesn't work, you may have to click the Upload folder button and upload each folder manually)
Custom Server
- (first time only) create an empty directory on your server (let's say PatchFilesServer)
- upload the contents of Output directory into the PatchFilesServer directory
- make sure that PatchFilesServer and its contents (recursive) are public
NOTE: if you are using FileZilla to upload your files to the server, open FTP: File Types
settings and make sure that the following file extensions are transferred in Binary mode and not in ASCII mode (the same may apply to other FTP applications, as well): .patch, .info, .lzdat
After following this tutorial, patch files on the server should look like this:
Initial version
PatchFilesServer/
├── RepairPatch/
│ └── ...Repair patch files...
└── InstallerPatch/
└── Installer.patch
Second version
PatchFilesServer/
├── RepairPatch/
│ └── ...Repair patch files...
├── InstallerPatch/
│ └── Installer.patch
└── IncrementalPatch/
├── 1_0__1_1.info // patches from 1.0 to 1.1
└── 1_0__1_1.patch
Third version
PatchFilesServer/
├── RepairPatch/
│ └── ...Repair patch files...
├── InstallerPatch/
│ └── Installer.patch
└── IncrementalPatch/
├── 1_0__1_1.info // patches from 1.0 to 1.1
├── 1_0__1_1.patch
├── 1_1__1_2.info // patches from 1.1 to 1.2
└── 1_1__1_2.patch
For self patching launchers, you should create and maintain two separate PatchFilesServer directories: one for the launcher's patches and one for the main app's patches.