We will be using the Engine Source and C++ for our Game project. I have a few questions about the best way to setup our folder structure and installation requirements. My goal is to be able to build the engine and game from a single solution. Then take those binaries and content folders and check them into Perforce. From there, the team would pull the files and essentially be setup with UE4 and the game project. I’ve hit a few snags along the way that I need help with.
-1. There wasn’t a clear recommendation for how the total project files should be arranged except in a few posts here and there. Here’s what I did and I’m hoping you can confirm it’s the recommended setup.
-1.1. I unzipped the engine source zip, plus required zips and optional zips into a folder c:/MyProject/.
-1.2. Then I ran GenerateProjectFiles.bat and compiled the engine.
-1.3. I ran the Development Editor and created a shell project called MyGame and put it c:/MyProject/MyGame/
-1.4. I added a UE4.uprojectdirs text file to c:/MyProject and set its contents to “./”. (It’s actually a backslash, but the AnswerHub eats that character).
-1.5. I re-ran GenerateProjectFiles.bat to add the MyGame to the UE4.sln.
So now I have:
c:/MyProject/Engine/
c:/MyProject/MyGame/
c:/MyProject/Samples/
c:/MyProject/Templates/
c:/MyProject/GenerateProjectFiles.bat
UE4.sln
UE4.uprojectdirs
Is this the best way to set things up?
-2. Given the setup from #1, I noticed c:/MyProject/MyGame/MyGame.uproject was not associated with a program. Double clicking on it brought up the windows association dialog. I set it to c:/MyProject/Engine/Binaries/Win64/UE4Editor.exe. It now launches the editor when I double click on the MyGame.uproject, which is good, but is it supposed to be associated with something better?
-3. I noticed I’m not getting the Launcher app popping up. I would like access to the launcher and I need something to install the pre-requisites, so I looked for a way of installing the launcher only, not the entire engine. I noticed the installer here: c:/MyProject/Engine/Extras/UnrealEngineLauncher/UnrealEngineInstaller.msi, so I ran that. This installed the launcher, but it wasn’t quite right. It said “No Engine Installed”. This is technically correct, since I didn’t install the engine, I built it.
-3.1 Am I supposed to install the entire stock engine as a baseline, even if I’m building my own engine source?
-3.2 Is there a way to get the Launcher to recognize my built engine?
-3.3. As a test, I tried selecting Engine 4.4. in the Library and selected Install. It failed because my c: drive was full. Now every time I launch the Launcher, it says it failed to install. How can I get it to forget my install attempt?