What is Nostr?
Mario Zechner /
npub1h6q…5nvc
2024-09-24 21:47:02

Mario Zechner on Nostr: But does it run DOOM? Yes! After lots of massaging doomgeneric to fit within the ...

But does it run DOOM? Yes!

After lots of massaging doomgeneric to fit within the memory budget and perf available on an ESP32-S3 with 16MB of Flash and 8MB of PSRAM.

Took 3 hours to figure this out. Also runs on the desktop using my little mcugdx game dev framework :D

Code here:
https://github.com/badlogic/babys-first-electroshock/tree/main/mcugdx/examples/doom

You can diff the main/doomgeneric folder against the upstream repo (which is based on fbdoom) to see what needed to be done for ESP32-S3
https://github.com/ozkl/doomgeneric/tree/master/doomgeneric

Happy with 42-44 fps :)

Author Public Key
npub1h6qmf9h2qfvfgf663q6xl7lh6gt63zr0zzqcteqp8pmy0mls3x6qsw5nvc