I noticed that in Unreal Engine 4.8 and onward, the command line arguments -winx and -winy, which are used to place the game window in a certain area on the screen, no longer work. I’ve tested this on a blank project in both a batch file and in a shortcut with no luck.
Hi Mike -
I have been trying to duplicate this issue and have not had much success. Can you verify that your shortcut and or Batch File uses the following format?
“C:\Users\Eric.Ketchum\Desktop\Packaging Tests\WindowsNoEditor\MyProject.exe” -winx=0 -winy=0 where [C:\Users\Eric.Ketchum\Desktop\Packaging Tests\WindowsNoEditor] is the location of your packaged game
Thank You
Eric Ketchum
I am not running the shortcut from a build of the game. I am running it in editor in game mode (-game).
My shortcut is as follows:
D:\UE4\Engine\Binaries\Win64\UE4Editor.exe “D:\Game\game.uproject” -game -WinX=1920
Hi Mike -
I tired again from a reference to the uproject as you specified above and again did not have any issue? My Format was as follows:
“C:\Program Files\Epic Games\4.8\Engine\Binaries\Win64\UE4Editor.exe” “C:\Users\Eric.Ketchum\Downloads\FlickerTestMM\FlickerTestMM\FlickerTest.uproject” -game -winx=1920 -winy=0
It appears as I expected on the top left of my second monitor.
Eric Ketchum
EDIT: For Reference the line above was in a shortcut and all one line.
I’ve found it to be my monitor set up that is causing the problem due to my card not detecting my second monitor correctly.
Thank you!