#!/bin/bash # Date : (2012-11-24 22-22) # Last revision : (2012-11-24 22-22) # Wine version used : 1.4.1 # Distribution used to test : Ubuntu 12.10 64-bit # Author : Kweepeer # Script licence : GPL v.2 # Program licence : Freeware # Depend : [ -z "$PLAYONLINUX" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="TheMirrorLied" WORKING_WINE_VERSION="1.4.1" TITLE="The Mirror Lied" SHORTCUT_NAME="$TITLE" #POL_GetSetupImages "" "" "$TITLE" POL_SetupWindow_Init #POL_SetupWindow_SetID 12345 ##TODO POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Freebird Games" "http://freebirdgames.com/games/the-mirror-lied/" "Kweepeer" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download "http://www.freebirdgames.com/The_Mirror_Lied-v2.zip" \ "28476a2a711f91d76d35bd4a718b2b0f" POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE" cd "$WINEPREFIX/drive_c/" && unzip -qq "$POL_System_TmpDir/The_Mirror_Lied-v2.zip" cd "$WINEPREFIX/drive_c/The Mirror Lied" || exit 1 POL_System_TmpDelete Set_OS winxp POL_SetupWindow_VMS "64" # Doesn't hurt ;) POL_Wine_reboot POL_Shortcut "Game.exe" "$SHORTCUT_NAME" "" "" POL_SetupWindow_Close exit