Das Forum

diablo ONE

Autor Antworten
x86 Saturday 14 February 2009 at 17:03
x86Anonymous

Hey all, so i was willing to show a friend this epic game Diablo I, but i wasn't finding anyway to make it run under wine or playonlinux. So i wrote that script to install it and to play.
Well, it is an important thing that you should know by the way : the menu doesn't show up.
I the console i get these errors :

fixme:win:EnumDisplayDevicesW ((null),0,0x33f514,0x00000000), stub!
fixme:shell: DllCanUnloadNow stub
fixme:shell: DllCanUnloadNow stub
fixme:shell: DllCanUnloadNow stub
fixme:win:EnumDisplayDevicesW ((null),0,0x33f8ec,0x00000000), stub!
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:ddraw:IDirectDrawImpl_WaitForVerticalBlank (0x130248)->(1,(nil)): Stub
fixme:ddraw:IDirectDrawImpl_WaitForVerticalBlank (0x130248)->(1,(nil)): Stub
fixme:ddraw:IDirectDrawImpl_WaitForVerticalBlank (0x130248)->(1,(nil)): Stub
fixme:ddraw:IDirectDrawImpl_WaitForVerticalBlank (0x130248)->(1,(nil)): Stub
fixme:ddraw:IDirectDrawImpl_WaitForVerticalBlank (0x130248)->(1,(nil)): Stub
fixme:ddraw:IDirectDrawImpl_WaitForVerticalBlank (0x130248)->(1,(nil)): Stub

and the last lines go on and on till the real game is launched... so i think that it's the DirectDraw used to make the menu that is too old or something for wine, and he can't show it.
So if somebody can help me fix it it would be great...

Note :
But you still can play without seeing the menu. When in the game, everything works great. You just have to press enter a few times after the cinematics and the ads at the beginning ( well you'll have the cinematic only if it is the first time you run the game ) run off. And the you'll see the loading screen of Tristram and let's play !.

Ok so there is the script :

#!/bin/bash

#pour playonlinux
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi

source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init

# NOTE IMPORTANTE : on ne peut pas voir le menu !
# pour jouer apres avoir installe DIABLO ONE il faut donc presser entree
# 4 ou 5 fois de suite sur l'ecran noir apres la cinematique de debut ( si
# c'est la premiere fois que vous le lancez, soit apres le logo blizzard bleu.
POL_SetupWindow_presentation "Diablo" "Blizzard"
PATHCD=$(POL_SetupWindow_browse "indiquer le point de montage du cd" "CD ROM" "/media/DIABLO")
#pour le debug je laisse le repertoire comme il est sur ma fedora core 10
PATHCD="/media/DIABLO"
POL_SetupWindow_check_cdrom $PATHCD
POL_SetupWindow_message "le cd est bien dans $PATH" "Check"

TEMPO="$HOME/.PlayOnLinux/tmp/diablotemp"

mkdir -p $HOME/.PlayOnLinux/wineprefix/DIABLO
mkdir -p $TEMPO
cd $HOME/.PlayOnLinux/wineprefix/DIABLO

select_prefixe "$PWD"
creer_prefixe
cd $WINEPREFIX/dosdevices
rm ./*
ln -s ../drive_c c:
ln -s / z:
ln -s $PATHCD d:

wine $PATHCD/setup.exe
simuler_reboot
chmod 777 $TEMP -R
rm $TEMP -R
cd $WINEPREFIX/dosdevices
rm ./d
ln -s $PATHCD ./d
POL_SetupWindow_make_shortcut "DIABLO" "Program Files/DIABLO/" "game.exe"
POL_SetupWindow_message "Installation terminee !" "Success !"

#on ferme
POL_SetupWindow_Close
exit

#end

Editiert von: x86

Du bist hier: Index > Your creations. > diablo ONE