We have a two title IDs for our game, one for development and one for production. I'd like to be able to use the same custom server binary for both environments. The title id does not appear to be passed in as a command line argument so the only solutions I can think of are:
- Parse the title ID out of the API endpoint argument (unreliable if the url format ever changes)
- Add the title ID to the custom data argument (requires extra configuration)
- Build a different binary for Dev and Prod (not preferred)
Is there a good way to get the current title ID from a custom game server that I'm not thinking of? Is it possible Title ID could be added as a command line argument in the future?