Top
Best
New

Posted by mwheeler 16 hours ago

Reviving Classic Unix Games: A 20-Year Journey Through Software Archaeology(vejeta.com)
134 points | 51 commentspage 2
jmclnx 14 hours ago|
Nice to see this happening, FWIW:

I uploaded a very old Star Trek Game I think from 1973. I got it from the Coherent OS people. You can get it by issuing these commands:

curl 'gopher://sdf.org/0/users/jmccue/repository/trek-73.tar.gz' -o trek-73.tar.gz

curl 'gopher://sdf.org/0/users/jmccue/repository/trek-73.tar.gz.asc' -o trek-73.tar.gz.asc

and my gpg key in case you want to validate the download:

curl 'gopher://sdf.org/0/users/jmccue/jmcsdf.asc' -o jmcsdf.asc

vejeta 6 hours ago||
Hey John, I tried your build, just out of curiosity, something worth preserving too. I noticed it when compiling that the code also needed to be modernized, the same thing I had to do for conquer for the gpl-release.

I read in a comment below that work was already done, isn´t?

anthk 12 hours ago||
Trek lives in every OpenBSD install. And OFC with any Basic interpreter running the original game. I translated a Zmachine port into Spanish, too. ZTrek.
vejeta 6 hours ago|||
Hey Anthk, if you ported it to a Zmachine, does it mean is it like an interactive fiction game (aventura conversacional in spanish). Is it in the CAAD archive?
ilaksh 11 hours ago|||
Is it Trek or Super Star Trek?

https://github.com/philspil66/Super-Star-Trek

anthk 10 hours ago||
https://gamicus.fandom.com/wiki/BSD_Trek
shevy-java 10 hours ago||
That's pretty cool. I think it should all be bundled into scummvm, or an extension of this such as scummvm-history or scummvm-preservation. We could bundle all games ever written, with a focus on older games; and ensure they are playable (be it either by released-to-the-public, or people having privately owned copies - the point is more than an engine should be able to make them playable on a modern computer. And yes, we have hardware emulators, I get it, but I am thinking here more of making sure that the code would still work as is on any computer system really, with a focus on omdern systems.)
vejeta 6 hours ago||
Not exactly what you ask, but for example, for unix textual games, Debian (the GNU/Linux distribution I know best) provides the package called bsdgames: https://packages.debian.org/source/sid/bsdgames where many games like this are provided https://salsa.debian.org/games-team/bsdgames

The thing is that list is not constant and is changing overtime, depending on the usage, demand, and effort to maintain them from the debian maintainers.

I am wondering if such a collection, no matter the license, and no matter the status of the codebase is maintained somewhere (for specific unix/bsd/linux text based games)

anthk 9 hours ago||
ScummVM doesn't work that way. It needs an engine per game engine.
halffast 14 hours ago||
I often find the historical and archaeological aspects more important, this is a wonderful way to start the day.
QuesnayJr 9 hours ago|
If you like that kind of thing, you might like looking at the Angband Plus github repository: https://github.com/NickMcConnell/AngbandPlus

Angband is a roguelike that had many variants over the years, and Nick combined all of these variants into one big git repository where each variant is a branch.

anthk 12 hours ago||
https://inconsolation.wordpress.com/2014/10/19/conquest-much... this?
vejeta 11 hours ago|
It is a different game, conquer is a multiplayer strategy game, loosely based on middle-earth atmosphere, nations could be: elves, humans, dwarves, orcs, there were npc nations too: lizards, nomads, etc. Conquer is still ncurses based, probably originating from the same times (the 80s). The original author, Ed Barlow, originally published the game in USENET, comp.sources.games, as conquest, but changed the name on the second release, when noticing there was already a game called conquest, probably this one.

Thanks for the link!

QuesnayJr 14 hours ago||
There was a Curses version of Trek called "universe" that I was obsessed with, back in the day, but I've never been able to find it again.
anthk 8 hours ago|
Classic FTP sites with UNix software don't have it. Was it for Unix?

ESR has a Python 3 port of Super Star Trek which has been enhanced a lot:

https://gitlab.com/esr/super-star-trek

another one from SDF:

https://git.sdf.org/anthonyg/super-startrek.git

xenophonf 12 hours ago||
Stories like these make me want to give modernizing vtrek another try. I'd originally played it on my cousin's 3B2 in the late 1980s after being introduced to the CP/M port of classic trek, which I played on my family's IMS 5000SX. (Oh, how I wished at the time that we'd gotten an Apple II! But that's a story for another time.) I have distinct memories of playing vtrek on my dad's VT220, dialed into my cousin's BBS over Tymenet at 1200 baud. Whereas classic trek, having been written in the era of the ASR-33, was line-oriented like a text adventure, vtrek was a full-screen interactive terminal app, like vi. You'd issue movement commands using the 3x3 block of keys of the left side of the keyboard—Q, W, E, etc. Other keys controlled the ship's scanners, shields, weapons, and warp drive. Those inputs drove the game's event loop and updated the display accordingly. It was great fun, especially for a video game starved kid like me. I was forever pestering friends and cousins to play on their Ataris or Nintendos or Apples or Tandys. I didn't get my hands on a proper gaming computer until the early 90s, when we replaced the 5000SX with a 386.

