Un script pour installer The Walking Dead avec l'exécutable (ce n'est pas la version Steam)
#!/bin/bash
# Date : (2012-10-11 09-00)
# Last revision : (2012-10-11 09-51)
# Wine version used : 1.5.14
# Distribution used to test : Debian testing x86_64
# Author : grubshka
# Licence : Retail
# Only For : http://www.playonmac.com
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="The Walking Dead"
PREFIX="The_Walking_Dead"
EDITOR="Telltale games"
GAME_URL="http://www.telltalegames.com/walkingdead"
AUTHOR="grubshka"
WORKING_WINE_VERSION="1.5.14"
# Starting script
POL_SetupWindow_Init
# Starting debugging API
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# Installing DirectX 9, the one with the installer works too but it's quicker with this one
POL_Call POL_Install_d3dx9
# Select the file on the disk
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
POL_SetupWindow_message "The game will now install.\\n\\nImportant notes:\\n\\
* During the installation, when asked to check for DirectX, select 'DO NOT CHECK FOR DIRECTX' option\\n\\
* The first run of the game can show you a black screen for more than one minute, don't panic\\n\\
* After clicking continue on the title screen, you may have to Alt+TAB twice to get the login popup\\n\\
* If the game crash, or if you see graphical glitches, put 'GRAPHICS QUALITY' to 'LOW' in the settings (other graphical settings are OK)" "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
POL_Shortcut "WalkingDead101.exe" "$TITLE" "" ""
POL_SetupWindow_Close
exit
Edited by Grubshka