Want early access to new videos and some behind the scenes content? Consider becoming a channel member th-cam.com/channels/QvW_89l7f-hCMP1pzGm4xw.htmljoin Other videos you might enjoy: th-cam.com/video/KdUu65GLo50/w-d-xo.html th-cam.com/video/ILY7tYdIS2Y/w-d-xo.html th-cam.com/video/JyWeSVG8hVw/w-d-xo.html
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
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.
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.
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.
@@raelik777 Nah it just means any value 2^x. So 16x16, 32x16, 256x256, 512x512. But not 255x127. One small value and one big value ie 16x16 and 512x512. The LOD level determines the number of steps in between, also 2^x. So 32x32, 64x64 etc. Power of 2 numbers are very common in CPU/GPU processing. For example bit shift (basically x2 or divide by 2) is very cheap for CPUs ie costs little processing time as opposed to float divide/multiply.
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.
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..
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
"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
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! :)
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.
@@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)
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 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.
@@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.
@@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.
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.*
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...
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 !
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!
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.
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...
@@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.
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.
@@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.
@@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
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 😅
@@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
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.
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.
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
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!
@@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.
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.
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 😂
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!
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.
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.
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! 😁
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.
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.
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.
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 (:
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!
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.
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.
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.
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.
Do I know anything that you said? No, not a clue. But the way the format was presented, made it infinitely better. Also Diablo 2 is my favorite game and I just happened to stumble upon this video. Well done.
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?
Really interesting video. Not a good programmer, but conceptualizing things in the particular way you bring them to light, is thought provoking. Thanks for sharing!
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!
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 👍
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.
Very interesting topic. Thanks for sharing! Remind me when i was reverse ingeneering protocols to communicate with old devices that was left unsupported and making them compatible with present protocol. And GL with synching if you ever do, that really doesn't sounds fun with at all :D
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.
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.
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
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.
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.
Want early access to new videos and some behind the scenes content? Consider becoming a channel member th-cam.com/channels/QvW_89l7f-hCMP1pzGm4xw.htmljoin
Other videos you might enjoy:
th-cam.com/video/KdUu65GLo50/w-d-xo.html
th-cam.com/video/ILY7tYdIS2Y/w-d-xo.html
th-cam.com/video/JyWeSVG8hVw/w-d-xo.html
Next project: Vulcan to Glide3 😄
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
Isnt it a thing step 1.4090 step 2.use RTX Remix
3. Profit
Remix old games with Ray tracing change out okd twxtures.
yoou said you hacked d2 to use modern graphics but we don't see d2 using modern graphics. makes me skeptical of claim.
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.
I can’t die peacefully until this has a part 2 with it actually working.
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.
For real, this coupled with some lossless scaling could result in a true gem of an experience.
yes, mission failed is not an acceptable outcome. He should create a new character and start over.
Me too, Diablo II it's one of my favorite games
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.
Dude… Please finish this! This is by far the most interesting programming video I’ve seen.
I love the format.
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
@@457Deniz457Your comment has basically nothing to do with what OP wanted.
Dont care about the game, wanna see the process.
Please!
Its probably more work than just rewriting the entire game....
@@olpizl So one guy should do what an entire team full time and paid did, but for free?!? How egoistic..
Amazing...
So anyway, smallLodLog2 is the logarithm base 2 of the largest dimension of the lowest resolution mipmap... thats crazy
Makes sense now
pfff easy! lol!
Ahhhh now you put it that way. Totally.
@@raelik777Dafuq did I just read?
@@raelik777 Nah it just means any value 2^x. So 16x16, 32x16, 256x256, 512x512. But not 255x127. One small value and one big value ie 16x16 and 512x512. The LOD level determines the number of steps in between, also 2^x. So 32x32, 64x64 etc. Power of 2 numbers are very common in CPU/GPU processing. For example bit shift (basically x2 or divide by 2) is very cheap for CPUs ie costs little processing time as opposed to float divide/multiply.
Thank you. After watching your video, I feel that I am stupid.
small(est) relief, that it took him weeks :D
@@ksk31337 smallLodLog2(est) relief*
I is dumb too 😞
Gladly I knew I am, even before watching this video, so I dont actually feel any worse now.... he he he
All you need to remember is that smallLodLog2 is the logarithmic base 2 of the largest dimension of the smallest mipmap
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.
I’m just giving the people want they want
it's how big the smallest resolution can be, in logarithm base 2, it just took me like 10 rewinds to understand it
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..
@@ladislavseps4801 XD
@@nathanbaggs if u said want they what would have been funny sir
Making your own DLL with a bunch of functions stubs and slowly filling them in... really cool to see.
Thanks! Planning on doing a livestream at some point where we can deep dive into the code a bit more
@@nathanbaggs oh, man, please do, will absolutely watch even a 10 hour stream of you.
This reminds me of how KeeperFX was made originally.
Make sure you all subscribe then (:
@@nathanbaggs You look like SerpentZA's brother.
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
"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
skill issue
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! :)
yeah and switching resolution for cutscenes was pretty much the norm then :D
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.
I know LOD stands for "Level of Detail", but for my brain it stands for "Lord of Destruction"
because you're using the wrong ctx?
Lords of Destruction - hacker crew from NYC late 80s
Hella
@@simdimdimbc LoD the og hacker crew
@@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)
i thought it stood for load on demand.
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.
Probably because it was created explicitly for Voodoo cards, so it could be perfectly optimized to work on that hardware.
@@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.
@@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.
@@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.
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.*
6:51 I've never seen the "emotion" of reading documentation captured so realistically on video, great stuff! 😂
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...
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
!
I loved the bit of smallLodLog2 lol, gotta love old documentation. But hey, at least it exists...
At least we now know what smallLodLog2 means…
It's the logarithm base 2 of the largest dimension of the lowest resolution mipmap.
@@Resursator Is it the logarithm base 2 of the largest dimension of the lowest resolution mipmap?
Just rolls off the tongue.
the first read-through did sound like gibberish, but reading the sentence backwards makes it make sense
It's called Vulkan, but the errors sound like Klingon...
Makplah to that 😂😂😂
Klingon would be an awesome name for a Vulkan wrappper.
not exactly into star trek besides watching few shows as a kid... but this.. was hella funny.
Today is a good day to API
That was a dumb joke
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!
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.
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...
I thought it's the ddraw.dll wrapper that made all the changes in PD2, not glide wrapper
@@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.
I need to see Diablo 2 using Vulkan !!!! We need a part 2 👍 This is cleaver mind-boggling stuff !
You kinda could do this now by using dgvoodoo2 AND DXVK...
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.
This was fantastic, i would love to see you continue this project and winh you all the best!!!🎉
or you could just play gog version who already did this
@@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.
This was soo cool, sad that you did not finished it!
Yeah might pick it up again in the future, it took so long just to get that far
@@nathanbaggs yeah I understand but it's already very cool and interesting!
@@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
@@nathanbaggs If you don't continue, I hope you'll at least shared what you've done so far so others can finish it!
This video is making me insecure about my programming skillz.
If you saw the actual code I wrote for this you'd think otherwise...
@@nathanbaggs I just want a tutorial video on the tools you used to debug the render pipeline.
@@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
@@Reahreic The software is called RenderDoc, rendering test graphics into the game and copious amounts of console print statements lol.
@@nathanbaggs will you release it?
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 😅
There’s a specific bindless extension for Vulkan which gives you more flexibility, I feel like I cheated by just declaring a large array (:
@@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
desperately looking forward to the follow up for this project!!
It's funny, but D2R is one of the best remasters I've ever used. Especially after the disaster of Warcraft III.
For a post WoW Blizzard game, WCIII wasn't so bad.
No it was trash compared to the original pre wow
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.
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.
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
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!
Incredibly funny, super interesting, clear and fast presentation--a very easy sub! Can't wait for the part 2
This was awesome to watch. I really hope theres a part two where you get everything working
I ain’t no programmer, but my takeaway from this video is that reading stuff, explains stuff. 😁
Always read the docs
@@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.
I love how adequate the pacing and pauses are in your script. It gives me time to absorb what you said.
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.
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 😂
1:27 appropriate reaction to implementing anything in vulkan
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!
Especially, given that there's already nGlide that allows you to use Vulkan for glide games.
Your videos are amazing. The technical content is solid, and you present it in such a fun and engaging way. Really enjoyed it!
Thanks! It’s been a lot of work and practice
Wow! Great work so far! Can't wait to see more progress into this! Don't give up!
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.
Your content is pure joy to watch.
You sir, despite not finishing the project yet, deserve a cake. God damn that was satisfying thank you 🎉
I don't understand most of what you are saying but I understand enough to find this quite entertaining and fun. Keep it up!
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.
This is great - can’t wait for part 2! Please keep up the great work! We are all cheering you on 😊
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! 😁
Insane video presentation. Love the synopsis of the work process.
This was great! Thank you for attempting this and sharing your journey!
great video! very appreciate the work you've put into this and takes me back to my C++ graphics classes
This is such an interesting video. Love the debugging skills, the research, the ingenuity. good stuff!
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.
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.
espero que voce termine o projeto
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.
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 (:
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
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!
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!
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.
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.
Woah!!! Look at that character selection screen. That has to be the oldest of the old. How cool is that? I love it!
Dude, that was amazing ... please finish and show the working game !!!
as a full time web dev but never touched game dev..this was fascinating to watch - keep it up!
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.
The video got me hooked the whole time, really like how you explain things and show the steps how you got there
Thanks for this video, so interesting! I love the deep dive into old game code. Keep up the great work :)
I love this : O
I hope you will eventually manage to complete this project : O
Came for the coding stayed for the "VUK" error out of date "kahar" and "wuz" popup, keep it up bro!!!
That was amazing! Waiting for the part 2!
Even though I did not understand anything, it was fun to watch and listen to the explanation. Thanks!
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!
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.
Very interesting and awesome to see you get so far with it.
Having recently spent at least a day trying to render a single triangle with Vulkan, i appreciate this video.
Hey, that's almost my profile pic on your thumbnail! :D
Do I know anything that you said? No, not a clue. But the way the format was presented, made it infinitely better. Also Diablo 2 is my favorite game and I just happened to stumble upon this video. Well done.
This was really interesting. Part 2 would be amazing!
What a madlad! 😂
I don't write code myself but I like to listen to your explanations. Very interesting!
I hope you continue this, this is really cool!
Nice video, lot of memories (3DFX/GLIDE and Diablo). Hope you will continue this serie, I would love to see the final result. Thank you
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?
GOOD LUCK!!!
I can't wait to see the results!!!
Really interesting video. Not a good programmer, but conceptualizing things in the particular way you bring them to light, is thought provoking. Thanks for sharing!
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!
This is exactly the kind of videos youtube loves to show me at 4 am in the morning and i live for it
It’s so funny seeing your brain break on the SmallLogLod2 part because that was also my reaction to every other part of this video
Did you get any inspiration from one of the projects on Github? As they modernize D1 and D2.
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 👍
I am enjoying tinkering with them (:
Feeling old? Yes my little brother played d2 at LANs after I already started working. 😅
I need to see a part 2 to this video. this was so cool.
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.
Very interesting topic. Thanks for sharing! Remind me when i was reverse ingeneering protocols to communicate with old devices that was left unsupported and making them compatible with present protocol. And GL with synching if you ever do, that really doesn't sounds fun with at all :D
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.
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.
"I'm slowly descending into madness with this" - is underappreciated!
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
your stuff is always top-shelf, love it!
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.
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.
Subbed because I thought this was awesome hope you keep it going
I really enjoyed this and learned a lot as well. thanks a lot and keep up the great work
TH-cam algorithm sent me here was not disappointed 👍 good work
This noncense with loglod's made me laugh out loud! Thnax for the video, keep it up!