calref / cboe

Classic Blades of Exile
http://spiderwebforums.ipbhost.com/index.php?/forum/12-blades-of-exile/
Other
167 stars 41 forks source link
game rpg

CI status

Classic Blades of Exile

This project hosts the source code to the classic RPG creator Blades of Exile after it was released by Spiderweb Software under GPLv2. It is a svn-git transfer from the Google Code Project; all issues and trunk code has been ported.

The primary purpose of this project is to provide bug fixes to Blades of Exile so that it can compile and run on modern operating systems. The secondary purpose is to generalize and extend its functionality while maintaining backwards compatibility.

If you would like to be added to this project contact Sylae or one of the other people on the owners list. This is an open project, with no strong prerequisites for getting commit access. With that in mind, please be careful of what you check into the repository. Please do not commit any binaries, junk files, or anything that doesn't compile.

Building

There are currently three ways to build Blades of Exile:

The officially supported method is scons. It's set up to work on any platform with any toolset, but only the following have been tested:

The script is currently a work-in-progress and as such may be a little fragile, but we're working on that. With luck, just running scons will simply do the right thing and build a working executable under build/Blades of Exile. If not, though, you may have to adjust a few things.

You can pass the following parameters to scons:

If you can't get that to work, you can copy the required dependencies into deps/lib (for dynamic libraries and frameworks) or deps/include (for headers). That means that deps/include would have two subfolders boost/ and SFML/.

The following dependencies are required:

For Linux builds, the following additional dependencies are required:

If you are using the Visual Studio toolset, we recommend installing vcpkg to manage these dependencies. Use the following commands to install the required dependencies: For 32-bit builds:

vcpkg install --triplet=x86-windows zlib sfml opengl boost-any boost-dynamic-bitset boost-ptr-container boost-core boost-filesystem boost-system boost-date-time boost-chrono boost-math boost-spirit

For 64-bit builds:

vcpkg install --triplet=x64-windows zlib sfml opengl boost-any boost-dynamic-bitset boost-ptr-container boost-core boost-filesystem boost-system boost-date-time boost-chrono boost-math boost-spirit

If this is the first time installing packages with vcpkg since install you will need to run the integrate command:

vcpkg integrate install

If you're using XCode, you may need to adjust the project file settings to specify the correct place to search. For example, if you installed Boost via Homebrew, you may need to add something like the following to the Project Build Settings, under Linking->Other Linking Flags:

-lboost_filesystem -lboost_system -L/usr/local/Cellar/boost/1.57.0/lib

Again with Homebrew, you may also need to add the following to Apple LLVM Custom Compiler Flags -> Other C++ Flags:

-isystem/usr/local/Cellar/boost/1.57.0/include

Notes and oddities:

Contributing

If you want to contribute code to the project, please open a pull request. Be sure to read the style guide before coding.

This project targets the subset of C++11 supported by both Xcode 4 and Visual Studio 2013. That means that generally you can use C++11, but the following features (at least) are not permitted:

Helpful Links