Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: HowTo: Install Diablo II on Kubuntu 6.10 using WINE 0.9.29

  1. #1
    Join Date
    Nov 2005
    Location
    under the purpley rainbow
    Beans
    Hidden!
    Distro
    Ubuntu 7.04 Feisty Fawn

    Thumbs up HowTo: Install Diablo II on Kubuntu 6.10 using WINE 0.9.29

    THE-CATALYST's HowTo: Install Diablo II on Kubuntu 6.10 using WINE 0.9.29
    made: 2007/01/12 | last updated: 2007/01/14
    written by: THE-CATALYST @ us-west bNet, dynacrylic @ ubuntu forum


    ================================================== =================

    UPDATED VERSION

    There is an updated version to this HowTo for Ubuntu 7.04 with completed parts on multi-keys, multi-windows, maphack and more information on botting on the Ubuntu forums at http://ubuntuforums.org/showthread.php?t=443821.
    ================================================== =================


    This guide/walk through/how to/set of instructions for a Kubuntu 6.10 user trying to install Diablo II using WINE, but I'm sure you could apply them to other Ubuntu flavors, or other linux flavors for that matter. I've also used these steps for installing War Craft III too. With that, here it is...


    Requirements
    • working PC running Kubuntu 6.10 with at least the minimum hardware requirements listed
    • internet access or the Diablo II Classic 1.11b patch and Diablo II Expansion 1.11b patch
    • Diablo II and Diablo II Expansion pack
    • working CD-Keys for Diablo II and Diablo II Expansion pack
    • tasty frozen Italian margarita or rum and coke (providing you're legally allowed to drink) and some good listening music (I recommend Tool, King Crimson or DJ Shadow)



    Downloading and Installing WINE
    I prefer using the Adept Manager to install packages. Download and install WINE by:
    1. Go to K Menu > System > Adept Manager Manage Packages. Enter superuser password to continue.
    2. Go to Adept > Manage Repositories.
    3. Towards the bottom of the window in the New Repository text box, type deb http://wine.budgetdedicated.com/apt edgy main, then click the "Add" button
    4. Click "Apply"
    5. Once the WINE repository is added, in the Search text box, type wine.
    6. Expand "wine" by clicking on the arrow.
    7. Click "Request install".
    8. Expand "libwine" by clicking on the arrow.
    9. Click "Request install".
    10. Towards the top of the window, click "Apply Changes"
    11. Once Adept Manager is done installing WINE close the window.

    Alternate instructions for installing Wine on Ubuntu, Debian, and Debian-based distributions may be of some help too. If you have problems installing WINE beyond this, I recommend posting on a forum, like the Ubuntu forums, or consulting someone on the WINEHQ channel (server: irc.freenode.net, port: 6667 channel: #winehq).


    Installing Diablo II
    1. Put your Diablo II Install CD in your cd/dvd drive
    2. Wait for the KDE Daemon window and then click on "Open in new window". Note what media bay the CD is in.
    3. Go to K Menu > System > Konsole Terminal Program.
    4. In the shell (Konsole Terminal Program), find out what media bay your Diablo II cd is in. Type wine /media/cdrom[your drive number]/install.exe. If you use the tab key it helps locate the path; by tabbing when at "wine /media/" you'll see the different drive numbers; by the "1" and hitting tab, hopefully you'll see a the files on the Diablo II cd. You can also get the drive number from the shortcut on your desktop.
    5. When prompted with the Diablo II splash screen click through it. Click "Install Diablo II".
    6. Click "Full Version"- not single player or multiplayer.
    7. Agree to the License Agreement and click "Agree".
    8. Enter the name.
    9. Enter your working 16 character Diablo II cd-key.
    10. When prompted to choose install directory, leave it at the default (c:\Program Files\Diablo II). Click "OK".
    11. Do not create a desktop shortcut to Diablo II. Click "No".
    12. Install should begin. When prompted "Please insert the CD labeled 'Play Disc'". Swap out the Install disc with the Play disc.
    13. Close the media bay tray.
    14. Wait for the KDE Daemon window and then click on "Open in new window".
    15. Close the new window that just opened up showing the Diablo II Play disk contents.
    16. Click "Ok" in the Insert Disc install window. Your PC should continue to install Diablo II.
    17. When prompted "Please insert the CD labeled 'Cinematics Disc'". Swap out the Play disc with the Cinematics disc.
    18. Close the media bay tray.
    19. Wait for the KDE Daemon window and then click on "Open in new window".
    20. Close the new window that just opened up showing the Diablo II Play disk contents.
    21. Click "Ok" in the install window. Your PC should continue to install Diablo II.
    22. When prompted "Please insert the CD labeled 'Install Disc". Swap out the Cinematic disc with the Install disc.
    23. Close the media bay tray.
    24. Wait for the KDE Daemon window and then click on "Open in new window".
    25. Close the new window that just opened up showing the Diablo II Play disk contents.
    26. Click "Ok" in the install window. Your PC should continue to install Diablo II.
    27. When prompted "Would you like to view the ReadMe now?", click "No".
    28. When prompted with the Register Diablo II Electronically window, click "No". Do not register the game.
    29. Click "Exit Installer". Close out until the Diablo II installation is done. Click "X" on the Diablo II installer window; do not close the WINE window.
    30. Optional: You might get prompted with the "Diablo II Setup- Video Test", click "Cancel". Do not run the video/graphic card test at this time.



    Installing Diablo II patch
    1. Go to BattleNet
    2. Download the Original Windows version 1.11b Upgrade Patch. Save it to your Desktop. Wait until the patch is completely downloaded before proceeding.
    3. In your shell, type wine /home/[your username]/Desktop/D2Patch_111b.exe. The WINE window should open and a progress bar should be moving.
    4. When the patch is finished installing, click "Ok".
    5. Note: If you get the "CD-ROM drive error" window, click "Cancel".



    Installing Diablo II Expansion
    1. Put your Diablo II Expansion CD in your cd/dvd drive
    2. Wait for the KDE Daemon window and then click on "Open in new window". Note what media bay the CD is in.
    3. In the shell, find out what media bay your Diablo II cd is in. Type wine /media/cdrom[your drive number]/install.exe. If you use the tab key it helps locate the path; by tabbing when at "wine /media/" you'll see the different drive numbers; by the "01" and hitting tab, hopefully you'll see a the files on the Diablo II Expansion cd.
    4. When prompted with the Diablo II splash screen, click "Upgrade To Lord Of Destruction (800mb)".
    5. Agree to the License Agreement and click "Agree".
    6. Enter your working 16 character Diablo II Expansion cd-key, then click "Ok".
    7. When prompted to create a desktop shortcut, select either "Yes" or "No"- your choice.
    8. Install should begin. When prompted "Please insert the Diablo II CD labeled 'Play Disc'". Swap out the Expansion cd with the Play cd.
    9. Close the media bay tray.
    10. Wait for the KDE Daemon window and then click on "Open in new window".
    11. Close the new window that just opened up showing the Diablo II Play disk contents.
    12. Click "Ok" in the install window. Your PC should continue to install Diablo II Expansion.
    13. When prompted "Please insert the Diablo II CD labeled 'Expansion Disc'". Swap out the Play cd with the Expansion cd.
    14. Close the media bay tray.
    15. Wait for the KDE Daemon window and then click on "Open in new window".
    16. Close the new window that just opened up showing the Diablo II Play disk contents.
    17. Click "Ok" in the install window. Your PC should continue to install Diablo II.
    18. When prompted "Would you like to view the ReadMe now?", click "No".
    19. When prompted with the Register Diablo II: Lord of Destruction Electronically window, click "No". Do not register the game. Do not register the Game.
    20. Click "Upgrade Installation" in the Diablo II: Lord of Destruction Setup window.
    21. Click "Upgrade from Multi-player to Full".
    22. Click "Exit Installer". The WINE window should close.



    Installing Diablo II Expansion patch
    1. Go to BattleNet
    2. Download the Expansion Windows version 1.11b Upgrade Patch. Save it to your Desktop. Wait until the patch is completely downloaded before proceeding.
    3. In your shell, type wine /home/[your username]/Desktop/LODPatch_111b.exe.
    4. When the patch is finished installing, click "Ok". The WINE window should close; if it does not close, close it.



    Running the Video Test
    1. In your shell, type wine /home/[your username]/.wine/drive_c/Program\ Files/Diablo\ II/D2VidTst.exe.
    2. When prompted with the Diablo II Setup- Video Test, click "Run Test".
    3. In the Video Test Complete window, click "Ok". Leave whatever radial option was set to. The WINE window should close.



    Minor Troubleshooting
    Ok, so let's test this out and possibly jump on BattleNet to pown some noobs (j/k I suck at pvp).
    To start D2, go to K Menu > Lost Programs > Diablo II. Hopefully, everything starts right up and works for you. If not, here are some problems that I had.
    • CD-missing
      I never really figured a work-around for this. I just changed the method I installed Diablo II and such and the problem hasn't occurred since.
    • Poor graphics
      In the shell, type winecfg. In the Graphics tab, check "Emulate a virtual desktop". Depending on you resolution, set it to a standard size.
    • Poor Sound
      In the shell, type winecfg. In the Audio tab, make sure ALSA Driver is the only one checked.
    • Laggy/jumping sound and graphics and jumpy/slow mouse control.
      After many attempts and conversations in the #winehq, I figured out a solution to this. The video setting for the game were too high, thus causing pc to work overtime. Rerun the Diablo II video test and change the settings to a lower setting. Also in the shell, type winecfg; in the Graphics tab, check "Emulate a virtual desktop". Depending on you resolution, set it to a standard size.



    Getting D2Loader to work
    1. Obtain a copy of D2Loader. I don't know where you can get a copy of it.
    2. In your /home/[your username]/.wine/drive_c/Program Files/Diablo II/ directory, rename Diablo II.exe to Diablo II_orig.exe.
    3. Copy D2Loader into /home/[your username]/.wine/drive_c/Program Files/Diablo II/.
    4. Rename D2Loader to Diablo II.exe



    Playing Diablo II without a CD
    Requirements: D2Loader properly installed
    1. Copy d2xmusic.mpq from your Diablo II Expansion CD to /home/[your username]/.wine/drive_c/Program Files/Diablo II/ directory



    Playing Multiple instances of Diablo II
    Still working on this- if it can be done...


    Botting for Diablo II
    I haven't tried any type of botting using WINE yet. I only know of D2JSP and mmBot- both are geared for Windows. Since D2JSP is detectable, and is the Devil, I have no intention or motivation to discuss it further. I have not tried mmBot using WINE yet...


    ================================================== =================

    UPDATED VERSION

    There is an updated version to this HowTo for Ubuntu 7.04 with completed parts on multi-keys, multi-windows, maphack and more information on botting on the Ubuntu forums at http://ubuntuforums.org/showthread.php?t=443821.
    ================================================== =================


    Please post suggestions to the guide and I'll try to incorporate them in.

    Special thanks to all those in irc.freenode.net#winehq, especially vitamin, for all your patience helping me through the troubleshooting. Hopefully this guide will help others the way you all helped me.

    And to all you D2 junkies out there that want to switch over to the Ubuntu family or for those that just want to play Diablo II on a flavor of Ubuntu, here you go. If anyone is ever on bNet shoot me a message; I'm THE-CATALYST @ us-west (sorry I don't play any other realms right now). l8 and gl -Erin.
    I forgot my pen...
    Last edited by dynacrylic; May 16th, 2007 at 11:49 AM. Reason: updated with an Updated Version section
    "This is the Earth. And this is Pinky. You can tell the difference quite easily. One is a lump of inert matter hurtling blindly through the void. The other... is the Earth." -- Brain talking about Pinky

  2. #2
    Join Date
    Nov 2005
    Location
    Taunton, England
    Beans
    931
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HowTo: Install Diablo II on Kubuntu 6.10 using WINE 0.9.29

    for me, it installed fine and patched its self in-game fine when i tried to go to battlenet.

    the only thing you have to beware of is do not call

    wine setup.exe

    when the current directory is within the cd it's self otherwise you wont be able to eject the cd. (busy error)

    but none the less im sure this will be of help to some people
    sudo make me a sandwich

  3. #3
    Join Date
    Feb 2007
    Beans
    10
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HowTo: Install Diablo II on Kubuntu 6.10 using WINE 0.9.29

    How does one install the Lord of Destruction patch 1.11b? The patch for the original game installed fine, but the LODPatch_111b.exe refuses to start. I get:
    wine: could not load L"J:\\Desktop\\LODPatch_111b.exe": Bad EXE format for
    It seems like there should be something after "for" but that's the end of the error message.
    Help plz!

  4. #4
    Join Date
    Oct 2005
    Location
    Israel
    Beans
    144
    Distro
    Ubuntu Development Release

    Re: HowTo: Install Diablo II on Kubuntu 6.10 using WINE 0.9.29

    Try redownloading the file again. It sounds like maybe you got a corrupted copy.

  5. #5

    Re: HowTo: Install Diablo II on Kubuntu 6.10 using WINE 0.9.29

    Nice HowTo, very explained and all, been wanting one like this for weeks (though I just copy it from a windows partition )

    About opening multiple D2s... you can, just get D2Loader and it's just as simple as "wine Diablo\ II.exe" . It'll spawn as many as you want.

    About MapHack, I can say it fully works, you just need d2hackit (for auto-loading modules, as WINE has problems with running MapHack standalone). Install it and copy all the MapHack files inside the "plugin" folder. Run d2hashgen.exe or whatever the file is for generating the MapHack hash using your original CDKey and rename D2maphack.dll to d2maphack.vcb. Run Diablo II, enjoy

  6. #6
    Join Date
    Nov 2005
    Location
    under the purpley rainbow
    Beans
    Hidden!
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HowTo: Install Diablo II on Kubuntu 6.10 using WINE 0.9.29

    Quote Originally Posted by DARKGuy View Post

    About opening multiple D2s... you can, just get D2Loader and it's just as simple as "wine Diablo\ II.exe" . It'll spawn as many as you want.
    But how do you inject the different CD-keys to tell loader which key set to use? That's where I got hung up.

    I know in windows you add "-mpq keyset1.mpq" to the shortcut, but how do I pass the same type of argument using WINE?
    "This is the Earth. And this is Pinky. You can tell the difference quite easily. One is a lump of inert matter hurtling blindly through the void. The other... is the Earth." -- Brain talking about Pinky

  7. #7
    Join Date
    Feb 2007
    Beans
    14

    Re: HowTo: Install Diablo II on Kubuntu 6.10 using WINE 0.9.29

    I'm actually playing it again... I just copy and pasted from the windows (without getting the registry) and it come up in Open GL like that, works like a charm.

  8. #8
    Join Date
    Nov 2006
    Location
    Istanbul
    Beans
    14
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HowTo: Install Diablo II on Kubuntu 6.10 using WINE 0.9.29

    hi everybody. I'm installed diablo II and started but I've major problem for vga, it's running like very old pc!!! anyone solve this problem?

  9. #9
    Join Date
    Nov 2005
    Location
    under the purpley rainbow
    Beans
    Hidden!
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HowTo: Install Diablo II on Kubuntu 6.10 using WINE 0.9.29

    Quote Originally Posted by tyfn View Post
    hi everybody. I'm installed diablo II and started but I've major problem for vga, it's running like very old pc!!! anyone solve this problem?

    What do you mean like "an old PC"?

    Is the video jumping and slow?
    "This is the Earth. And this is Pinky. You can tell the difference quite easily. One is a lump of inert matter hurtling blindly through the void. The other... is the Earth." -- Brain talking about Pinky

  10. #10
    Join Date
    May 2007
    Location
    Lawton, OK
    Beans
    249
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HowTo: Install Diablo II on Kubuntu 6.10 using WINE 0.9.29

    Quote Originally Posted by DARKGuy View Post
    Nice HowTo, very explained and all, been wanting one like this for weeks (though I just copy it from a windows partition )

    About opening multiple D2s... you can, just get D2Loader and it's just as simple as "wine Diablo\ II.exe" . It'll spawn as many as you want.

    About MapHack, I can say it fully works, you just need d2hackit (for auto-loading modules, as WINE has problems with running MapHack standalone). Install it and copy all the MapHack files inside the "plugin" folder. Run d2hashgen.exe or whatever the file is for generating the MapHack hash using your original CDKey and rename D2maphack.dll to d2maphack.vcb. Run Diablo II, enjoy
    I"m new to ubuntu in fact this is my first time using this forum. I'm playing LOD on my ubunut computer but for the life of me I can't get the maphack working. Please help me!!! I"ve been trying for 2 months now with no luck very frustrated. I got the d2 loader going though. Could someone explain to me STEP BY STEP on how to get this maphack working with ubuntu. Its my last job before I can say good bye to windows. You said install the d2hackhit but how? Using wine, or is it standalone program. And where are the plugin files located for the d2hackit program? Remember I'm new so detailed instruction would be perfect. Thanks

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •