~fgaz/SSVOpenHexagon

4791b23d — Vittorio Romeo 1 year, 10 months ago
Submodules
91f82e56 — Vittorio Romeo 2 years ago
readme
46d74f2e — Vittorio Romeo 2 years ago
Update README.md

refs

master
browse log
2.0-preview
browse .tar.gz

clone

read-only
https://git.sr.ht/~fgaz/SSVOpenHexagon
read/write
git@git.sr.ht:~fgaz/SSVOpenHexagon

You can also use your local clone with git send-email.

Open Hexagon 2.0 - by Vittorio Romeo


Official README


A C++14 compiler is required!

  • g++ 5.1 and clang++ 3.4 should work properly.

How to build on Linux (debian derivatives)

Tested on Linux Mint 15 x64 and Linux Mint 15 x86.

  1. Clone this repository and initialize it bash git clone git://github.com/SuperV1234/SSVOpenHexagon.git cd SSVOpenHexagon ./init-repository.sh

  2. If your distribution packages SFML 2 you can install it through your package manager otherwise build and install it manually - you can also try the Ubuntu PPA or the official binaries

  3. Install dependencies bash sudo apt-get install liblua5.2-dev zlib1g-dev

  4. Build dependencies and Open Hexagon bash ./build-repository-oh.sh

  5. Download assets bash ./wget-assets.sh ./_RELEASE/

(or clone SSVOpenHexagonAssets)


How to build on Arch Linux

Tested on Arch Linux x64 and ArchBang x86.

  1. Clone this repository and initialize it bash git clone git://github.com/SuperV1234/SSVOpenHexagon.git cd SSVOpenHexagon ./init-repository.sh

  2. Install dependencies bash sudo pacman -S sfml lua51 zlib

  3. Build dependencies and Open Hexagon bash cd SSVOpenHexagon ./build-repository-oh.sh

  4. You may have to append /usr/local/lib to the $PATH or $LD_LIBRARY_PATH environment variables to allow Open Hexagon to find the required libraries - if that doesn't work, try: bash sudo ldconfig /usr/local/lib

  5. Download assets bash ./wget-assets.sh ./_RELEASE/

(or clone SSVOpenHexagonAssets)


How to build on Windows

Tested on Windows 8 x86

  1. Get 7-Zip, MinGW and add it to your $PATH, CMake, Git, UPX

  2. Clone this repository and open bash posh git clone git://github.com/SuperV1234/SSVOpenHexagon.git cd SSVOpenHexagon

  3. Pull everything recursively using git bash bash ./init-repository.sh`

  4. Get SFML2.1, Lua5.2 binaries, Lua5.2 includes, Zlib and extract in SSVOpenHexagon/extlibs/, manually adjusting paths to have the result shown below extlibs/SSV*/ ... extlibs/SFML/ extlibs/SFML/bin/ extlibs/SFML/lib/ extlibs/SFML/include/ ... extlibs/lua/ extlibs/lua/include/ extlibs/lua/lib/ ... extlibs/zlib/ extlibs/zlib/bin/ extlibs/zlib/include/ extlibs/zlib/lib/

  5. Build with ./build-win.bat and download assets manually from http://vittorioromeo.info/Misc/Linked/OHResources/