Applications

Choose a category

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

Half Life 1

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

cd $REPERTOIRE/tmp
rm *.jpg
wget $SITE/setups/hl/left.jpg

POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpg"

POL_SetupWindow_presentation "Half Life 1" "Sierra" "http://www.sierra.com" "Tinou" "HalfLife1"

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"

mkdir -p $REPERTOIRE/wineprefix/HalfLife1
cd $REPERTOIRE/wineprefix/HalfLife1
select_prefixe "$(pwd)"
POL_SetupWindow_prefixcreate

POL_SetupWindow_wait_next_signal "Installation en cours" "Half-Life 1"
cd drive_c/windows/
mkdir temp
cd $WINEPREFIX/dosdevices
rm ./*
ln -s ../drive_c c:
ln -s / z:
ln -s $CDROM ./d:
cd $CDROM
wine d:\setup.exe

POL_SetupWindow_detect_exit
POL_SetupWindow_message "Appuyez sur suivant pour continuer l'installation" "Half-Life 1"
Set_SoundDriver alsa

POL_SetupWindow_reboot
POL_SetupWindow_install_wine "0.9.39"
POL_SetupWindow_make_shortcut "HalfLife1" "Sierra/Half-Life/" "hl.exe" "HalfLife1.xpm" "Half-Life"

Set_Wineversion_Assign "0.9.39" "Half-Life"
POL_SetupWindow_message "Installation terminée" "Half-Life 1"
POL_SetupWindow_Close
exit