Forums

MAJ:Warcraft III

Auteur Réponses
cendre Dimanche 31 Aoüt 2008 à 19:44
cendre

Bonjour , mise en v3 du script pour Warcraft III:


#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check


POL_SetupWindow_Init

#Presentation
POL_SetupWindow_presentation "Warcraft III : Reign Of Chaos" "Blizzard Entertainment" "http://www.blizzard.com" "Tinou" "WarcraftIII"


POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "install.exe"

mkdir -p $HOME/.PlayOnLinux/wineprefix/WarcraftIII
cd $HOME/.PlayOnLinux/wineprefix/WarcraftIII

select_prefixe "$(pwd)"
POL_SetupWindow_prefixcreate

cd $WINEPREFIX/dosdevices
rm ./*
ln -s ../drive_c c:
ln -s / z:
ln -s $CDROM ./d:
cd "$CDROM"
wine ./install.exe

cd $WINEPREFIX/drive_c/Program Files/Warcraft III/
mv Movies MoviesOLD
mkdir Movies
POL_SetupWindow_reboot

POL_SetupWindow_make_shortcut "WarcraftIII" "Program Files/Warcraft III/" "Warcraft III.exe -opengl" "warcraft3.xpm" "Warcraft III"
POL_SetupWindow_Close
exit


icone:
48x48:
32x32:
capture:


merci de me signaler tout bug

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com