Hello all,

I am curious if there is a viable option to play Diablo 2 on Linux. I have a RetroPie setup for my kid and was wondering if I could show him diablo 2.

  • Peasley@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    3 days ago

    You install battlenet as a third party app through steam/proton (lots of guides online) then you launch it, install D2, and you are done.

    I’ve finished act 5 on the regular difficulty both in D2 and D2R using this setup. I never tried multiplayer in D2 but i can confirm it works in D2R.

    This was on an x86 pc though. I found this post on Reddit that might help:

    "There is a locked thread in this sub from about 7 months ago referencing a YouTube video from ETA Prime. The video discusses how to install Diablo 2 on a pi4. I’m posting this because I had some challenges when following the instructions, which I figured out how to work around. Hopefully this will help someone. Here’s how I was able to get it to work:

    On a Windows PC:

    You will need version 1.13c of Diablo 2 (and expansion if desired). I can’t tell you how to get that installer. You can’t download it from Blizzard because their version comes pre-loaded at a newer version number. Note – You absolutely must find v1.13c. I tried several other versions without success. There’s an installer that I found for 1.13c which doesn’t require a CD which is important.

    You will also need a product key for the base game (and a product key for the expansion if desired). You can purchase these from Blizzard’s website.

    Run the installer for the base game. Don’t start the game after completion.

    Run the installer for the expansion pack. Don’t start the game after completion.

    Go to the folder where you installed it (e.g., C:\Program Files (x86)\Diablo II)

    Copy all files and subfolders to a folder on your pi (e.g., /home/pi/diablo2)

    Download the modified MESA package from the site referenced on the screen at 1:16 in ETA Prime’s video https://www.youtube.com/watch?v=3PhMCxywP7g

    Extract the MESA package and copy the extracted files to your pi in /home/pi/mesa

    Download libd2game_sa_arm.exe.so.xz from the site referenced on the screen at 1:16 in the same youtube video from ETA Prime (https://www.youtube.com/watch?v=3PhMCxywP7g)

    Extract libd2game_sa_arm.exe.so from the .xz file and copy to the pi’s Diablo 2 directory (e.g., /home/pi/diablo2). Google how to do this if you aren’t sure. I can’t remember the exact syntax. I extracted it using a standard command from the Linux command line but there might be a windows tool to do this too.

    Then, on your Pi4:

    Boot to the Raspbian GUI

    Open the terminal and enter these commands (lines starting with $ are commands to be entered):

    $ sudo apt-get update && sudo apt-get upgrade

    $ sudo apt install wine

    $ winecfg

    The configuration tool will open. Set resolution to 800 x 600.

    Open terminal and use these commands

    $ cd /home/pi/mesa/lib/arm-linux/gnueabihf

    This is where I needed to go off-script to get the installation to work. The MESA package libGL.so.1 and libglapi.so.0 files did not work for me; I had to replace them with other versions contained in the MESA package.

    $ cp libGL.so.1 libGL.so.1.bk

    $ rm libGL.so.1

    $ cp libGL.so.1.2.0 libGL.so.1

    $ cp libglapi.so.0 libglapi.so.0.bk

    $ rm libglapi.so.0

    $ cp libglapi.so.0.0.0 libglapi.so.0

    Go to the diablo2 directory (e.g., $ cd /home/pi/diablo2)

    $ nano script.sh

    This will load the nano text editor. Enter the following into the editor (without the bullet number “1.”) This script will be used to start the modified libd2game_sa_arm.exe.so executable with Wine using the MESA drivers.

    LD_LIBRARY_PATH=/home/pi/mesa/lib/arm-linux-gnueabihf LIBGL_DRIVERS_PATH=/home/pi/mesa/lib/arm-linux-gnueabihf/dri/ GBM_DRIVERS_PATH=/home/pi/mesa/lib setarch linux32 -L wine libd2game_sa_arm.exe.so

    CTRL+O to save. CTRL+X to exit the editor.Run the following command to execute the script (note the period! )

    $ . script.sh

    Diablo 2 should load and run. Works great on my pi4B with 4GB RAM."

    Formatting got messed up, sorry

  • TheEntity@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    4 days ago

    If you’re running RetroPie on a Raspberry Pi, it won’t work there. Running it on a regular x86_64 PC shouldn’t be a problem. Just install it through Wine (I can recommend managing it with Bottles) and launch it through Wine or Proton.

  • emb@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 days ago

    Not sure about current options, but I came across a physical copy some time ago. Wine was able to install it and run it without much fuss. Iirc I didn’t even have to put the disc back in to play.

    I didn’t get around to sticking with it though, so there might have been more issues down the line, past the first bit of gameplay.

  • kalpol@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 days ago

    Do you have the original disc? As I recall Wine runs it just fine.

    • amateurcrastinator@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      I don’t have the original dial but I wanted to get the digital version from blizzard. Do I need the physical disk? I don’t even have a DVD player anymore

  • lornosaj@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    3 days ago

    Maybe not your case but theres D2 on the web (ie in your browser). You just load some game data to it, otherwise it is a demo until the first boss or so.

    Link: diabloweb

    Edit: yikes, made a mistake - its D1 not D2.

    • DacoTaco@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      And diablo 1 has devilution ( or whatever the name was ), which is cross platform and works fiiiine

    • chingadera@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 days ago

      You can also use battlenet through lutris, I’ve never done d2, but I’ve played all kinds of versions of wow through it.

  • Dotcom@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 days ago

    Not sure on A pi, but I have been playing Project Diablo 2 through lutris with no issues.

  • Lembot_0003@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    4 days ago

    Diablo, if I remember correctly, always worked as shit through wine. Mostly resolution problems.

      • brognak@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        Same, was playing PD2 for a month through Lutris before PoE league dropped.

        Only issues I had were PD2 launcher related and changing a setting fixed that.

      • lordnikon@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 days ago

        This i played D2 and D2R on debian no issues on Linux. On Amd64 arch. The pie seems a little underpowered to emulate I386

          • Lembot_0003@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            2
            ·
            3 days ago

            I am asking because all problems I remember were resolution-fullscreen-related. Playing 800x600 in window was possible for some time… But it was some time since I checked the situation the last time. It might be better now.

            • TheEntity@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 days ago

              I just tried naively installing Diablo II from scratch inside Bottles and sadly I couldn’t get it to work at all this time, at least not without further tinkering but I couldn’t spare more time at this moment. I presume installing it like this and then adding it to Steam to use Proton could work. I know it worked for Warcraft III a few months ago. And then Proton usually handles fullscreen completely seamlessly.

  • Pfeffy@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    20
    ·
    3 days ago

    What did Google tell you? You googled it right? Before asking strangers on the internet to use their time to do it for you?

    • secret300@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      11
      ·
      3 days ago

      Bro this is literally a forum for people to discuss and ask questions.

      Especially with all the AI shit Google and other search engines are becoming less viable. So stop being toxic.