Luxeya 0 Posted July 13, 2023 I launch the game via APB.exe, but if you need to update the client, I run through APBLauncher.exe after that, first there is either a download or a scan. If there is a download, then after the update I can safely close the launcher and start the game as usual, but if there is a scan, I have to wait about half an hour, which is very annoying. The question is, is it possible to make sure that when launching the launcher, there is always a download at the beginning? Quote Share this post Link to post Share on other sites
Thial 176 Posted July 14, 2023 (edited) No, the way such systems work is that they get the manifest from the server with the list of files and their checksums, then the app needs to compare that manifest to what is installed on your computer to check which files missing or don't match the ones on the server so that it can download them again. After the list has been compiled that's when the download starts. Without knowing which files exactly need to be redownloaded you would have to download the whole game every time therefore checksum comparison is a necessary step. The simplest way is to launch via APB.exe or the advanced APB launcher and only update when you get a popup during login saying that you have to update your game. The game most likely either sends the assembly version or the checksum of APB.exe along with the login request and if that value doesn't match what's on the server side then it tells you that you need to update your game. If you have to wait for 30 minutes for the files to be checked then either you are using a very old and slow HDD or your HDD/SSD is dying. If you can, move the game to an SSD. This check should be very fast so if it's slow for no reason I would check your drives with something like HD Tune. Edited July 14, 2023 by Thial Quote Share this post Link to post Share on other sites
Luxeya 0 Posted July 14, 2023 55 minutes ago, Thial said: No, the way such systems work is that they get the manifest from the server with the list of files and their checksums, then the app needs to compare that manifest to what is installed on your computer to check which files missing or don't match the ones on the server so that it can download them again. After the list has been compiled that's when the download starts. Without knowing which files exactly need to be redownloaded you would have to download the whole game every time therefore checksum comparison is a necessary step. The question is that the launcher can randomly start downloading an update before checking, which means that there should be a log file in which there is a value indicating the version for the server that it checks first, this is the value I need. Quote Share this post Link to post Share on other sites
Thial 176 Posted July 14, 2023 (edited) 37 minutes ago, Luxeya said: The question is that the launcher can randomly start downloading an update before checking, which means that there should be a log file in which there is a value indicating the version for the server that it checks first, this is the value I need. Yes some systems first check the assembly version and if the version on the server is higher they will download patch files and validate afterwards. Pretty much no company makes such data public unless it's something public on github where you can either http GET the releases or some developers include a text file with versions and/or checksums. In terms of APB your only option as far as I know is to use APB.exe or the advanced APB launcher and use the launcher only when you can't log in due to an incorrect version popup. You can track http traffic and pinpoint the exact request/response used for checking/validating the version and/or see the request/response for downloading files but I don't know LO's stance on people using their APIs outside of the official APB Launcher. If it would be allowed then you could just write your own launcher which behaves exactly the way you want it to. Edited July 14, 2023 by Thial Quote Share this post Link to post Share on other sites
Luxeya 0 Posted July 15, 2023 @Thial thank you for the very useful information completely unsuitable for my situation. The reason why the launcher scans all the game files is that it does not find a file in the root of the game folder ClientFiles.xml containing information about all the files that he is going to compare with the files on the server. This file loves to disappear from it if the game process was completed somehow incorrectly. And now a solution for those who have: On 7/14/2023 at 7:53 PM, Thial said: very old and slow HDD or your HDD/SSD is dying. And also for those who install the allowed configs and remove garbage like vivox and do not like to do this process after each useless update. Launch the launcher, update all files, close the launcher. Copy the file ClientFiles.xml to a safe place. After the next patch, copy it back (if not in place). Launch the launcher and wait for it to download the patch and start scanning. We have time to close the launcher before the scan is completed (file ClientFiles.xml will disappear). Copy again ClientFiles.xml to the place. Launch the launcher, which will no longer take up your time, but will simply offer to play. Copy the new file ClientFiles.xml until the next patch. Good luck! Quote Share this post Link to post Share on other sites