x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Run standalone directly from uproject file

Is it possible to run uncooked standalone directly from a uproject file? For example what I would like to do is create a batch file at the project root that would contain this.

 start MyProject.uproject -game

That would allow me to share the project with others without them having to create a shortcut to run a uncooked standalone themselves. Thanks for any help!

Product Version: UE 4.12
Tags:
more ▼

asked Jul 21 '16 at 05:49 AM in Using UE4

avatar image

Overkitty
15 2 3 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

HI!

You can find all the necessary information in the official documentation.

https://docs.unrealengine.com/latest/INT/GettingStarted/RunningUnrealEngine/

Running an Uncooked Game from the Command Line

 When running from the command line, you must pass the name of the project you want to run along with the -game switch as arguments.

     1. From a command prompt, navigate to your [LauncherInstall][VersionNumber]\Engine\Binaries\Win64 directory.
     2. Run the UE4Editor.exe passing it the path to the project to run, along with the -game parameter.

UE4Editor.exe "[ProjectPath][ProjectName].uproject" -game

more ▼

answered Jul 21 '16 at 07:37 AM

avatar image

svv3dUDN
8.5k 254 42 400

avatar image Overkitty Jul 21 '16 at 07:56 AM

Sorry I should have been more specific. I'm looking for a command to start an uncooked game directly through the uproject file instead of UE4Editor.exe. Does that make sense?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

You can do this Overkitty:

"C:\Program Files (x86)\Epic Games\Launcher\Engine\Binaries\Win64\UnrealVersionSelector.exe" /game "path_to_your_uproject"

more ▼

answered Oct 31 '17 at 03:13 PM

avatar image

marianomdq
13 6 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question