From Scratch
From Scratch
  • 2
  • 3 235 942
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)
Переглядів: 3 215 785

Відео

КОМЕНТАРІ

  • @SunnyKimDev
    @SunnyKimDev 27 хвилин тому

    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.

  • @verkcuos
    @verkcuos 2 години тому

    i saw the initial wiring and was like "okay it's obviously going to be larger" i didn't think it was that large

  • @williamantonio9743
    @williamantonio9743 11 годин тому

    Its only a matter of time before Terraria can run DOOM

  • @Renaud1
    @Renaud1 14 годин тому

    I am afraid

  • @pelicanseal
    @pelicanseal 23 години тому

    Comparing yourself to Gutenberg? 😭

  • @jacobdzurica6707
    @jacobdzurica6707 День тому

    can it run doom??????

  • @Marco05
    @Marco05 День тому

    I watched more adds than video and the adds take 1 min to load bevore i can skip them. So i dissliked that video

    • @pwm_vrt6
      @pwm_vrt6 7 годин тому

      that's not the video's fault lil bro

  • @fathercokaine
    @fathercokaine День тому

    autism level over 9999 you are amazing sir

  • @TReyeHD
    @TReyeHD День тому

    We're getting Doom in Terraria before GTA VI

  • @ensarshkupolli314
    @ensarshkupolli314 День тому

    can it run doom?

  • @myster1ousdemon
    @myster1ousdemon День тому

    ... ok wtf

  • @SeasOfCheese929
    @SeasOfCheese929 День тому

    Yeah but can it run Doom?

  • @tjgelliott
    @tjgelliott День тому

    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.

  • @_-Tran
    @_-Tran День тому

    this is the most insane thing i have ever seen

  • @Ludens93
    @Ludens93 2 дні тому

    Playing Terraria inside Terraria. Terrariancpetion! Looking forward to that.

  • @limitetpancake9459
    @limitetpancake9459 2 дні тому

    playing doom in terraria?!?!?!

  • @prodbysteexy
    @prodbysteexy 2 дні тому

    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

  • @bluexxtiger2347
    @bluexxtiger2347 2 дні тому

    i guess we found @thejocraft father… this is pure insanity

  • @nyitdom
    @nyitdom 2 дні тому

    And then the world gets corrupted...

  • @antonchichona6700
    @antonchichona6700 2 дні тому

    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

  • @smithydrunkman8604
    @smithydrunkman8604 2 дні тому

    Dang it seems like I'm the only one here who isn't an engineer of some sorts

  • @simhanssens7331
    @simhanssens7331 2 дні тому

    Well, now you can just show any job interviewer this video and they'll know enough hahaha jesus the dedication!!

  • @qwt-jgr3446
    @qwt-jgr3446 2 дні тому

    I want you as my Computer Science teacher

  • @gR22401
    @gR22401 2 дні тому

    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.

  • @dylanfetcher
    @dylanfetcher 2 дні тому

    why are we making random 80 yr old men president and not him?

  • @sukurox
    @sukurox 3 дні тому

    For those searching. Initial Playtime: 8372,3 hours

  • @thatscronker1928
    @thatscronker1928 3 дні тому

    These npc housing tutorials really starting to get wacky

  • @oliverrice4344
    @oliverrice4344 3 дні тому

    time to run doom on this thing

  • @kawacat7052
    @kawacat7052 3 дні тому

    complete madness

  • @kawacat7052
    @kawacat7052 3 дні тому

    bro is a auto conscient computer

  • @kawacat7052
    @kawacat7052 3 дні тому

    WHAT IN THE WORLD ARE YOU?

  • @somethinginventive153
    @somethinginventive153 3 дні тому

    Can it run doom tho...

  • @Segrub
    @Segrub 3 дні тому

    Well, someone had a bright future ahead of them!

  • @adamnwizard
    @adamnwizard 4 дні тому

    Dude literally just modded the programming of terraria to be better, not different. Just better. Wow.

  • @MrPredictable
    @MrPredictable 4 дні тому

    Wow!

  • @lucafra6938
    @lucafra6938 4 дні тому

    esci di casa

  • @nmmrg
    @nmmrg 4 дні тому

    @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.

  • @TristanWalter
    @TristanWalter 4 дні тому

    yo great first video man!

  • @frogyy-pq4fk
    @frogyy-pq4fk 4 дні тому

    but can it run doom?

  • @SeaBeastHunter
    @SeaBeastHunter 4 дні тому

    I wouldn't surprise if he make a Terraria inside the terraria game

  • @phish1145
    @phish1145 4 дні тому

    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.

  • @doctorpepper5088
    @doctorpepper5088 4 дні тому

    Now make terraria in terraria

  • @bigstickm3
    @bigstickm3 5 днів тому

    07:10 what a sentence dude, omg hahahahaha

  • @danielzhydkov6171
    @danielzhydkov6171 5 днів тому

    So you know that one game about a human hunting down demons? Yea doom... Can you make it in terraria?

  • @amazingone915
    @amazingone915 5 днів тому

    bro you really need to start programming in unreal engine that is insane

  • @Hector-bj3ls
    @Hector-bj3ls 5 днів тому

    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.

  • @meliusmatty9192
    @meliusmatty9192 5 днів тому

    sorting arrays using different methods would be cool

  • @Majorwindy
    @Majorwindy 6 днів тому

    Can it run doom?

  • @louisrobitaille5810
    @louisrobitaille5810 6 днів тому

    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.)

  • @roman2808
    @roman2808 6 днів тому

    Touch grass Pls...