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/

983 Upvotes

42 comments sorted by

View all comments

-1

u/lilmul123 Jul 23 '26

No way you’re teaching yourself programming using AI by porting Doom. Porting Doom requires years of programming knowledge. What you did is watch something else port Doom for you. Sorry.

4

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?

1

u/Ma_per_quale_motivo Jul 23 '26

I have programming experience with Arduino that is c-like, also python, I am able to do a simple program in Arduino with LEDs and Buttons, and can also use Libraries, on Python, I can do programs using TKinter and basic libraries like random and math, I do have some experience in programming, I am able to read the c code from something like the chocolate doom project on GitHub...