Tutorial: Packaging your server build



Similar documents
Windows Intune Walkthrough: Windows Phone 8 Management

AWS CodePipeline. User Guide API Version

Installing Windows Server Update Services (WSUS) on Windows Server 2012 R2 Essentials

TECHNICAL DOCUMENTATION SPECOPS DEPLOY / APP 4.7 DOCUMENTATION

Quick Start Guide. Installation and Setup

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

Technical Paper. Provisioning Systems and Other Ways to Share the Wealth of SAS

Capture Pro Software FTP Server System Output

Specops Command. Installation Guide

LT Auditor Windows Assessment SP1 Installation & Configuration Guide

Terminal Server Citrix MetaFrame Installation Guide

Searching for accepting?

USER CONFERENCE 2011 SAN FRANCISCO APRIL Running MarkLogic in the Cloud DEVELOPER LOUNGE LAB

ACTIVE DIRECTORY DEPLOYMENT

Administration Guide. . All right reserved. For more information about Specops Deploy and other Specops products, visit

How to Create a Delegated Administrator User Role / To create a Delegated Administrator user role Page 1

Web based training for field technicians can be arranged by calling These Documents are required for a successful install:

JBoss Portal 2.4. Quickstart User Guide

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

Deploying Microsoft Operations Manager with the BIG-IP system and icontrol

Installation Guide. . All right reserved. For more information about Specops Inventory and other Specops products, visit

Capture Pro Software FTP Server Output Format

Note: With v3.2, the DocuSign Fetch application was renamed DocuSign Retrieve.

Scheduling in SAS 9.3

NETWRIX CHANGE NOTIFIER

owncloud Configuration and Usage Guide

Getting started with 2c8 plugin for Microsoft Sharepoint Server 2010

Configuring user provisioning for Amazon Web Services (Amazon Specific)

Eliminate Memory Errors and Improve Program Stability

PaperStream Connect. Setup Guide. Version Copyright Fujitsu

