j4james / vtdoom

A port of the DOOM video game for VT sixel terminals.
GNU General Public License v2.0
0 stars 0 forks source link

Dec Vt340 #1

Open TheWanderer1983 opened 1 week ago

TheWanderer1983 commented 1 week ago

Will this work on a Dec vt-340 or does it require a 525?

j4james commented 1 week ago

@TheWanderer1983 I'm afraid not. One minor problem is that it requires 256 colors, and the VT340 only has 16, so the coloring would probably end up looking a bit psychedelic. But the bigger issue is simply the bandwidth required. At 19200 baud (which I think is the highest the VT340 will support), it'll take about 2 minutes for a single frame.

The color issue could be solved with a 16-color grayscale mode, but to get a reasonable framerate, you'd probably need to shrink the frames down to something like 40x30 pixels (in terms of text cells, that's like 4 cells wide, and 1 and half high). Even then you'd be getting less than 10 frames a second. It's just not practical.

And a VT525 wouldn't be an option at all, because it doesn't support sixel. This is really only intended to be run on a modern terminal emulator. I should probably update the README to make that clearer.

But if you're looking for a game that you can play on your VT340, you can try out my Space Invaders clone. That was specifically designed to work on a VT340, so if you have any problems with it, feel free to raise a bug report.

TheWanderer1983 commented 1 week ago

Thanks for the details. I had thought this was one of those can it run doom versions, not a original quality version in sixel.