11-09-2021, 02:25 PM
|
Custom Client Downloader
|
|
11-09-2021, 03:04 PM
It could be linked at the patcher so you have installer and patcher in the same executable ... not bad at all :3
11-09-2021, 03:12 PM
7 minutes ago, Scura said: It could be linked at the patcher so you have installer and patcher in the same executable ... not bad at all :3 And if we add to that a file repair system :3 ...
11-09-2021, 03:23 PM
11 minutes ago, nicolasg said: And if we add to that a file repair system :3 ... just a simple CRC should works fine! And here we go, we have a perfect client downloader! I wish to share my contribute but i suck in lua XD
11-09-2021, 03:26 PM
2 minutes ago, Scura said: just a simple CRC should works fine! And here we go, we have a perfect client downloader! I wish to share my contribute but i suck in lua XD And maybe be able to pause and resume the download...
11-09-2021, 03:34 PM
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 |
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)

