Skip to content

massimobernava/proteo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Server Linux

Install the required libraries:

sudo apt install build-essential git cmake libluajit-5.1-dev libssl-dev libcurl4-openssl-dev libjson-c-dev libmicrohttpd-dev libsqlite3-dev libzmq3-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev libopencv-dev 

Optional install nosql ejdb2 database:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:adamansky/ejdb2 
sudo apt-get install ejdb2

Install Tensorflow Lite:

git clone https://github.com/tensorflow/tensorflow.git tensorflow_src
mkdir tflite_build
cd tflite_build
cmake ../tensorflow_src/tensorflow/lite/c -DTFLITE_ENABLE_GPU=ON
cmake --build . -j

Clone repository and use cmake:

git clone https://github.com/massimobernava/proteo.git
cd proteo/server
mkdir build
cd build 
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl .. 
make

Update config.json:

{  	"version":"0.1",
	"basedir":"/usr/local/etc/Proteo/",
	"baseurl":"YOUR_LOCAL_IP",
	"port":8888,"master":1,"ssl":0,
	"server_key":"01234567890123456789012345678901",
	"client_key":"01234567890123456789012345678901",
	"ssl_key":"",
	"ssl_cert":"",
	"admin_enabled":1,"plugins":["proteo","admin","edit","deepcrimson","deepindigo"],
	"servers":[]
}

Install it as a service:

chmod +x ./install.sh
sudo ./install.sh

Client

Choose, red pill and continue to compile, blue pill and download one of the releases.

Linux

Install the required libraries:

sudo apt install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-gfx-dev

Use cmake:

cd ../client
mkdir build
cd build 
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl .. 
make
cp ./proteo ../
cd ..

Update app_key in config.json:

{  
	"app_key":"01234567890123456789012345678901",
}

Start Proteo client in graphical mode:

./proteo -g -v

OSX

iOs

Android

Windows

Config

After installation, you need to configure the config.json file on the server and client.

Detail

API

A few examples. For details

Proteo is distributed under the MIT License.

About

Proteo is an open-source and cross-platform scriptable platform, highly modular and with built-in support for many useful modules for serious games implementation

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published