Mercurial > hg > early-roguelike
view rogue3/INSTALL.txt @ 81:0e212d46b68f
rogue4: don't put savefile metadata into the savefile.
The save_file() function in save.c stored the savefile's device number,
inode number, creation time, and modification time in the file. The
restore() function read them back, and apparently used to compare them
to protect against cheaters.
Unfortunately, the types and sizes of these numbers differ from system
to system, which ruins the Roguelike Restoration Project's fine
portability work. So they have been removed from the savefile.
This BREAKS SAVEFILE COMPATIBILITY, but old files can be converted by
excising the chunk starting at offset 0x22 with length sizeof(ino_t) +
sizeof(dev_t) + 2 * sizeof(time_t). That's 0x14 on i686 and 0x20 on
x86_64, at least with current versions of Linux and glibc.
author | John "Elwin" Edwards |
---|---|
date | Mon, 05 Aug 2013 20:49:41 -0700 |
parents | 9223b6d7a243 |
children | c9c6bb34734d |
line wrap: on
line source
Roguelike Gallery (rlgallery.org) This is the source code for the Roguelike Gallery's version of Rogue V3. History Rogue 3 was released by Michael Toy, Ken Arnold, and Glenn Wichman, probably late in 1980. It went through several minor updates. The last, Rogue 3.6, was completed mid-June 1981. The Roguelike Restoration Project (rogue.rogueforge.net) updated the game to work on modern systems. The Roguelike Gallery's version has been slightly modified for compatibility with dgamelaunch and security for multiple players. Installing First, configure for your system by editing machdep.h. The defaults are for a system-wide installation, which will require setgid on the binary. For a single-user installation, comment out SAVEDIR and set SCOREFILE and LOGFILE to locations somewhere in your home directory. (That's probably the best thing to do on Windows, too.) Once that's finished, compile by running make. (I haven't tested the Visual Studio project files on Windows, but they should work.) If you want multi-user play, install the rogue3 binary with setgid games. You will need to make sure that SAVEDIR exists and that savefiles, SCOREFILE, and LOGFILE can be created and written by the games group (assuming you want those features.) For a single user, installing shouldn't be necessary. Playing For more details, see readme36.html (contains the man page) and rogue36.html (Michael Toy's "Guide to the Dungeons of Doom"). Contact rlgallery.org admin: John "Elwin" Edwards <elwin@sdf.lonestar.org>