- 2
- 3 235 942
From Scratch
Приєднався 18 чер 2023
I make things. Occasionally stuff as well, just to mix it up a bit.
I Made a 32-bit Computer Inside Terraria
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): github.com/misprit7/computerraria
WireHead (Accelerator mod): 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: 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!
Twitter: from_scratch_yt
Github: github.com/misprit7
Music credits:
Terraria Soundtrack, Scott Lloyd Shelly, ReLogic: www.terraria.org/, forums.terraria.org/index.php?threads/terraria-music-enabled-for-video.31361/
Symphony No. 5 mov 4, Beethoven, Fulda Symphonic Orchestra: musopen.org/music/2567-symphony-no-5-in-c-minor-op-67/
Overature to the Marriage of Figaro, Mozart, Museopen Symphony: musopen.org/music/2682-the-marriage-of-figaro-k-492/
Violin Partitia bwv 1004, Bach-Busoni, Stefano Ligoratti: musopen.org/music/3786-violin-partita-no-2-bwv-1004/
Feel Alive, Ethan Sturock: freetouse.com/music/ethan-sturock/feel-alive
Everyday, Eric Lund: freetouse.com/music/eric-lund/everyday
Waves, Beau Walker: freetouse.com/music/beau-walker/waves
Magnificent, Pufino: freetouse.com/music/pufino/magnificent
Glorious, Aylex: freetouse.com/music/aylex/glorious
Worlds, Aylex: freetouse.com/music/aylex/worlds
No Copyright Music for Video (Free)
Computerraria (World file and support software): github.com/misprit7/computerraria
WireHead (Accelerator mod): 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: 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!
Twitter: from_scratch_yt
Github: github.com/misprit7
Music credits:
Terraria Soundtrack, Scott Lloyd Shelly, ReLogic: www.terraria.org/, forums.terraria.org/index.php?threads/terraria-music-enabled-for-video.31361/
Symphony No. 5 mov 4, Beethoven, Fulda Symphonic Orchestra: musopen.org/music/2567-symphony-no-5-in-c-minor-op-67/
Overature to the Marriage of Figaro, Mozart, Museopen Symphony: musopen.org/music/2682-the-marriage-of-figaro-k-492/
Violin Partitia bwv 1004, Bach-Busoni, Stefano Ligoratti: musopen.org/music/3786-violin-partita-no-2-bwv-1004/
Feel Alive, Ethan Sturock: freetouse.com/music/ethan-sturock/feel-alive
Everyday, Eric Lund: freetouse.com/music/eric-lund/everyday
Waves, Beau Walker: freetouse.com/music/beau-walker/waves
Magnificent, Pufino: freetouse.com/music/pufino/magnificent
Glorious, Aylex: freetouse.com/music/aylex/glorious
Worlds, Aylex: freetouse.com/music/aylex/worlds
No Copyright Music for Video (Free)
Переглядів: 3 215 785
I just worked on a pipelined RISC-V CPU with verilog and bluespec for a project, but seeing it in terraria is wild. Amazing job.
i saw the initial wiring and was like "okay it's obviously going to be larger" i didn't think it was that large
Its only a matter of time before Terraria can run DOOM
I am afraid
Comparing yourself to Gutenberg? 😭
can it run doom??????
I watched more adds than video and the adds take 1 min to load bevore i can skip them. So i dissliked that video
that's not the video's fault lil bro
autism level over 9999 you are amazing sir
We're getting Doom in Terraria before GTA VI
can it run doom?
... ok wtf
Yeah but can it run Doom?
I like that the comment section is just corporate folk listing their CVs and saying how easy its going to be to find a job. As if hes desperate to ditch his superb youtube channel to take a pay cut to sit in a cubicle and be talked down to by morons.
this is the most insane thing i have ever seen
Playing Terraria inside Terraria. Terrariancpetion! Looking forward to that.
playing doom in terraria?!?!?!
if you think about it 80s and 90s consoles are being made again just inside weird shit, stay with me now, imagine someone makes a new game inside of a game
i guess we found @thejocraft father… this is pure insanity
And then the world gets corrupted...
everybody saying to put this on your resume, I sincerely hope your genius is not wasted wageslaving at a company, you can be so much more
Dang it seems like I'm the only one here who isn't an engineer of some sorts
Well, now you can just show any job interviewer this video and they'll know enough hahaha jesus the dedication!!
I want you as my Computer Science teacher
As a game developer with 18 years of experience, I hope you choose a different career. You do you, of course, but brains like yours should be solving problems that will benefit humanity beyond just entertainment.
why are we making random 80 yr old men president and not him?
For those searching. Initial Playtime: 8372,3 hours
These npc housing tutorials really starting to get wacky
time to run doom on this thing
complete madness
bro is a auto conscient computer
WHAT IN THE WORLD ARE YOU?
Can it run doom tho...
Well, someone had a bright future ahead of them!
Dude literally just modded the programming of terraria to be better, not different. Just better. Wow.
Wow!
esci di casa
specchio riflesso
@10:00 found the difference instantly using the stereogram method and just crossing my eyes. Works wonder for anything you need to compare because any difference down the the pixel kinda flashes rapidly.
yo great first video man!
but can it run doom?
I wouldn't surprise if he make a Terraria inside the terraria game
My god man this might be one of the most impressive things I have ever seen in my 34 years. Absolutely mind blowing how smart you are man. Like, commented, subbed and shared.
Now make terraria in terraria
07:10 what a sentence dude, omg hahahahaha
So you know that one game about a human hunting down demons? Yea doom... Can you make it in terraria?
bro you really need to start programming in unreal engine that is insane
The project is very impressive! I love stuff like this. Just one thing that my autism won't stop bugging me about. The "computer, running a game, running a computer, running a game" concept is actually not that strange. And I'm not even talking about the other people that have built computers in games. I don't know about Terraria, but Minecraft was written in Java. Java uses the Java Virtual Machine (JVM) to run the code. A virtual machine is essentially an emulation of a computer. So, that's a computer, running a computer, running a game. The stack is (PC -> JVM -> Minecraft) Now, get into the world of backend web development for a second and it gets even weirder. If you have an application it's likely packaged up in a docker container, and maybe your application is written in Java. Plus, the server it's hosted on is likely a virtual server. So, you have a "computer, running a computer, running a computer, running a computer, running your application". The stack is (Server -> Virtual Server -> Docker Container -> JVM -> Application) We've got all the pieces in place. Consider a minecraft computer running on a multiplayer server. That's a computer, running a computer, running a computer, running a computer, running a game, running a computer, running a program. The stack is (Server -> Virtual Server -> Docker Container -> JVM -> Minecraft -> Minecraft Computer -> program) There are a couple of technical points I want to make, because otherwise someone will get really mad at me in the replies. Okay. Technically virtual servers and docker containers use a technology called virtualisation, while the JVM uses a technology called emulation. The key difference is that virtualisation is essentially free, while emulation has a performance cost. Then, the second point is that the JVM implements something call Just in Time (JIT) compilation. This allows the JVM to compile the byte code into native machine code at runtime. The byte code is just the binary format that Java programs are packaged in. This mitigates a lot of the performance cost of emulation.
sorting arrays using different methods would be cool
Can it run doom?
8:10 This guy basically learn universal Assembly to make a computer in Terraria 😂. (I said universal Assembly because there're many different Assembly languages for different operating systems and hardware.)
Touch grass Pls...
I literally did so in the video!