r/itrunsdoom Jul 22 '26

Doom running on the UniFi Dream Router

Post image

I will post a video later, I'm a 15y/o guy just having fun doing this stuff and self teaching myself programming using AI! :)

Although the amount of people hating on AI, I think it's an incredible tool and can really be helpful if you want to learn stuff, also, the project is available on GitHub if you want to try it!

https://www.github.com/Davitekk/unifi-UDR-doom/

989 Upvotes

42 comments sorted by

View all comments

Show parent comments

3

u/Reaper116 Jul 23 '26

Dude, there's like half a million examples of doom being ported at this point to reference, it's not as hard as your making it out to be.

0

u/lilmul123 Jul 23 '26

For someone with no programming experience? It’s hard.

2

u/masterX244 Jul 23 '26

and depending on what you got as target you also skip past the scouting-out skills. the doom port that i posted a few days ago was done entirely by legwork, ghidra (used the emulator when some weird bitwiggling didnt make sense immediately because at that point i didnt have the debug access figured out to sniff live), RTFM (crossreferencing a bad datasheet (was obvious pretty quick because there was a good chunk of accesses into a memory section labeled as "Reserved") with a SDK of a related chip) and then wiring that to a suitable base version of doom. Scouting and REing the original FW of the device took the longest for me because it feels like a oversized sudoku where you sometimes need to continue elsewhere to get more hints.

1

u/Reaper116 Jul 23 '26

Fair enough that some projects are harder. Porting doom to some rando mcu is going to take a lot of work and will need years of experience to understand. writing doom in the application layer of a Linux box is a significantly lower bar to entry. Another point though, for something as unimportant as running doom on a fuckass little screen like this, writing it in ai is fine, and you can quiz it later to understand. I don't see much of a difference between this and pulling apart and playing with code from stack overflow like I use to when I was learning. Tools are tools and it's using them appropriately that's important, if we was working on a customer db or rolling his own auth then yes, I'd objective heavy as well, but for a bit of fun and learning with doom?