A Game Launcher Originally designed with Patching Atavism games in mind, however, it should work for any other application that needs to be kept up to date as well. The launcher provides validation for files before launching. A Unity scene is included which also validates the calculated parameter passed to the built application from the launcher, however, this scene could be used as a concept example to adapt a version for other game engines as well.
The main framework for language handling is in place already - add a dropdown menu that will provide an option for each language file present on the server. Selecting one will store that language as the language used in the registry.
Currently, validation happens in a single job in the background. This is problematic for large games as it will take a long time to calculate/check hashes of many/large files. The plan is to chunk this up into several background jobs that run in parallels, reducing the overall time it takes to finish validation. The last update to the launcher validation scene provided multi-threading, this enhancement will be the next piece needed to accomplish the behavior ultimately desired here.
Implement file validation as a background job/on a separate thread + show a progress bar or at least a stock spinner while that task is running. Currently the validation happens on the main thread, freezing the compiled game executable (Not Responding) until all files have been worked through - this is not ideal and is even more noticeable in larger sized games.
Hello. Every time I make a build of the game without the launcher to test a few things, it only takes me about five seconds to reach the login screen.
But when I use the launcher to enter the game, it consistently takes about 90 seconds to get to the login scene. What could be taking so long just to get to the login?