You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/README_Mac.md

72 lines
2.5 KiB
Markdown

NOTE: This README is for ardekantur's Mac branch of OpenMW. A README
for the main branch has yet to be written. If you want to submit one,
please send me a message!
OpenMW
======
From the [official website][]:
> OpenMW is an attempt to reimplement the popular role playing game
Morrowind. It aims to be a fully playable, open source
implementation of the game. You must own Morrowind to use OpenMW.
About This Project
------------------
This specific repository is a branch of OpenMW intended to keep pace
with development of the project in order to provide a Mac build for
interested parties to contribute. This is not an official, sanctioned
branch of the OpenMW project. I will only be able to answer specific
questions about getting this project running on Mac OS X, **no other
platform**. I will not even be able to guarantee my changes maintain
backwards compatibility against builds in other operating systems. You
have been warned.
Getting OpenMW Working
----------------------
1. Clone this repository.
2. Install `bjam` through MacPorts.
3. Download [boost][] 1.43 and install it with the following command:
$ mkdir build && sudo bjam --build-dir=build \
--layout=versioned --toolset=darwin architecture=i386 \
address-model=32 --link=shared,static install
4. Download [Ogre][] 1.7.1 and build and Xcode project with CMake:
$ mdkir build && cd build && \
BOOST_INCLUDEDIR=/usr/local/include/boost-1_43 \
BOOST_LIBRARYDIR=/usr/local/lib cmake -G Xcode ..
5. Once the build completes, move `lib/Release/Ogre.framework` into
`/Library/Frameworks`.
6. Download [OIS][] and use the XCode project provided in
`ois/Mac/XCode-2.2`. Be sure to set your build architecture to
`i386` and your SDK platform to either 10.5 or 10.6. Once it
builds, move `ois/Mac/XCode-2.2/build/Debug/OIS.framework` to
`/Library/Frameworks`.
7. Generate the Makefile for OpenMW as follows:
$ mkdir build && cd build && \
BOOST_INCLUDEDIR=/usr/local/include/boost-1_43 \
BOOST_LIBRARYDIR=/usr/local/lib CMAKE_OSX_ARCHITECTURES=i386 \
cmake ..
8. Move your Morrowind `Data Files` directory into the root `openmw`
directory with the name `data`. Symlink it into the build directory.
$ cd build && ln -s ../data data
[boost]: http://www.boost.org
[Ogre]: http://www.ogre3d.org
[OIS]: http://wgois.sf.net
[official website]: http://openmw.com
[Will Thimbleby's Ogre Framework]: http://www.thimbleby.net/ogre/