This post shows the steps to install Unreal Engine 4.
Unreal Engine is the world’s most open and advanced real-time 3D creation tool. Continuously evolving to serve not only its original purpose as a state-of-the-art game engine, today it gives creators across industries the freedom and control to deliver cutting-edge content, interactive experiences, and immersive virtual worlds.
The reason I used Unreal Engine till now is to create an Andoird Game for fun and to create Synthetic Image Dataset using Nvidia’s plugin NDDS.
Install Unreal Engine 4 in Ubuntu
- Follow the instructions written on the official website, or follow the steps below.
- Register to an Epic Games Account.
- Choose Creators License.
- Connect Epic Games Account with your Github account.
- Accept the invitation of Epic Games on Github.
- In the terminal run the following commands,
git clone https://github.com/EpicGames/UnrealEngine.git
-
- If you only want to clone/download a specific version, for example, v4.22, then run the following commands,
git clone -b 4.22 https://github.com/EpicGames/UnrealEngine.git
- Enter your Github login information
cd UnrealEngine # Current size around 1.4 GB
./Setup.sh
./GenerateProjectFiles.sh
make
Select Yes, if the below window pops-up
Setting on .bashrc to install Unreal Engine
Open .bashrc
nano ~/.bashrc
Add these lines to .bashrc file
UE_HOME=/home/jitesh/3d/UnrealEngine # Change "UE_HOME" to your UE4 directory path function unrealbuild { CURR_DIR=`pwd`; PROJ_NAME=$(basename ${1%.uproject}); $UE_HOME/Engine/Build/BatchFiles/Linux/Build.sh $PROJ_NAME Linux Development -editorrecompile "${CURR_DIR}/${PROJ_NAME}.uproject" -progress -editor -game -NoHotReloadFromIDE } complete -f -X '!*.@(uproject)' unrealbuild function unrealeditor { DIR="$( cd "$( dirname "$i" )" && pwd )" $UE_HOME/Engine/Binaries/Linux/UE4Editor $DIR/$1 } complete -f -X '!*.@(uproject)' unrealeditor function unrealgen { DIR="$( cd "$( dirname "$i" )" && pwd )" pushd $UE_HOME ./GenerateProjectFiles.sh -project="$DIR/$1" -game -engine -editor popd } complete -f -X '!*.@(uproject)' unrealgen # For automation tests, if used function unrealtest { DIR="$( cd "$( dirname "$i" )" && pwd )" $UE_HOME/Engine/Binaries/Linux/UE4Editor $DIR/$1 -Game -ExecCmds="Automation RunTests $2" -log } complete -f -X '!*.@(uproject)' unrealtest
Change UE_HOME to the path of your Unreal Engine directory
sudo sh ~/.bashrc
Reboot the PC
Running UE4
cd Engine/Binaries/Linux/
./UE4Editor
UE4 plugin - NDDS
There is a useful Unreal Engine plugin, NDDS (NVIDIA Deep learning Dataset Synthesizer) that used to create Syntheic dataset for Machine learning. If you want to know more about it and install the plugin then visit the post Install NDDS.
UE4 Game
The Unreal Engine is a game engine developed by Epic Games.
I created a simple 2D game name “Jinja the Ninja” for Android, Windows, and Linux systems. You can find a demo video for this game that I uploaded on youtube and the Android version of this game on the Google Play Store. In the future, I will post an article or a youtube video as an easy tutorial to make an Unreal engine Game and deploy it on Google play.
Pingback: Install NDDS (NVIDIA Deep learning Dataset Synthesizer) - Jitesh Gosar
Pingback: HackMD - Technology realated posts in MarkDown - Jitesh Gosar
Pingback: HackMD - Technology realated posts in MarkDown - Jitesh Gosar