Sign in with
Sign up | Sign in
Your question

[Crawl] Patch update: item colours, keymappings

Last response: in Video Games
Share
Anonymous
July 19, 2005 4:28:16 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Changes to the travel patch:

* Hitting space in 'x' look-around/targeting aborts the
look-around/targeting (instead of selecting that square for travel
or as a target).

* Paging down at the end of a multidrop/pickup listing wraps the
listing back to the start.

* 0 and Insert are now synonyms for Ctrl+O (explore).

* Items can be coloured on the 'X' level-map by setting item_colour =
true in init.txt.

* Keymappings and macros can use the function keys on Windows. Also
open for your Windows keymapping needs are Alt+key combinations.

* Keymappings are now split into three: default, level-map and
targeting. The level-map keymap is active only in the 'X' level-map,
the targeting keymap is active during targeting, and the default
keymap is used everywhere else. The idea with this is to be able to
overload number pad (and other useful keys) to do different things
based on context. You can map / and * to < and > in the level-map,
for instance, while still leaving them usable for other things in
the default keymap.

The patch location has changed:

http://www.angelfire.com/trek/mazewest/crawl/crawl-patc...

The Windows binary is (as usual) at:

http://www.angelfire.com/trek/mazewest/binaries/dc400b2...

Comments and bug reports are welcome.

--
Darshan Shaligram <scintilla@gmail.com> Deus vult
Anonymous
July 19, 2005 4:28:17 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Darshan Shaligram wrote:
> Changes to the travel patch:
>
> * Hitting space in 'x' look-around/targeting aborts the
> look-around/targeting (instead of selecting that square for travel
> or as a target).
>
> * Paging down at the end of a multidrop/pickup listing wraps the
> listing back to the start.
>
> * 0 and Insert are now synonyms for Ctrl+O (explore).
>
> * Items can be coloured on the 'X' level-map by setting item_colour =
> true in init.txt.
>
> * Keymappings and macros can use the function keys on Windows. Also
> open for your Windows keymapping needs are Alt+key combinations.
>
> * Keymappings are now split into three: default, level-map and
> targeting. The level-map keymap is active only in the 'X' level-map,
> the targeting keymap is active during targeting, and the default
> keymap is used everywhere else. The idea with this is to be able to
> overload number pad (and other useful keys) to do different things
> based on context. You can map / and * to < and > in the level-map,
> for instance, while still leaving them usable for other things in
> the default keymap.
>
> The patch location has changed:
>
> http://www.angelfire.com/trek/mazewest/crawl/crawl-patc...
>
> The Windows binary is (as usual) at:
>
> http://www.angelfire.com/trek/mazewest/binaries/dc400b2...
>
> Comments and bug reports are welcome.
>


--
out on the limb there is the children
opposite of doormat
so tip your hat and wait on that and that is that
- Danielson Famile, "Good News for the Puss Pickers"
Anonymous
July 19, 2005 4:28:17 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Darshan Shaligram wrote:
> Changes to the travel patch:

[bunch of insanely great changes to the travel patch]

'scuse the empty post immediately preceding -- I was so dumbstruck I'd
lost control of my fingers. :-)

This is... incredible. At this rate, I'm going to have to start playing
ASCII Crawl again. All I need to do now is to figure out to play ASCII
Crawl on a 15" monitor and still be kind to my slowly,
I-don't-want-to-admit-this, aging eyes... I suppose where there's a
will, there's a way.

Erik

--
out on the limb there is the children
opposite of doormat
so tip your hat and wait on that and that is that
- Danielson Famile, "Good News for the Puss Pickers"
Related resources
Can't find your answer ? Ask !
Anonymous
July 19, 2005 6:57:46 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Hi Darshan,

On Tue, 19 Jul 2005 12:28:16 +0530, Darshan Shaligram wrote:
> Changes to the travel patch:
>
[snip]

Thanks for that. you know me from email already. :) 

The patch is nice - thanks for putting the spacebar back to as it was for
the 'x' command. However, there's one other thing I'd like for this patch
to do with the spacebar, if possible.

In the normal Crawl, you can exit inventory lists (from using the *
and ? keys at an item prompt) using the spacebar, but you can't with the
patch. I find myself having to press RETURN to get out and give it an
invalid letter, then SPACE to get out the "Okay, then." line. In normal
Crawl, pressing SPACE would exit out to the "Okay, then." line immediately
if it was the last page, otherwise it would page through the list; the
patch seems to page through forever with the SPACE key.

