ZeJudge
(ZeJudge)
March 28, 2014, 12:05pm
1
Hey all,
I’m trying to create some batch files to a better testing workflow but having some trouble.
I’ve tried:
@echo off
cls
.\Engine\Binaries\Win64\UE4Editor.exe MyProject.uproject -game -log
but I get a message saying “Failed to open descriptor file ‘MyProject.uproject’”
Any ideas?
Rama
(Rama)
March 28, 2014, 12:06pm
2
include your entire project path, and it will work
that’s what I do
"E:\VictoryUE4\UnrealEngine-4.0.1-release\Engine\Binaries\Win64\UE4Editor.exe" "C:\Users\Rama\Documents\Unreal Projects\VictoryGame\VictoryGame.uproject" -game -ResX=1280 -ResY=960 -WinX=0 -WinY=0 -NoVSync -log -SaveToUserDir
_
1 Like
ZeJudge
(ZeJudge)
March 28, 2014, 1:02pm
3
That will do! Thanks Rama
Kris
(Kris)
March 28, 2014, 3:34pm
4
@Rama - Wish you had posted this here : Compile & standalone command line
shakes fist
Also, thanks!
Rama
(Rama)
March 28, 2014, 9:02pm
5
ooooooh
Sorry bout that
I posted there so you can finalize that answer hub
Rama
Kris
(Kris)
March 28, 2014, 10:20pm
6
But I already answered it
**** you!
Nah, its all good.
Just happy I can launch the editor, compile and run standalone games all from the comfort of Notepad++ now.
Antares
(Antares)
June 21, 2014, 12:59pm
7
Just to add something, you can use %CD% to get current dir so this work :
START UE4Editor.exe “%CD%\Project.uproject” Example_Map-game -ResX=1280 -ResY=720
EXIT
Much better if you work in a team and don’t want to edit all your bat file …