I Hacked Diablo II To Use Modern Graphics

  Рет қаралды 318,508

Nathan Baggs

Nathan Baggs

Күн бұрын

Пікірлер: 805
@nathanbaggs
@nathanbaggs 2 ай бұрын
Want early access to new videos and some behind the scenes content? Consider becoming a channel member kzbin.info/door/QvW_89l7f-hCMP1pzGm4xwjoin Other videos you might enjoy: kzbin.info/www/bejne/gZW4pmlrfLGia5I kzbin.info/www/bejne/f328aKePma6GaLs kzbin.info/www/bejne/gKq6loaMfJ2bjNk
@RetroNorth
@RetroNorth 2 ай бұрын
Next project: Vulcan to Glide3 😄
@Bitterman5868
@Bitterman5868 2 ай бұрын
If anything, i suggest you try your skills with the old WinG32.dll games like shadow of the horned rat, would be interesting to see how GDI to Vulkan would work since the original HOMM1 and 2 patch did the same with GDI to direct 3d if i remember well
@shadowarez1337
@shadowarez1337 2 ай бұрын
Isnt it a thing step 1.4090 step 2.use RTX Remix 3. Profit Remix old games with Ray tracing change out okd twxtures.
@David-rj1ru
@David-rj1ru 25 күн бұрын
yoou said you hacked d2 to use modern graphics but we don't see d2 using modern graphics. makes me skeptical of claim.
@realghoststories1210
@realghoststories1210 18 күн бұрын
Now if you could only fix Dragon Age Origin for modern PC's. I bought it of steam as EA had a special on all 3. To my disappointment the game kept crashing every 5 minutes.
@RedlineRob
@RedlineRob 2 ай бұрын
I can’t die peacefully until this has a part 2 with it actually working.
@Dawnarow
@Dawnarow 2 ай бұрын
Cosmic brain is what is required for this... I wonder if blizzard could ever offer what the players always wanted for the current d2r game... that is potentially incredibly easy to accomplish:::::: Sell stash tabs. The game is "loot-oriented" and revolves around being able to trade. I'd keep el and elds to use a recipe nearly no-one uses if they were to do this and I'm sure they'd realize POE had the best structure for games... just offer what your clients want. Heck, if you don't want people to cheat, you can even offer them a "fake" 1-time purchase way to slap textures on your character's items via a "viewer" and just download images for your characters to display new graphics assigned to x-y items. Not selling "skins" but actually offering a way for players to create their own. Do you think you could make this, @nathanbaggs ? That'd be incredibly cool.
@ScandalistRick
@ScandalistRick 2 ай бұрын
For real, this coupled with some lossless scaling could result in a true gem of an experience.
@gabydewilde
@gabydewilde 2 ай бұрын
yes, mission failed is not an acceptable outcome. He should create a new character and start over.
@gamecast4432
@gamecast4432 2 ай бұрын
Me too, Diablo II it's one of my favorite games
@LarixusSnydes
@LarixusSnydes 2 ай бұрын
This would also mean that this would also run great under Linux, provided that the other used dll-libraries are implemented correctly in Wine . Vulkan is cross-platform after all.
@EricChamberlain
@EricChamberlain 2 ай бұрын
Dude… Please finish this! This is by far the most interesting programming video I’ve seen. I love the format.
@457Deniz457
@457Deniz457 Ай бұрын
I mean basically we already can play the solution. What else do you think did Blizzard? Nothing else, thats how they made Diablo 2 Resurrected
@olpizl
@olpizl 22 күн бұрын
@@457Deniz457Your comment has basically nothing to do with what OP wanted. Dont care about the game, wanna see the process.
@imsoflyrn
@imsoflyrn 20 күн бұрын
Please!
@monarch73
@monarch73 9 сағат бұрын
Its probably more work than just rewriting the entire game....
@457Deniz457
@457Deniz457 4 сағат бұрын
@@olpizl So one guy should do what an entire team full time and paid did, but for free?!? How egoistic.. Amazing...
@TrygveRasmussen
@TrygveRasmussen 2 ай бұрын
So anyway, smallLodLog2 is the logarithm base 2 of the largest dimension of the lowest resolution mipmap... thats crazy
@nathanbaggs
@nathanbaggs 2 ай бұрын
Makes sense now
@imqqmi
@imqqmi 2 ай бұрын
pfff easy! lol!
@teh_hippo
@teh_hippo 2 ай бұрын
Ahhhh now you put it that way. Totally.
@raelik777
@raelik777 2 ай бұрын
It actually DOES make sense, but it's both a perfectly accurate way to say what it is AAAAAAND probably the most confusing way to say it. Logarithm base 2 is basically (but not really) just telling you how many binary digits there are in that number (it's actually calculating what power of 2 would give you that number, but that's an even more confusing statement). If you get rid of the decimal portion, it tells you the exponent (i.e. position) of the highest bit. For example, log base2 of 255 is 7.99435343686. That means that bit 7 (starting from 0) is the highest bit that's set. My guess as to why they chose to return the information like that instead of just giving you the actual number is probably some fiddly optimization.
@jeinnerabdel
@jeinnerabdel 2 ай бұрын
​@@raelik777Dafuq did I just read?
@cryohellinc
@cryohellinc 2 ай бұрын
Thank you. After watching your video, I feel that I am stupid.
@ksk31337
@ksk31337 2 ай бұрын
small(est) relief, that it took him weeks :D
@rogercruz1547
@rogercruz1547 2 ай бұрын
@@ksk31337 smallLodLog2(est) relief*
@jblps
@jblps 2 ай бұрын
I is dumb too 😞
@Stinktierchen
@Stinktierchen 2 ай бұрын
Gladly I knew I am, even before watching this video, so I dont actually feel any worse now.... he he he
@nathanbaggs
@nathanbaggs 2 ай бұрын
All you need to remember is that smallLodLog2 is the logarithmic base 2 of the largest dimension of the smallest mipmap
@beefviper
@beefviper 2 ай бұрын
Making your own DLL with a bunch of functions stubs and slowly filling them in... really cool to see.
@nathanbaggs
@nathanbaggs 2 ай бұрын
Thanks! Planning on doing a livestream at some point where we can deep dive into the code a bit more
@maxrinehart4177
@maxrinehart4177 2 ай бұрын
​@@nathanbaggs oh, man, please do, will absolutely watch even a 10 hour stream of you.
@Wishbone1977
@Wishbone1977 2 ай бұрын
This reminds me of how KeeperFX was made originally.
@nathanbaggs
@nathanbaggs 2 ай бұрын
Make sure you all subscribe then (:
@sparklesparklesparkle6318
@sparklesparklesparkle6318 2 ай бұрын
@@nathanbaggs You look like SerpentZA's brother.
@StizzedOut
@StizzedOut 2 ай бұрын
Brilliant. I took an alternate career path, I'm no coder, your videos are easily followed, and not dumbed down.. but just enough technicals for viewers to dig deeper. Thank you
@adamleblanc5896
@adamleblanc5896 2 ай бұрын
Finally! You have no idea how long I've been waiting for a video which brings crystal clarity to smallLodLog2 being the logarithmic base 2 of the largest dimension of the lowest resolution mipmap.
@nathanbaggs
@nathanbaggs 2 ай бұрын
I’m just giving the people want they want
@diras2010
@diras2010 2 ай бұрын
it's how big the smallest resolution can be, in logarithm base 2, it just took me like 10 rewinds to understand it
@ladislavseps4801
@ladislavseps4801 2 ай бұрын
Easy. Textures are in power of two sizes, why would anyone sane send the whole integer if its binary contains single 1 padded by 0 on both sides. (Now with just 1 byte you can have texture sizes upto 115 quattuorvigintillion pixels). Then you just send the biggest and smallest of all widths and heigths of the smallest resolution textures. And the texture layout is in different call..
@adamleblanc5896
@adamleblanc5896 2 ай бұрын
@@ladislavseps4801 XD
@edgardsimon983
@edgardsimon983 Ай бұрын
@@nathanbaggs if u said want they what would have been funny sir
@ricardovilla4072
@ricardovilla4072 2 ай бұрын
I know LOD stands for "Level of Detail", but for my brain it stands for "Lord of Destruction"
@simdimdim
@simdimdim 2 ай бұрын
because you're using the wrong ctx?
@markvickroy6725
@markvickroy6725 2 ай бұрын
Lords of Destruction - hacker crew from NYC late 80s Hella
@markvickroy6725
@markvickroy6725 2 ай бұрын
​@@simdimdimbc LoD the og hacker crew
@simdimdim
@simdimdim 2 ай бұрын
@@markvickroy6725 Did you perhaps mean Legion of Doom? In either case tho, I'm not old enough, (nor anywhere close enough), to have learned that little bit of Internet trivia :) (thanks for pointing out the reference)
@joshuaadkins9820
@joshuaadkins9820 Ай бұрын
i thought it stood for load on demand.
@morgan0
@morgan0 2 ай бұрын
"a lot of graphics debugging is trying to figure out why a screen is blank when you would 100% like it to not be" yep, me the past several days. got a working simple example, got my library to a point where i could replicate it, all the calls look the same, nothing works. classic opengl experience
@TheSuperappelflap
@TheSuperappelflap Ай бұрын
skill issue
@MSThalamus-gj9oi
@MSThalamus-gj9oi 2 ай бұрын
Yep, Diablo II definitely changes screen resolution a bunch at startup. This is much easier to see on a CRT, because it takes noticeable time to switch between modes. Yet another reason to keep a CRT handy! :)
@klontjespap
@klontjespap 2 ай бұрын
yeah and switching resolution for cutscenes was pretty much the norm then :D
@Gramini
@Gramini 2 ай бұрын
On my Win 10 system with my monitor, it takes around a minute (not kidding) before I can see the game menu. Luckily, I found some windowing wrapper that intercepts those resolution changes and does not _really_ change the resolution of the entire system. So much better.
@Amakratacjan
@Amakratacjan 2 ай бұрын
As a beginner in reverse engineering etc., you are the only person making me feel like I've not even started, yet I feel like saying thank you, bcs your videos are hidden gems of youtube. Great work, good luck and keep it up !
@ViniciusNegrao_
@ViniciusNegrao_ 2 ай бұрын
I loved the bit of smallLodLog2 lol, gotta love old documentation. But hey, at least it exists...
@nathanbaggs
@nathanbaggs 2 ай бұрын
At least we now know what smallLodLog2 means…
@Resursator
@Resursator 2 ай бұрын
It's the logarithm base 2 of the largest dimension of the lowest resolution mipmap.
@Victorpollack
@Victorpollack 2 ай бұрын
@@Resursator Is it the logarithm base 2 of the largest dimension of the lowest resolution mipmap?
@wobblysauce
@wobblysauce 2 ай бұрын
Just rolls off the tongue.
@defeqel6537
@defeqel6537 2 ай бұрын
the first read-through did sound like gibberish, but reading the sentence backwards makes it make sense
@supermroz
@supermroz 2 ай бұрын
6:51 I've never seen the "emotion" of reading documentation captured so realistically on video, great stuff! 😂
@ILostMyOreos
@ILostMyOreos 2 ай бұрын
Holy moly, this was so cool. It feels so satisfying to see someone work through really low level stuff but in a way you can keep up if you know the basics. Good stuff.
@dave_s_vids
@dave_s_vids 2 ай бұрын
You can tell you were 16 hours deep into reading graphics library documentation at the point you recorded this video XD. Great video, thank you for the humour and fascinating info!
@RRCesconeto
@RRCesconeto 2 ай бұрын
It's called Vulkan, but the errors sound like Klingon...
@WarkWarbly
@WarkWarbly 2 ай бұрын
Makplah to that 😂😂😂
@atomicskull6405
@atomicskull6405 2 ай бұрын
Klingon would be an awesome name for a Vulkan wrappper.
@teknastyk
@teknastyk 2 ай бұрын
not exactly into star trek besides watching few shows as a kid... but this.. was hella funny.
@primeral
@primeral 2 ай бұрын
Today is a good day to API
@joshua7426
@joshua7426 2 ай бұрын
That was a dumb joke
@dave7244
@dave7244 2 ай бұрын
One thing I would say about Glide is that even when it was way past it sale by date, it looked better than OpenGL and DirectX at the time it was just "smoother". No idea why.
@AROAH
@AROAH 2 ай бұрын
Probably because it was created explicitly for Voodoo cards, so it could be perfectly optimized to work on that hardware.
@dave7244
@dave7244 2 ай бұрын
@@AROAH I had a ATi 9800Pro and my friend had an older computer with a Voodoo 3 or 4 (one of the last Voodoo cards) and the same game had smoother animations on his machine compared to mine, even though my system was more highly spec'd.
@SmallSpoonBrigade
@SmallSpoonBrigade 2 ай бұрын
@@AROAH Yep, games back then were typically optimized for one chip or another. 3DFX got kind of lucky because the cost of memory chips took a nosedive after they did their designs and announced their initial cards. I think the only serious contender they had during those first couple years was PowerVR, but then they got entangled with Sega doing the chips for the Dreamcast and never got back to making cards for PCs.
@Vatharian
@Vatharian 2 ай бұрын
@@SmallSpoonBrigade Actually... they did! For a short while, at least. PowerVR was bought by Imagination Technologies, and was part of many ARM designs, but also... Intel's SOCs. For tablets. Remember that cheap tablet craze during Windows 8 era? These were PowerVR GPUs inside Atom SoCs. Thare was even short run of these SGX GPU chips on PCI-Express, but they were mostly development kits, and had exactly 0 public interest. Barely anything worked on it, since original GPU design hanged off of host chip's memory access, while ImT's design used very buggy and inefficient memory controller that could be paired with very, very narrow selection of memory chips, that went out of production at the same time the design hit the tapeout phase.
@64fanatic
@64fanatic 2 ай бұрын
Glide had a tilt-shift graphical effect missing in the other render API in Diablo 2. Using nGlide and restored EAX hardware audio (there's a few methods on modern Windows now) is *chef's kiss.*
@RossWasTaken
@RossWasTaken 2 ай бұрын
Interesting as always, iirc Diablo 2 also uses storm.dll just like in the Starcraft video (someone will find that interesting). I still play D2 every day on Project Diablo 2, it's a mod that's not been ported to the remaster (and isn't going to be), that Glide wrapper is a total game changer. We'd all probably be stuck on 4:3 25fps if not for it. I've gained a new appreciation for it after watching this.
@asdf12337
@asdf12337 2 ай бұрын
The 60 fps change was not programmed by PD2's team though. Still awesome they managed to add it (the original authors were hard to find I heard)! the 25 fps were giving me a headache over the last 2 decades whenever I came back to my all-time favorite game...
@Ubeogesh
@Ubeogesh 2 ай бұрын
I thought it's the ddraw.dll wrapper that made all the changes in PD2, not glide wrapper
@RossWasTaken
@RossWasTaken 2 ай бұрын
@@asdf12337 Yeah sorry I should have been more clear, I meant that the entire PD2 community benefits massively from it, not that it was developed by the PD2 team.
@AJenbo
@AJenbo 2 ай бұрын
Any chance you would be interested in doing this on Diablo 1 in the DevilutionX project? We would really like to add hardware rendering as an option, but no one on the team really has experience with rendering APIs...
@LukeAvedon
@LukeAvedon 2 ай бұрын
This video is making me insecure about my programming skillz.
@nathanbaggs
@nathanbaggs 2 ай бұрын
If you saw the actual code I wrote for this you'd think otherwise...
@Reahreic
@Reahreic 2 ай бұрын
@@nathanbaggs I just want a tutorial video on the tools you used to debug the render pipeline.
@jmvr
@jmvr 2 ай бұрын
​@@nathanbaggs see, you're able to create a viable product with garbage code, whereas someone like me has both garbage code and no viable product lol
@xormak3935
@xormak3935 2 ай бұрын
@@Reahreic The software is called RenderDoc, rendering test graphics into the game and copious amounts of console print statements lol.
@NoThanks-b4u
@NoThanks-b4u 2 ай бұрын
@@nathanbaggs will you release it?
@zerocks88
@zerocks88 2 ай бұрын
desperately looking forward to the follow up for this project!!
@StatueSounds
@StatueSounds 2 ай бұрын
This was fantastic, i would love to see you continue this project and winh you all the best!!!🎉
@oyeahisbest123
@oyeahisbest123 2 ай бұрын
or you could just play gog version who already did this
@beardedchimp
@beardedchimp 2 ай бұрын
@@oyeahisbest123 oh, does playing the gog version open with a video on how they ported the original graphics api? They even used vulkan instead of opengl? Awesome, why did this guy even bother creating this video in the first place then.
@Fewnity
@Fewnity 2 ай бұрын
This was soo cool, sad that you did not finished it!
@nathanbaggs
@nathanbaggs 2 ай бұрын
Yeah might pick it up again in the future, it took so long just to get that far
@Fewnity
@Fewnity 2 ай бұрын
@@nathanbaggs yeah I understand but it's already very cool and interesting!
@SAK_-
@SAK_- 2 ай бұрын
@@nathanbaggs When you would finish it with a "Donate me a coffee" at the end, you are set for life. The Modding comminity on diablo2 is so unbelivable strong and would suck up everything that makes graphics better
@malbeth8700
@malbeth8700 2 ай бұрын
@@nathanbaggs If you don't continue, I hope you'll at least shared what you've done so far so others can finish it!
@ShR33k
@ShR33k 2 ай бұрын
I need to see Diablo 2 using Vulkan !!!! We need a part 2 👍 This is cleaver mind-boggling stuff !
@JimmyZeng
@JimmyZeng 29 күн бұрын
You kinda could do this now by using dgvoodoo2 AND DXVK...
@Mireneye
@Mireneye 2 ай бұрын
Super appreciate the small added bits of humor. It makes it light and fun to follow, but it never overstays it's welcome! I feel that that's new or something you've become more accustomed to, regardless I dig it!
@Shimmen
@Shimmen 2 ай бұрын
Fun video, thank you! Just an FYI, making an arbitrarily large array of texture samplers like you did and then dynamically picking one in the fragment shader is exactly what “bindless textures” is. So good job on making it bindless 😅
@nathanbaggs
@nathanbaggs 2 ай бұрын
There’s a specific bindless extension for Vulkan which gives you more flexibility, I feel like I cheated by just declaring a large array (:
@Shimmen
@Shimmen 2 ай бұрын
@@nathanbaggsthere’s one extension for allowing the large array to be partially bound and another for allowing dynamic indexing into the array in the shader (possibly more, can’t remember atm). However, in practice, enabling layers is more of a formality and while you’ll likely get validation errors the way you’re doing it now you’re still effectively using at least dynamic indexing even though it’s “illegal” :) so I’d say it counts, if a bit unorthodox
@knauz21
@knauz21 2 ай бұрын
1:27 appropriate reaction to implementing anything in vulkan
@quicksilver_x
@quicksilver_x 2 ай бұрын
I love how adequate the pacing and pauses are in your script. It gives me time to absorb what you said.
@AlanW
@AlanW 2 ай бұрын
This was fun! A couple of things that may or may not be interesting When I was at Borland, we pronounced `_stdcall` "standard call" We also called it "name mangling" instead of "decorating" when it added the `_` to the exported function names. This term also applies to C++ symbols that get all the fun extra stuff tacked on as well.
@nathanbaggs
@nathanbaggs 2 ай бұрын
I’ve always pronounced it “stood” same for the c++ standard library. Also yes I would use the phrase name mangling specifically for the process of differentiating overloads in C++ - but ultimately they’re all kind of the same process
@PeterBrockie
@PeterBrockie 2 ай бұрын
It's funny, but D2R is one of the best remasters I've ever used. Especially after the disaster of Warcraft III.
@SmallSpoonBrigade
@SmallSpoonBrigade 2 ай бұрын
For a post WoW Blizzard game, WCIII wasn't so bad.
@phomjachana
@phomjachana 2 ай бұрын
No it was trash compared to the original pre wow
@lizardizzle
@lizardizzle 2 ай бұрын
For sure. The team did and is continuing to do an incredible job. Blizzard had a rare win with their choosing of a third party team. Thank God it wasn't in-house. I do lament some of the art styles of the character models, but post release, the game spoke for itself and we were lucky that it could be ignored.
@MarkusK_
@MarkusK_ 2 ай бұрын
25 years you say? Damn I feel old now 😅 This game had been a LAN party evergreen. I gotta say I really enjoy this series where you tinker with games from that era 👍
@nathanbaggs
@nathanbaggs 2 ай бұрын
I am enjoying tinkering with them (:
@rnts08
@rnts08 2 ай бұрын
Feeling old? Yes my little brother played d2 at LANs after I already started working. 😅
@marcuskobel6562
@marcuskobel6562 2 ай бұрын
Yes, please make more of these videos. It's fascinating to see someone doing this kinds of hacking in old games. It's like magic to me being created and explained how it works.
@napsage
@napsage 2 ай бұрын
Alternate title: Man tortures himself to death for views. I used to be a full stack dev. I have very basic knowledge of game dev. This video basically broke my mind. You are a very skilled and patient man, great work!
@SmallSpoonBrigade
@SmallSpoonBrigade 2 ай бұрын
Especially, given that there's already nGlide that allows you to use Vulkan for glide games.
@williamokano
@williamokano 2 ай бұрын
TBH I was expecting to see the Diablo II running in Vulkan in your video. It's a nice intro video and an awesome way to show the concepts, but I find it misleading.
@warriordx5520
@warriordx5520 2 ай бұрын
Please contact the devs and look at the engineering of D2 Annihilus: Souls of the Rift mod (best looking d2 mod out there by far). It's absolutely amazing how far this mod have come.
@em00k
@em00k Ай бұрын
This is the second video I have watched of yours where I feel you don’t exactly deliver on the title :) I totally get the Herculean size of these projects, one where is seems you are the only person ever in tackle the problem! Great videos.
@anhi399
@anhi399 2 ай бұрын
Incredibly funny, super interesting, clear and fast presentation--a very easy sub! Can't wait for the part 2
@BurnBabylon1990
@BurnBabylon1990 2 ай бұрын
I still play it to this day for 24 years straight. I love Project Diablo 2 it's really cool made to even refresh that good old looting experience. I am hardcore loot addict but only 2 games can give that. Torchlight 2 and Diablo 2 Lord of Destruction. Best games ever.
@cianmoriarty7345
@cianmoriarty7345 2 ай бұрын
6:13 creating different windows with different resolutions for different parts of the game is absolutely what it does. Back in the day you used to hear a definite click from your CRT monitor when it would change resolution as it went into different parts of the game such as the splash screen, the cinematics, the game itself. Probably because back then it was probably_much_ easier to change resolution than to rescale a (for the time) high bandwidth prerendered video.
@danielmorgan2759
@danielmorgan2759 Ай бұрын
I work in COBOL, and it's amazing to see someone - ANYONE - working at this low-level of development as well. Looking forward to seeing part 2!
@PrimeRetroGamer
@PrimeRetroGamer 2 ай бұрын
I ain’t no programmer, but my takeaway from this video is that reading stuff, explains stuff. 😁
@nathanbaggs
@nathanbaggs 2 ай бұрын
Always read the docs
@beardedchimp
@beardedchimp 2 ай бұрын
@@nathanbaggs I saw what "smallLodLog2 is the logarithm base 2 of the largest dimension of the lowest resolution mipmap" did to your mental health and in this case I think it is best advised to never read the docs under any circumstance, unless you openly welcome psychosis.
@armsofundertow98
@armsofundertow98 2 ай бұрын
This was awesome to watch. I really hope theres a part two where you get everything working
@LightTheMars
@LightTheMars 2 ай бұрын
Now do this for Sacred Underworld! There are older patches for it but none of them work great on modern-modern hardware either. Fantastic work with this video.
@thantul
@thantul 2 ай бұрын
great video! very appreciate the work you've put into this and takes me back to my C++ graphics classes
@DUBSkyLinEx3
@DUBSkyLinEx3 2 ай бұрын
The video got me hooked the whole time, really like how you explain things and show the steps how you got there
@malbeth8700
@malbeth8700 2 ай бұрын
Wow! Great work so far! Can't wait to see more progress into this! Don't give up!
@MaylorTaylor
@MaylorTaylor 2 ай бұрын
as a full time web dev but never touched game dev..this was fascinating to watch - keep it up!
@FirstnameLastname-sw1ry
@FirstnameLastname-sw1ry 2 ай бұрын
Woah!!! Look at that character selection screen. That has to be the oldest of the old. How cool is that? I love it!
@hollenwanderer
@hollenwanderer Ай бұрын
Very cool, as a graphics programmer my approach to decoding the textures would have been to do it on the fly in a fragment shader as they are sampled - sampling textures and looking up their values in a LUT is exactly the sort of thing programmable shaders were made for :D
@saidmouhoun1557
@saidmouhoun1557 2 ай бұрын
We need more content like this in youtube. I like the rythm and how you follow your though step by step. Even the thing that you try and than work "kind of" Really great content. You deserve all the success in the world.
@butterparty
@butterparty 2 ай бұрын
It's super satisfying coming along for the ride with you to fix all these problems without the 4 weeks of debugging and hair pulling! A nice change from the day job, thanks! 😁
@theRemyLuna
@theRemyLuna Ай бұрын
I love so much how you are sharing this music with those that might never otherwise even thought to listen. Thank you for taking time to share your love of great music.
@Kirillow
@Kirillow 2 ай бұрын
God damn I like this channel. I have very little idea about what you are doing or what your are talking about but its like an ASMR kind experience. I just enjoy watching people who know their stuff doing things.
@LuizCarlos3D
@LuizCarlos3D 2 ай бұрын
What great content! There's so much more to it than "just" the port. Congratulations for the content showing the, probably, most useful engineering skills: read the docs, debug, logic... First time watching your video and I've already subscribed! Will definitely make my paternity leave better 😂
@brandonfrancey5592
@brandonfrancey5592 2 ай бұрын
I did a Computer science course, mostly creating and editing databases, which in a sense most games are, but never got into graphics or hardware. It's been years since I've programmed anything and I'm completely out of my depth with current software, but watching this I could feel some of it coming back. The enjoyment of even just editing a text file and seeing it appear in the running game. I may have to create something some day soon.
@JoeBurnett
@JoeBurnett 2 ай бұрын
This was great! Thank you for attempting this and sharing your journey!
@Socrates21stCentury
@Socrates21stCentury 2 ай бұрын
Dude, that was amazing ... please finish and show the working game !!!
@maksymiliank5135
@maksymiliank5135 2 ай бұрын
7:00 log2(max(width, height))
@amigo8872
@amigo8872 26 күн бұрын
Hello I'm Brazilian I speak little English, It's people like you who make the world a cool place to live, what a cool idea, your love for the game, keep it up please. with your ideas.
@amigo8872
@amigo8872 26 күн бұрын
espero que voce termine o projeto
@benjaminaburns
@benjaminaburns 2 ай бұрын
Ok this is fantastic content. You got so much accomplished in only 4 weeks. Having access to documentation and modern tools like ghidra makes all the difference.
@sunfos
@sunfos 2 ай бұрын
Insane video presentation. Love the synopsis of the work process.
@greatemeraldoz
@greatemeraldoz 2 ай бұрын
I may be stupid here but wasn't d2 remastered with modern graphics? I mean I bought it and played it. Graphics seemed pretty modern and you can even hit a button and see what it looked like back in the day. Please explain to me the difference.
@ChrisR3tro
@ChrisR3tro 2 ай бұрын
Thanks for this video, so interesting! I love the deep dive into old game code. Keep up the great work :)
@dn275
@dn275 2 ай бұрын
This is super cool stuff and really fun. I love these videos and am diving into graphics programming myself. I want to eventually get to the point where I can get into debugging some old games!
@rompeldipp8488
@rompeldipp8488 2 ай бұрын
You sir, despite not finishing the project yet, deserve a cake. God damn that was satisfying thank you 🎉
@naxxtor
@naxxtor 2 ай бұрын
Having recently spent at least a day trying to render a single triangle with Vulkan, i appreciate this video.
@first-last557
@first-last557 2 ай бұрын
great video! vulkan is terrifying. have you considered looking at cross-referencing functions from two different games on similar engines? (i.e. using Thief 2 to find code in System Shock 2, or something like that) being able to look at the codepaths of almost-identical things is IME a good chunk of RE work
@orestes_io
@orestes_io 2 ай бұрын
This is such an interesting video. Love the debugging skills, the research, the ingenuity. good stuff!
@kidman2505
@kidman2505 Ай бұрын
I'm not a coder but I've had to use plenty of technical documents/guides, and it's always like this. Once you figure what's trying to be said, the reaction that occurs 100% of the time is, "OHHHHH, why didn't they just say ______?" lol Great Video!
@ArneSchoberUS
@ArneSchoberUS 2 ай бұрын
Please continue this is nice! It's a well sized pet project. And the glide API seem not to be too large. The Pow2 stuff is probably cannot handle non-pow2 textures and the engineer who designed that API struggled a bit how to formalize this in C. Maybe you could record all the commands into a data-buffer and then once per frame when you flip you process that "recording" so you have more context, can batch more, process the buffer in multiple passes and synchronization should become also easier.
@ericneuman9130
@ericneuman9130 2 ай бұрын
This is great - can’t wait for part 2! Please keep up the great work! We are all cheering you on 😊
@bublybublybubly
@bublybublybubly 2 ай бұрын
Please more content on Diablo 2! It's what I started with for my deep dive into reverse engineering. My plan was to figure out if I can repair my broken PlugY stashes and bring PlugY to the latest version, but I lacked the required level of obsession to complete such a task XD
@felipecaetano15
@felipecaetano15 2 ай бұрын
Your videos are amazing. The technical content is solid, and you present it in such a fun and engaging way. Really enjoyed it!
@nathanbaggs
@nathanbaggs 2 ай бұрын
Thanks! It’s been a lot of work and practice
@slipperynickels
@slipperynickels 2 ай бұрын
that lego voodoo kit is great, cool to see someone tried to make it happen e: lmao “vulkan … 😳”
@TheOracleFile
@TheOracleFile 2 ай бұрын
Thanks for another very interesting video. I don't blame you stopping at some point where it would end up in a lot of effort without a real benefit. But the best of it is you being honest about the time it took you to get it to run, showing your own mistakes and when you don't understand something in the first run. Though sometimes I wish more details or shared code base to better understand how it works.
@HowToMolly
@HowToMolly 2 ай бұрын
Did you get any inspiration from one of the projects on Github? As they modernize D1 and D2.
@MandatoryHashTags
@MandatoryHashTags 2 ай бұрын
I have been in software since 2014. I work mainly in Web Development, and application development. This was immensely fun to watch; on multiple levels. You explain things very well, I realized some of my problems are in contrast very simple, and also that I would have enjoyed doing C++ development had I taken that road. I learned Basic, and then just skipped ahead to PHP, Javascript for Web Development and eventually Python and Go to do Application development. What little C++ I learned was for a little course I took in 2017 on game engines. Seems like no matter the language or skill level of the developer everyone always runs into those silly off by one errors.
@DraconianEssence
@DraconianEssence 2 ай бұрын
Every time I think about getting into programming, I see videos like this and I just go "you absolutely have to be a bloody insane. Kudos to you man. I enjoyed the video.
@nathanbaggs
@nathanbaggs 2 ай бұрын
This work represents quite a niche area of programming, it’s definitely not something you’d be doing as a beginner. If you want to learn then don’t let this stop you (:
@TyPoProteus
@TyPoProteus 2 ай бұрын
I remember the interviews about Diablo 2 Resurrected where they explained how hard it was to "Over render" the new 3d engine based graphics on top of the legacy game which is running underneath.. but I absolutely love D2R and the fact it runs flawlessly on the steam deck is just amazing, when I started playing D2 when it was released I never in a million years could have imagined playing it on a portable device.
@1NSH4N3
@1NSH4N3 2 ай бұрын
It was a fun watch to see what goes in the back in trying to make a custom render mod. In my opinion, the best option to keep the game pretty much stock is D2DX (glide wrapper), also it has some similar visual extras / mechanics you can add like those present in devilutionx.
@Sorain1
@Sorain1 2 ай бұрын
As someone with basically zero programming knowledge, this is exactly the level of authoritative I want to sound as a DM when the NPC wizard explains what is wrong with their ritual and thus they need the PC's to do a thing.
@James2210
@James2210 2 ай бұрын
This is awesome. Are you planning on making it open source?
@BananaWorld2000
@BananaWorld2000 2 ай бұрын
I have been searching last night for old aprg graphics rework and than this video pop up for me, amazing algorithm u deserve my sub!
@baciucatalin2199
@baciucatalin2199 2 ай бұрын
I don't understand most of what you are saying but I understand enough to find this quite entertaining and fun. Keep it up!
@king_james_official
@king_james_official 2 ай бұрын
this has got to be the most awesome computer related project i've seen in a while!!!! great work man, hope to see more things like this
@kallehobbe81
@kallehobbe81 2 ай бұрын
Would love to see the finished version of running D2 on Vulkan.
@gustavaggeboe7014
@gustavaggeboe7014 Ай бұрын
This is one of my favorite projects of yours. Insanely cool idea, and you are the perfect person to do it. I feel like there's a huge Diablo 2 community that would be very greatful for this, if it gets developed further. Any plans on making it open source for people to continue the project?
@ulior28
@ulior28 2 ай бұрын
Came for the coding stayed for the "VUK" error out of date "kahar" and "wuz" popup, keep it up bro!!!
@justinpedersen9519
@justinpedersen9519 Ай бұрын
Like building a wrapper around static classes when you need to unit test unfriendly test code. This is really neat.
@vsolyomi
@vsolyomi 2 ай бұрын
"I'm slowly descending into madness with this" - is underappreciated!
@MindCaged
@MindCaged 2 ай бұрын
Every time I start to think myself something of a computer expert I see videos like this and am left in awe of how much stuff goes /straight/ over my head. To be fair I doubt there's anybody in the world who can possibly know /everything/ about every aspect of computing, it's just too broad a subject for the human mind to completely hold. I've often wished I could and could learn about all the computer topics I've ever wondered about, or been able to figure out how to fix any niche things I want to mess with but just lack the time and memory space in my wetware to hold that knowledge.
@lemagreengreen
@lemagreengreen 2 ай бұрын
Graphics programming is and always has been a particular witchcraft even by programming standards. It was complex enough back in the Glide and OpenGL days, these days... who knows. Also why there is just a small handful of engines powering most games these days, it has become incredibly specialised. They used to give a crash course in OpenGL back in my day but I think this is near enough impossible for modern APIs like Vulkan.
@AluminumHaste
@AluminumHaste 2 ай бұрын
I hope you continue this, this is really cool!
@AlexandroTrevisan
@AlexandroTrevisan 2 ай бұрын
That was amazing! Waiting for the part 2!
@trulsosmundsen515
@trulsosmundsen515 2 ай бұрын
This noncense with loglod's made me laugh out loud! Thnax for the video, keep it up!
@empireempire3545
@empireempire3545 2 ай бұрын
I love this : O I hope you will eventually manage to complete this project : O
@the_random_generation
@the_random_generation 2 ай бұрын
OG Diablo II graphics are perfect! Get a nice CRT to bring out the vibrant colors and a Creative Soundblaster LIVE! soundcard and punchy Creative speakers for an optimal authentic Diablo II experience. Any old video card will do.
@sebastianramadan7863
@sebastianramadan7863 24 күн бұрын
There exists the concept of largest object, which is a sequence of contiguous bytes. It tends to vary from storage duration to storage duration, though I'm convinced mmap transcends mere ISO-compliant storage durations. Structs may contain implicit padding after the first element, between elements and/or at the end. We're kinda meant to serialise them to some expected format but 🤷‍♂️ that be less time for shopping
@CliftonWood
@CliftonWood 2 ай бұрын
@Nathan - Amazing work! Take a break and let us know if or when you are going to come back to this project!
@ViktorSarge
@ViktorSarge 21 күн бұрын
Very interesting and awesome to see you get so far with it.
The Free Version Of StarCraft Is NOT What It Seems...
12:17
Nathan Baggs
Рет қаралды 84 М.
EA Won’t Sell This Game - So I Hacked It
18:31
Nathan Baggs
Рет қаралды 265 М.
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 23 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
How I Farmed Diablo 2's Most Wanted Item From Scratch
23:03
Zarfen the Loot Goblin
Рет қаралды 510 М.
Epic's Unreal Optimization Disaster | Why Nanite Tanks Performance!
13:07
Threat Interactive
Рет қаралды 253 М.
Why Don't You Make Your OWN Game Engine?
7:23
Skeffles
Рет қаралды 14 М.
Black Hole's Evil Twin - Gravastars Explained
13:33
Kurzgesagt – In a Nutshell
Рет қаралды 231 М.
How One Developer Continues To Defy The Impossible
18:31
Nathan Baggs
Рет қаралды 143 М.
I Made A PS2 So ADVANCED, It’s Basically A PS3 | The PS2 Pro
27:37
Macho Nacho Productions
Рет қаралды 1 МЛН
How Optimizations made Mario 64 SLOWER
20:41
Kaze Emanuar
Рет қаралды 614 М.
Intel Arc Battlemage B580 & B570 GPU Specs, Price, & Release Date
18:00
My game is 262,000 times faster than Minecraft. I'll show you how.
12:20
IGoByLotsOfNames
Рет қаралды 1,2 МЛН
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 23 МЛН