Im in the making of a C+/QT launcher for a game made by unreal engine.
I want to launch the game from my custom launcher and maybe give him a few settings/options so the game run in a different way depending on the options i gave him.
I don’t know if it’s possible but i dindnt find anything on google about that !
It’s possible, I did it once. I needed to launch my game with custom parameters and passing data to the game to be used inside. Example. All you need to do in C++ is
int result = system("C:\\PathToMyGame\\MyGame.exe -myFirstParam=5 -mySecondParam=myUsername -myThirdParam=mypassword");
You want to launch the game only if the player logged in? Is that correct?
If so, what you can do is, inside the launcher, create http request to a website, that will generate a token, return that token and launch the game with it. If the token is not present in the launching options, just exit the game. If it’s present, you can download all the info you need for the specific player by that token.