Mercurial > hg > early-roguelike
view README.txt @ 112:ee250e3646fd
Don't truncate player name in savefile name or log message.
The player name is stored in whoami[], which is length 80 in most games
(1024 in rogue5). Only the first 10 chars were used to create
file_name, because that buffer is the same length. Increasing the size
of file_name to 256 permits using all of whoami.
The name is also no longer truncated to 20 chars when writing the log.
All games should now be able to handle 79-character names without
collisions. Anything more would break save compatibility.
author | John "Elwin" Edwards |
---|---|
date | Sun, 23 Mar 2014 21:27:14 -0700 |
parents | c191a735f811 |
children | 65f3da34578a |
line wrap: on
line source
This is the source for the Roguelike Gallery's versions of Rogue and other early roguelike games. The code was obtained from the Roguelike Restoration Project (rogue.rogueforge.net). Modifications have been made mainly for compatibility with the dgamelaunch online play system. Some bugs have also been fixed, and the build process slightly improved. The essential flavor of a codebase half as old as stored-program computing machinery remains unchanged. To install on Unix: If you checked out the source from Mercurial, run 'autoreconf' first. Build by running './configure' and then 'make'. If you just want to play the game from your own user account, 'configure' won't need any options. The games will keep the high score lists in whatever directory you run them from. For a multi-user installation, you will need to set the '--enable-setgid', '--enable-savedir', '--enable-scorefile', and '--enable-logfile' options. Run 'make install' after building. There are other possible options; run './configure --help' for a full list. To install on Windows: Use the included Visual Studio solution files. Warning: they have not been tested recently. See the individual games' subdirectories for further documentation. Some of the manpages may be outdated, but the guides to playing should be accurate. The games can be played via SSH or the Web at rlgallery.org. Bugs: The original authors claimed that the list of bugs was "probably infinite". If you encounter one of these, please report it on the bug tracker at https://bitbucket.org/ElwinR/rl.