Games: Difference between revisions

Jump to navigation Jump to search
57 bytes added ,  7 January 2011
m
→‎nethack: Clarification
(Added nethack shit)
m (→‎nethack: Clarification)
Line 75: Line 75:
We also patch it with the [http://bilious.homelinux.org/?40 dumplog] patch, which records a lot of info about the game when you die.
We also patch it with the [http://bilious.homelinux.org/?40 dumplog] patch, which records a lot of info about the game when you die.


A configuration file for the game (which takes advantage of hpmon and menucolors) is available [http://www.redbrick.dcu.ie/~bunbun/.nethackrc here], just put it in ~/.nethackrc.
A configuration file for the game (which takes advantage of hpmon and menucolors and makes it prettier with UTF-8 shit, among other things) is available [http://www.redbrick.dcu.ie/~bunbun/.nethackrc here], just put it in ~/.nethackrc.
If you'd like to keep all of the dumpfiles created when you die, instead of just the most recent, add the following alias to your shell rc file (most likely ~/.zshrc)
If you'd like to keep all of the dumpfiles created when you die, instead of just the most recent, add the following alias to your shell rc file (most likely ~/.zshrc)
  alias nethack="nethack; [ ! -e \"/var/games/nethack/save/102039bunbun.gz\" ] && cp /var/games/nethack/dumps/bunbun.lastgame.txt ~/dumps/\`date +%Y-%m-%d-%H:%M:%S\`.txt"
  alias nethack="nethack; [ ! -e \"/var/games/nethack/save/102039bunbun.gz\" ] && cp /var/games/nethack/dumps/bunbun.lastgame.txt ~/dumps/\`date +%Y-%m-%d-%H:%M:%S\`.txt"
This should save it each time you die to ~/dumps/YEAR-MM-DD-HH:MM:SS.txt, though in some cases it creates duplicates (If you quit before choosing your role/race/gender/alignment that I know of).
This should save it each time you die to ~/dumps/YEAR-MM-DD-HH:MM:SS.txt, though in some cases it creates duplicates (If you quit before choosing your role/race/gender/alignment that I know of).


==netris==
==netris==

Navigation menu