Tutorial: Packaging your server build

Similar documents
Tutorial: Uploading your server build

Tutorial: Creating a Gem with code

Tutorial: Initializing and administering a Cloud Canvas project

Tutorial: Upgrading a game project

Tutorial: How to Load a UI Canvas from Lua

Tutorial: Modify UI 01 How to Load a UI Canvas Using Flow Graph

Tutorial: How to Create and Assign Materials from the Material Editor

Tutorial: Camera basics

Tutorial: Exporting characters (Max)

Tutorial: Importing Animations into Geppetto

Tutorial: Importing Height Maps and Mega-Terrain from World Machine

Tutorial: Introduction to Flow Graph

Tutorial: Accessing Maya tools

Tutorial: Importing static mesh (FBX)

Tutorial: Exporting characters (Maya)

You will learn how to do the following:

Introduction to Amazon Lumberyard and GameLift

Tutorial: Character creation basics

Getting the Shaders Once the game has been run and all shaders have been generated the next step is to get the shaders off of the mobile device.

NetBeans IDE Java Quick Start Tutorial

Tutorial: Getting Started - Flow Graph scripting

Tutorial: Options Menu Layout

Sample Spark Web-App. Overview. Prerequisites

[INFO] Removing target platform win_x64_vs2015 due to "Visual Studio 2015" not checked in Setup Assistant.

Tutorial: Working with Lighting through Components

FireAMP Connector for Mac Diagnostic Data Collection

VMware AirWatch Database Migration Guide A sample procedure for migrating your AirWatch database

Tutorial: Adding Sounds for a One-Shot Weapon

Click Studios. Passwordstate. Remote Session Launcher. Installation Instructions

Using the Dev C++ Compiler to Create a Program

Full Stack Game Demo. Serverless Full Stack with Gomok

DB2 for z/os Stored Procedure support in Data Server Manager

TREX Set-Up Guide: Creating a TREX Executable File for Windows

I have bought the game on Steam and played it before the release of update

TI mmwave Labs. Vital Signs Measurement

TI mmwave Training. mmwave Demo

Getting Started with Wrap

BlackBerry Developer Global Tour. Android. Table of Contents

TI mmwave Training. xwr16xx mmwave Demo

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2003

AppProtect & Safe Activation

Introduction to Computation and Problem Solving

Spartan-6 LX9 MicroBoard Embedded Tutorial. Tutorial 1 Creating an AXI-based Embedded System

XML Tutorial. NOTE: This course is for basic concepts of XML in line with our existing Android Studio project.

Applied Informatics POCO PRO C++ Frameworks

Installation Guide - Dimodelo Architect and Management Console. Installation Guide. Dimodelo Solutions 7/27/15

Tutorial: How to create Basic Trail Particles

Pengwyn Documentation

Transaction Intermediate. Bill Wiseman Shelby Murrell

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

How to for tests and campaigns

Creating a Custom TinyWebDB service

ASSET TRACKING SYSTEM INSTALLATION GUIDE

Phone. Programming Course. Dualism Mobile Phone and PC. Software Developer Kit (SDK) Module 1

touchdevelop tutorial

LOCAL WALLET (COLD WALLET):

JANUS EXPLORER. Janus Explorer Version 1.4 Quick Guide

Hands-On Lab. Authoring and Running Automated GUI Tests using Microsoft Test Manager 2012 and froglogic Squish. Lab version: 1.0.5

HOW TO BUILD YOUR FIRST ROBOT

Visual C++ Tutorial. For Introduction to Programming with C++ By Y. Daniel Liang

DocProtect & Safe Activation

Amazon Lumberyard Editor. Getting Started Guide Version 1.8

In order to support developers, there needs to be a number of tools available which may be involved in the ultimate solution.

Oracle Data Integrator 12c: Integration and Administration

Running MESA on Amazon EC2 Instances: A Guide

Amazon WorkSpaces Application Manager. Administration Guide

NBC Learn Tool. Administrator s Guide V3.0

THE LAUNCHER. Patcher, updater, launcher for Unity. Documentation file. - assetstore.unity.com/publishers/19358

Microsoft Teams. Quick Start Guide. New to Microsoft Teams? Use this guide to learn the basics.

Installing and Using Dev-C++

AN 834: Developing for the Intel HLS Compiler with an IDE

Technical Documentation. Configuring Google SSO with Amazon AppStream 2.0 and Amazon AppStream 2.0 Chrome Packaging and Deployment

Tutorial: Deploying a Progress Corticon Decision Service as a Web Service for.net. Product Version: Corticon 5.6

