X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=INSTALL;h=4ae6cc6cd8add2c37886f5f2be3284432d86ecb2;hp=298ff6d6186085177ce0c227c5737eb52e35be0d;hb=38212569c2f58866417f26e9c813ed8b23c5b2c4;hpb=3dc317d10b44cc6b75db10ac194966ad8114d390 diff --git a/INSTALL b/INSTALL index 298ff6d6..4ae6cc6c 100644 --- a/INSTALL +++ b/INSTALL @@ -1,68 +1,33 @@ +=============================================================================== +Compiling and installing Rocks'n'Diamonds +=============================================================================== -WHAT TO DO TO INSTALL "ROCKS_N_DIAMONDS-0.9" ON YOUR SYSTEM -=========================================================== +To compile the game, you need the SDL library (version 2). In addition, you +also need the libraries SDL_image, SDL_mixer (with optional support for MOD, +MP3 and MIDI music) and SDL_net. -If you have a Linux system (Intel based, a.out, kernel 1.2.x), you -can use the precompiled binary. +Please install these libraries before building Rocks'n'Diamonds. -If you have another Unix system, or an ELF system or just want to -compile the program by yourself, do the following: -Edit the file "Makefile" and set the following options: +------------------------------------------------------------------------------- +Linux and other Unix systems (including Mac): +------------------------------------------------------------------------------- -XPM_INCLUDE_FILE - change this to the location where you - have your XPM-Library include file. +Just run "make" to build the game. - You must have the XPM-Library "libXpm" - installed on your system to run this game. - If you don't have it, look at your local - FTP site with X11 archive to get it! :) -GAME_DIR - You can leave these values untouched - if you use the default location for - the game directory. - If you want to move it to other places in - your directory tree, just change them - accordingly. (You can use symlinks instead, - of course.) - You might want to set GAME_DIR to the full - path of the game in your file system, so - you don't have to go to the game directory - when you want to play it. +------------------------------------------------------------------------------- +Windows with gcc or MinGW (native or cross-compiling) +------------------------------------------------------------------------------- -SOUNDS - If you never want to hear any sounds, - set this to "-DNO_SOUNDS", but be warned: - It's much less fun playing without sound! :) - (The program detects by itself if it can - play sounds or not, anyway.) +To build the game natively, just proceed as described above for Unix systems. -SCORE_ENTRIES - Set this to "-DONE_PER_NAME" if you want - to allow only one entry per player in the - score file for each level. This is useful - if there are many players to prevent one - single player to "flood" the Hall Of Fame - of every level completely with his name... - On single user systems, "-DMANY_PER_NAME" - might be useful to have your name more - than once in the list. +To cross-compile the game for Windows, run "cross-win32" or "cross-win64". You +probably have to adjust the path to the Windows cross-compiler defined in either +"CROSS_PATH_WIN32" or "CROSS_PATH_WIN64" in the top-level Makefile. -SYSTEM - If you have problems with the default - settings, it might be useful to uncomment - one of the defines for "SYSTEM" in the - Makefile, which defines values like - "-DSYSV" and something like that. -CC, INCL, LIBS - Set these ones to the appropriate values - you usually use on your system to compile. +That's all! - -Now you can 'make clean' and 'make' and the game binary should be -compiled right out of the box. I have tested it with "-Wall" on my -system, so I hope that it compiles fine on other systems, too. - -The program should compile and run on Linux (of course), -HP-UX, AIX, Net-BSD, SUN and IRIX. - -Have fun! - -Holger Schemel, 22. Oktober 1995 +If you have any comments, corrections or suggestions regarding the Makefiles, +please let me know at "info@artsoft.org". Thanks!