Custom Client Downloader
#6


9 minutes ago, nicolasg said:




And maybe be able to pause and resume the download...




Yea ... that depends how the server is setted and if it support the Range 2 .... guess in this case the best way is to create a nodejs api which manage the connection (backend) and checks:


If a player need to downloaded the entire client -> download the latest stable version, then set the vtm for download the necessary patch


If a player need to update the client -> the client is already downloaded, based on the difference between local version and remote ones, update it


If an update was stopped and wanna be resumed  -> more information in the  stack attached


Repair function: a basic CRC32 should be enought for checks the corrupted files and download only those!


my suggestions is to move everything on a Client/Server struct. You should be able to implement an easy api in NODEJS + Express and then just need to develop the client side stuff :3 



Messages In This Thread
[No subject] - by nicolasg - 11-09-2021, 02:25 PM
[No subject] - by Scura - 11-09-2021, 03:04 PM
[No subject] - by nicolasg - 11-09-2021, 03:12 PM
[No subject] - by Scura - 11-09-2021, 03:23 PM
[No subject] - by nicolasg - 11-09-2021, 03:26 PM
[No subject] - by Scura - 11-09-2021, 03:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)