#!/bin/bash [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Age Of Mythology" PREFIX="AgeOfMythologyGold" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Microsoft" "" "Tinou et 38Guillaume" "$PREFIX" POL_SetupWindow_browse "$(eval_gettext 'Please select $TITLE setup file')" "$TITLE" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "1.4" POL_Call POL_Install_mfc42 POL_Wine_OverrideDLL native,builtin pidgen.dll POL_Wine --ignore-errors "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" POL_SetupWindow_browse "$(eval_gettext 'If you have the Titans expansion, please select $TITLE Titans expansion setup file, else choose any non-executable file. (Choisissez le setup de AOM titans si vous l'avez, sinon choisissez n'importe quel fichier non .exe) ')" "$TITLE" POL_Wine --ignore-errors "$APP_ANSWER" POL_Wine_WaitExit "$TITLE - The Titans" POL_LoadVar_ScreenResolution POL_Shortcut "aom.exe" "$TITLE" "" "xres=$ScreenWidth yres=$ScreenHeight" POL_Shortcut "aomx.exe" "$TITLE - The Titans" "" "xres=$ScreenWidth yres=$ScreenHeight" POL_SetupWindow_Close exit 0