How To Enable A Websphere To Communicate With Ssl On An Ipad From Aaya One X Portal On A Pc Or Macbook Or Ipad (For Acedo) On A Network With A Password Protected (

SAS Marketing Automation 4.4. Unix Install Instructions for Hot Fix 44MA10

Zanibal Plug-in For Microsoft Outlook Installation & User Guide Version 1.1

Getting Started with the Ed-Fi ODS and Ed-Fi ODS API

Configure Single Sign on Between Domino and WPS

TIBCO ActiveMatrix BusinessWorks Plug-in for TIBCO Managed File Transfer Software Installation

ecopy ShareScan 5.0 SQL installs guide

Handle Tool. User Manual

NetWrix File Server Change Reporter. Quick Start Guide

Dream Report Version 4.5

EventTracker: Configuring DLA Extension for AWStats Report AWStats Reports

Zend Server Amazon AMI Quick Start Guide

eggon SDK for ios 7 Integration Instructions

LANDPARK NETWORK IP Landpark, comprehensive IT Asset Tracking and ITIL Help Desk solutions October 2016

Setting up SQL Translation Framework OBE for Database 12cR1

Using a login script for deployment of Kaspersky Network Agent to Mac OS X clients

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements

IBM WebSphere Application Server V8.5 lab Basic Liberty profile administration using the job manager

Zynq-7000 Platform Software Development Using the ARM DS-5 Toolchain Authors: Simon George and Prushothaman Palanichamy

Integrating Secure FTP into Data Services

inforouter V8.0 Server Migration Guide.

Python for Series 60 Platform

How to protect, restore and recover SQL 2005 and SQL 2008 Databases

Appendix E. Captioning Manager system requirements. Installing the Captioning Manager

Backup and Recovery of SAP Systems on Windows / SQL Server

Administering Jive for Outlook

Web Application Firewall

Altaro Hyper-V Backup - Getting Started

Administration Guide. . All right reserved. For more information about Specops Gpupdate and other Specops products, visit

Adaptive Log Exporter Users Guide

Installing Microsoft Exchange Integration for LifeSize Control

HOW TO SILENTLY INSTALL CLOUD LINK REMOTELY WITHOUT SUPERVISION

Mobile Labs Plugin for IBM Urban Code Deploy

Informatica MRS Backup

Using Microsoft Visual Studio API Reference

EventTracker: Configuring DLA Extension for AWStats report AWStats Reports

Event Based Interface

Step 1: Getting Started. Build assets for Android Build shaders using the Remote Shader Compiler Build the Lumberyard run-time using the build tools.

SharePoint Wiki Redirect Installation Instruction

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers

FDA Medication Guides Project

Installation Guide for WebSphere Application Server (WAS) and its Fix Packs on AIX V5.3L

STEP BY STEP IIS, DotNET and SQL-Server Installation for an ARAS Innovator9x Test System

VeriCentre 3.0 Upgrade Pre-Installation and Post Installation Guidelines

Contents. 1.Running the Installer Activating PowerForms SharePoint SharePoint 2007 / WSS

Unity Error Message: Your voic box is almost full

Automated CPanel Backup Script. for home directory backup, remote FTP backup and Amazon S3 backup

Using Logon Agent for Transparent User Identification

Using GitHub for Rally Apps (Mac Version)

SAPIP GUI INSTALLATION. Table of Contents

Scheduling in SAS 9.4 Second Edition

Setup and configuration for Intelicode. SQL Server Express

Quick Start Guide. IT Management On-Demand

Chapter 9 PUBLIC CLOUD LABORATORY. Sucha Smanchat, PhD. Faculty of Information Technology. King Mongkut s University of Technology North Bangkok

Authoring for System Center 2012 Operations Manager

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

Google App Engine f r o r J av a a v a (G ( AE A / E J / )

Installing and Configuring Login PI

Upgrading CloudPortal Services Manager 11.0 to Version

Why Use Blackboard Content System to Store Documents One Time

StarWind iscsi SAN Software: Installing StarWind on Windows Server 2008 R2 Server Core

Microsoft Diagnostics and Recovery Toolset 7 Evaluation Guide

Getting Started with AWS. Hosting a Static Website

eg Enterprise v5.2 Clariion SAN storage system eg Enterprise v5.6

Avatier Identity Management Suite

Migrating to Azure SQL Database

Oracle Data Integrator 12c: Integration and Administration

Oracle Data Integrator 11g: Integration and Administration

Transcription:

Tutorial: Packaging your server build This tutorial walks you through the steps to prepare a game server folder or package containing all the files necessary for your game server to run in Amazon GameLift. At the end of the tutorial you will have a server build package ready to upload to Amazon GameLift. You will learn how to do the following: Compile the server code and assets Package compiled assets into.pak files Copy all the files your server needs into a game server folder Verify your server runs locally Prerequisites This tutorial uses the Multiplayer Project, which is a sample game that has been configured to work with Amazon GameLift. The Multiplayer Project has minimal assets to make it quick to package and upload to Amazon GameLift. You must have completed the following tutorial before starting this tutorial: Setting up your development environment Step 1: Enable the multiplayer project The first step is to enable the Multiplayer Project as the default project. To enable the Multiplayer Project 1. In Windows Explorer, navigate to the folder where you installed Lumberyard and run SetupAssistant.bat (LumberyardLauncher.bat if you are using V 1.1 and below)

2. Click on Summary to skip to the Summary Page 3. Click the Configure project button in the header to open the Project Configurator.

4. Select MultiplayerProject from the list of projects.

5. Press Set as default and then close the Project Configurator and Launcher. When you activate the Multiplayer Project, the bootstrap.cfg file is updated so the sys_game_folder points to the MultiplayerProject game folder. Now the game, server and editor applications will look in the MultiplayerProject game folder for assets. If you are using a Lumberyard version greater than version 1.0, you could skip the next steps (Step 2 to Step 4) by doing the following which would automate the steps required to build the multiplayer project dedicated server and prepare it for uploading to GameLift. In the command line window: dev\code\multiplayerproject\scripts\buildgameliftserver.bat However, it is highly recommended to continue reading the following steps to get a better understanding of the process.

Step 2: Build the multiplayer project dedicated server In this step you will compile the binaries for the Multiplayer Project dedicated server. If you have already built the Multiplayer Project dedicated server, you may skip this step. To build the Multiplayer Project dedicated server 1. Open a command prompt and navigate to the dev folder inside the Lumberyard SDK root folder. For example, if you installed Lumberyard in C:\LumberyardSDK, navigate to C:\LumberyardSDK\dev 2. Type the following at the command prompt and press ENTER: lmbr_waf configure build_win_x64_release_dedicated -p game_and_engine --enabledgame-projects MultiplayerProject --progress 3. The configure command instructs the Waf build system to do some essential tasks like running the SetupAssistant (or LumberyardLauncher) in batch mode to ensure the correct 3rdParty libraries are accessible from dev/code/sdks. The build_win_x64_release_dedicated p game_and_engine command starts a build of the Windows x64 release_dedicated game and engine specification. 4. After the command completes, check the output for any errors and address those before continuing. Errors in the configure command output are usually from missing 3 rd party libraries. Run SetupAssistant (or LumberyardLauncher) again if you see any of these errors and install those missing libraries. Note: If you build the dedicated server in any mode other than release_dedicated then please make sure to disable the Asset Processor from launching by modifying the file located in dev\multiplayerproject_pc_paks_dedicated\bootstrap.cfg and setting connect_to_remote=0. The reason we disable the Asset Processor from launching is because we will be compiling the assets for the dedicated server in the next steps and will not require the Asset Processor to process them. At this point you should have the MultiplayerProjectLauncher_server.exe in your dev/bin64.release.dedicated folder. Step 3: Compile the assets for the dedicated server In this step you will compile the assets for the Multiplayer Project dedicated server using a.bat script that invokes the Asset Processor to convert source assets into compiled assets, and then invokes the Resource Compiler to package the compiled assets into.pak files. To compile the assets for the Multiplayer Project dedicated server

1. Open a command prompt and navigate to the dev folder inside the Lumberyard SDK root folder. For example, if you installed Lumberyard in C:\LumberyardSDK, navigate to C:\LumberyardSDK\dev 2. Type BuildMultiplayerProject_Paks_PC_dedicated.bat at the command prompt and press ENTER. The.bat file will invoke the Asset Processor, which converts the source assets in dev/multiplayerproject into compiled assets. It then invokes the Resource Compiler with the dev/bin64/rc/rcjob_build_multiplayerproject_paks_dedicated.xml resource build file. This.xml file has entries in it that instruct the Resource Compiler to put the compiled assets into.pak files and copy them and various other files into dev/multiplayerproject_pc_paks_dedicated. At this point you should have a dev/multiplayerproject_pc_paks_dedicated folder with.pak files and configurations inside it. Step 4: Create a server build package Your build package must include all of the components required to run your game server. For this tutorial, we ll use the dev/multiplayerproject_pc_paks_dedicated folder as our build folder. In addition to the assets that are already there, the folder must contain the following: install.bat The installer batch file, which must be in the folder root. o When a game session is started on a new server, the install.bat will be automatically run and will perform any necessary game server setup, including installing dependencies, configuring registry settings, etc. The commands invoked in install.bat must not require any user input. Game server binaries The binaries necessary to run your game server. Any dependencies required by your game server executable to run. To create the server build package for the Multiplayer Project dedicated server 1. Copy the dev/bin64.release.dedicated folder into dev/multiplayerproject_pc_paks_dedicated NOTE: if you previously compiled a debug or profile version of the dedicated server you should remove the.pdb symbol files from the copy of dev/bin64.release.dedicated because they re large and will make the upload and deployment process slower. 2. Copy the vcredist_x64.exe file from dev/bin64/redistributables/visual Studio 2013 into dev/multiplayerproject_pc_paks_dedicated 3. Create a text file named install.bat in dev/multiplayerproject_pc_paks_dedicated with the following text in it:

vcredist_x64.exe /q Step 5: Verify your server runs locally Before uploading your build to Amazon GameLift you should test it locally to make sure you aren t missing any required files and that the server performs as expected. To verify the Multiplayer Project dedicated server runs locally 1. In Windows Explorer, navigate to the dev/multiplayerproject_pc_paks_dedicated/bin64.release.dedicated folder 2. Run MultiplayerProjectLauncher_Server.exe and the server CLI will appear 3. Load a map by typing map multiplayergame in the server CLI console and then press ENTER.

The server console messages should indicate that the map loaded. 4. Close the server CLI by typing quit in the server CLI console and then press ENTER. 5. Remove the servers log files by deleting the dev/ MultiplayerProject_pc_Paks_Dedicated/user folder because you want to avoid a situation where you could confuse the real server logs with your local test server logs. Congratulations! You have successfully created a server build package, ready to upload to Amazon GameLift. Related tasks and tutorials Now that you have created your server build package, continue on to the next tutorial to learn how to upload your server build to Amazon GameLift. Tutorial: Uploading your server build We d love to hear from you! Head to our Tutorial Discussion forum to share any feedback you have, including what you do or don t like about our tutorials or new content you d like to see in the near future.