Creating Listen server with .bat files

I went through this wiki page

regarding creating a dedicated server and joining it through clients.

Is there any similar way to do with listen server. I tried with -game alone something like this

"C:\Work\UE 4.11-Substance\Engine\Binaries\Win64\UE4Editor.exe" "C:\Work\Projects\QuickShower_Code\QuickShower.uproject" -game -log -nosteam -ResX=1280 -ResY=960

And I was not able to see any IP address similar to what I saw here

Hi Envenger!

Lovely to hear from you again!

With a listen server I’ve found I can always just do this:

"C:\Program Files (x86)\Epic Games\**4.11**\Engine\Binaries\Win64\UE4Editor.exe" "%CD%\YourGame.uproject" -game -ResX=800 -ResY=700 -WinX=800 -WinY=20 -log 

It is only for dedicated that I needed to use method shown above.

Are you finding that using is not working for listen server?



PS: Anyone: Make sure if you use my script above that you make the engine version match yours :slight_smile:

Hello Rama… Hope you are doing good. Nope it doesn’t seem to be working and its creating another instance of the game.

Hi, I had same issue and found out that adding ?listen after a map name will run the game as listen server.

"..\UE4Editor.exe" "..\YourGame.uproject" YourMap?listen  -game -ResX=1200 -ResY=800 -WinX=200 -WinY=200 -log -nosteam -windowed