I document my journey implementing Computerraria: a 32 bit CPU running inside the game Terraria. I’ve been working on this for over 6 months now and thought it’s cool enough that other’s might be interested in learning about it. Absolutely everything I talk about here is completely open source and freely available in these public repositories:
Computerraria (World file and support software): https://github.com/misprit7/computerraria
WireHead (Accelerator mod): https://github.com/misprit7/WireHead
To download the mod to try it, here is the steam workshop link, although for any development I’d recommend using the Github link instead:
WireHead: https://steamcommunity.com/sharedfiles/filedetails/?id=2946369856
If you’re interested in learning more about the more technical engineering side of things, definitely let me know in the comments. I would be happy to go into it but I’m not really sure there’s an audience for it.
Big thanks to Gus for implementing the raycaster engine, still can’t believe that works so well. Eric, Renu and Evan also deserve credit for listening to me ramble for countless hours about various different wiring schemes and optimizations.
Terraria inside Terraria is close!
Music credits:
Terraria Soundtrack, Scott Lloyd Shelly, ReLogic: https://www.terraria.org/, https://forums.terraria.org/index.php?threads/terraria-music-enabled-for-video.31361/
Symphony No. 5 mov 4, Beethoven, Fulda Symphonic Orchestra: https://musopen.org/music/2567-symphony-no-5-in-c-minor-op-67/
Overature to the Marriage of Figaro, Mozart, Museopen Symphony: https://musopen.org/music/2682-the-marriage-of-figaro-k-492/
Violin Partitia bwv 1004, Bach-Busoni, Stefano Ligoratti: https://musopen.org/music/3786-violin-partita-no-2-bwv-1004/
Feel Alive, Ethan Sturock: https://freetouse.com/music/ethan-sturock/feel-alive
Everyday, Eric Lund: https://freetouse.com/music/eric-lund/everyday
Waves, Beau Walker: https://freetouse.com/music/beau-walker/waves
Magnificent, Pufino: https://freetouse.com/music/pufino/magnificent
Glorious, Aylex: https://freetouse.com/music/aylex/glorious
Worlds, Aylex: https://freetouse.com/music/aylex/worlds
No Copyright Music for Video (Free)
37 Comments
Hey if you're interested in more engineering/Terraria projects like this please subscribe!
I wasn't originally planning on making more but there clearly seems to be an audience, when I do other cool projects I might make more videos.
The most mind boggling takeaway from this video is that the Terraria developers decided to use a path following algorithm to propagate state change to each endpoint of a wire.
Are you in MIT or something? You are a genius man.👽
bro is a big nerd
What an absolute madlad
lmaoooo i cant believe you made a mod to completely redo the wiring system to make it possible to make this crazy contraption
legit scared if you start playing factorio….
Micheal reeves had a love child with tom holland
This is how you build SkyNet.
Great project
Que pro cracken hacker
This is… awesome.
Primeagen sent me. Absolutely amazed by what you've built here!
Modding the game just to make the instruction set run faster was definitely a gigachad move.
Imagine this guy playing factorio, maybe creating a computer inside it
Bro.
Play bad apple on it.
But… can it run doom
I will wait for the video "Running Doom inside Terraria" that sht will be wild.
That's amazing!
kinda boggles my mind that it is even feasible to have a terraria, inside a computer, inside terraria
Now we need to optimize terraria pong
Dude if you make Doom in Terraria you deserve a Nobel Prize. Absolutely interested in a follow-up technical video.
Any timetable on when it will be able to run doom?
fucking legend dude hahahahaa
Absolute genius!! Thank you for explaining your own process so succinctly.
People do this and yet I still have no idea what a xor gate is
w t f
You should've uploaded dos to this machine
But can it run doom?
How did you load the programs to the Computerraria?
DOOM
the amount of nerd in this work in bonkers man . i hope you guys create something that will change our primitive lives . keep it up
It has been a very long time since something physically made my jaw drop
I'm a senior software engineer AND embedded electronics designer with 9 years of industry experience, as well as a relevant degree from university. I understood every single thing you did here, even the things you just mentioned in passing, and yet I am absolutely blown away by the fact that you did it. Like…. HOW OLD ARE YOU? And then you edited it all into an entertaining video as well…. My man, you will have ZERO problems finding a job. You can basically just point at where you'd like to work and they'd THROW money at you.
Welcome to godhood. ❤
God damn man
lmao