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 :)
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 :)