Ue4 Packaging For Mac On Windows Rating: 4,1/5 438 reviews

Apr 21, 2015  LogTaskGraph: Started task graph with 3 named threads and 6 total threads. Ant-Simulator (UE4) Windows, Mac game. (UE4) Let me start by saying Ant-Simulator is my first game I'm publishing on Gamejolt; and I'm open to criticism. Ant-Simulator is a project I started because I saw that awhile back Eteeski's 'Ant Simulator' was cancelled due to business complications. I don't expect my version of Ant-Simulator to be.

This document covers the bare basics on how to get your Unreal Engine 4 game project able to build both Windows and Linux dedicated server builds, using just a Windows machine for compiling.

  • For 4.9.X or older, you need Visual Studio Community Edition 2013

  • For 4.10 or newer, you need Visual Studio Community Edition 2015

  • Unreal Engine 4 compiled from source code

  • Project must be a C++ code project

    • If your project is a Blueprint Only project, follow this tutorial to wrap it in C++. Don't worry, you won't have to write any code.
  • Linux Toolchain for Windows installed for Linux x86 Server Support

Note: The word Project in any referenced file name or code will refer to your project's name. For example, my project for this tutorial is named GenShooter, so in my case Project.Target.cs refers to GenShooter.Target.cs. ProjectTarget in my case would be GenShooterTarget.

  1. Navigate to your Project's Source folder. You should see some .Target.cs files.
  2. Make a copy of Project.Target.cs file and rename it ProjectServer.Target.cs, be sure not to grab ProjectEditor.Target.cs.
  3. Open up ProjectServer.Target.cs in your favorite text editor. I'll be using Visual Studio here.
  4. Rename all instances of ProjectTarget to ProjectServerTarget.
  5. Change Type = TargetType.Game; to Type = TargetType.Server;.
  6. Save this file. Your ProjectServer.Target.cs file should look something like this now:
  1. Right-click your project's .uproject file in your project's folder and 'Generate Visual Studio project files'.
  2. Now we need to build our project in Visual Studio with the Development Server configuration for the Windows platform, and for the Linux platform as well if you have the Linux x86 Cross-Compile Toolchain installed. To do this, build your game project just as we built it in the past tutorials but this time with the Development Server build configuration.

When the Windows server is done building, your output should look like this.

Here is the build output for the Linux server.

Up to 8x oversampling. 64-bit floating point processing. Undo/redo history.A/B comparisons. Download free voxengo overtone geq for mac pro Contextual hint messages. Preset manager.

Now your project supports building for dedicated servers, for all platforms, including Linux. Whether Linux will compile is dependant on if your Linux x86 Cross-Compile Toolchain is setup correctly.

  1. Open up your project in the UE4 Editor.
  2. Open up the Project Launcher using Window -> Project Launcher.

This should greet you with a window that looks like this.

This window allows for launching various project deployment configurations.

Ue4
  1. To build your project in dedicated server form, we need to make a custom build profile. Click the 'Add a new custom launch profile' button in the bottom panel that looks like a plus sign. This should open up the custom profile editing screen.
  1. Choose your Project in the Project drop down. If you do not see it, click browse and feed it your project's .uproject file.
  1. Change Cook mode from On the fly to By the Book. Select the WindowsServer platform under Cooked Platforms. Select the LinuxServer platform as well if you have the Linux x86 Cross-Compile Toolchain installed. Also, select en under Cooked Cultures, or select your base language if your project is not English centric. Click here to see what these settings look like.
  1. Change Package mode from Do not package to Package & store locally. Leave all the settings in here blank by default.
  1. Change Deploy mode to Do not deploy.
  1. Click 'Back' on the top right of this window to go back to the main Project Launcher Window.
  2. Click the 'Launch This Profile' button next to your new custom profile. This button looks like the Play button in the level editor window.
  1. This will begin the process of cooking and packaging your dedicated servers for your selected platforms. This will take a while. When it is done, it should look like this.

Now that you have packaged your dedicated server builds, you can find them in your project's SavedStagedBuild directory. If you have packaged your regular game builds, you'll see them listed here as WindowsNoEditor and LinuxNoEditor as well. You are free to copy these builds to your target machines and distribute them as you like.

If you load the Windows Dedicated Server, it will seem that nothing loads up and that there is no UI or command prompt of any kind. If you open up your Windows Task Manager, you will see that your server is in fact running, but it is invisible. If you would like to see the log output of your Windows Dedicated Server, you need to run it with the -log command argument. The easiest way to do this is:

  1. Hold Shift and Right-click the folder your Windows Dedicated Server is in and choose 'Open command window here.'
  1. Type in ProjectServer.exe -log and hit Enter. In my case, this is named GenShooterServer.exe -log
  2. This will load your Windows Dedicated Server with a log window.

After copying your files to your Linux server (which is outside the scope of this tutorial), you will need to run ProjectServer located in your builds Project/Binaries/Linux/ folder.

In my case that is, loading it from a terminal would look like:

If you want to load it and then send it to the background so that it will not terminate when you close your terminal session, you can load it with:

To kill a server that has been sent to the background, find it's process name using the command top, then route that name to pkill, which would look like this: Ssk card reader drivers for mac download.

Your process name is usually your server binary's name limited to 16 characters.