Applications

Choose a category

accessories
Accessories
development
Development
education
Education
functions
Functions
games
Games
graphics
Graphics
internet
Internet
multimedia
Multimedia
office
Office
other
Other

Worms World Party

Magic number : 31

#!/bin/bash
# Date : (2009-05-25 12-45)
# Last revision : (2009-05-25 12-45)
# Wine version used : N/A
# Distribution used to test : N/A
# Author : NSLW
# Licence : Retail
 
#Translated from V2 to V3
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
#VERSIONWINE=$(wine --version)
#VERSIONWINE=${VERSIONWINE:5}
VERSIONWINE="0.9.46"
TITLE="Worms World Party"
PREFIX="WormsWorldParty"
 
#presentation "Worms World Party" "Team 17" "http://www.team17.com" "Tinou" "WormsWorldParty" 1 6
 
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Team 17" "http://www.team17.com" "Tinou and NSLW" "$PREFIX"
 
POL_SetupWindow_install_wine "$VERSIONWINE"
#Ask_For_cdrom 2 6
#Check_cdrom "installer/Setup.exe"
 
#select_prefixe "$REPERTOIRE/wineprefix/WormsWorldParty/"
#creer_prefixe 3 6
 
select_prefixe "$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate
 
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "installer/Setup.exe"
cd "$WINEPREFIX/dosdevices"
ln -s $CDROM d:
 
echo "[HKEY_LOCAL_MACHINE\\Software\\Wine\\Drives]" > $REPERTOIRE/tmp/cdrom.reg
echo "\"d:\"=\"cdrom\"" >> $REPERTOIRE/tmp/cdrom.reg
regedit $REPERTOIRE/tmp/cdrom.reg
POL_SetupWindow_message "Wait 5 seconds then click next" "$TITLE"
 
#cd $REPERTOIRE/tmp
#rm ./*
#telecharger "Patientez pendant le téléchargement des librairies" "$SITE/divers/WormsWorldParty.tar.gz" "" 4 6
#telecharger "Patientez pendant le téléchargement de ddraw.dll"  "http://madewokherd.nfshost.com/worms/wa_ddraw-$VERSIONWINE.tar.bz2" "" 5 6
#cd $REPERTOIRE/wineprefix/WormsWorldParty/
 
#cd drive_c/windows/system32
#tar -xvf $REPERTOIRE/tmp/WormsWorldParty.tar.gz
#tar -xvf $REPERTOIRE/tmp/wa_ddraw-$VERSIONWINE.tar.bz2
#mv ddraw/ddraw.dll ddraw.dll
#cd $WINEPREFIX/dosdevices
#rm ./*
#ln -s ../drive_c c:
#ln -s / z:
#ln -s $CDROM ./d:
#cd $CDROM
#wine $CDROM/installer/Setup.exe
#Set_Managed off
#simuler_reboot 6 6
 
cd $REPERTOIRE/tmp
rm ./*
POL_SetupWindow_download "Patientez pendant le téléchargement des librairies" "$TITLE" "$SITE/divers/WormsWorldParty.tar.gz"
POL_SetupWindow_download "Patientez pendant le téléchargement de ddraw.dll" "$TITLE" "http://madewokherd.nfshost.com/worms/wa_ddraw-$VERSIONWINE.tar.bz2"
cd $REPERTOIRE/wineprefix/WormsWorldParty/
cd drive_c/windows/system32
tar -xvf $REPERTOIRE/tmp/WormsWorldParty.tar.gz
tar -xvf $REPERTOIRE/tmp/wa_ddraw-$VERSIONWINE.tar.bz2
mv ddraw/ddraw.dll ddraw.dll
#rm ddraw.dll
 
POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
cd $CDROM
wine $CDROM/installer/Setup.exe
POL_SetupWindow_detect_exit
 
Set_Managed off
POL_SetupWindow_reboot
 
#creer_lanceur "WormsWorldParty" "Team17/Worms World Party" "wwp.exe" "WormsWorldParty.xpm" "Worms World Party"
POL_SetupWindow_menu "What is the language of your game?" "Languages" "Polish Other" " "
if [ "$APP_ANSWER" == "Polish" ]; then
POL_SetupWindow_make_shortcut "$PREFIX" "Program Files/Team17/Worms World Party" "wwp.exe" "WormsWorldParty.xpm" "$TITLE" "" ""
else
POL_SetupWindow_make_shortcut "$PREFIX" "Team17/Worms World Party" "wwp.exe" "WormsWorldParty.xpm" "$TITLE" "" ""
fi
 
#Set_WineVersion_Assign "0.9.45" "Worms World Party"
Set_WineVersion_Assign "$VERSIONWINE" "Worms World Party"
Set_Desktop On 1024 768
POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE"
wineserver -k
POL_SetupWindow_Close
exit
Il n'y a rien à voir ici