The patch I showed you before does this, except that it doesn't let you
page through if you're not on the last page. Is it possible to detect that
in the subroutine and return the appropriate value?

Thanks!

- Ciaran.
Anonymous
July 19, 2005 10:08:59 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Erik Piper <erikNOSPAM@sky.cz> writes:
> Darshan Shaligram wrote:
>> Changes to the travel patch:

> [bunch of insanely great changes to the travel patch]

I had to go back and re-read my post when I saw that. Not that I'm
complaining, but which feature is insanely great? :-)

> All I need to do now is to figure out to play ASCII Crawl on a 15"
> monitor and still be kind to my slowly, I-don't-want-to-admit-this,
> aging eyes... I suppose where there's a will, there's a way.

Why don't you just increase the font size in your console window?
Size 20 (or smaller if you're using less than the 1152x864 resolution
I use at work) bold Lucida Console ought to eliminate readability
issues; setting screen buffer and window sizes both to 80x25 will also
prevent the scrollbars from making your life miserable.

--
Darshan Shaligram <scintilla@gmail.com> Deus vult
Anonymous
July 19, 2005 10:09:00 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Darshan Shaligram wrote:
> Erik Piper <erikNOSPAM@sky.cz> writes:
>
>>Darshan Shaligram wrote:
>>
>>>Changes to the travel patch:
>
>>[bunch of insanely great changes to the travel patch]
>
> I had to go back and re-read my post when I saw that. Not that I'm
> complaining, but which feature is insanely great? :-)

* Every feasible one (indication of multiple-item stacks isn't feasible)
of the tweaks that could only be found in TileCrawl is now available in
ASCII Crawl

* Everything I need PowerPro [1] for is now available in Crawl itself --
useful if I ever play in Linux, useful for saving processor power by not
running PowerPro, probably useful in other senses I haven't thought of

* I look forward to discovering/creating possibilities using the key
overloading.

>>All I need to do now is to figure out to play ASCII Crawl on a 15"
>>monitor and still be kind to my slowly, I-don't-want-to-admit-this,
>>aging eyes... I suppose where there's a will, there's a way.
>
> Why don't you just increase the font size in your console window?

I always used to use 12x16 and found it fine enough. But. Maybe I've
just been spoiled in the meantime, maybe I'm slowly going blind, or
maybe my eyes were just tired on that day/those days when I was
re-discovering ASCII Crawl, but I found myself squinting and swearing an
awful lot. I tried a shift to 800x600 and all sorts of other things,
some in 800x600 and some in 1024x768 (the highest I can reach on my home
computer) leading to a greater physical font size than 12x16 in
1024x768, but invariably a side-effect was horizontal scrolling at some
point during play, at the very least during use of the shift-x map, and
thus ended up with things falling off the sides of the console at
various points. It's not much fun to pick out inventory items if you
don't know their letters without reaching for the mouse and scrolling
back. :-)

BUT SEE BELOW!

Like I say, where there's a will, there's a way. If nothing works in
Windows... I've been downloading Knoppix all day at work and will see if
there's some visual configuration I can can achieve in there that will
suit my needs. (It'll also be my first bout of using Linux since I
installed Debian on a separate partition a few years back. (Discovered
Nethack with graphical tiles -- and if anyone's curious, yes, they did a
lot back then for overcoming my barrier to entry -- and had my first
romance with roguelikes since the Dungeons of Doom for the monochrome
Mac in the early '90s. Didn't learn much about Linux. Uninstalled.
Continued playing Civ-series titles until a fateful reading of the entry
on Home of the Underdogs for a little game called Ancient Domains of
Mystery. ;-) ))

> [...] setting screen buffer and window sizes both to 80x25 will also
> prevent the scrollbars from making your life miserable.

OH!

Got to twiddle this when I get back home.

Erik

--
out on the limb there is the children
opposite of doormat
so tip your hat and wait on that and that is that
- Danielson Famile, "Good News for the Puss Pickers"
Anonymous
July 20, 2005 2:33:35 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Darshan Shaligram wrote:
> Changes to the travel patch:
>
[...]
> * Keymappings are now split into three: default, level-map and
> targeting. The level-map keymap is active only in the 'X' level-map,
> the targeting keymap is active during targeting, and the default
> keymap is used everywhere else. The idea with this is to be able to
> overload number pad (and other useful keys) to do different things
> based on context. You can map / and * to < and > in the level-map,
> for instance, while still leaving them usable for other things in
> the default keymap.

