-
-
Notifications
You must be signed in to change notification settings - Fork 6
Hosting
You can host PATCH artifacts (builds and patches) on your favorite hosting service. It works with every service that can serve files over HTTP or HTTPS and that can expose a direct file URL. This because PATCH dynamically builds URLs based on your builds/patches metadata.
Some samples:
http://myCoolHostingService.com/patch/myfile.txt => validhttps://myCoolHostingService.com/folder/myfile.txt => validhttp://myCoolHostingService.com/?file=jR2xl1D => unvalid
You can use a repository on GitHub to host builds and patches for free. It does not require payments or fees and it has not bandwidth limits. It's perfect to start hacking into PATCH with no costs!
Let's make an example!
Let's assume that my files are hosted at https://github.com/manhunterita/PATCH, on master branch. In this repo I have the classic PATCH folder structure, as explained previously in this doc:
https://github.com/manhunterita/PATCH/Builds/
https://github.com/manhunterita/PATCH/Patches/
https://github.com/manhunterita/PATCH/Updater/
In the Launcher's settings I can simply set as Remote URL the raw GitHub address: https://raw.githubusercontent.com/manhunterita/PATCH/master/.
Normally you can obtain your URL by following this schema: https://raw.githubusercontent.com/Username/RepositoryName/BranchName/.
Here we go: you've set your Launcher for downloading from your GitHub repositories.
WARNING: some users are experiencing problems while hosting their files on GitHub. Some of these problems are: corrupted files or wrong-sized files, the Launcher and the PreGame just keep on restarting themselves in a loop, etc. If that's your case, choose a different host.