Re: Nethack screen saver...



On Mar 24, 9:27 am, Rachel Elizabeth Dillon <rac...@xxxxxxxxxxxx>
wrote:
On 2009-03-24, Adman <aspr...@xxxxxxxxx> wrote:



On Mar 24, 3:19 am, JoaoSantos <joao.s.san...@xxxxxxxxx> wrote:
On Mar 23, 10:13 pm, Ferrone <zap...@xxxxxxxxx> wrote:
[...]

I'd be interested in testing it - but unfortunately I have no decent
games on NAO to supply.

I think the ideal would be very quick games (ascensions or death with
the amulet). Namely games under 15K turns.
I must say I find it a pity it is a window$ only program, because I
would like very much to use that on my Linuxes, and since I am not the
least familiar with screensaver coding I probably will not be able to
port it.

Fast ascensions is a great idea.

I downloaded some, but found that they didn't render properly in my
own ttyplayer, probably because they were played via xterm or
something, and the encoding was different than what I expected (I used
my own games as sample data, and those were played under an ANSI
windows telnet terminal).

So, I've got a little more work to do.

They might have been encoded with IBMGraphics or DECGraphics. I know
someone out there has a de-DECification script, maybe Shawn Moore?
I thought I had it, but all I can find is an example of the output.
You might also be able to rip the relevant code out of dgamelaunch.
Though if you do it at display-time, you're still left with the problem
of how to detect the character set. Dgamelaunch (at least the version
I'm still running) solves this by making the viewer press a key. This
probably works less well for a screensaver. :)

Hope this helps,

-r.

Thanks. I think you're on the right track, but I don't think it's IBM
vs DEC graphics that's the problem.

The TTYREC files are basically just ASCII text ("You feel like someone
is helping you"), combined with embedded cursor control codes, which
move the cursor on the screen, set colors, erase text, etc. Pretty
straightforward.

I'm basically translating these cursor control characters into my own
language so I can recreate the screen. But if someone is playing from
a Windows telnet window, they'll generate different control codes than
those playing from xterms or some other terminal (putty?).

I've done a bangup job translating the cursor control codes that are
generated when I play from my Windows telnet window (which I prefer,
because it exactly mimics how the game looks when I play locally).
But now that I've expanded my testing to other users games (recorded
with some other terminal), not all the codes are recognized and things
are corrupted.

So, either I spend some additional time doing more translations, or
just punt and say "Not all games will work!" For the purposes of a
screensaver (which isn't really meant to be the center of attention
anyways), I'm leaning towards the latter. :)

Adman

.



Relevant Pages

  • Re: ReInstalling W98 on old games box - (Vent)
    ... "Error while opening window". ... repeating reboots!) ... Win98 was a fine dos extender for playing games. ...
    (alt.os.linux)
  • Re: Things that Happen in Parking Garages
    ... Rockets - Utah Jazz playoff series. ... season games and found that parking in the attached parking garage was ... an obviously drunk Hispanic dude raps on my window ...
    (rec.sport.football.college)
  • Re: Things that Happen in Parking Garages
    ... Rockets - Utah Jazz playoff series. ... season games and found that parking in the attached parking garage was ... an obviously drunk Hispanic dude raps on my window ...
    (rec.sport.football.college)
  • Re: How to save processing when repeating unchanged images?
    ... DirectX will be much faster than what you need but you have to learn an awful lot about it and should work up through the tutorials from beginning to end. ... I add a thumbnail view of the selected laser file in a scrolling window so that the user can choose the one the want. ... GPUs are screaming fast, and games place heavy demands on them, but not all applications are games, so concluding that an approach used for playing games is universally appropriate to all applications is erroneous. ... Clearly, at some level of complexity, if the entire backdrop is drawn every frame, the hardware's capabilities will be overtaxed. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: monitor shuts down
    ... Jim I have never set on everything in the power options. ... Right now I'm using a flash screensaver and it runs fine no ... Screensavers, games. ... Right now I have the screensaver at 800x600 resolution and my FPS are ...
    (microsoft.public.windowsxp.help_and_support)