Hacker News new | ask | show | jobs
by Aardwolf 3149 days ago
Oh that kind of text!

First I thought it would be about rendering with ascii characters, like text mode quake

http://web.archive.org/web/19990219125446/http://webpages.mr...

Too bad this gem is gone from the internet now, so that's an archive link :(

2 comments

For yet another kind of action game in text see Doom, the Roguelike [1], which I've found thoroughly enjoyable.

[1] https://drl.chaosforge.org/

A long time ago I wanted to port Quake 3 to a MUD. Like literally play Longest Yard or another map.

    "You enter a room. xxxSniperKid82xxx is in the room holding a railgun."
$ "Equip rocket launcher."

    "You equip the rocket launcher."

    "xxxSniperKid82xxx approaches you with a buzzsaw glove."
$ "Fire rocket launcher at xxxSniperKid82xxx"

    "You fire the rocket launcher at xxxSniperKid82xxx. It misses. You take splash damage."
That second link seems to download just fine, shouldn't be hard to get it running again? :)
Report back with your findings please if you try, please?
I downloaded the Shareware game files and used DosBox to extract them (archive.org had them compressed in a DOS version of the game). I found a copy of sdlquake and had to do some minor modifications to get it compiling and assembling on a 64-bit host. Also something about a null pointer dereference in connection with finding the local hostname.

Compiled a copy of SDL with aalib support. Copied it into the game directory, along with the sdlquake binary.

Ran "DISPLAY="" LD_LIBRARY_PATH=. SDL_VIDEODRIVER=aalib ./sdlquake".

That gave me quake in text mode, and would also run in a regular terminal.

I tried to run it, but it's looking for a Quake executable called "squake", which I don't have and didn't manage to find.
QuakeOne has squake [0], the tar.gz contains only the executable, so you might end up coming back there looking for some more gear.

[0] http://quakeone.com/q1files/downloads/

Hmm yeah, now it's complaining about libm.so.5 missing...
That should be part of libc 5.3, which would be hell to install side-by-side whichever version you currently have. Not a rabbit-hole to go down lightly.

Maybe an old (2011-ish) Linux distro in a VM would be the way to go. If you want the effort. (I obviously don't feel like pursuing it myself).

Could you rename your quake executable to that?
I think that the original squake was written against svgalib. So the ttyquake package contains a libvga that's probably a shim, translating the output to aalib.

Most Quake ports use OpenGL, SDL, etc for graphics, and won't work directly with the ttyquake files. Which is why I described using sdlquake to achieve the same effect, in my other comment.

Unfortunately I couldn't figure out how to install the game files for Ubuntu and gave up after ten minutes or so.