Open Source Tomb Raider Engine
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Thomas Buck d93770b99a Now CMD+Q works everywhere 10 年前
data Removed included level. 10 年前
mac_dist Bumped build id 10 年前
src Now CMD+Q works everywhere 10 年前
.gitignore Added Doxyfile 10 年前
BUGS Initial commit from SF CVS 10 年前
COPYING Initial commit from SF CVS 10 年前
ChangeLog Console visible ingame! 10 年前
Doxyfile Changed Doxyfile 10 年前
Makefile Console visible ingame! 10 年前
README.md Added link to doxygen docu 10 年前
README.old Added new Readme 10 年前
Requirements Initial commit from SF CVS 10 年前
TODO Added test level. Fixed Mac Bundle libs. 10 年前
deps.sh Replced deprecated alutLoadWAVFile(). 10 年前
setup.sh Removed included level. 10 年前

README.md

OpenRaider

OpenRaider is an Open Source implementation of the classic Tomb Raider Game Engine. It was abandoned in 2003.

This project aims to get OpenRaider in a more usable state.

If you just want to see OpenRaider doing something, without installing any of the dependencies needed to build OpenRaider, install XQuartz (if you don’t have it already) and grab the Mac App Bundle from the most recent release.

Configuration

OpenRaider needs some configuration files, and level data and assets from custom levels or the Tomb Raider games. These are stored in ~/.OpenRaider. Running the included setup.sh will create/copy the necessary files and directories. The Mac App Bundle will do this for you automatically.

You still need to add level files in ~/.OpenRaider/paks/ and add them to ~/.OpenRaider/OpenRaider.init. Dust off your old Tomb Raider CDs or grab some custom levels from the interwebs.

Documentation

All previously included documentation was moved into the OpenRaider Repo Wiki!

A more or less recent Doxygen documentation of OpenRaider should be on the Github Pages for OpenRaider.

Dependencies

On Mac OS X 10.9 with XCode and MacPorts installed, the following should be enough to get all dependencies that are available as port:

sudo port install zlib cmake libsdl libsdl_ttf

You also need the XQuartz X11 Server.

To get Sound, you need freealut. Get, compile and install it like this:

git clone git@github.com:vancegroup/freealut.git
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX:STRING="/opt/local" -DCMAKE_C_FLAGS:STRING="-O2"
make
sudo make install

Building

If you installed the dependencies using MacPorts, you’ll need to have /opt/local/bin in your $PATH before you can execute make. If you’re using Bash, the MacPorts installer should have automatically edited your configuration.

Just run make debug and run bin/debug/OpenRaider for a debug build. make release builds a release binary. make bundle creates a Mac App Bundle that also runs the setup script, if necessary. make bundle-image packs the App Bundle into a DMG ready for distribution.

Usage

See the original README.old file. In the Main Menu, <Esc> will allow you to select a level to play.

License

OpenRaider is based on code, specs, and alogrithms from:

  • GooseEgg/Freyja 3d Modelers by Mongoose
  • TR Rosetta Stone spec sheet by Anonymous
  • TRView 1.0.0 by Yuri Zhivago, with patches by Mongoose

All code should be GPLed, unless otherwise noted.

2013 Housekeeping by xythobuz.