You are not logged in.

#1 2007-06-05 08:28:11

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

[Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Yeah yeah, that's right: another stupid Wine-Question. wink Still: to all the people that were able to install Diablo under Arch in Wine: how did you do it? It worked / works under other Distributions but not under Arch. Other Applications install just fine but when the Installer of D2 asks me to insert the Play-CD to copy the Data, it just skips copying the files and instead immediatly asks for the Video-CD. Strange, isn't it? It works under Mac OS X and of course Windows and within Wine under Debian / Ubuntu. So why wont it work in Arch?
I assume that it has something to do with the virtual drives and therefore I read all the HowTos and so on about that topic but none of those do anything other than I do. So ... please, lil' help?

And before anyone asks: no, those are legal CDs, bought for 10 Euros from the Bin. tongue

Last edited by mucknert (2007-12-19 18:32:01)


Todays mistakes are tomorrows catastrophes.

Offline

#2 2007-06-05 13:12:53

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

hrm, sure it's not 'just working'? i remember it's install being a bit funny, swapping CD's lots. Tried flipping between a full/partial install? (partial, requiring the cd, doesnt install cinematics etc)

James

Offline

#3 2007-06-05 14:31:08

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Yes, I am pretty sure that it is not 'just working'. I have tried a lot of combinations, even different CD/DVD-Drives to no avail. So it MUST be a Software-thing. Therefore I am asking for your experiences and maybe some working configs.


Todays mistakes are tomorrows catastrophes.

Offline

#4 2007-06-07 20:43:02

qlus
Member
From: Tychy, Poland
Registered: 2006-06-15
Posts: 74

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Did you run winecfg and set your cd mount direcotry (/mnt/cd or something) as a drive Z: type cd-rom?

Offline

#5 2007-06-08 05:47:59

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Of course. Guess I should have made that clearer but I have tried every measure that can be done via winecfg.


Todays mistakes are tomorrows catastrophes.

Offline

#6 2007-06-08 06:46:59

linfan
Member
From: Stockholm, Sweden
Registered: 2004-04-23
Posts: 135

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Try to build wine with makepkg from abs and as for me and loading cd I had to mount it first, then wine found it. But this is for my NWC-program (NoteWorthy Composer) - NWC32.EXE, not Diablo smile

linfan

Offline

#7 2007-06-08 17:47:32

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Been there, done that, sent the postcard, did not work. smile


Todays mistakes are tomorrows catastrophes.

Offline

#8 2007-06-08 21:41:25

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

If you have win install, install diablo on the Win partition copy the files from all the disks to the Diablo 2 install dir, crack Diablo 2, reboot install ntfs-3g, and than: wine Diablo2.exe (without the -opengl option)

Last edited by Dheart (2007-06-09 16:01:54)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#9 2007-06-09 09:44:40

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Guess I could do that for kicks but I am not very experienced when it comes to crackz, appz and gamez. So, if someone would be so kind and point me the way to a working NoCD-Patch?


Todays mistakes are tomorrows catastrophes.

Offline

#10 2007-06-09 12:41:28

Jansson
Member
From: Sweden
Registered: 2006-09-10
Posts: 106

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Offline

#11 2007-07-25 09:45:29

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

*bump*

So I've tried it again, failed again, worked again in other Distros. I am looking at it from a different angle now. Maybe it is something with the way the CDs are mounted. I therefore call on all the people who got it working: did you any tweaking on your fstab/hal/udev/whatever to get it that way?

Besides, cedega does not work either so I guess I can rule out Wine as the Source of the problem. It must be something that is burried deeper in the System.


Todays mistakes are tomorrows catastrophes.

Offline

#12 2007-07-25 17:41:47

mystical bread
Member
From: Germany
Registered: 2006-11-04
Posts: 11
Website

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

I have 3 running d2 lod versions on my arch laptop.
I only successed once in install LOD completely and i just copied the other 2 D2LODs from my windows desktop partition and execute the game.exe with wine.

Maybe this post at the german indiablo forum can help you a bit. Thats usually all i did. Never changed anything in my fstab/hal/udev/whatever configuration.

btw. i installed d2LOD with wine 0.9.21 or 0.9.17 (don't know anymore exactly but i have the old wine package on my laptop for future installs) and i used images of the cds but i need the game cd to play it (doesnt work with the image).

Hope i could help a bit.

Last edited by mystical bread (2007-07-25 17:43:55)

Offline

#13 2007-08-04 07:59:11

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Well, installation still wont finish but now I've just copied over the Installation from Windows and it is working like a Charm, even on Battle.Net. No reboots for me any longer. Woohoo!


Todays mistakes are tomorrows catastrophes.

Offline

#14 2007-08-04 09:08:33

X-Tream
Member
From: NRW // Germany
Registered: 2007-07-06
Posts: 21

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Well i extracted the CDs on my Desktop in sub-directorys and mounted them to wine as CD-Rom drives. It worked like it should ^^
Just editing winecfg/drives. No-CD Cracked it and it runs. even with expansion pack =/
But the resolutions sucks. i got a 16:10 Screen and only 1024x786

Offline

#15 2007-08-04 09:25:20

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Well, I don't need a No-CD crack. Yay for me. But that idea about just copying the CDs to the Desktop intrigues me. Perhaps I will try that some day.

Also, you will be more pissed to hear that LoD only supports 800x600. wink


Todays mistakes are tomorrows catastrophes.

Offline

#16 2007-12-19 18:35:07

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Surprise surprise! After toying around with mount options I was finally able to get the damn installation to work! I've suspected some fucked up problem with cases on my CDs since those are hybrids for both Windows and OS X. So mounting them gave me all filenames in lowercase. The installer however was searching for uppercase filenames. Or wine was, what the hell do I know? tongue

Anyway,

 mount -t iso9660 -o check=relaxed /dev/hdd /mnt/dvdrw

fixed my problem. It makes the FS-driver ignore cases (should actually be a default but who knows) on the mounted CD so the installer finds all the files. SUCCESS!


Todays mistakes are tomorrows catastrophes.

Offline

#17 2008-05-21 11:27:33

kamagurka
Member
From: Munich, Germany
Registered: 2006-02-20
Posts: 150
Website

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

I'm still trying to get this damn thing to work, and honestly, I'm starting to lose faith in wine, since I've never been able to get anything running decently on it; however, I've never tried as hard as with D2.
I installed both the game, the expansion and the patch, and as far as I could tell it worked fine. But when I try to run the game, this is the output:

 wine "C:\Programme\Diablo II\Game.exe"
err:aspi:SCSI_OpenDevice Failed to open device /dev/sg0: Keine Berechtigung
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:cursor:SetSystemCursor (0x111e,00007f8a),stub!
fixme:cursor:SetSystemCursor (0x1126,00007f00),stub!
fixme:cursor:SetSystemCursor (0x1136,00007f03),stub!
fixme:cursor:SetSystemCursor (0x113e,00007f01),stub!
fixme:cursor:SetSystemCursor (0x114e,00007f88),stub!
fixme:cursor:SetSystemCursor (0x115e,00007f86),stub!
fixme:cursor:SetSystemCursor (0x116e,00007f83),stub!
fixme:cursor:SetSystemCursor (0x117e,00007f85),stub!
fixme:cursor:SetSystemCursor (0x118e,00007f82),stub!
fixme:cursor:SetSystemCursor (0x119e,00007f84),stub!
fixme:cursor:SetSystemCursor (0x11ae,00007f04),stub!
fixme:cursor:SetSystemCursor (0x11be,00007f02),stub!
fixme:advapi:SetSecurityInfo stub
wine: Unhandled page fault on read access to 0x00000008 at address 0x7d046fad (thread 002c), starting debugger...

I have no idea what's going on, and my GoogleFu is too weak for this problem. Anyone have any ideas?


I always roll 20s on my disbelieve checks.
You better believe it.

Offline

#18 2009-08-11 12:57:45

3ED_0
Member
From: Poland
Registered: 2008-11-03
Posts: 6
Website

Re: [Solved] Diablo 2 (+ LoD) in Wine -- Tell me how YOU did it!

Diablo 2 works perfect on wine.. lol You propably need patch.. I use 1.12a.

----------------------
Installing form CD: mount -t iso9660 -o check=relaxed /dev/dvd /mnt/dvdrw
Force umount CD: umount -f /mnt/dvdrw
----------------------
Installing from ISO: fuseiso /path/to/iso /mnt/dvdrw
Force umount ISO: fusermount -uz /mnt/dvdrw
----------------------
Smart ISO-trick for wine:

$ readlink .wine/dosdevices/z:
/home/user/FUSE
$ rm FUSE
$ mkdir {1,2,3,4}
$ c=0
$ for i in source1 source2 source3 source4; do let c++; mount -options- "$i" "./$c"; done
$ ln -s ./1 ./FUSE
$ cd FUSE; wine setup.exe; cd ..
$ # Please, change cd to next..
$ rm FUSE
$ ln -s ./2 ./FUSE
$ # [.....]

----------------------
Play without CD: Copy, all mpq files from Play-CD to game folder..
----------------------
Play-CD as ISO: mount -t iso9660 -o loop,check=relaxed /path/to/iso /mnt/dvdrw
----------------------
Script to play (without root privilage)...

#!/bin/zsh

#--- CHANGE IT BEFOR YOU RUN THIS SCRIPT ---#
  GAMEDIR="/patch/to/gamedir"
  DISCRAW="/patch/to/iso or /dev/dvd"
  FUSEDIR="/patch/to/fusedir"
#-------------------------------------------#

print -Pn "\e]2;Diablo 2: Starting game..\a"
cat > /tmp/cursor_blank.xpm << EOF
#define empty_width 1
#define empty_height 1
#define empty_x_hot 0
#define empty_y_hot 0
static unsigned char empty_bits[] = {
   0x00};
EOF

printf "==> Mounting ISO..\n"
  [[ "$DISCRAW" =~ "/dev" ]] && umount "$DISCRAW"
  fuseiso "$DISCRAW" "$FUSEDIR"

printf "==> Starting Diablo 2..\n"
  xsetroot -cursor /tmp/cursor_blank.xpm /tmp/cursor_blank.xpm
  xdotool mousemove 0 0
  cd "$GAMEDIR"
  wine "Game.exe" -direct -txt
  xsetroot -cursor_name left_ptr

printf "==> Umounting ISO..\n"
  fusermount -u "$FUSEDIR"

Sorted and kind in one place..

Last edited by 3ED_0 (2010-05-16 17:32:51)

Offline

Board footer

Powered by FluxBB