1 Star 2 Fork 0

FreeBlues / Danger-from-the-Deep

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
INSTALL 3.68 KB
一键复制 编辑 原始数据 按行查看 历史
FreeBlues 提交于 2016-04-06 00:57 . intial
Note for simple installation of this 0.3.0-RC3 release
------------------------------------------------------
Since you're reading this file, you already unpacked the sources. Good.
If you met all requirements, simply type
scons datadir=$PWD/data
to compile Danger from the Deep.
To run the game, simply type
build/$platform/dangerdeep
where $platform is linux, win32 or however your platform is called.
0.3.0-RC3 FreeBSD 6.2 notes:
----------------------------
We just figured out that in FreeBSD 6.2 lots of paths changed.
You might want to set the following variable correctly if scons fails with
weird Pyhton-errors:
* X11BASE
* LOCALBASE
* SDL_CONFIG
Also you might have to change the path to OpenGL in the SConstruct file
manually:
< env.Append(CPPPATH = [LOCALBASE + '/include', LOCALBASE + '/include/SDL11', X11BASE + '/include', X11BASE + '/include/GL'])
> env.Append(CPPPATH = [LOCALBASE + '/include', LOCALBASE + '/include/SDL11', X11BASE + '/include', '/usr/local/include/GL'])
The reason is that FreeBSD changed from XFree86 to XOrg and also change the
X-path from /usr/X11 to /usr/local/$something.
Please report all FreeBSD-issue to
http://www.dangerdeep.net/forums/viewtopic.php?p=1021
and submit patches, if you made any, to
http://sourceforge.net/tracker/?group_id=71244&atid=535548
Bug reports should be filed, using group-number 0.3.0, at:
http://sourceforge.net/tracker/?group_id=71244&atid=535546
Thank you for your interest in Danger from the Deep.
Installation instructions
-------------------------
To install Danger for the Deep on Linux, see the Compiling from Source section
Installing on Windows
---------------------
Version 0.0.18 and newer
------------------------
From version 0.0.18 onwards all needed .dll's are included in the .zip-file.
Just extract it, and run dangerdeep.exe.
Version 0.0.17 and older
------------------------
Earlier versions need the following libraries:
Simple Directmedia Layer (libsdl):
SDL.dll
SDL Image library (SDL_image):
SDL_image.dll, libpng.dll, jpeg.dll and zlib.dll
FFTW (Fastest Fourier Transform in the West ;) )
fftw3.dll
Just copy all the DLLs to the folder containing dangerdeep.exe and
double-click dangerdeep.exe to start the game. To run Danger from the
Deep in a different resolution or in windowed mode, see the Command-line
Options section below.
Compiling from Source
---------------------
To compile Danger from the Deep, you will need the SDL, SDL-image, FFTW3
and optionally the SDL-mixer libraries and development packages.
Extract the files using the following command (substitute the name of
the file instead of <file.tar.gz>): tar -zxf <file.tar.gz>
or for .bz2 files: tar -jxf <file.tar.bz2>
Version 0.0.18 and newer
------------------------
You'll need the SCons build system (www.scons.org). It is included in
many distributions, e.g. Debian. It needs Python
(www.python.org). Blender uses it and Doom3/Linux, so it's pretty mature
;-) It has some advantages over automake/autoconf.
Change into the source directory and type the following commands:
scons -k
That's all. It will make a .tar.gz file containing source and data also.
Copy the contents of the data directoryto a directory named /usr/local/share/dangerdeep
and the dangerdeep binary to /usr/local/bin.
From version 0.0.19 onwards you can run "scons install" as root to install
the game, which is much easier.
Version 0.0.17 and older
------------------------
Change into the source directory and type the following commands:
./configure
make
make install (you need to be root for this step)
That's all.
Running
-------
To run the game, type 'dangerdeep'. To run Danger from the Deep in a
different resolution or in windowed mode, see the command-line options.
C++
1
https://gitee.com/hexblues/Danger-from-the-Deep.git
git@gitee.com:hexblues/Danger-from-the-Deep.git
hexblues
Danger-from-the-Deep
Danger-from-the-Deep
master

搜索帮助