Patchlist Filename
This is the name of the patchlist JSON manifest file that holds all the information for your game patches. By default this is patchlist.json
Ideally, you should just leave this as patchlist.json
patchlist.jsonPatch Salt
The Patch Salt is a ‘secret key’ which is integrated into your final checksum for file integrity checks.
You can generate any password here. Keep it safe and secure.
Allow player to choose server in the client
If this is checked, and you have more than one server defined in your server array, then a dialog will prompt the user to ask them to choose which server should be their primary server.
This is useful for if you have multiple patch servers/mirrors in different countries. You can then allow the user to select the closest country to them for faster downloads. For example, one server in the UK and one in the US.
You would send it as a command line argument like this:
patch.exe -apiKey= -project_slug= -server=1Cachebuster Type
default – This appends a cachebuster query to your server files. This ensures every single file is brand new and fresh everytime and never served from cache. We don’t recommend this unless you have a good server and hardware.
none – If you are using serverside file caching, use none in the box to ensure cachebuster queries aren’t appended.
version – Same as default, however the version number is appended on the cachebusting string. This enables for better log viewing on your server. Still not recommended unless you have a really good server with a lot of bandwidth.
We always encourage server-level caching. This increases performance for downloads but also inflicts less stress on your servers.
From wherever you host your files (Web Hosting, VPS, Dedicated Server, CloudFlare), you must ensure you enable serverside caching where possible.
For example, for web hosting, vps and dedicated servers, you should enable and use nginx on top of, or opposed to Apache. Nginx allows fast caching of files that are frequently accessed. Varnish may also help. For other services, they may have even better caching. You will need to consult with your web host provider on this.
Either way, once you have pushed out a new update, you must ensure you clear your caches to ensure your users get the latest and new versions of your files.
Custom File Extension
Both servers and antivirus/firewall software can be funny when it comes to hosting and downloading files with extensions like .exe, .dll etc.
So we highly recommend you use a custom file extension here. This will not break any of your game files. It is purely used to just rename the files to host on your server and once downloaded, the extension is stripped.
The default is PATCH. You can use anything here, just don’t put the dot .
LBP is the default if you don’t specify, but we still recommend you use PATCH as the default.
PATCH