Ionic CLI is the default and easiest way to work with ionic projects. In this tutorial we will learn the ins and outs of Ionic CLI.

Rational Developer for IBM i (RDI) Distance Learning hands-on Labs IBM Rational Developer for i. Maintain an ILE RPG application using.

Obtaining a Google Maps API Key. v1.0. By GoNorthWest. 15 December 2011

Getting started with System Center Essentials 2007

Cloud Help for Community Managers...3. Release Notes System Requirements Administering Jive for Office... 6

Software Development Kit for ios and Android

PYOTE installation (Windows) 20 October 2017

PIMCORE TRAINING GUIDE

Conventions in this tutorial

Tilengine A 2D graphics engine with raster effects

Managing your content with the Adobe Experience Manager Template Editor. Gabriel Walt Product Manager twitter.com/gabrielwalt

Swift Web Applications on the AWS Cloud

PYOTE installation (Windows only) 1 December 2018

CANvu 355 & VeeCAN 320 SDK

1.00 Lecture 2. What s an IDE?

Tutorial: Understanding the Lumberyard Interface

MICROSTRATEGY PLATFORM ON AWS MARKETPLACE. Quick start guide to use MicroStrategy on Amazon Web Services - Marketplace

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup

Elemental Kinection. User Manual. 2 May Version Texas Christian University, Computer Science Department

Moving data to the cloud using the MoveToCloud script

Test Generator. TG Reports: Analysis Overview

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010

Configuring Directories in an ICVERIFY Master / Substation Setup

Install firmware on Xbox One S

Your password is: firstpw

PROXY Pro RAS Installation Manual v10.1. December 2018

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: Enable the multiplayer sample Build the multiplayer sample dedicated server Compile the assets for the dedicated server Create a server build package Verify your server runs locally Prerequisites This tutorial uses the Multiplayer Sample, which is a sample game that has been configured to work with Amazon GameLift. The Multiplayer Sample 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 sample The first step is to enable the Multiplayer Sample as the default project. To enable the Multiplayer Sample 1. In Windows Explorer, navigate to the folder where you installed Lumberyard and run SetupAssistant.bat

2. Select all the checkboxes shown in the following image: 3. Click on Summary to skip to the Summary Page

4. Click the Configure project button in the header to open the Project Configurator. 5. Select MultiplayerSample from the list of projects.

6. Press Set as default and then close the Project Configurator and Launcher. When you activate the Multiplayer Sample, the bootstrap.cfg file is updated so the sys_game_folder points to the MultiplayerSample game folder. Now the game, server and editor applications will look in the MultiplayerSample game folder for assets. Step 2: Build the multiplayer sample dedicated server In this step you will compile the binaries for the Multiplayer Sample dedicated server. If you have already built the Multiplayer Sample dedicated server, you may skip this step. To build the MultiplayerSample 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 command in command prompt and press ENTER: lmbr_waf configure build_win_x64_vs2013_release_dedicated -p game_and_engine --enabled-gameprojects MultiplayerSample --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. a. The build_win_x64_vs2013_release_dedicated p game_and_engine command starts a build of the Windows x64 release_dedicated game and engine specification under Visual Studio 2013. 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\multiplayersample_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 MultiplayerSampleLauncher_server.exe in your dev/bin64vc120.release.dedicated folder, if you used vs2013 in the build command. Step 3: Compile the assets for the dedicated server In this step you will compile the assets for the Multiplayer Sample 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 Sample 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 BuildMultiplayerSample_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/multilplayersample into compiled assets. It then invokes the Resource Compiler with the dev/bin64/rc/rcjob_build_multilplayersample_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/multilplayersample_pc_paks_dedicated. At this point you should have a dev/multilplayersample_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/multilplayersample_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 Sample dedicated server 1. Copy the dev/bin64vc120.release.dedicated folder into dev/multilplayersample_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/bin64vc120.release.dedicated because they re large and will make the upload and deployment process slower. 2. Copy the vcredist_x64.exe file from dev/tools/redistributables/visual Studio 2013 or Visual Studio 2015 into dev/multilplayersample_pc_paks_dedicated. 3. Create a text file named install.bat in dev/multilplayersample_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 Sample dedicated server runs locally 1. In Windows Explorer, navigate to the dev/multilplayersample_pc_paks_dedicated/bin64vc120.release.dedicated folder. 2. Run MultilplayerSampleLauncher_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 with mission: map:multiplayergame 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/ MultilplayerSample_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. GameLift Getting Started Uploading your server build GameLift Getting Started Creating a fleet GameLift Getting Started Creating and connecting to a game session 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.