blodfjert |
Lundi 14 Décembre 2009 à 15:14
|
blodfjert
|
Hello!
I'm a norwegian IT-consultant. I used Linux several years ago (slackware, mandrake and ubuntu), but I'm not what you would call an advanced user. I have just recently installed ubuntu 9.10, and am now trying to make an "ultimate guide" in installing and using Ubuntu 9.10 in my native language. At least this guide will help me understand what I'm doing, and might help me migrate to Linux permanently. The one aspect that have held me back from a total migration is gaming, but I hope and think that PlayOnLinux will get me through this.
My case is this:
I have successfully installed Ubuntu 9.10, running Gnome, PlayOnLinux 3.7.2, wine 1.1.34, and have also installed and successfully "emulated" Office 2007 std, Age of Empires 2 and StarCraft: Brood War on it. Now I've purchased Diablo 2+LOD expansion, an all-time-favourite game of mine, but I cannot get the setup to start.
I was absolutely convinced that Diablo 2 would be a breeze to install, especially since you guys made the scripts for it, and numerous reports saying that Diablo 2 runs very well on Linux. Well, it's not running in my case.
First i tried installing via the scripts in PlayOnLinux, but no files were ever copied to my fake windows-drive.
Secondly I tried running the setup.exe-file with the command "wine /media/cdrom0/installer.exe". This only returns the following:
-------------------------code start---------------------------------------
bruker@Lomk0459:/$ wine /media/cdrom0/installer.exe
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:win:RegisterDeviceNotificationA (hwnd=0x145470, filter=0x84e9d4,flags=0x00000001),
returns a fake device notification handle!
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:advapi:RegisterEventSourceW ((null),L"Bonjour Service"): stub
fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000013
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
fixme:iphlpapi:GetAdaptersAddresses no support for IPv6 addresses
fixme:iphlpapi:GetAdaptersAddresses no support for IPv6 addresses
fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000013
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub
fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000013
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub
fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000013
fixme:iphlpapi:DeleteIpForwardEntry (pRoute 0x87e9c8): stub
fixme:iphlpapi:CreateIpForwardEntry (pRoute 0x87e958): stub
fixme:service:EnumServicesStatusW 0x145488 type=30 state=3 (nil) 0 0x87e7e8 0x87e7f4 0x87e7f0
fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x20000001,(nil),0x0001,0x00000000,0x87e5f8,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x20000001,(nil),0x0001,0x00000000,0x1452b8,(nil)): stub
wine: Fant ikke modulen
-------------------------code stop---------------------------------------
Could you please point at what I'm doing wrong here?
I'm also very curious at how you make the installerscripts (i.e. make a game "compatible" with POL), and would like to participate in making the compatible games list even longer. Any links with guidelines in making a script would be useful.
Thanx for your work! It's really making Linux a great alternative, possibly a first choice.
|
Dr Phil |
Lundi 14 Décembre 2009 à 16:59
|
Dr Phil
|
I have no idea about why the script is failing, NSLW should know since he made the script. (He is writing often on this forum, don't you worry!:))
The installerscripts is made with bash, using some functions provided by POL. There is a tutorial and a reference, but they are not 100% perfect. The best way to learn would be to check how other scripts are written, especially new scripts since a lot of functions has been deprecated.
I do really think that we need a longer tutorial and maybe a Wiki too, but I have not had the time (or the knowledge) to do either. Hopefully a more experienced member will make a more complete tutorial soon. =)
|
blodfjert |
Lundi 14 Décembre 2009 à 22:14
|
blodfjert
|
Thank you for your answer:)
Any pointers towards what might be the problem are greatly appreciated. I don't know whether it is of any relevance, but my copy of Diablo II is the "BestSeller series", which is a re-release. It's still a 3 cd version, labeled 1, 2 and 3 (not "play", "install" and "cinematics" so i really don't know which is which).
|
NSLW |
Lundi 14 Décembre 2009 à 23:45
|
NSLW
|
I don't know whether it is of any relevance, but my copy of Diablo II is the "BestSeller series", which is a re-release. It's still a 3 cd version, labeled 1, 2 and 3 (not "play", "install" and "cinematics" so i really don't know which is which).
It's very relevant information. Script for installing Diablo II was tested on Polish box version of the game and your version may look different so the script doesn't work for you.
You'll need to provide some informations about your CD's:
1) CD Labels (we've got it already)
2) content of CD's
Please type in terminal
cd PATHTOMYCDROM
ls
and post result for each cd letting me know which CD was that.
|
blodfjert |
Mardi 15 Décembre 2009 à 8:40
|
blodfjert
|
Content of cd #1:
totalt 467377
dr-xr-xr-x 1 root root 2048 2008-06-24 23:36 .
drwxr-xr-x 4 root root 4096 2009-12-15 08:02 ..
-rw-r--r-- 1 502 dialout 48 2008-06-24 23:36 autorun.inf
dr-xr-xr-x 1 root root 2048 2008-06-24 23:36 directx
-rw-r--r-- 1 502 dialout 55134 2008-06-24 23:36 disc.ico
-rwx------ 1 502 dialout 1256728 2008-06-24 23:36 installer.exe
-rwx------ 1 502 dialout 477272708 2008-06-24 23:36 installer tome.mpq
Content of cd #2:
totalt 604767
dr-xr-xr-x 1 root root 2048 2008-06-25 00:02 .
drwxr-xr-x 4 root root 4096 2009-12-15 08:28 ..
-rw-r--r-- 1 502 dialout 48 2008-06-25 00:02 autorun.inf
-rw-r--r-- 1 502 dialout 55134 2008-06-25 00:02 disc.ico
-rwx------ 1 502 dialout 1256728 2008-06-25 00:02 installer.exe
-rwx------ 1 502 dialout 617962454 2008-06-25 00:02 installer tome 2.mpq
Content of cd #3:
totalt 474731
dr-xr-xr-x 1 root root 2048 2008-06-25 00:18 .
drwxr-xr-x 4 root root 4096 2009-12-15 08:28 ..
-rw-r--r-- 1 502 dialout 48 2008-06-25 00:18 autorun.inf
-rw-r--r-- 1 502 dialout 55134 2008-06-25 00:18 disc.ico
-rwx------ 1 502 dialout 1256728 2008-06-25 00:18 installer.exe
-rwx------ 1 502 dialout 484804951 2008-06-25 00:18 installer tome 3.mpq
On the back of the cover, the system-requirements says:
"Windows XP or Windows Vista".
Optional requirements are "Glide" or "Direct 3D" for 3D acceleration.
Thank you for your time:)
|
NSLW |
Mardi 15 Décembre 2009 à 12:57
|
NSLW
|
Oki... Script modified. Force ejecting CD's if there is a problem during switching from CD to CD.
If there is a problem for expansion then also post content of expansion cd.
BTW. Could you post disc.ico from your CD? Edité par NSLW
|
blodfjert |
Mardi 15 Décembre 2009 à 14:55
|
blodfjert
|
I noticed that the scipt now specifies that the Cinematics-disc is number 3 and so on.
The current result from installation:
1. Following the instructions on-screen, everything seems fine. But actually nothing from my DiabloII-cd's are copied onto my computer.
2. Every single time i try to install DiabloII, (and some other games), I'm prompted to install Gecko. What is Gecko, and is it possible to download the Gecko-installation and place it locally instead, as the download and installation is painfully slow on that particular package.
3. After the script says that Diablo2 is installed, it asks me whether I want to install the patch. I answer yes, choose automatic download and the patch is apparently installed.
4. When trying to launch Diablo 2 from the POL-window, nothing happens.
5. Trying to launch Diablo 2 from the Terminal with the command "wine DiabloII", the outout is as follows:
-----------------------------code start-------------------------------
blodfjert@blodfjert-desktop:~$ wine diabloII
wine: could not load L"C:\\\\windows\\\\system32\\\\diabloII.exe": Fant ikke modulen
blodfjert@blodfjert-desktop:~$ err:menubuilder:WinMain unknown option -a
err:menubuilder:WinMain unknown option -r
-----------------------------code end-------------------------------
Any pointers appreciated, and I will continue trying to install this sweet game.
As soon as I make a successful installation I will give the expansion a go as well.
Any updates on the progress will be posted here.
The disc.ico from the Diablo II - BestSeller Series can be found here:
www.gautehusom.com/icon/disc.ico
Thank you for your quick support:) Edité par blodfjert
|
blodfjert |
Mardi 15 Décembre 2009 à 16:20
|
blodfjert
|
Would it be possible to review your script, NSLW, and if so; where can I find it?
I have a strong suspicion that me running a norwegian installation of Ubuntu might be a factor here... For instance, "C:\\program files" on US/Eng systems is "C:\\programfiler" on my Nor system.
|
Dr Phil |
Mardi 15 Décembre 2009 à 17:45
|
Dr Phil
|
|
blodfjert |
Mardi 15 Décembre 2009 à 18:15
|
blodfjert
|
I have looked through the DiabloII script, and would like one of you gurus to explain the following:
-------------------------------code start---------------------
The following code is searching for the file "install.exe". Shouldn't it be searching for "installer.exe" instead, as that is the name of the exe's on the Diablo 2 cd's?:
CHECK=$(find . -iwholename ./install.exe)
And then, when finding the installer.exe, these lines of code will launch the installer, either named installer.exe or install.exe
if [ "$CHECK" == "" ]; then
wine "installer.exe"
else
wine "install.exe"
fi
POL_SetupWindow_detect_exit
-----------------------------code end---------------------------
Since the file on my Diablo2-cd's are named "installer.exe", I'm wondering if this is the reason that the installation never seems to start.
I'm currently trying a local script with these changes, but once again the installer doesn't seem to launch. Instead it asks about Wine Gecko, which I choose to automatically download and install. Then the installer claims that the installation is successful, but there isn't any Diablo-files anywhere in my /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII subfolders.
Edité par blodfjert
|
NSLW |
Mardi 15 Décembre 2009 à 18:39
|
NSLW
|
1. Following the instructions on-screen, everything seems fine. But actually nothing from my DiabloII-cd's are copied onto my computer.
Nothing was intended to be copied. It was only for taking disc labels from CD's so the script could set CDROMS in wine.
2. Every single time i try to install DiabloII, (and some other games), I'm prompted to install Gecko. What is Gecko, and is it possible to download the Gecko-installation and place it locally instead, as the download and installation is painfully slow on that particular package.
You can ignore that. It's wine invention to ask you each time about that. For me it's very stupid.
3. After the script says that Diablo2 is installed, it asks me whether I want to install the patch. I answer yes, choose automatic download and the patch is apparently installed.
If POL downloaded patch then started it and patching went successfully then that means Diablo II was installed successfully.
4. When trying to launch Diablo 2 from the POL-window, nothing happens.
5. Trying to launch Diablo 2 from the Terminal with the command "wine DiabloII", the outout is as follows:
-----------------------------code start-------------------------------
blodfjert@blodfjert-desktop:~$ wine diabloII
wine: could not load L"C:\\\\windows\\\\system32\\\\diabloII.exe": Fant ikke modulen
blodfjert@blodfjert-desktop:~$ err:menubuilder:WinMain unknown option -a
err:menubuilder:WinMain unknown option -r
-----------------------------code end-------------------------------
You may have got another exe name. To check this type in terminal
cd PATHTOMYDIABLOIIDIRECTORY
ls
and post results here.
You may also post terminal output after typing in terminal
playonlinux --debug "Diablo II"
The following code is searching for the file "install.exe". Shouldn't it be searching for "installer.exe" instead, as that is the name of the exe's on the Diablo 2 cd's?
install.exe is on box version of Diablo II. If script won't find install.exe then it'll use installer.exe cause we now know that such version of D2 exists.
Since the file on my Diablo2-cd's are named "installer.exe", I'm wondering if this is the reason that the installation never seems to start.
If there was a prompt about gecko then POL script has to do wine installer.exe. Do you say that D2 installation never started?
Edité par NSLW
|
blodfjert |
Mardi 15 Décembre 2009 à 18:48
|
blodfjert
|
Thanks for the answers.
The contents of my ~/.PlayOnLinux/wineprefix/DiabloII-directory is:
drwxr-xr-x 2 blodfjert blodfjert 4096 2009-12-15 18:35 dosdevices
drwxr-xr-x 5 blodfjert blodfjert 4096 2009-12-15 18:34 drive_c
-rw-r--r-- 1 blodfjert blodfjert 577453 2009-12-15 18:41 system.reg
-rw-r--r-- 1 blodfjert blodfjert 11 2009-12-15 18:34 .update-timestamp
-rw-r--r-- 1 blodfjert blodfjert 2251 2009-12-15 18:34 userdef.reg
-rw-r--r-- 1 blodfjert blodfjert 29960 2009-12-15 18:41 user.reg
The contents of my ~/.PlayOnLinux/wineprefix/DiabloII/drive_c-directory is:
drwxr-xr-x 4 blodfjert blodfjert 4096 2009-12-15 18:35 Programfiler
drwxr-xr-x 4 blodfjert blodfjert 4096 2009-12-15 18:34 users
drwxr-xr-x 9 blodfjert blodfjert 4096 2009-12-15 18:35 windows
The contents of my ~/.PlayOnLinux/wineprefix/DiabloII/drive_c/Programfiler-directory is:
drwxr-xr-x 2 blodfjert blodfjert 4096 2009-12-15 18:35 Fellesfiler
drwxr-xr-x 2 blodfjert blodfjert 4096 2009-12-15 18:34 Internet Explorer
The command "playonlinux --debug "Diablo II"" gives me the following output:
PlayOnLinux v3.7.2
Checking python : [ Ok ]
System information:
Your system : GNU/Linux
Your kernel : Linux 2.6.31-16-generic
System language : nb_NO.UTF-8
Your user login : blodfjert
Your computer's name : blodfjert-desktop
Your video card : GeForce 8800 GT/PCI/SSE2
Your distribution : Ubuntu
Your distribution version : 9.10
Wine version installed : wine-1.0.1
Wine version used by PlayOnLinux : wine-1.0.1
Space remaining on your hard disks :
Filsystem Størrels Brukt Ledig Bruk Montert på
/dev/sda1 141G 27G 108G 20% /
udev 4,0G 280K 4,0G 1% /dev
none 4,0G 104K 4,0G 1% /dev/shm
none 4,0G 192K 4,0G 1% /var/run
none 4,0G 0 4,0G 0% /var/lock
none 4,0G 0 4,0G 0% /lib/init/rw
/dev/sr0 495M 495M 0 100% /media/cdrom0
--debug
costam
/usr/share/playonlinux/lib/applications: line 35: cd: /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/drive_c/Programfiler/Diablo II: No such file or directory
wine: Fant ikke modulen
(Wine: "Fant ikke modulen" translates into something like "Could not find the module")
And yes, I do believe that the Diablo2-installation never started. This is roughly the course of the events:
1. Launching installer -> Greeted by the "playonlinux installation wizard" with the Diablo II image.
2. Mount cd 3 as prompted, cd spins up for a short while
3. ask for cd 2, spins up a short while
4. ask for cd 1, spins up a short while
5. then (as I expect the DiabloII-installation program to launch), the script asks about Wine Gecko with a couple of options.
6.lastly it asks whether i wan't to patch Diablo II. I choose yes.
7. finish. Although the wineprefix for DiabloII is created, there's no traces of the DiabloII-files there within.
thanx again, and sorry about my short editing-intervals. I'm eager to succeed you see;)
2. Edité par blodfjert
|
NSLW |
Mardi 15 Décembre 2009 à 19:10
|
NSLW
|
5. then (as I expect the DiabloII-installation program to launch), the script asks about Wine Gecko with a couple of options.
You should ignore gecko and Diablo II setup should start, but it doesn't do that. Diablo II isn't installed. Please start playonlinux from terminal and start installing Diablo II then post output here because I don't see anything wrong in script.
|
blodfjert |
Mardi 15 Décembre 2009 à 21:19
|
blodfjert
|
Ok. I completely removed any remains of any previous Diablo II installations, and then ran PlayOnLinux from the Terminal:
1. "playonlinux" command console output:
PlayOnLinux v3.7.2
Checking python : [ Ok ]
Gtk-Message: Failed to load module "globalmenu-gnome": libglobalmenu-gnome.so: cannot open shared object file: No such file or directory
PlayOnLinux repository need to be updated
2.Choosing "Install" -> "Games" -> "Diablo II" -> "Bruk" ("Use") withing the GUI. This displays the "Welcome in PlayOnLinux Installation Wizard" window.
Console Output:
Running install menu
Gtk-Message: Failed to load module "globalmenu-gnome": libglobalmenu-gnome.so: cannot open shared object file: No such file or directory
** (python:2561): WARNING **: Invalid borders specified for theme pixmap:
/home/blodfjert/.themes/Mac4Lin_GTK_Aqua_v1.0/gtk-2.0/Shadows/shadow-out.png,
borders don't fit within the image
--2009-12-15 20:43:15-- http://upload.wikimedia.org/wikipedia/en/thumb/d/d5/Diablo_II_Coverart.png/250px-Diablo_II_Coverart.png
Slår opp upload.wikimedia.org... 91.198.174.3
Kobler til upload.wikimedia.org|91.198.174.3|:80... tilkoblet.
HTTP forespřrsel sendt, mottar topptekster... 200 OK
Lengde: 160216 (156K) [image/png]
Lagrer til: `/home/blodfjert/.PlayOnLinux/tmp/leftnotscaled.jpeg'
100%[=================================================>] 160 216 483K/s in 0,3s
2009-12-15 20:43:16 (483 KB/s) - `/home/blodfjert/.PlayOnLinux/tmp/leftnotscaled.jpeg' er lagret [160216/160216]
3.Choosing "Fremover" ("Next") within GUI. This leads to "Please insert "Cinematics disc (3rd disc)"-window.
Console output:
--2009-12-15 20:46:27-- http://mulx.playonlinux.com/wine/linux-i386/LIST
Slår opp mulx.playonlinux.com... 91.121.5.64
Kobler til mulx.playonlinux.com|91.121.5.64|:80... tilkoblet.
HTTP forespřrsel sendt, mottar topptekster... 200 OK
Lengde: 7348 (7,2K) [text/plain]
Lagrer til: `/home/blodfjert/.PlayOnLinux/tmp/LIST'
100%[=================================================>] 7 348 --.-K/s in 0,05s
2009-12-15 20:46:27 (139 KB/s) - `/home/blodfjert/.PlayOnLinux/tmp/LIST' er lagret [7348/7348]
4.I insert CD 3, wait for it to be mounted, and then press "Fremover" ("Next") -> choose "cdrom" and then press "Fremover" ("Next") in the GUI.
Console output:
/home/blodfjert/.PlayOnLinux/install: line 103: cd: /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/dosdevices: No such file or directory
5.GUI asks me to insert play disc. I eject the CD-tray, swap the 3rd disc with the 2nd. Then I press "Fremover" ("Next").
Console output:
/home/blodfjert/.PlayOnLinux/install: line 117: cd: /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/dosdevices: No such file or directory
6.GUI asks me to insert install disc. When I try to eject the CD-tray, it refuses. I therefore open "Computer" and rightclick the "CD/DVD-tray: Diablo II Disc 3" device and choose "avmonter" ("unmount"). It still refuses, but after pressing "Fremover" ("Next") in the GUI and retrying the unmount, it finally ejects. I then insert CD1 and choose "cdrom" as source in GUI.
Console output:
/home/blodfjert/.PlayOnLinux/install: line 130: cd: /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/dosdevices: No such file or directory
wine: created the configuration directory '/home/blodfjert/.PlayOnLinux/wineprefix/DiabloII'
7.A window pops up claiming that Wine could not find Gecko. This time I choose Cancel.
Console output:
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/blodfjert/.PlayOnLinux/wineprefix/DiabloII' has been updated.
ln: oppretting av symbolsk lenke «d:/cdrom»: Read-only file system
wine: Fant ikke modulen
8.GUI asks me to "Click "Next" when installation will finish.". I click "Fremover" ("Next").
Console returns no output.
9.GUI asks me if I need shortcuts. I don't check any shortcuts, and click "Fremover" ("Next").
Console output:
convert: unable to open image `/home/blodfjert/.local/share/icons/*_diablo ii.0.xpm': No such file or directory @ blob.c/OpenBlob/2439.
convert: missing an image filename `/home/blodfjert/.PlayOnLinux/icones/32/Diablo II' @ convert.c/ConvertImageCommand/2775.
10.GUI asks me if i want a shortcut for D2: Video Test. I don't check any of the boxes and just click "Fremover" ("Next").
Console output:
cat: /home/blodfjert/.PlayOnLinux/configurations/installed/Video Test: No such file or directory
convert: unable to open image `/home/blodfjert/.local/share/icons/*_d2vidtst.0.xpm': No such file or directory @ blob.c/OpenBlob/2439.
convert: missing an image filename `/home/blodfjert/.PlayOnLinux/icones/32/Video Test' @ convert.c/ConvertImageCommand/2775.
11. GUI asks me if I'd like to have 3dfx Glide wrapper. Since it's recommended by the GUI, I choose "Ja" ("Yes").
Console output:
/home/blodfjert/.PlayOnLinux/install: line 182: cd: /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/drive_c/Programfiler/Diablo II: No such file or directory
Archive: /home/blodfjert/.PlayOnLinux/ressources/gl32ogl14c.zip
replace glide3x.dll? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL
(EOF or read error, treating as "[N]one" ...)
12. GUI asks me if I want a shortcut for 3dfx Glide configuration. I don't check any of the boxes, and just click "Fremover" ("Next").
Console returns no output.
13. GUI reads "Diablo II has been installed successfully". I click "Fremover" ("Next").
Console returns no output.
14. GUI reads "Do you want to patch your game?". I click "Ja" ("Yes") and the "Download patch automatically" followed by "Fremover" ("Next").
Console output:
wine: Fant ikke modulen
15. GUI reads "Patch for Diablo II has been installed successfully". I click "Fremover" ("Next")
GUI closes, and console returns no output.
------------------------------------------------------------------------------------------------------------------------------
During the disc checks I noticed these lines:
/home/blodfjert/.PlayOnLinux/install: line 103: cd: /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/dosdevices: No such file or directory
/home/blodfjert/.PlayOnLinux/install: line 117: cd: /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/dosdevices: No such file or directory
/home/blodfjert/.PlayOnLinux/install: line 130: cd: /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/dosdevices: No such file or directory
apparently the disc checks doesn't work out as intended. I believe I've also tried accessing the discs in Nautilus prior to clicking "cdrom" and "Next" for each disc, but I will retry the procedure now while keeping a close eye on the console.
(puh)
Thanx
|
blodfjert |
Mardi 15 Décembre 2009 à 21:39
|
blodfjert
|
This time I tried a slightly different approach.
I started the DiabloII script as usual, and this time I opened each disc in Nautilus prior to the script disc-check. The console kept on returning the following on each disc-check:
/home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/dosdevices: No such file or directory
It turns out that the folder, and subcontent of, "DiabloII" is not created inside /home/blodfjert/.PlayOnLinux/wineprefix by the script prior to the disc-checks.
On a second try:
I did a "mkdir DiabloII", cd'd into it and did a "mkdir dosdevices", so that the folders would exist prior to the Disc-check.
This did not produce the /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/dosdevices: No such file or directory output in the console. But after the the disc-checks were done, it produced a shit-load of output in the console, mainly stating that it failed to create a lot of folders and files.
Third try:
removed everything regarding previous DiabloII-install.
Since I've already got a working Icewind Dale-installation, I did a "ln -s /home/blodfjert/.PlayOnLinux/wineprefix/Icewind/ /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII". This should make sure that the required folders and files were already in place.
Started "playonlinux" in console and ran DiabloII-install as usual.
This is the console output:
PlayOnLinux v3.7.2
Checking python : [ Ok ]
Gtk-Message: Failed to load module "globalmenu-gnome": libglobalmenu-gnome.so: cannot open shared object file: No such file or directory
Running install menu
Gtk-Message: Failed to load module "globalmenu-gnome": libglobalmenu-gnome.so: cannot open shared object file: No such file or directory
** (python:10578): WARNING **: Invalid borders specified for theme pixmap:
/home/blodfjert/.themes/Mac4Lin_GTK_Aqua_v1.0/gtk-2.0/Shadows/shadow-out.png,
borders don't fit within the image
--2009-12-15 21:46:13-- http://upload.wikimedia.org/wikipedia/en/thumb/d/d5/Diablo_II_Coverart.png/250px-Diablo_II_Coverart.png
Slår opp upload.wikimedia.org... 91.198.174.3
Kobler til upload.wikimedia.org|91.198.174.3|:80... tilkoblet.
HTTP forespřrsel sendt, mottar topptekster... 200 OK
Lengde: 160216 (156K) [image/png]
Lagrer til: `/home/blodfjert/.PlayOnLinux/tmp/leftnotscaled.jpeg'
100%[=================================================>] 160 216 472K/s in 0,3s
2009-12-15 21:46:14 (472 KB/s) - `/home/blodfjert/.PlayOnLinux/tmp/leftnotscaled.jpeg' er lagret [160216/160216]
--2009-12-15 21:46:15-- http://mulx.playonlinux.com/wine/linux-i386/LIST
Slår opp mulx.playonlinux.com... 91.121.5.64
Kobler til mulx.playonlinux.com|91.121.5.64|:80... tilkoblet.
HTTP forespřrsel sendt, mottar topptekster... 200 OK
Lengde: 7348 (7,2K) [text/plain]
Lagrer til: `/home/blodfjert/.PlayOnLinux/tmp/LIST'
100%[=================================================>] 7 348 --.-K/s in 0,04s
2009-12-15 21:46:16 (163 KB/s) - `/home/blodfjert/.PlayOnLinux/tmp/LIST' er lagret [7348/7348]
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/blodfjert/.PlayOnLinux/wineprefix/DiabloII' has been updated.
ln: oppretting av symbolsk lenke «d:/cdrom»: Read-only file system
wine: Fant ikke modulen
convert: unable to open image `/home/blodfjert/.local/share/icons/*_diablo ii.0.xpm': No such file or directory @ blob.c/OpenBlob/2439.
convert: missing an image filename `/home/blodfjert/.PlayOnLinux/icones/32/Diablo II' @ convert.c/ConvertImageCommand/2775.
cat: /home/blodfjert/.PlayOnLinux/configurations/installed/Video Test: No such file or directory
convert: unable to open image `/home/blodfjert/.local/share/icons/*_d2vidtst.0.xpm': No such file or directory @ blob.c/OpenBlob/2439.
convert: missing an image filename `/home/blodfjert/.PlayOnLinux/icones/32/Video Test' @ convert.c/ConvertImageCommand/2775.
/home/blodfjert/.PlayOnLinux/install: line 182: cd: /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/drive_c/Programfiler/Diablo II: No such file or directory
Archive: /home/blodfjert/.PlayOnLinux/ressources/gl32ogl14c.zip
replace glide3x.dll? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL
(EOF or read error, treating as "[N]one" ...)
Funfact: This time, when asked if I wanted to install Wine Gecko, a large bluecoloured window was displayed behind it, as if something was about to load. I answered no to the Gecko-installation, and then the blue window disappeared. Edité par blodfjert
|
Dr Phil |
Mardi 15 Décembre 2009 à 22:11
|
Dr Phil
|
NSLW, here is a little help with translations (I don't think you need translations for the downloading of images):
ln: oppretting av symbolsk lenke «d:/cdrom»: Read-only file system
ln: Creating symbolic link «d:/cdrom»: Read-only file system
wine: Fant ikke modulen
wine: Couldn't find the module Edité par Dr Phil
|
NSLW |
Mercredi 16 Décembre 2009 à 8:57
|
NSLW
|
During the disc checks I noticed these lines:
/home/blodfjert/.PlayOnLinux/install: line 103: cd: /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/dosdevices: No such file or directory
/home/blodfjert/.PlayOnLinux/install: line 117: cd: /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/dosdevices: No such file or directory
/home/blodfjert/.PlayOnLinux/install: line 130: cd: /home/blodfjert/.PlayOnLinux/wineprefix/DiabloII/dosdevices: No such file or directory
Those lines aren't important and for sure didn't prevent installation, although I fixed that.
Disc check works because your third cd is accepted and you can inert second cd.
wine: Fant ikke modulen
That's an error which prevents you from starting Diablo II installer and source of that error isn't in script.
Something is wrong with wine 1.1.34 so I would suggest:
1) Delete ~/.PlayOnLinux/WineVersions/1.1.34 and try installing D2 again
2) If you still fail to install D2 then you should modify my script so it won't use POL's Wine. To do so delete these two lines in my script:
Use_WineVersion "$CHOSENWINEVERSION"
and every
Set_WineVersion_Assign
I hope the first fix will work for you.
|
blodfjert |
Mercredi 16 Décembre 2009 à 9:44
|
blodfjert
|
Thank you for your quick replies and eager to help!
I'm sad to inform that Diablo2 still won't install. I tried both reinstalling wine 1.1.34 and the 1.1.33 version. DiabloII disc-checks seems to work as you point out, but the expected "Diablo II-setup" never loads up. Hence, no DiabloII-files are copied to the fake "c:\\Program Files" drive.
I will now try to merge the 3 cd's onto one DVD and then launch the installer.exe through wine in the console. The progress will be posted here. Edit: Merging all files onto one DVD would produce the same problems. Installer.exe isn't launched.
Last night I found an old DiabloII-copy of mine, dating back from the first release. It seems the "BestSelles Series"-releases are quite different to the original releases, as the content of the CD's differs a lot. This I feel I have confirmed by making some changes to the POL StarCraft-script, and then successfully installed my StarCraft BestSelles Series (2'cd including Brood War expansion). I will upload the script when I'm completely satisfied with it:)
Thanx again Edité par blodfjert
|
blodfjert |
Mercredi 16 Décembre 2009 à 11:51
|
blodfjert
|
Status is:
Game does not install with or without the Script. The setup (Installer.exe) from the original discs just won't load.
However, I ran the installer on another computer (win7), did a complete installation on that one.
Then I installed the Lords of Destruction addon from another newly purchased "BestSeller Series" copy. I then burned a dvd-copy of game-directory, weighing in at about 1,7 Gb.
On the ubuntu-computer, I opened the "empty" "/home/<username>/.PlayOnLinux/wineprefix/DiabloII_BestSellerSeries" -folder that was created earlier by running a local script.
Inside the folder "/home/<username>/.PlayOnLinux/wineprefix/DiabloII_BestSellerSeries/dosdevices/c:/Programfiler/" I created a folder called "DiabloII_BestSellerSeries" and copied the entire DVD-content into it.
On my desktop I made a shortcut called "Diablo II Lords of Desctruction", running the command env WINEPREFIX="/home/bruker/.PlayOnLinux/wineprefix/DiabloII_BestSellerSeries" wine "C:\\Programfiler\\DiabloII_BestSellerSeries\\Diablo II.exe"
. I downloaded this image: http://rocketdock.com/images/screenshots/diablo2.png and saved it inside the game-directory and used it as a shortcut icon.
Finally I loaded up PlayOnLinux, rightclicked the "DiabloII_BestSellerSeries" application in the list, chose configure wine -> grafics -> run on virtual desktop in 800x600 -> ok.
Game now runs flawless. There is no disc-check, probably due to the disc-check having been removed on the BestSeller Series-release. Even sound/music run as if played on Windows. Wine-version is 1.1.33 and Diablo II is version 1.12.
Although this doesn't explain the problems with installation natively on linux, nor helps creating a working script for the BestSeller Series-release, I'm pleased to announce that this method works. I have a feeling that the mpq-fileformat (or dependancies needed by the Installer.exe) on the original discs are the source of the native installation problems, and at the moment I don't see native installation as any option to installing this marvellous gem of a game.
|
NSLW |
Mercredi 16 Décembre 2009 à 12:35
|
NSLW
|
dependancies needed by the Installer.exe) on the original discs are the source of the native installation problems
If there are any dependencies then it could be fixed in the script. Please run wine installer.exe from terminal and post output.
|