/roguepc

Port of original PC-DOS Epyx Rogue to modern platforms

Primary LanguageC

ROGUEPC

Original DOS Epyx Rogue (1985) ported to modern PCs!

Title ScreenLevel 1, fully explored

(Yes, these are actual in-game screenshots using xterm with the custom font)

  • Uses original source code from 1985, adapted to compile in modern PCs.
    • All comments from original authors preserved.
    • All changes needed for portability from 16-bit DOS fully marked and explained.
    • Extensive documentation on original code inner mechanics: hardware access, BIOS and DOS INT calls, clock and timers, CGA/EGA graphics usage, piracy copy protection, splash image, assembly routines, builtin curses, etc.
    • Great care taken to preserve as much as possible from original. More than 85% still intact!
  • Strictly adheres to POSIX C and ISO C99 standards to be fully portable to any platform.
  • Runs in any terminal, text-only, using nothing but curses, just like the original.
  • Colors and gameplay intact.
  • Non-ASCII characters updaded from DOS CP437 to suitable Unicode codepoints.

Game over screen (Better get used to, you'll see this... a lot)

For Debian / Ubuntu systems:

sudo apt install libncursesw5-dev
cd src
make
./rogue

To enable the original splash screen in graphics mode (requires SDL2):

sudo apt install libncursesw5-dev libsdl2-dev
cd src
make all
./rogue-sdl

For ASCII mode (like UNIX Rogue, but with colors):

sudo apt install libncurses5-dev
cd src
make ROGUE_CHARSET=1
./rogue

Strongly suggested:

  • Install the custom PerfectDOSVGA437Unicode.ttf font. See tools
  • Launch the game using ./roguepc. It will auto-select either rogue-sdl or rogue, and also choose roguepc-xterm, roguepc-gnome-terminal or none depending on what is available in your system.
  • If your desktop is 1920x1200 or larger, try ./roguepc --fullscreen -fs 36 for the ultimate rogue experience!

splash image

(Yes, it will display the original splash if you compile with SDL2! \o/)