Ooof, wish-list time again!

Would it be possible to considerably expand the "resolution" of
overloading? Well actually, there doesn't seem to be enough screen real
estate when using the macro command to have too many new domains, but
perhaps just a new category to filter the letter-based menus away from
the main view would be enough. Here's the problem. Say you worship a
god who's big on combat sacrifices. (Which I am right now.) So you map
num * to p. (Which I did. OK, all of this, in fact, just happened to
me.) So then you get a cursed ring. You naturally immediately press a
* to check if what you've got is a ring of teleportation. You see a
text message rather than the menu, and, not reading the message
carefully, you assume that you've got a Not a Ring of Teleportation (a
distant relative of No Tea). You then go about for a while waiting for
another cursed item to turn up so you can justify to yourself the
expenditure of a ?oRC. And then all of a sudden -- hey, what's this, I
just had a teleportation for no apparent reason! Then it dawns on
you...

And that's actually still a fairly INNOCUOUS case, requiring several
mistakes by the user to cause any real trouble rather than mere
annoyance. Imagine if your keymap overlaps with the real keystroke for
a piety-heavy invocation or one with dangerous side effects!

Erik
Anonymous
July 20, 2005 3:05:25 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Ciaran Hamilton <nntp@theblob.org> writes:
> On Tue, 19 Jul 2005 12:28:16 +0530, Darshan Shaligram wrote:
>> Changes to the travel patch:

> [snip]
> Thanks for that. you know me from email already. :) 

> The patch is nice - thanks for putting the spacebar back to as it
> was for the 'x' command. However, there's one other thing I'd like
> for this patch to do with the spacebar, if possible.

> In the normal Crawl, you can exit inventory lists (from using the *
> and ? keys at an item prompt) using the spacebar, but you can't with
> the patch. I find myself having to press RETURN to get out and give
> it an invalid letter, then SPACE to get out the "Okay, then."
> line. In normal Crawl, pressing SPACE would exit out to the "Okay,
> then." line immediately if it was the last page, otherwise it would
> page through the list; the patch seems to page through forever with
> the SPACE key.

The thing is, I've got used to not having space dump me out of the
inventory listings (that's what I did initially). I think I'll just
have to add an option to control this.

> The patch I showed you before does this, except that it doesn't let
> you page through if you're not on the last page. Is it possible to
> detect that in the subroutine and return the appropriate value?

Yes, I'll put in the option to toggle space dropping you out of the
inventory listing. I have a bunch of bugfixes (borrowed from
TileCrawl) queued up for the next patch update, I'll just put this in
along with those. It should happen Real Soon Now.

--
Darshan Shaligram <scintilla@gmail.com> Deus vult
Anonymous
July 21, 2005 3:28:32 PM

Archived from groups: rec.games.roguelike.misc (More info?)

"Erik Piper" <erik@sky.cz> writes:
> Darshan Shaligram wrote:
>> * Keymappings are now split into three: default, level-map and
>> targeting.
[...]
> Would it be possible to considerably expand the "resolution" of
> overloading? Well actually, there doesn't seem to be enough screen
> real estate when using the macro command to have too many new
> domains,

Oh, there are lots of lines in that message area. :-)

> perhaps just a new category to filter the letter-based menus away
> from the main view would be enough. Here's the problem. Say you
> worship a god who's big on combat sacrifices. (Which I am right
> now.)

A deep elf Trogist, eh? Unusual.

> So you map num * to p. (Which I did. OK, all of this, in fact, just
> happened to me.) So then you get a cursed ring. You naturally
> immediately press a * to check if what you've got is a ring of
> teleportation. You see a text message rather than the menu,

The solution is simple: you need to create a command macro instead of
a keymapping. If you macro * to p, you can still use * in prompts.
Command macros are only applied when the game expects you to type in a
command.

> And that's actually still a fairly INNOCUOUS case, requiring several
> mistakes by the user to cause any real trouble rather than mere
> annoyance. Imagine if your keymap overlaps with the real keystroke
> for a piety-heavy invocation or one with dangerous side effects!

That's why I don't create mappings in the default keymap at all. :-)

--
Darshan Shaligram <scintilla@gmail.com> Deus vult
Anonymous
July 21, 2005 7:40:35 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Erik Piper wrote:

> BTW regarding readability on a 15"

