#!/bin/bash # Date: (2009-10-23 10-34) # Last revision: (2009-10-27 13-00) # Distribution used to test: Ubuntu 9.10 # Wine version used: 1.1.32 [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" #fetching PROGRAMFILES environmental variable PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"` PROGRAMFILES=${PROGRAMFILES:3} cd $REPERTOIRE/tmp rm *.jpg wget http://i43.tinypic.com/af7n9s.jpg --output-document=left.jpg POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpg" POL_SetupWindow_presentation "Runes of Magic" "Runewaker Entertainment" "www.runesofmagic.com" "gameshogun.ws for dual-booters, based on Asimov's and siGGismallz's script." "RunesOfMagic" select_prefixe "$REPERTOIRE/wineprefix/RunesOfMagic" POL_SetupWindow_prefixcreate if [ "$POL_LANG" != "fr" ] then LNG_CONFIRM="Click FORWARD." LNG_CONFIG="Configuring your installation..." LNG_CONFIG_TILTE="Please wait" LNG_INSTALL_FINISHED="Installation complete !" fi POL_SetupWindow_message "$LNG_CONFIRM" POL_SetupWindow_wait_next_signal "$LNG_CONFIG" "$LNG_CONFIG_TILTE" #cd $WINEPREFIX/drive_c/Program\ Files/Runes\ of\ Magic/ cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Runes of Magic" Set_SoundDriver alsa fonts_to_prefixe chmod 777 $TEMP -R rm $TEMP -R cd $WINEPREFIX/dosdevices rm ./d: POL_SetupWindow_make_shortcut "RunesOfMagic" "$PROGRAMFILES/Runes of Magic" "Runes of Magic.exe" "" "Runes of Magic" "" "-game -opengl" POL_SetupWindow_reboot POL_SetupWindow_detect_exit POL_SetupWindow_message "$LNG_INSTALL_FINISHED" POL_SetupWindow_Close exit