forked from dbluelle/pandora-astromenace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadMe.txt
executable file
·77 lines (58 loc) · 2.73 KB
/
ReadMe.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
AstroMenace
Runtime dependencies:
libSDL (ver 1.2.10+), GLU, libopenal (ver 1.0+), libalut (ver 1.0+), libogg (ver 1.1+),
libvorbis (ver 1.1+), freetype (ver 2.1.6+), libXinerama (optional).
The easy way to get up to date AstroMenace on your computer:
1) Make sure all necessary packages with development headers
installed in your system:
gcc (with g++), cmake, make, subversion, libsdl, libogg, libvorbis, openal,
alut (freealut), libXinerama, GLU, freetype2
For Ubuntu/Mint/Debian:
$ sudo apt-get install g++ cmake make subversion libsdl1.2-dev
libogg-dev libvorbis-dev libopenal-dev libXinerama-dev libalut-dev
libfreetype6-dev
For Mageia:
$ sudo urpmi gcc-c++ cmake make subversion libSDL-devel libogg-devel
libvorbis-devel libopenal-devel libxinerama-devel libfreealut-devel
freetype2-devel
For OpenSuse:
$ sudo zypper install gcc-c++ cmake make subversion libSDL-devel
libogg-devel libvorbis-devel openal-soft-devel libXinerama-devel
freealut-devel freetype2-devel
For Fedora:
$ sudo yum install gcc-c++ cmake make subversion SDL-devel libogg-devel
libvorbis-devel openal-soft-devel libXinerama-devel freealut-devel
freetype-devel
For FreeBSD:
$ sudo pkg_add -r -v gcc cmake subversion sdl libogg libvorbis openal
libXinerama freealut freetype2
For MacOSX 10.5+:
Download and install "Command Line Tools for Xcode" or "Xcode".
Install HomeBrew package manager: http://mxcl.github.com/homebrew/
$ brew install cmake sdl subversion libogg libvorbis freealut freetype
2) Checkout svn with latest source files
$ cd ~/
$ svn checkout http://svn.code.sf.net/p/openastromenace/code/ AstroMenace
3) Compile game binary
$ cd ~/AstroMenace
$ cmake ./
$ make
4) Create game VFS data file
$ ./AstroMenace --pack --rawdata=./RAW_VFS_DATA
5) Create desktop shortcut or start AstroMenace
$ ~/AstroMenace/AstroMenace
Game launch options:
/game/bin/folder/AstroMenace [optional parameters]
where,
/game/bin/folder/AstroMenace - the game executable file
optional parameters:
--dir=/game/data/folder/ - folder with gamedata.vfs file
--mouse - launch the game without system cursor hiding.
--safe-mode - reset all settings not connected to Pilots Profiles at the game start.
--pack - pack raw game data to gamedata.vfs file.
--rawdata=/game/rawdata/folder/ - folder with game raw data for gamedata.vfs.
--help - info about all launch options.
Note: game settings file stored in the "$HOME/.astromenace" folder.
For Xinerama/TwinView, use SDL_VIDEO_FULLSCREEN_DISPLAY environment variable if need.
The SDL_VIDEO_FULLSCREEN_DISPLAY environment variable set to 0 to place
fullscreen/windowed SDL windows on the first Xinerama/TwinView screen by default.