Table of Contents
I would recommend adding those to your .bashrc or .zshrc as shortcuts, or whatever flavour of shell you use.
Generating Project files
# Generate Project
/PATH_TO_ENGINE/GenerateProjectFiles.sh /PATH_TO_PROJECT/PROJECT_NAME.uproject -game -engine
Use this script to generate new project files (do this whenever you move your directory as well!).
Building your Project
# Build Project
/PATH_TO_ENGINE/Engine/Build/BatchFiles/Linux/Build.sh Linux Development -Project=/PATH_TO_PROJECT/PROJECT_NAME.uproject -TargetType=Editor
Always use the Build.sh script for Linux to build your project. Never use make
directly.
The above script correctly builds all Modules and Plugins.
Starting your Project
# Start Project
/PATH_TO_ENGINE/Engine/Binaries/Linux/UE4Editor "/PATH_TO_PROJECT/PROJECT_NAME.uproject"
This works the same as under Windows, but you have no nice GUI. Instead, use the Editor Binary directly.
- To start the project in game mode, append the
-game
flag. - All other command line arguments should work as well, refer to the official documentation
Switchboard
All these commands can also just be performed by using the Switchboard frontend and adding an Unreal device:
The "changelist" building-blocks button generates and builds your project. You can also just start your project that way.