[Linux] Manual Installation

If you are experiencing issues getting Diablo I or Diablo II to run, you can post here.
Post Reply
hedgesparrow
Fallen
Posts: 8
Joined: Thu Jan 06, 2022 5:14 pm

[Linux] Manual Installation

Post by hedgesparrow »

Hi,

First of all thanks for Catcus et al as it's vastly improving my 1.00 experience!

As I'm on Linux I had to do a manual install of the Renderer and Singling, can I just check I did everything right?
  • Copied the contents of "1. Files/Platforms/1.00" to the D2 dir
  • Copied the contents of "2. Singling/1. Files/1.00" to the D2 dir, overwriting existing files
  • Copied the "1. Files/Shaders" folder and ddraw.* to the D2 dir
  • Followed the instructions for setting the renderer in the registry. This was probably unecessary as I'd already run D2VidTst.exe but was having a problem with the "-w" switch crashing the renderer (my bad).
  • Followed the instructions for making ddraw.dll overwrite the normal dll. Again was possibly uncessary.
Everything seems to work as advertised, apart from running multiple instances. When I try and run "Diablo II.exe" again nothing happens, no error or anything. Not sure if it's a wine thing but I got it working by using a second WINEPREFIX. It works but obviously takes double the space. Good thing I don't have to play 8 chars at once :D!
fearedbliss
Site Admin
Posts: 58
Joined: Sun Dec 19, 2021 11:23 am

Re: [Linux] Manual Installation

Post by fearedbliss »

Glad to hear. Most of the instructions seem correct. You need to run "Game.exe", not "Diablo II.exe", then multi-instance will work ;D.

The instructions for getting the renderer running on Linux are located here. On my Linux system just a single prefix is fine. I actually keep the Diablo II folder outside of the prefix. The prefix is just to hold my registry settings in an isolated way from any other windows apps you're running on that machine. This also makes it easier for me to just open the d2 prefix settings file and modify the SavePath file if you want to do multiple versions. So basically on Linux I still have a Platforms and Saves folder just like Cactus, the only difference is that I have to manually copy the "Common Platform" files for the version I want to the root of my d2 folder, etc. At the end of the day the version switcher is just a glorified way to do all of these tasks automatically haha.

If you wanted to do multiple versions, I usually have:

/home/jon/Prefix/diablo_2 <--- wine prefix folder (we are using this for all the versions)

/home/jon/Games/Diablo II <--- root directory
/home/jon/Games/Diablo II/*.mpq <--- keep all of the MPQs here since they will be shared across platforms.
/home/jon/Games/Diablo II/D2.LNG <--- This stays here as well.

/home/jon/Games/Diablo II/Platforms <--- Platforms directory
/home/jon/Games/Diablo II/Platforms/[ddraw.ini, ddraw.dll, Shaders] <--- Just misc files that I'll also be copying when I switch platforms.
/home/jon/Games/Diablo II/Platforms/[1.00, 1.05b, 1.07, 1.08, 1.09b, 1.10] <-- Each folder has the Vanilla files (+ Singling if you are using it).

/home/jon/Games/Diablo II/Saves <- Saves directory
/home/jon/Games/Diablo II/Saves/[1.00, 1.05b, 1.07, 1.08, 1.09b, 1.10] <- Create a folder for each version you want to play.

So with this setup, if you wanna switch versions, all you gotta do is delete all of the files from the root directory but dont delete the Platforms folder, the MPQs, or the D2.LNG. If you don't care about copying the MPQs over, you could have a copy of those in the Platforms folder as well, and also the D2.LNG, so that way you really could just wipe everything (excluding Platforms) and then just copy all the platform files for the version you want, and copy all of the other misc files in the Platforms folder into the d2 root.

If you want to modify the ddraw settings, you just need to edit your master copy in the Platforms folder, and then replace the one in the d2 root.

Finally, you just need to open the registry and edit the SavePath so that it points to the saves dir for the version you want to play (character isolation).

At the end, the install should look like this (excluding the Cactus stuff).
Spoiler
Capture.PNG
hedgesparrow
Fallen
Posts: 8
Joined: Thu Jan 06, 2022 5:14 pm

Re: [Linux] Manual Installation

Post by hedgesparrow »

Thanks, I got multi-instance working and I'll rearrange my folders for switching versions :).
fearedbliss
Site Admin
Posts: 58
Joined: Sun Dec 19, 2021 11:23 am

Re: [Linux] Manual Installation

Post by fearedbliss »

Nice :). Have fun!
Post Reply