The forum

DownOfWar Soulstorm

Author Replies
dlzerocool Thursday 26 June 2008 at 16:40
dlzerocool

A vos jeux.
PS: thq à pondu un post avec un .reg à modifié et des .exe à placer dans votre dossier si vous avez les anciens jeux.
Ceci afin de vous éviter de les installer tous !


#!/bin/bash
#INIT SCRIPT PLAYONLINUX.COM
#Is playonlinux running?
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
#Load & Check dependencies
source "$PLAYONLINUX/lib/sources"
cfg_check

#Cleaning temp directory:
cd $REPERTOIRE/tmp
rm *.*
#Downloading necessary files and text setup
#wget "http://medias.jeuxonline.info/www/logos/295/32.jpg"
#wget "http://medias.jeuxonline.info/www/captures/295/0/5020-160.jpg"

##Translation:
if [ "$POL_LANG" == "fr" ]; then
INSTALL="En attente de l'installation de Dawn Of War Soulstorm..."
FINISH="Dawn Of War Soulstorm à été installé avec succes."
else
INSTALL="Installing Dawn Of War Soulstorm..."
FINISH="Dawn Of War Soulstorm has been sucessfully installed."
fi

#-----------------------------------------------------------------------------------
#Init script v_3 DawnOfWar_Soulstorm
#-----------------------------------------------------------------------------------

POL_SetupWindow_Init "" ""

#Game and script presentation
POL_SetupWindow_presentation "Dawn Of War : Soulstorm" "THQ" "http://www.thq-games.com/" "dl.bonsai" "DawnOfWar_Soulstorm"

# playonlinux_install_directory
select_prefixe "$REPERTOIRE/wineprefix/DawnOfWar_Soulstorm"
POL_SetupWindow_prefixcreate
POL_SetupWindow_reboot

# DawnOfWar_Soulstorm Install
cd $REPERTOIRE/tmp
POL_SetupWindow_cdrom "DawnOfWar_Soulstorm"
POL_SetupWindow_check_cdrom "/setup.exe"
THEFILE="$CDROM"
POL_SetupWindow_wait_next_signal "$INSTALL" "DawnOfWar_Soulstorm"
wine "$THEFILE/setup.exe"
POL_SetupWindow_detect_exit

#Shortcut
POL_SetupWindow_make_shortcut "DawnOfWar_Soulstorm" "Program Files/THQ/Dawn of War - Soulstorm/" "Soulstorm.exe" "DawnOfWar_DarkCrusade.xpm" "Dawn Of War : Soulstorm"

POL_SetupWindow_message "$FINISH" "DawnOfWar_Soulstorm"
POL_SetupWindow_Close

#-----------------------------------------------------------------------------------
#End script v_3 DawnOfWar_Soulstorm
#-----------------------------------------------------------------------------------

exit

Drum & Bass - Dev - Beer and more... What else ?

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 dmca-notice@playonlinux.com