diff --git a/doc/Guidebook.mn b/doc/Guidebook.mn index d6594f328..fdaf540f7 100644 --- a/doc/Guidebook.mn +++ b/doc/Guidebook.mn @@ -3907,6 +3907,10 @@ Values are \(lqautodetect\(rq, \(lqdefault\(rq, or \(lqvga\(rq. Setting \(lqvga\(rq (or \(lqautodetect\(rq with vga hardware present) will cause the game to display tiles. Cannot be set with the \(oqO\(cq command. +.lp video_height +Set the VGA mode resolution height (MS-DOS only, with video:vga) +.lp video_width +Set the VGA mode resolution width (MS-DOS only, with video:vga) .lp videocolors Set the color palette for PC systems using NO_TERMS (default 4-2-6-1-5-3-15-12-10-14-9-13-11, (PC NetHack only). diff --git a/doc/Guidebook.tex b/doc/Guidebook.tex index 649b09d80..a7772a034 100644 --- a/doc/Guidebook.tex +++ b/doc/Guidebook.tex @@ -4342,6 +4342,12 @@ Setting {\it vga\/} (or {\it autodetect\/} with vga hardware present) will cause the game to display tiles. Cannot be set with the `{\tt O}' command. %.lp +\item[\ib{video\verb+_+height}] +Set the VGA mode resolution height (MS-DOS only, with video:vga) +%.lp +\item[\ib{video\verb+_+width}] +Set the VGA mode resolution height (MS-DOS only, with video:vga) +%.lp \item[\ib{videocolors}] \begin{sloppypar} Set the color palette for PC systems using NO\verb+_+TERMS diff --git a/sys/share/NetHack.cnf b/sys/share/NetHack.cnf index 58154bfce..3d29538a0 100644 --- a/sys/share/NetHack.cnf +++ b/sys/share/NetHack.cnf @@ -27,6 +27,10 @@ OPTIONS=rawio,BIOS,symset:IBMGraphics_2,roguesymset:RogueEpyx # To use VGA graphical tiles on an MS-DOS PC with VGA or better,uncomment # this: #OPTIONS=video:autodetect +# And to explicitly set the resolution: +#OPTIONS=video_width:1024 +#OPTIONS=video_height:768 + # If your machine is NEC PC-9800, use: #OPTIONS=rawio,BIOS,video:default