view web/about/ttyrec.html @ 35:6592cdd1fceb

Add a high score CGI script. /scoring/high.cgi shows a score list, with a configurable length, offset, and game list.
author John "Elwin" Edwards
date Fri, 03 Jan 2014 11:11:07 -0500
parents 86b616d88020
children 09ef92dc4439
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>TTYREC files</title>
<link rel="stylesheet" type="text/css" href="/main.css">
</head>

<body>
<h1>TTYREC files</h1>
<div class="nav"><a href="/">rlgallery.org</a> -&gt; <a href="/about/">About</a> -&gt; TTYRECs</div>
<div class="content">
<p>TTYREC files are recordings of text-based sessions, much like screencasts are recordings of graphical sessions. The Roguelike Gallery and other roguelike 
sites create ttyrec recordings of games played online, so that others can watch them. The <a href="/archive.cgi">Archiver</a> will search rlgallery.org's 
ttyrecs for you.</p>
<p>As you might expect, ttyrecs are not video files that can be played in video players. They contain mostly text, and you will need a ttyrec player to 
watch them.</p>
<p><a href="http://0xcc.net/ttyrec/">The original ttyrec program</a> comes with ttyplay.</p>
<p><a href="http://angband.pl/termrec.html">Termrec</a> includes termplay, which is easy to use and works on Windows.</p>
<p><a href="http://www.chiark.greenend.org.uk/~sgtatham/ipbt/">IPBT</a> is a newer player that allows you to rewind while playing.</p>
<p>A ttyrec produced on one kind of terminal will not play properly on a different kind of terminal. Most modern terminals are similar and should produce 
compatible ttyrecs, but you might come across a file that won't work.</p>
<p>Replaying also might not work properly if your terminal is a different size from the one that produced the ttyrec. If things are getting drawn in the 
wrong places, try making your terminal bigger. Unfortunately, ttyrecs don't tell you what the proper size is.</p>
<p>(But it can sometimes be deduced, if you don't mind poking around with a hex editor.  Check near the beginning for the sequence 
<span class="metavar">&lt;escape&gt;</span>[1;<span class="metavar">&lt;number of rows&gt;</span>r )</p>
<p>Note: if you are using ipbt, you must also tell ipbt what size terminal to use. Check ipbt's documentation.</p>
</div>
<div class="foot"><a href="/">rlgallery.org</a> <a href="/recent.cgi">Recent Games</a> <a href="/scoring/highscores.html">High Scores</a></div>
</body>
</html>