Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Deploy GamingAnywhere

TangZhiZhen edited this page Sep 3, 2019 · 3 revisions

GamingAnywhere Getting Started Guide

Setup Server

Prerequisites

  • Install Ubuntu 16.04, and configure the IP address & proxy properlly.
  • Install the third-party dependency Libraries and tools.
sudo apt-get update
sudo apt-get install -y patch make cmake g++ pkg-config libx11-dev libxext-dev libxtst-dev libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev libpulse-dev libasound2-dev lib32z1

Download file and Setting up environment.

git clone https://github.com/chunying/gaminganywhere.git
export game=$PWD/gaminganywhere
sed -i "s#GADEPS=.*/deps.posix#GADEPS=$game/deps.posix#g" $game/env-setup
source $game/env-setup
cd $game/deps.src
sudo make 
cd ../ga
make all && make install
  • If make error with x265,please add install path with x265 for PKG_CONFIG_PATH.
export PKG_CONFIG_PATH=<install path>:$PKG_CONFIG_PATH
sudo -E make

Load Dependent Library Files.

printf "<$game>/deps.posix/lib" | sudo tee /etc/ld.so.conf.d/gaminganywhere.conf
ldconfig

Start server

Input minetest for Terminal and Keep open. Write configuration files for Minetest game.

vim $game/bin/config/server.minetest.linux.conf
# configuration for the openttd game
# work with ga-server-periodic

[core]
include = common/server-common.conf
include = common/controller.conf
include = common/video-x264.conf
include = common/video-x264-param.conf
include = common/audio-lame.conf
[ga-server-periodic]
display = :0
find-window-name = Minetest [Main Menu]
enable-audio = true

Running the Cloud Game Server.

cd $game/bin && ./ga-server-periodic config/server.minetest.linux.conf

Running the Cloud Game on windows

Download http://www.gaminganywhere.org/dl/gaminganywhere-0.8.0-bin.win32.zip.

cd ./gaminanywhere-0.8.0/bin
ga-client.exe config\client.abs.conf rtsp://<server_ip>:8554/desktop

Clone this wiki locally