at launch, from the game itself, i want to perform a check at the core startup of the game. i need to check for GDExtension files needed to run the game, wether they are present or not at the same folder as the main executable. if this check fails, the startup of the game should bring the player to a warning message, where they can either ignore and be subject to undefined behavior, or gracefully close the game. the catch is that i have Autoload scripts currently in my project which depends on the GDExtension, so just launching the game normally will already cause the broken behavior to happen. how do i ensure i can fully prioritize one scene or script to be ran in this manner before anything else is attempted to load from within the executable?
the reason for me to even consider all of this is that people keep trying to run the game directly from the zip folder, and most archivers including the default Windows archiver has this behavior where it only extracts to the temp folder the executable itself to save time, but the engine has no proper checks for GDExtensions when launching. any solutions?
thank you for reading.