GithubHelp home page GithubHelp logo

ando3131 / openapoc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openapoc/openapoc

0.0 2.0 0.0 4.17 MB

Opensource rebuild of the XCOM Apocalypse Engine

License: MIT License

C++ 97.16% C 0.82% CMake 1.59% QMake 0.39% Shell 0.01% Batchfile 0.03%

openapoc's Introduction

OpenApocalypse

The OpenApocalypse project aims to build a open-source clone of the original X-COM: Apocalypse strategy game.

BIG CAVEAT

OpenApoc is in early development - it is not yet 'playable' as a game. All help is appreciated, but there's little point trying to 'play' is as yes

Current build status:

Linux: Linux Build Status Windows: Windows Build Status

Contact us

If you're interested, please visit us at http://openapoc.org We have forums at http://openapoc.pmprog.co.uk - please pop by and introduce yourself! We also have an IRC channel on http://freenode.net - #openapoc

Building

OpenApocalypse is built leveraging a number of libraries - to provide needed functionality (and save us the time of implementing it ourselves badly)

Requirements:

  • This assumes that you have the file 'cd.iso' - a copy of the original X-Com Apocalypse CD (This can be got from steam for a pittance http://store.steampowered.com/app/7660/ - this is required to run)

Building on Windows: (Tested with Visual Studio 2013 community edition)

  • Checkout OpenApoc from github All the required dependencies (allegro, tinyxml2, physfs, ICU) are packaged as submodules. These submodules are fetched automatically if using the github for windows app, so if you are please skip the next step
  • From a Git command line, run the following to fetch the dependency packages
git submodule init
git submodule update
  • Open openapoc.sln in Visual Studio
  • Build (Release/Debug x86/x64 should all work)
  • Before running, copy the 'cd.iso' file into the 'data' directory in the root of the git project. -- When running from the Visual Studio UI, the working directory is set to the root of the project, so the data folder should already be in the right place. If you want to run outside of Visual Studio, you need to copy the whole 'data' folder (including the cd.iso file) into the folder openapoc.exe resides in

Building on Linux (tested on ubuntu 14.04 - other distributions will probably need different packages to install - see the dependency list above)

  • Install the following packages: liballegro5-dev glm libicu-dev libtinyxml2-dev cmake build-essential git
sudo apt-get install liballegro5-dev libicu-dev libtinyxml2-dev cmake build-essential git libunwind-dev
  • Checkout OpenApoc from github
  • Fetch the dependencies from git with the following terminal command (run from the just-created OpenApoc folder)
git submodule init
git submodule update
  • Build our patched Physfs -- You can do this by typing the following command in a terminal from the dependencies/physfs directory:
cd /path/to/OpenApoc/dependencies/physfs
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .
make

-- Install the patched physfs with the following command in the terminal (also in the physfs directory - providing your password if prompted). By default this will install physfs system wide under /usr/local.

sudo make install
  • Configure and install the dependencies version of GLM (libglm-dev in ubuntu 14.04 is old and doesn't seem to work)
cd /path/to/OpenApoc/dependencies/glm
cmake .
make
sudo make install
  • Create a subdirectory ('build' in this example) in the OpenApoc checkout directory, and from that use cmake to configure OpenApoc:
cd /path/to/OpenApoc
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
  • This cmake command will fail if we're missing a dependency, or your system is for some other reason unable to build - if you have any issues please contact us (see above for links)
  • Build the project with the following command
make -j4
  • This should create a directory 'bin' under the build directory, with the 'OpenApoc' executable file, and the 'data' directory already in place.
  • Copy the cd.iso file to the 'data' directory under build/bin (Note - despite dosbox having good linux support, the steam version of X-Com Apocalypse refuses to install in steam for linux - you may need to snatch the cd.iso file off a windows steam install)
cp /path/to/cd.iso data/
  • Change to the build/bin directory
cd bin
  • Run openapoc
./OpenApoc

openapoc's People

Contributors

jonnyh avatar pmprog avatar supsuper avatar xracer avatar sparkstar avatar 5thavenue avatar killermosi avatar solariusscorch avatar gsusanj avatar

Watchers

James Cloos avatar Andrzej Owsiejczuk avatar

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.