(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=40104410

一位用户对一款名为 psdoom-ng 的软件表示惊讶,该软件可以将系统信息(特别是进程名称和大小)转换为 Doom 游戏的形式。 他们将视频转换为 ASCII 字符并为其分配进程名称的容易程度与通过 DNS 玩玩具的容易程度进行了比较,但也认识到实现最佳性能和视觉清晰度背后的复杂性。 作者提出了改进建议,包括根据内存使用情况而不是随机分配值来确定怪物的大小、在线程之间创建关系、冻结僵尸进程、添加各种武器选项以及将其扩展到《毁灭战士》宇宙之外。 然而,实际实施情况仍不清楚——无论是原创者还是网上讨论的其他人。 在考虑 Doom 本身的潜在应用(例如合并日历或待办事项列表)之前,用户质疑此类创作所需的时间投入,并分享他们被超越的感受。 该用户最后强调了《毁灭战士》的受欢迎程度和影响力,在两年内就吸引了超过 2000 万玩家。

相关文章

原文


If you think about it, rendering the "video" into ASCII and then putting them into process names seems kind of easy. Nothing special. Similar to these toys over DNS, etc. Especially that as the readme says the majority of the work was done by the other project.

On the other hand, I would never think of htop as a rendering engine for anything. Totally mind-blowing and impressive. Software hacking at its finest! Kudos!



"If you think about it, rendering the "video" into ASCII and then putting them into process names seems kind of easy. "

It is easy if you don't really think about it, actually. Otherwise, it is not that trivial to get a good contrast and good performances. See libaa or libcaca for instance, hundreds of hours on this very subject.



i was going to comment how i would like to see the reverse, and i am not surprised to find that it already exists. here is a video on someone porting it to run on current linux: https://youtu.be/Pf7rpde49NU

except i'd like to see it somewhat more actually useful as a top replacement: size of the monster should be based on memory usage, and aggressiveness should be based on CPU usage. different rooms can be different users, and threads could also be shown as related somehow as could parent and child processes. sleeping processes should be sleeping obviously and zombie processes be frozen in space, maybe transparent, able to pass through? then a selection of weapons corresponding to the kill signals.

there are more things that could be added but then it gets further away from doom.



psdoom-ng already works on "current Linux", no need to "port" it.

It's also extensible - you can easily replace the commands used by it to gather the process list and to kill processes, so you can make variations of it using different kind of data without even recompiling the game. Once at a game jam I made "fsdoom" this way - a file manager utility that let you delete files from your $HOME by killing monsters.



well, in the video there was talk about making it work on fedora 36. not sure what he had to do or if it was him who created psdoom-ng...

but that configurability is cool. fsdoom sounds like a great idea. but here too i'd like monster size be based on filesize, rooms based on folders...



> not sure what he had to do

He just had to learn how to launch it as root (which isn't required for it to work) while preserving access to graphics server from the user's session (and there are better ways to do it than what he shown). All his "fork" does is changing the README file.

> or if it was him who created psdoom-ng

Nope, just a random youtuber discovering a project from 1999.



I’m genuinely curious how people have time to do this. I feel less and less sure of my abilities the more I see wonderful stuff like.

I can’t imagine the effort involved in this. Someone did mention this takes advantage of prior work just rerendering in ascii and mapping to procs but that’s not a negligible amount of work. How long did this take? I feel like I know nothing and I’ve been in this industry for more than I’d like to say.

This is awesome but I feel incredibly stupid.



First of all, thank you for the kind words :) Secondly, don't feel bad! I'm sure you know much much more than you give yourself credit for. This took about a full weekend plus another day, and a few more days of working here and there when I have time. But as was written somewhere else in the comments and as I wrote myself in the README, the hard work of making Doom more portable was done by the incredible project doom-generic which I forked: https://github.com/ozkl/doomgeneric


"I’m genuinely curious how people have time to do this."

Let's say you work 8 hours per day, 1 hour commuting. That's 15 hours left, you need to eat and sleep and bath and whatever. That leaves 15 hours because who cares about eating or sleeping or taking a bath. More than enough time to do this in 3 years.

Alright, enough time there, I need to finish my raycaster on 6502.



Boy is that a familiar feeling. It's the programmer version of shaving away at one's self-worth by looking at friends' Instagram-perfect home photos. I think most of us feel it from time to time. There are ways to combat it, but it's a totally normal side effect of hanging around smart people.


I feel like we're reaching completion with the "integrating doom into things" arc - it's now time to start integrating everyday things into Doom.

Just imagine a Todo List or a Calendar in Doom.



I stumbled upon this project approximately a week ago and submitted it here but it didn't get any traction. Glad to see it has made the front page. I like it when some hacky for-the-fun-of-it projects like this one make it here :).


Of course it is!! Doom has been ported to a lot of platforms, even very weird ones or even not intended to run it at all! Second, DOOM modding community is amazing. A lot of quality MAPs, MODs.

And as bonus :) I still play good old DOOM using source port. Okey, enough talking, time to fry some monsters :)



cult classic is defined as "something such as a movie or book that is considered to be one of the best of its kind by a small group of people." which I would say is pretty accurate


Doom had over 20 million players in 2 years. That's higher than some modern games. I don't know if something groundbreaking and gigantic like that can ever really be 'cult'.
联系我们 contact @ memedata.com