C# WebAssembly/WASI Interpreter test running Doom 2

preview_player
Показать описание
I'm writing an experimental WebAssembly/WASI interpreter in C# as a fun little side project. It currently runs Doom 2 in demo mode. Since there are no other ways to output the graphics, I simply dump each frame to a raw file. GIMP can then read the file to watch the video output in real-time. You just have to keep changing the height setting to make it keep reloading the file. There is currently no way to pass input to the game, so it just runs its demo mode.

It currently runs at about 1/80th native speed, which is just enough to run Doom 2 at full speed on my PC, LOL. Believe it or not that's a huge improvement. Before rewriting the opcodes, it was running at probably 1/10000th native speed, hehe.

Github link below.

Рекомендации по теме
welcome to shbcf.ru