So I'm sure you can imagine my excitement when I stumbled across an archive containing XENIX ports of a bunch of Unix games, including vtrek. (Thank you, Vince!) I'm not even sure how I managed to find that. Nowadays, Google only returns two search results for vtrek, the XENIX game port archive and a munged version of the original release to net.sources.games, and that's only if you know to include the "duncel" insult the game uses in the search terms. Google Groups searches of net.sources.games will lead you to a series of posts from the fall of 1985, but how would anyone other than an old fuddy duddy like me even know to look there? (Also, Google Groups doesn't have the original Usenet posts, so formatting is all screwed up. It's a vexing problem for the modern programmer archeologist.) Now imagine, if you will, an eager and not inexperienced nerd trying to compile a System V-era game on Linux and FreeBSD circa 2005. This Star Trek quote seems appropriate:

PAIN!

I mean, even the Real Hackers back in 1985 had problems getting it to compile, so I don't know why I thought my experience would be anything other than worse. The termios code in glibc just didn't work. At all. Neither did the sgtty code, which had been broken since at least 4.4BSD. After a good long while beating my head against vtrek, even going so far as to trying to build it on OpenStep 4.2 (from 1997) and FreeBSD 2.0 (from 1994), I gave up. Maybe it's time to give it another go for nostalgia's sake.

The 1985 release per Google Groups:

https://groups.google.com/g/net.sources.games/search?q=vtrek

For an example of how Google Groups screws up posts, here's a patch to vtrek:

https://usenet.trashworldnews.com/?thread=241631

And here's Google's version:

https://groups.google.com/g/net.sources.games/c/Rx_u0q5V5iE/...

The XENIX port (thanks again, Vince!):

https://svn.so-much-stuff.com/svn/trunk/cvs/trunk/games.d/vt...

Hints at how I might get vtrek to work:

https://comp.unix.programmer.narkive.com/KP4z3Ge2/problem-wi...

God bless Thomas Dickey, who's been maintaining vttest this whole time!

https://invisible-island.net/vttest/

vejeta 11 hours ago|
Author of the article here, I encourage you to do so, and share the results!

I started this journey in 2006, doing the same as you, crawling old usenet archives in the newsgroups interface taht groups.google.com provided. Finding the code was troublesome, because I lost track of it, when moving from floppy disks, to different storage systems, until it has finally been preserved on github.

I find it fascinating that your father had a VT220, did he have it at home or in his office. I thought that kind of terminals were more like a thing of labs.

xenophonf 7 hours ago||
Regarding that VT220, I misremembered. My dad's workplace loaned him a 1200-baud modem and a C. Itoh terminal, maybe a CIT-101 because [this picture](https://terminals-wiki.org/wiki/index.php/File:C._Itoh_CIT-1...) matches my memory. He was a software engineer and occasionally worked from home.

We also has a Wyse 50 terminal. It's how we used the IMS 5000SX, which had both a 10-MB hard disk drive (I think it was called a Winchester) and a 5.25" floppy disk drive. I have a huge stash of 5.25-inch floppy diskettes from back then, including copies of TurboDOS (for the 5000SX) and Apple II games and little BASIC programs us kids wrote, but I've all but given up on recovering anything. The IMS 5000SX and the Wyse 50 terminal are long dead and buried. I've made some half-hearted attempts to boot TurboDOS up under simh, but it isn't the same. If they aren't all corrupt, I suspect my Apple diskettes have a virus of some kind on them, too.

Around 1991-1992, I helped a dentist install an electronic medical record system using a multi-user DOS variant called PC-MOS. We connected Link MC5 terminals via serial to a 386 running SoftDent, if I'm remembering it correctly. I got one of MC5s when that system was decommissioned. Unfortunately, I lost it in a house fire. Then, a few years later, I got another of the MC5s when the dentist was doing some housecleaning. I still have that one, and I'd use it more often if there wasn't something wonky with its serial interface's flow control that causes corrupted I/O.

vejeta 6 hours ago||
Ah,that makes more sense. I see you inherited that engineering chops from your father, and that story with the dentist made me chuckle, it sounds like the first freelance attempts in the 20s :D

I started getting old computers back in the day, even a bulky IBM with AS/400, featuring a PowerPC RISC architecture, although it worked, and I learned how to login and all, I donated it to a friend that have a garage full of all kind of machines, that probably could preserve it better than me.

Regarding, the apple diskettes with virus, probably they are nowadays worth preserving too (for some archeological sleuthing) :D Thanks for sharing this story.!

fabienspx 12 hours ago|
interesting