Diablo II error

Questions about Wine on Linux
Locked
moonbeast
Newbie
Newbie
Posts: 1
Joined: Sun Sep 17, 2023 11:08 am

Diablo II error

Post by moonbeast »

Hello, context ; I wnated to play at diablo II on my linux, i'm clearly not a pro, so I asked my friend if he can help me. he do me something but, my brother wanted that too and copy/paste on his laptop, but since that day, the code doesn't work. my friend can't help me so i'm here...

here is the code :

[Desktop Entry]
Name=Diablo II - Lord of Destruction
Exec=env WINEPREFIX="/home/user/.wine" wine C:\\\\Program\\ Files\\ \\(x86\\)\\\\Diablo\\ II\\\\Diablo\\ II.exe
Type=Application
StartupNotify=true
Path=/home/user/.wine/dosdevices/c:/Program Files (x86)/Diablo II
Icon=E1F5_Diablo II.0
StartupWMClass=diablo ii.exe
Comment=
Terminal=true

when I launch that, there is 2 error, first :

0055:err:module:import_dll Library Storm.dll (which is needed by L"C:\\Program Files (x86)\\Diablo II\\Game.exe") not found
0055:err:module:import_dll Library Fog.dll (which is needed by L"C:\\Program Files (x86)\\Diablo II\\Game.exe") not found
0055:err:module:import_dll Library D2Win.dll (which is needed by L"C:\\Program Files (x86)\\Diablo II\\Game.exe") not found
0055:err:module:import_dll Library D2sound.dll (which is needed by L"C:\\Program Files (x86)\\Diablo II\\Game.exe") not found
0055:err:module:import_dll Library D2MCPClient.dll (which is needed by L"C:\\Program Files (x86)\\Diablo II\\Game.exe") not found
0055:err:module:import_dll Library D2gfx.dll (which is needed by L"C:\\Program Files (x86)\\Diablo II\\Game.exe") not found
0055:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files (x86)\\Diablo II\\Game.exe" failed, status c0000135

in the terminal

and another error in a pop-up ;

CD-ROM reading error

Diablo 2 failed to launch.
Please make sure the Diablo 2 Expansion CD-ROM is in your CD-ROM drive, then click try again.

can someone help me pls ?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Diablo II error

Post by jkfloris »

The DLL files that are not found are part of the game. If the DLL files appear in the "Diablo II" folder, you can try to start the game with:

Code: Select all

cd "${HOME}/.wine/drive_c/Program Files (x86)/Diablo II"
wine "Diablo II.exe"
If that works, try launching Diablo with:

Code: Select all

cd ~
wine start /unix "/home/user/.wine/drive_c/Program Files (x86)/Diablo II/Diablo II.exe"
If that also works, then you can edit the .desktop file:

Code: Select all

[Desktop Entry]
Name=Diablo II - Lord of Destruction
Exec=wine start /unix "/home/user/.wine/drive_c/Program Files (x86)/Diablo II/Diablo II.exe"
Type=Application
StartupNotify=true
Icon=E1F5_Diablo II.0
StartupWMClass=diablo ii.exe
Terminal=true
Locked