GithubHelp home page GithubHelp logo

toxicfrog / doomrl-server Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 2.0 441 KB

A dgamelaunch-like frontend for DoomRL, supporting recording, spectators, and shared high scores

License: Other

Lua 11.98% Python 15.72% Shell 0.44% Makefile 0.27% C 3.99% HTML 0.96% JavaScript 56.12% CSS 9.35% Nix 1.14% Batchfile 0.02%

doomrl-server's People

Contributors

toxicfrog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

doomrl-server's Issues

Missing scorelines are lost forever

While playing earlier, something went wrong upon finishing a game, after it archived the ttyrec and mortem files but before it wrote the scoreline. (No bug report for this because DoomRL wasn't running in debug mode; I don't even have a useful error message.) This resulted in the scoreline getting lost. Due to the way the archive code is written that mortem and ttyrec wouldn't be overwritten, but neither would they show up in the output of 'scores', 'replay', or 'mortem' (although they'd still be accessible by number).

Ideally DoomRL should be robust enough that this never happens. Failing that, there should be an admin command to scan and rebuild the scorefiles.

Subtitle support

DoomRL on the server runs without sound. But what if it had subtitles for the various sounds used?

Preliminary idea: provide a custom libSDL_mixer.so that implements the mixer API, but stub out most of the functions. When called upon to play a sound, match it against a (sound -> message) map and emit the message at the bottom of the screen.

We could also get fancier with this, e.g. with a "Heard:" line at the bottom where everything you hear appears there when heard and gradually fades out with time.

Prefilter the output of doomrl to reduce bandwidth requirements

DoomRL's output is extremely noisy. At the moment a filter is installed between ttyrec and the output ttyrec file in order to strip this noise. Installing it between DoomRL and ttyrec would be even better, since it would reduce bandwidth usage to nearly zero. Some sort of timestamp correction would still be needed for the ttyrec file, but this could be done offline once the game is complete and the file is being archived.

Descriptive sound support

Replace the / sounds with actual descriptions like "booted feet" or "a scream of pain" or the like.

Web interface

At minimum it should let people download configs, mortems, and ttyrecs. Ideally, I'd like the following:

  • output of scores
  • output of scores <player>
  • downloadable mortem and ttyrec for each scoreline
  • stats page listing #games, %won, top killers

Sounds are very frame-heavy

In particular, a new frame is written for every new sound. It should at least be possible to keep track of what the last frame looked like and not emit a new frame if there are no new sounds to display.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.