GithubHelp home page GithubHelp logo

ofw's Introduction

Open Fantasy World Travis

Open Fantasy World is a MMORPG where the players will live in community.

Requirements:

For install this requirements in Debian or distributions based on Debian, type:

sudo apt-get install cmake libirrlicht-dev libboost-all-dev doxygen libqt4-dev libqtcore4 libxxf86vm-dev libenet-dev libprotobuf-dev protobuf-compiler

Download:

The source code is available from github, you can clone the git tree by doing:

git clone https://github.com/Virako/ofw.git

Compilation:

Open Fantasy World use CMake as build system. The complete compilation process depends on the system you are using (Linux, Mac OS X or Windows).

Quick compilation under Unix:

Under Unix, assuming that Irrlicht and Boost are installed system-wide, you can compile (with optimisation and debug information) and install Open Fantasy World with the following commands run in the top-level directory of ofw:

mkdir build
cd build
cmake ..
sudo make all install
sudo make uninstall  # for uninstall

Generate documentation

For you generate documentation, type:

cmake -DBUILD_DOCUMENTATION=ON ..
make Docs

Generate package DEB and RPM

For you generate package DEB and RPM, you need execute:

make package

or

cpack

Usage:

Open Fantsay World is easy to use, the executable is in the bin folder. Just type:

./ofw

..in the bin directory.

Testing:

For run the test, type:

make test

or

ctest

..in the build directory.

Add language

  • You put in the string traducible inside _("string")

  • Get all string from code:

    xgettext -C -k_ -s -d ofw --package-name=ofw --package-version=x.x -o ofw.pot files

  • Create files .po:

    msginit -l es -o po/es.po -i ofw.pot

  • Translate files .po

  • Generate binary file:

    msgfmt -c -v -o locale/es/LC_MESSAGES/nombreProyecto.mo po/es.po

  • If you need to add some string more later, you can use msmerge instead msginit:

    msgmerge -s -U po/es.po ofw.pot

FAQ

Error: I get error when I run ofw:

pure virtual method called
terminate called without an active exception
Aborted (core dumped)

Solve: You need install irrlicht version 1.8. This problem happens in kernel 3.8.5

License

Open Fantasy World is licensed under GPL v3. GPL v3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.