Dumb question: have you ever seen Crawl running on a *real* Linux
console? *real* means no framebuffer, no X-terminal (like x-term,
a-term, gnome-terminal and the like). If your [whatever Distribution you
use] boots directly into X, it's that what you get by pressing
CTRL-ALT-F1 (or any other F-key from 2-6).

From some of your former postings I'd assume your Linux experience is
limited to Knoppix so far. I've never tried Knoppix, but as I understand
it, it's running directly from CD and unless you don't install it you
have to take what you get. Since many mainstream distributions have
framebuffer consoles by default (I wouldn't be surprised when this would
be the case for Knoppix, too) and I doubt you can't reconfigure this
when running directly from CD, you probably don't know what I mean.

I only can tell you this: since I'm also playing on a 15" monitor and my
eyes also getting considerably weaker, playing in a real Linux console
is such a relief and my personal definition of eye-candy! :-)

If you ever decide to _install_ a Linux distribution (I'd recomment one
of the easier ones like Ubuntu to start with, but maybe possible even
with Knoppix), just make sure you don't use framebuffer (configurable)
cause framebuffer tends to be somewhat blurry (with my hardware at
least), and a decent consolefont (my personal favourite is "lat9w-16").
And tons of patience - as most people, including me, consider Linux a
pain in the beginning. But it's getting better and better over the years
and with increasing experience, while Windows... (hardly can resist, but
I don't want to start an Os-war here. At least I know what I'm *not*
talking about: I have a dual-boot machine with XP and gentoo).

Rubinstein
--
in dubio pro pecuniam et contra populum
Anonymous
July 21, 2005 8:42:04 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Rubinstein wrote:
> Erik Piper wrote:

> talking about: I have a dual-boot machine with XP and gentoo).

Do you know of any free, legal, and safe repartitioning software? I'm no
moral beacon -- on the contrary, almost all of my midsized collection of
commercial software except for games is stolen :-/ -- but repartitioning
using a pirated copy of an ancient version of Partition Magic is pretty
frightening. I speak from experience. Plus there's the matter of setting
up the dual boot itself.

Unfortunately, I probably will never be able to entirely break free of
Windows, since I frequently do translation moonlighting jobs, and thus
not only do I have to perfectly preserve DOC files from acceptance to
redelivery, I also need a CAT tool, and OmegaT looks kinda hairy to use
(I currently use an ancient trial version of WordFast, which I feel
especially bad about, since the author graciously provides Ostpreisen
for the ex-Ost).

e.

--
out on the limb there is the children
opposite of doormat
so tip your hat and wait on that and that is that
- Danielson Famile, "Good News for the Puss Pickers"
Anonymous
July 21, 2005 8:56:54 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Rubinstein wrote:
> Erik Piper wrote:
>
>
>> BTW regarding readability on a 15"
>
> [...]
> Since many mainstream distributions have framebuffer consoles by
> default (I wouldn't be surprised when this would be the case for
> Knoppix, too) and I doubt you can't reconfigure this when running
> directly from CD...

Correction:
Wrong, you can! I just came across a Knoppix page and saw a
comprehensive list of boot options for Knoppix (funny name-giving: the
whole list is called 'knoppix-cheatcodes.txt' :-)). The option you want
is 'knoppix vga=normal'. I can't check right now whether with or without
the leading knoppix. If you don't know, how and when to set boot-options
in Knoppix: in the beginning of the boot process there should appear a
single 'boot:' at the bottom line. You have a few seconds now to stop
the boot process. Then type in your boot option and press return.

Rubinstein
Anonymous
July 21, 2005 9:14:14 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Quoting Erik Piper <erikNOSPAM@sky.cz>:
>Rubinstein wrote:
>>talking about: I have a dual-boot machine with XP and gentoo).
>Do you know of any free, legal, and safe repartitioning software?

GNU parted.
--
David Damerell <damerell@chiark.greenend.org.uk> Distortion Field!
Today is First Mania, July.
Anonymous
July 21, 2005 9:45:30 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Erik Piper wrote:
> Rubinstein wrote:
>> Erik Piper wrote:
>
>> talking about: I have a dual-boot machine with XP and gentoo).
>
> Do you know of any free, legal, and safe repartitioning software? I'm
> no moral beacon -- on the contrary, almost all of my midsized
> collection of commercial software except for games is stolen :-/

Too bad, that's what you get for being a "moral beacon". :-/ Be glad not
being a priest, though. In this case your altar probably would have been
stolen now! ;-)

