Gauntlet How to use Custom GameMode

I am using Gauntlet for automated tests.
But I have come up with launching a map with a clean gamemode, such as the GameModeBase.
[link text][1]

The problem this is the command to launch maps with a specific gamemode:

/Game/Maps/TestLevel?game=/Game/Blueprints/GameModes/BP_CustomGM.BP_CustomGM_C

But Gauntlet removes the question mark and opens it with the default gamemode.

Pre-formatting Commandline: /Game/Maps/TestLevel?game=/Game/Blueprints/GameModes/BP_CustomGM.BP_CustomGM_C

Post-formatting Commandline: /Game/Maps/TestLevel game=/Game/Blueprints/GameModes/BP_CustomGM.BP_CustomGM_C

I have looked at the Gauntlet code that formats the command line and I do not see how to prevent it from removing that symbol in the regular expression:

Any ideas?

Well then, with this more or less ugly parsing at the end of the method, I can make it keep the sign (?) and load the game mode on the fly.

any other recommendation is welcome

Hey! Not sure if this is still relevant to you but i’ve managed to do so by using the -Map option and using the <map name>?game=<gamemode name> stuff.

I called it from RunUAT.bat like they do here Running Gauntlet Tests in Unreal Engine | Unreal Engine 5.5 Documentation | Epic Developer Community

Hope it helps (even though it’s been 4 years :wink: )