Applications

Choose a category

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

Half Life 1

Magic number : 6

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
 
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_make_shortcut "HalfLife1" "Sierra/Half-Life/" "hl.exe" "HalfLife1.xpm" "Half-Life"
 
POL_SetupWindow_message "Installation terminée" "Half-Life 1"
POL_SetupWindow_Close
exit
Il n'y a rien à voir ici