Mercurial > hg > early-roguelike
comparison rogue4/INSTALL.txt @ 54:a31b2cb545c5
rogue4: update the installation instructions.
author | elwin |
---|---|
date | Fri, 14 Oct 2011 16:47:52 +0000 |
parents | 9223b6d7a243 |
children | c191a735f811 |
comparison
equal
deleted
inserted
replaced
53:0dbbe2f19084 | 54:a31b2cb545c5 |
---|---|
12 | 12 |
13 The Roguelike Gallery's version has been slightly modified for compatibility | 13 The Roguelike Gallery's version has been slightly modified for compatibility |
14 with dgamelaunch and security for multiple players. | 14 with dgamelaunch and security for multiple players. |
15 | 15 |
16 Installing | 16 Installing |
17 First, configure for your system by editing the makefile. The CFLAGS and SF | 17 On Unix, you can use the "./configure && make && make install" method. If |
18 lines contain four defines (-DSOMETHING=filename). (This is an awkward | 18 you don't need a system-wide installation, you should be able to ignore all |
19 configuration method which I plan to change soon.) The defaults are for | 19 the options for "configure" and leave off the "make install". |
20 a system-wide installation, which will require setgid on the binary. For a | |
21 single-user installation, remove SAVEDIR and set the other three to locations | |
22 somewhere in your home directory. (That's probably the best thing to do on | |
23 Windows, too.) | |
24 | 20 |
25 Once that's finished, compile by running make. On Windows, I haven't tested | 21 If you want multi-user play, run configure with the proper options ("configure |
26 the Visual Studio project files; the game should build, but the scorefile | 22 --help" will explain what they do.) The important ones are savedir (where |
27 might not work. | 23 saved games are stored), scorefile (the high score list), and logfile (the log |
24 of all games played). | |
28 | 25 |
29 If you want multi-user play, install the rogue binary with setgid games. You | 26 On Windows, I haven't tested the Visual Studio project files; the game should |
30 will need to make sure that SAVEDIR exists and that savefiles, SCOREFILE, | 27 build, but the scorefile might not work. |
31 LOCKFILE and LOGFILE can be created and written by the games group (assuming | |
32 you want those features.) For a single user, you shouldn't need to install. | |
33 | 28 |
34 Playing | 29 Playing |
35 For more details, see rogue.6 (the man page) and rogue.me (Michael Toy's "Guide | 30 For more details, see rogue4.6 (the man page) and rogue4.me (Michael |
36 to the Dungeons of Doom"). Troff format is a little outdated, but you should | 31 Toy's "Guide to the Dungeons of Doom"). Troff format is a little outdated, but |
37 be able to discover something with a text editor. I plan to add versions in | 32 you should be able to discover something with a text editor. I plan to add |
38 more common formats soon. | 33 versions in more common formats soon. |
39 | 34 |
40 Contact | 35 Contact |
41 rlgallery.org admin: John "Elwin" Edwards <elwin@sdf.lonestar.org> | 36 rlgallery.org admin: John "Elwin" Edwards <elwin@sdf.lonestar.org> |