Someone Got Doom Running in Notepad at 60 FPS, Somehow
escapistmagazine.com
escapistmagazine.com
I had a lot of fun writing a few small games with this method, don't think I ever shared them anywhere though.
Here are the key bits:
char* c = "Hello World!";
HWND hwnd = FindWindow("Notepad", NULL);
HWND edit = FindWindowEx(hwnd, NULL, "Edit", NULL);
SendMessage(edit, WM_SETTEXT, NULL, (LPARAM)c);(It was still cool because of the tiny OLED screen, and it was a funny story, but it's become some kind of legend because I think people took the story as "he ran Doom on the CPU and screen inside a pregnancy test!" which it's clear you saw through but I guess some people didn't)
Also, afaik, the pregnancy test would actually have the performance necessary to run the test, just no hardware to display it.
Poor copy editors couldn't display their ignorant disdain for all that geeky gaming stuff better than stating that game that had a fixed 35 updates per second loop (to match 70 Hz video mode) ran at 60 fps.
(I know that interpolated rendering has been available in ports for a long time. The engine still runs at 35, because interpolating it would drop all compatibility, and rely on arbitrary decisions on how to resample and predict trajectories defined by original constants.)
Also, something in the narcissist manner of presentation tells me the whole thing can be just a gameplay video processed with libcaca, seemingly without even aligning the source and output resolution, if we pay attention to the edges.
I wonder what went wrong. I can't see today's MS ever living up to what the NT and desktop team delivered ~20 years ago.
Its baffling to think that the same company is responsible for Teams.
Guess we're in a revival of the 70s/80s mainframes with dumb terminals again.
Already Google Apps has made a strong play, and Microsoft is doing quite a good job defending. Teams is only a part of it.
And there’s also mobile, which they lost entirely. That could be a risk, too, and they know it.
Businesses they still have a stranglehold, but even there I've noticed it loosening.
Is that also your overall estimate on how long the mobile paradigm will overtake the desktop one? I would guesstimate that to a decade, or a decade and a half at most, with the degeneration of written language following closely.
I get it, Teams may not work perfectly on every setup. But the same goes with practically all enterprise-level videoconferencing solutions.
In an absolutely symmetric comparison, the Germans first gave us Goethe, and then..
Same company, but different teams I guess :)
I've altered the contents of the gedit text editor within a linux VM, via PTRACE_ATTACH and PTRACE_PEEKTEXT/PTRACE_POKETEXT, to find and modify the text.
Except, that would mean notepad updates the display as the file changes, and I didn't think it did that. So I think I've got something wrong.
However, I enjoy seeing more creative and actually novel ways of "DOOM running on xyz". One such example would be DOOM actually implemented in Excel. Back when it came out, it was genuinely cool and novel. This is the type of stuff that I would not mind seeing more of at all.
Another thought: do you even need to bring notepad to focus in order to copy contents to it? Maybe it's not in focus at all, and just happens to be the only thing on the screen?