Go to file
mgerhardy 4127ab6355 GITIGNORE: cleanup - removed binaries - they are all in build/ now 2016-04-28 20:59:19 +02:00
cmake CMAKE: whitespace fix 2016-04-28 20:10:12 +02:00
contrib FIPS: removed fips - we are now cmake only 2016-04-28 20:38:50 +02:00
data DATA: removed cubiquitytool data 2016-04-28 20:11:45 +02:00
docs DOCS: added turbobadger widget docs 2016-04-15 22:35:08 +02:00
screenshots initial commit 2015-10-15 21:54:01 +02:00
src CMAKE: place binaries not in project root 2016-04-28 20:30:20 +02:00
tools FIPS: removed fips-flatbuffers 2016-04-27 21:40:54 +02:00
.gitignore GITIGNORE: cleanup - removed binaries - they are all in build/ now 2016-04-28 20:59:19 +02:00
CMakeLists.txt CMAKE: place binaries in root build dir 2016-04-28 20:35:55 +02:00
Makefile MAKEFILE: clean target only deletes the build dir 2016-04-28 20:55:11 +02:00
README.md FIPS: removed fips-assimp - use local installed headers/libs 2016-04-19 20:07:01 +02:00
TODO TODO: updated 2016-04-28 20:58:45 +02:00
fips.cmd initial commit 2015-10-15 21:54:01 +02:00

README.md

About

Voxel engine that depends on PolyVox.

The build system is a cmake based system that automatically downloads all the needed dependencies. See fips homepage.

Network message generation depends on flatbuffers

Var

There are vars inside the engine that you can override via commandline. Var instances are runtime changeable configuration variables that you can influence from within the game. e.g. run the server with ./server -set sv_port 1025 to change the sv_port var to 1025 and bind that port.

Dependencies

  • You need to have SDL2 installed
  • Windows: env var SDL2DIR point to the directory where you extracted it into (Download link)
  • Linux: pkg-config support is enough here (e.g. apt-get install libsdl2-dev)
  • You need to have git installed and in your path
  • You need to have cmake installed and in your path
  • You need to have python27 installed and in your path
  • You need to have postgre installed (ubuntu package postgresql, libpq-dev and postgresql-server-dev-9.3 (or another version))
  • You need lua installed
  • You need libassimp

Compilation

  • After fulfilling all the above mentioned dependencies, you just have to run fips

Profiling

  • There is built-in Remotery support - just run the application with e.g. ./fips run server -- -set core_trace true or without fips: ./server -set core_trace true The core_trace var will activate all those core_trace_* macros.

Check this out:

http://www.gamedev.net/blog/1621/entry-2260604-seedworld-voxel-world-engine-update-2/ http://0fps.net/2013/07/03/ambient-occlusion-for-minecraft-like-worlds/ http://www.gamedev.net/blog/1621/entry-2260713-adding-biomes-and-rivers/

PostgreSQL

first sudo as postgres default superuser 'postgres' on bash

sudo -i -u postgres

adding an new new user by typing

createuser -s dbmaster

create a new database

createdb engine_db

now start postgres and add password for these user

psql

write this statement

ALTER USER dbmaster WITH PASSWORD 'ben711cCefIUit887';

now we have done the first initialization.

quick postreSQL guide:

to leave PSQL type: \q to list all Database type: \l to connect to an specific database type: \c dbname (for example \c engine_db) after you are connected to an database, you can use SQL to list al tables type: \dt (\d+ for all tables. also sequences)

more stuff: http://wiki.ubuntuusers.de/PostgreSQL

console postgres tools

temporary tools (till rcon is not final) are usable via console. after db is initialized start the server and type store init this will create the user table

to add an user type store useradd <name> <password>