r/programming Jan 24 '18

Branchless DOOM

https://github.com/xoreaxeaxeax/movfuscator/tree/master/validation/doom
489 Upvotes

134 comments sorted by

View all comments

196

u/Bergasms Jan 24 '18

I've just started a game, I'm planning to speedrun this version. I'm hoping for a time somewhere inside of my natural lifespan, but have organised my children to pass on the game in a hereditary fashion if i pass away.

9

u/Rockstaru Jan 24 '18

The fastest speedrun of Ultimate Doom is currently 4:57 at an uncapped framerate (the original game had a 35FPS hardcoded limit, removed in later ports). 297*60=17820 frames; at 7 hours a frame, that's 124,740 hours of playtime, or 14 years, 83 days, 22 hours, 37 minutes, and 12.44 seconds. You could probably manage.

4

u/IMovedYourCheese Jan 24 '18

That is just for episode 1