mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 19:09:41 +00:00
Updated README_Mac
This commit is contained in:
parent
07c6e9271e
commit
bac457a232
1 changed files with 72 additions and 49 deletions
|
@ -74,20 +74,42 @@ Getting OpenMW Working
|
|||
--disable-dependency-tracking
|
||||
$ make install
|
||||
|
||||
7. Generate the Makefile for OpenMW as follows and build OpenMW:
|
||||
9. Download [Bullet][] and build it:
|
||||
$ cd /path/to/bullet/source
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$OMW_LIB_PREFIX \
|
||||
-DBUILD_EXTRAS=OFF \
|
||||
-DBUILD_DEMOS=OFF \
|
||||
-DCMAKE_OSX_ARCHITECTURES=i386 \
|
||||
-DCMAKE_INSTALL_NAME_DIR=$OMW_LIB_RPEFIX/lib \
|
||||
-G"Unix Makefiles" ../
|
||||
$ make install
|
||||
|
||||
10. Generate the Makefile for OpenMW as follows and build OpenMW:
|
||||
$ mkdir /path/to/openmw/build/dir
|
||||
$ cd /path/to/open/build/dir
|
||||
$ CMAKE_OSX_ARCHITECTURES=i386 \
|
||||
BOOST_INCLUDEDIR=$OMW_LIB_PREFIX/include/boost-1_45 \
|
||||
BOOST_LIBRARYDIR=$OMW_LIB_PREFIX/lib \
|
||||
cmake -D SNDFILE_INCLUDE_DIR=$OMW_LIB_PREFIX/include \
|
||||
$ cmake \
|
||||
-D CMAKE_OSX_ARCHITECTURES=i386 \
|
||||
-D BOOST_INCLUDEDIR=$OMW_LIB_PREFIX/include/boost-1_45 \
|
||||
-D BOOST_LIBRARYDIR=$OMW_LIB_PREFIX/lib \
|
||||
-D SNDFILE_INCLUDE_DIR=$OMW_LIB_PREFIX/include \
|
||||
-D SNDFILE_LIBRARY=$OMW_LIB_PREFIX/lib/libsndfile.a \
|
||||
-D MPG123_INCLUDE_DIR=$OMW_LIB_PREFIX/include \
|
||||
-D MPG123_LIBRARY=$OMW_LIB_PREFIX/lib/libmpg123.a \
|
||||
-G "Unix Makefiles" /path/to/openmw/source
|
||||
-D MPG123_INCLUDE_DIR=$OMW_LIB_PREFIX/include \
|
||||
-D BULLET_DYNAMICS_LIBRARY=$OMW_LIB_PREFIX/lib/libBulletDynamics.a \
|
||||
-D BULLET_COLLISION_LIBRARY=$OMW_LIB_PREFIX/lib/libBulletCollision.a \
|
||||
-D BULLET_MATH_LIBRARY=$OMW_LIB_PREFIX/lib/libLinearMath.a \
|
||||
-D BULLET_SOFTBODY_LIBRARY=$OMW_LIB_PREFIX/lib/libBulletSoftBody.a \
|
||||
-D BULLET_INCLUDE_DIR=$OMW_LIB_PREFIX/include/bullet/ \
|
||||
-G "Unix Makefiles" /path/to/openmw/source/dir
|
||||
$ make
|
||||
You can use -G"Xcode" if you prefer Xcode, or -G"Eclipse CDT4 - Unix Makefiles"
|
||||
if you prefer Eclipse. You also can specify -D CMAKE_BUILD_TYPE=Debug for debug
|
||||
build.
|
||||
|
||||
8. In build directory create directory for game resources:
|
||||
11. In build directory create directory for game resources:
|
||||
$ cd /path/to/openmw/build/dir
|
||||
$ mkdir Contents
|
||||
$ mkdir Contents/Resources
|
||||
|
@ -100,15 +122,15 @@ Getting OpenMW Working
|
|||
$ ln -s plugins.cfg Contents/MacOS/plugins.cfg
|
||||
$ ln -s openmw.cfg Contents/MacOS/openmw.cfg
|
||||
|
||||
9. Move your Morrowind `Data Files` directory into the `Contents/Resources`
|
||||
12. Move your Morrowind `Data Files` directory into the `Contents/Resources`
|
||||
with the name `data` or create symlink:
|
||||
$ ln -s /path/to/morrowind/data/files Contents/Resources/data
|
||||
|
||||
10. From your build directory run:
|
||||
13. From your build directory run:
|
||||
$ ./openmw
|
||||
Enjoy!
|
||||
|
||||
11. Optionally you can create .app bundle:
|
||||
14. Optionally you can create .app bundle:
|
||||
$ make package
|
||||
But for now you shold manually copy Contents directory from build directory to bundle
|
||||
(because there is no plugins and resources in generated .app).
|
||||
|
@ -116,6 +138,7 @@ Getting OpenMW Working
|
|||
|
||||
[boost]: http://www.boost.org
|
||||
[Ogre]: http://www.ogre3d.org
|
||||
[Bullet]: http://bulletphysics.org
|
||||
[OIS]: http://wgois.sf.net
|
||||
[mpg123]: http://www.mpg123.de
|
||||
[libsndfile]: http://www.mega-nerd.com/libsndfile
|
||||
|
|
Loading…
Reference in a new issue