Linux Gaming: Diablo II (LOD)
Just thought I would make some guides that show how to install Windows games under Linux and get them working, Todays guide, Diablo II with the Lord of Destruction expansion. These guides all assume you know how to install and setup Wine.
Step I: Download and install the latest version of Wine (0.9.12 used for the purpose of this guide).
Step II: Run 'winecfg' and make sure that Wine is set to 'Win 98' and that you have set up your CD-Rom drive to point to the place where you mount your CD-Rom drive and that you have selected the correct sound driver (ALSA normally, OSS if ALSA has the Wave entries missing which seems to be a current bug).
Step III: Insert the Install CD for Diablo II and mount your CD-Rom drive. CD to the mount point of your CD-Rom drive (normally /mnt/cdrom) and run 'wine SETUP.EXE &'. This will then put you at the point as if you had just inserted the disc and it auto played in Windows.
Step IV: Tell the game to do a 'Full' install and then enter your details as prompted.
Step V: When the game asks you to insert the next CD you need to 'cd' out of the mount point of your CD-ROM drive, then run 'umount /the/drives/mountpoint' obviously replace the location here with either the location you mounted the disc to, or the drive itself (inside /dev, i.e. umount /dev/cdrom). Eject the disc (you can type eject if you want, or use the drive's eject button).
Step VI: Put the disc in that the game is asking for and close the drive. Then mount the drive like you did initially again (mount /dev/cdrom, etc). Then click ok on the Diablo II install where it is asking for the disc.
Step VII: Repeat the above steps for each disc that is requested.
Step VIII: Once Diablo II has installed unmount the drive again (umount /dev/cdrom, etc, remember you need to 'cd' out of the directory first else it will say that it is in use) insert the Diablo II LOD disc and then mount that like before (mount /dev/cdrom or mount /mnt/cdrom, etc, whichever applies to you).
Step IX: 'cd' back into the drives mount point (i.e. cd /mnt/cdrom) and run 'wine SETUP.EXE &' again (the trend is basically running the setup file, but putting 'wine' before it and '&' after it).
Step X: Install the expansion via the obvious method, following the earlier steps here for the CD swapping procedure. Once the install has completed, click on 'Upgrade' to upgrade the expansion from Multiplayer to Full.
Step XI: Now download the latest patch from the Battle.NET website (1.11b as of this guide), save it to your home folder and then run it from wine. i.e. 'wine ~/lod111bupdate.exe' and it should happily update the game for you.
Step XII: Now the problem is that the game refuses to load normally claiming that the CD isn't in the drive so this is where is gets interesting, unless you don't wish to play on line, in that case you can use any no-cd patch for the corresponding game version.
Step XIII: Download a no-cd patch for your version of the game, I recommend anything from Fairlight, Deviance, etc as they tend to be the most reliable. It is best to get a version that isn't a patch itself, but is the actual 'game.exe' executable. Rename the cracked version of game.exe to game.exe.crk and move it into the Diablo 2 directory (your Windows C drive is effectively in ~/.wine/drive_c so look in there for your Game folder, wherever you told it to install). Now rename the file to original game.exe to game.exe.orig.
Step XIII Alternate: If the No-CD you use is a program that patches the game.exe executable then you need to copy game.exe to game.exe.orig first, then run the crack/patcher and then rename the successfully cracked game.exe to game.exe.crk.
Step XIV: Now download this file and put it in your Diablo 2 folder. Open the file and follow the instructions (you have already correctly renamed the files, so now you should only need to remove the one line from it and alter the directories).
Step XV: Copy the file 'd2xmusic.mpq' from the Expansion CD to your Diablo II folder.
Step XVI: Run that script to play the game without the CD AND be able to play on Battle.Net ON LINUX!
Congratulations, now enjoy.
Step I: Download and install the latest version of Wine (0.9.12 used for the purpose of this guide).
Step II: Run 'winecfg' and make sure that Wine is set to 'Win 98' and that you have set up your CD-Rom drive to point to the place where you mount your CD-Rom drive and that you have selected the correct sound driver (ALSA normally, OSS if ALSA has the Wave entries missing which seems to be a current bug).
Step III: Insert the Install CD for Diablo II and mount your CD-Rom drive. CD to the mount point of your CD-Rom drive (normally /mnt/cdrom) and run 'wine SETUP.EXE &'. This will then put you at the point as if you had just inserted the disc and it auto played in Windows.
Step IV: Tell the game to do a 'Full' install and then enter your details as prompted.
Step V: When the game asks you to insert the next CD you need to 'cd' out of the mount point of your CD-ROM drive, then run 'umount /the/drives/mountpoint' obviously replace the location here with either the location you mounted the disc to, or the drive itself (inside /dev, i.e. umount /dev/cdrom). Eject the disc (you can type eject if you want, or use the drive's eject button).
Step VI: Put the disc in that the game is asking for and close the drive. Then mount the drive like you did initially again (mount /dev/cdrom, etc). Then click ok on the Diablo II install where it is asking for the disc.
Step VII: Repeat the above steps for each disc that is requested.
Step VIII: Once Diablo II has installed unmount the drive again (umount /dev/cdrom, etc, remember you need to 'cd' out of the directory first else it will say that it is in use) insert the Diablo II LOD disc and then mount that like before (mount /dev/cdrom or mount /mnt/cdrom, etc, whichever applies to you).
Step IX: 'cd' back into the drives mount point (i.e. cd /mnt/cdrom) and run 'wine SETUP.EXE &' again (the trend is basically running the setup file, but putting 'wine' before it and '&' after it).
Step X: Install the expansion via the obvious method, following the earlier steps here for the CD swapping procedure. Once the install has completed, click on 'Upgrade' to upgrade the expansion from Multiplayer to Full.
Step XI: Now download the latest patch from the Battle.NET website (1.11b as of this guide), save it to your home folder and then run it from wine. i.e. 'wine ~/lod111bupdate.exe' and it should happily update the game for you.
Step XII: Now the problem is that the game refuses to load normally claiming that the CD isn't in the drive so this is where is gets interesting, unless you don't wish to play on line, in that case you can use any no-cd patch for the corresponding game version.
Step XIII: Download a no-cd patch for your version of the game, I recommend anything from Fairlight, Deviance, etc as they tend to be the most reliable. It is best to get a version that isn't a patch itself, but is the actual 'game.exe' executable. Rename the cracked version of game.exe to game.exe.crk and move it into the Diablo 2 directory (your Windows C drive is effectively in ~/.wine/drive_c so look in there for your Game folder, wherever you told it to install). Now rename the file to original game.exe to game.exe.orig.
Step XIII Alternate: If the No-CD you use is a program that patches the game.exe executable then you need to copy game.exe to game.exe.orig first, then run the crack/patcher and then rename the successfully cracked game.exe to game.exe.crk.
Step XIV: Now download this file and put it in your Diablo 2 folder. Open the file and follow the instructions (you have already correctly renamed the files, so now you should only need to remove the one line from it and alter the directories).
Step XV: Copy the file 'd2xmusic.mpq' from the Expansion CD to your Diablo II folder.
Step XVI: Run that script to play the game without the CD AND be able to play on Battle.Net ON LINUX!
Congratulations, now enjoy.
0
Comments
That's called a no-cd crack, and unless the manufacturer supports it, it's illegal under the DMCA. We can't help you with that here.
awww man
Google is your friend, though I will mention that you can buy a copy for $10 now, I've seen them cheaper even. So at least it's not a whole lot like it used to be.