The Diablo Source Code Is Pure Hell (and I am here for it)

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ม.ค. 2025

ความคิดเห็น • 19

  • @misharatkevich9808
    @misharatkevich9808 วันที่ผ่านมา +12

    The big thing is that the original code was reverse engineered and EXCEPT for the intentional bugfixes and QoL improvements everything else is meant to be kept 100% compatible. Reverse-engineered code very rarely looks as nice as it was originally written, and the "100% compatibility aside from minor deviations" aspect means they'll be more reluctant to refactor anything that's NOT part of said deviations.
    Considering the type of herculean effort this was, I don't really expect it to look nice lol. (And "what's data vs what's not data" might legit be some janky Blizzard logic we don't know about.)

  • @anon_y_mousse
    @anon_y_mousse 17 ชั่วโมงที่ผ่านมา +6

    I'm not sure I get why you're talking the way you are, as though this is the original source code. Just because they had debug info to work off of doesn't mean it's 100% 1:1 the same as original. It's still just a decompilation project. I'd have to find the copy they were working from, but I doubt that the original code was actually written in C++ or at least not entirely in it even if any was. I'd bet good money, given the time period, that it was likely written mostly in C with some bits in assembly and if any C++ was used, it was likely just for the interface.
    The thing I really wonder, is did Blizzard save the original source code or is it lost to time leaving us with decompilation as the only option.

  • @RichardBejtlich
    @RichardBejtlich วันที่ผ่านมา +4

    Great video as always. Are you using the original Sourcetrail or a fork?

  • @pioj
    @pioj 22 ชั่วโมงที่ผ่านมา +3

    Most production code in commercials videogames are garbage (mine included!) , but it's often because of time constraints. You can't afford to gamble with the failure of the whole project and go refactoring every 3 months. Of course, there are a few rare exceptions where programmers excel at their best, like Mr. John Carmack.

  • @Al1987ac
    @Al1987ac วันที่ผ่านมา +4

    3:19 What is this tool?

    • @phonomorgue.1372
      @phonomorgue.1372 วันที่ผ่านมา +2

      Sourcetrail

    • @Al1987ac
      @Al1987ac วันที่ผ่านมา

      @@phonomorgue.1372 Thanks!
      Saw this, but thought it was the name of the project.

    • @user-93fekod1o
      @user-93fekod1o 21 ชั่วโมงที่ผ่านมา +2

      it's literally in the titlebar

    • @Al1987ac
      @Al1987ac 21 ชั่วโมงที่ผ่านมา

      @@phonomorgue.1372 Thanks!

    • @Al1987ac
      @Al1987ac 21 ชั่วโมงที่ผ่านมา +1

      @@user-93fekod1o I know! I thought it's the name of the project.

  • @skilz8098
    @skilz8098 7 ชั่วโมงที่ผ่านมา

    I still have my copies of the original Diablo 1 for both Windows PC and for PS1.

  • @cho4d
    @cho4d วันที่ผ่านมา +8

    as a software dev you should probably avoid making disparaging remarks about autism. you're basically alienating at minimum 50% of your co-workers/youtube audience.

  • @alexstone691
    @alexstone691 10 ชั่วโมงที่ผ่านมา

    Love the love for low GDP bros

  • @mil_klover375
    @mil_klover375 7 ชั่วโมงที่ผ่านมา

    bro are you hungarian?

  • @fornonplayers3668
    @fornonplayers3668 วันที่ผ่านมา

    it does not run? will be nice to run it and debug it

  • @Dom-zy1qy
    @Dom-zy1qy 22 ชั่วโมงที่ผ่านมา +1

    I am an avid Diablo Autism Pro player dude... wth

  • @MichaelPohoreski
    @MichaelPohoreski 5 ชั่วโมงที่ผ่านมา

    *Thumbnail and title is partial clickbait.*
    1. Diablo was written in C not C++.
    2. The source you are looking at is NOT the original Diablo Source Code but is the *reverse engineered* code. The title is mis-leading.
    3. Where is the link to Sourcetrail in the description?
    4. Sourcetrail is sadly abandoned.