Code: Select all
dd if=/dev/cdroms/cdrom0 of=/path/to/image.isoCode: Select all
mkdir /mnt/d1
mkdir /mnt/d2
mkdir /mnt/d3
mkdir /mnt/dx
mount -o loop /path/to/diablo2install.iso /mnt/d1
mount -o loop /path/to/diablo2cinematics.iso /mnt/d2
mount -o loop /path/to/diablo2play.iso /mnt/d3
mount -o loop /path/to/diablo2exp.iso /mnt/dxCode: Select all
[Drive I]
"Path" = "/mnt/d1"
"Type" = "cdrom"
"Label" = "diablo2install"
"Filesystem" = "win95"
[Drive J]
"Path" = "/mnt/d2"
"Type" = "cdrom"
"Label" = "diablo2cinematics"
"Filesystem" = "win95"
[Drive K]
"Path" = "/mnt/d3"
"Type" = "cdrom"
"Label" = "diablo2play"
"Filesystem" = "win95"
[Drive L]
"Path" = "/mnt/dx"
"Type" = "cdrom"
"Label" = "diablo2exp"
"Filesystem" = "win95"
Code: Select all
wine /mnt/d1/install.exeCode: Select all
cp /mnt/d3/d2music.mpq ~/.wine/fake_windows/Program\ Files/Diablo\ II/Code: Select all
wine /mnt/dx/install.exeCode: Select all
cp /mnt/dx/d2xmusic.mpq ~/.wine/fake_windows/Program\ Files/Diablo\ II/
cp /mnt/dx/d2xvideo.mpq ~/.wine/fake_windows/Program\ Files/Diablo\ II/Code: Select all
wine LODPatch_110.exeCode: Select all
umount /mnt/d1
umount /mnt/d2
umount /mnt/d3
rm -r /mnt/d1
rm -r /mnt/d2
rm -r /mnt/d3
Code: Select all
cp /etc/X11/XF86Config /etc/X11/XF86Config.diablo2exp
cp /etc/X11/XF86Config /etc/X11/XF86Config.worksCode: Select all
Section "Screen"
Identifier "Screen 1"
Device "nvidia"
Monitor "My Monitor"
DefaultDepth 16
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Code: Select all
Section "Screen"
Identifier "Screen 1"
Device "nvidia"
Monitor "My Monitor"
DefaultDepth 16
Subsection "Display"
Depth 8
Modes "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Code: Select all
cd /etc/X11
mv XF86Config XF86Config.nond2
mv XF86Config.diablo2exp XF86Config
exitCode: Select all
startxCode: Select all
wine ~/.wine/fake_windows/Program\ Files/Diablo\ II/Game.exeCode: Select all
cd /etc/X11
mv XF86Config XF86Config.diablo2exp
mv XF86Config.nond2 XF86Config
exitthere is nothing illegal of noCDcracking a game as long as you OWN the original cd.eNTi wrote:as long as you stay legal, i see no way to play diablo 2, without winex3, but maybe there is a copy-protection detection in wine, that i don't know off. that would be great, because that's one of the reasons, winex3 is not free.
If I use wine instead of cvswinex I get the following error :#!/bin/sh
mv -f Game.exe Game1.exe
mv -f Game_crk.exe Game.exe
cvswinex "Game.exe" -debugmsg warn+all &
sleep 1
mv -f Game.exe Game_crk.exe
mv -f Game1.exe Game.exe


Code: Select all
[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
"Desktop" = "800x600"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Use XRandR extension if present
"UseXRandR" = "Y"
; Use the take focus protocol
"UseTakeFocus" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "Y"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "Y"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"
;
; Use the Render extension to render client side fonts (default "Y")
;;"ClientSideWithRender" = "Y"
; Fallback on X core requests to render client side fonts (default "Y")
;;"ClientSideWithCore" = "Y"
; Set both of the previous two to "N" in order to force X11 server side fonts
;
; Anti-alias fonts if using the Render extension (default "Y")
;;"ClientSideAntiAliasWithRender" = "Y"
; Anti-alias fonts if using core requests fallback (default "Y")
;;"ClientSideAntiAliasWithCore" = "Y"
O.K., thanks. I'll give that a try.adamwwolf wrote:MountainMan, try turning the Managed property off with an N.
Is there a way to disable ALSA just for Wine? I'm using the kernel drivers and Wine seems to be the only program that's giving me a problem, so I'd hate to have to reconfigure my whole system just for one application. Still, thanks for identifying the problem as now I at least have a starting point on solving the problem.I know of a workaround to the sound problem: Don't use ALSA. If you use the kernel sound drivers, supposedly it fixes the ultra-chipmunks problem. However, that's kinda cludgey for me. I'll look up a better fix.
That is right!Kamagurka wrote:there is nothing illegal of noCDcracking a game as long as you OWN the original cd.eNTi wrote:as long as you stay legal, i see no way to play diablo 2, without winex3, but maybe there is a copy-protection detection in wine, that i don't know off. that would be great, because that's one of the reasons, winex3 is not free.