Seriously: no, sorry. There are several free repartition tools for
Linux, and you could try it with Knoppix (if you are lucky, one of those
are already on CD). But if you're running XP I doubt it's possible at
all with a linux tool, since there's currently no way (IIRC) to get
write access from Linux to XP. I have both Linux and XP on seperate HDs,
so it's quite another situation. I also have to addmit that I never did
any repartitioning for myself. Setting up a dual-boot system is not
quite trivial and would be more than off-topic in r.g.r.m. There are
tons of docs and help available online, though. If you need help I only
could try to point you to some appropriate pages. But then I'd need to
know a little more about your system specs (in particular what Windows
version) and about what you want (dual boot with 1 or 2 HDs).

> Unfortunately, I probably will never be able to entirely break free of
> Windows...

Fortunately there's no reason to "break free" of Windows at all and I
also never would recommend doing so as a Linux beginner. Better you
expect a lot of painfull events and surprises when starting with Linux
than becoming disappointed all to soon...

Rubinstein
--
in dubio pro pecuniam et contra populum
Anonymous
July 22, 2005 12:11:10 AM

Archived from groups: rec.games.roguelike.misc (More info?)

David Damerell wrote:
> Quoting Erik Piper <erikNOSPAM@sky.cz>:
>
>> Rubinstein wrote:
>>
>>> talking about: I have a dual-boot machine with XP and gentoo).
>>
>> Do you know of any free, legal, and safe repartitioning software?
>
>
> GNU parted.

....is currently able to rezise ext2, ext3, fat16, fat32, linux-swap,
HFS/HFS+ (shrink only), ReiserFS
but *not* NTFS. Actually the only thing GNU parted can do with NTFS is
detection.
--
in dubio pro pecuniam et contra populum
Anonymous
July 22, 2005 12:31:57 AM

Archived from groups: rec.games.roguelike.misc (More info?)

Erik Piper wrote:
> Rubinstein wrote:
>
>> Erik Piper wrote:
>
>
>> talking about: I have a dual-boot machine with XP and gentoo).
>
>
> Do you know of any free, legal, and safe repartitioning software?

Found something. Looks like here you'll find everything you need:
http://linux-ntfs.sourceforge.net/info/ntfs.html
Anonymous
July 22, 2005 12:48:13 AM

Archived from groups: rec.games.roguelike.misc (More info?)

Rubinstein wrote:
> Erik Piper wrote:
>
>> Rubinstein wrote:
>>
>>> Erik Piper wrote:
>>
>>> talking about: I have a dual-boot machine with XP and gentoo).
>>
>> Do you know of any free, legal, and safe repartitioning software?
>
> Found something. Looks like here you'll find everything you need:
> http://linux-ntfs.sourceforge.net/info/ntfs.html

or if you don't want to work through all that fuzz, go directly to:
http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html#exa...

Just one question: are you using NTFS at all? :p 
Anonymous
July 22, 2005 2:15:18 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Rubinstein wrote:
> Rubinstein wrote:
>
>> Erik Piper wrote:
>>
>>> Rubinstein wrote:
>>>
>>>> Erik Piper wrote:
>>>
>>>
>>>> talking about: I have a dual-boot machine with XP and gentoo).
>>>
>>>
>>> Do you know of any free, legal, and safe repartitioning software?
>>
>>
>> Found something. Looks like here you'll find everything you need:
>> http://linux-ntfs.sourceforge.net/info/ntfs.html
>
>
> or if you don't want to work through all that fuzz, go directly to:
> http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html#exa...
>
> Just one question: are you using NTFS at all? :p 

Win2K. So, yes. Thank you!

Yesterday I had a character on a roll, so I didn't even touch the Linux
question. I think that to really get started on this, I'll need to
either get beaten down so badly I lose my patience, or... win. Wish me luck!

e.

--
And so
ears teach ears to hear
-- Uz jsme doma, "Ears"
Anonymous
July 22, 2005 8:10:12 PM

Archived from groups: rec.games.roguelike.misc (More info?)

Erik Piper wrote:
> Rubinstein wrote:

[most OT, about Linux and repartitioning]

> Yesterday I had a character on a roll, so I didn't even touch the
> Linux question. I think that to really get started on this, I'll need
> to either get beaten down so badly I lose my patience, or... win.
> Wish me luck!

You'll need your patience, every little bit of it. So I strongly vote
for the latter. Good luck! ;-)
!