Bonjour,
Un petit script pour installer hotline miami :
[code language=playonlinux]
#!/bin/bash
# Date : (2014-04-25)
# Last revision : (2014-04-25)
# Wine version used : 1.7.17
# Distribution used to test : Archlinux
# Author : Romain Hennuyer romain.hennuyer@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
GOGID="hotline_miami"
PREFIX="Hotline_miami_gog"
WORKING_WINE_VERSION="1.7.17"
TITLE="GOG.com - Hotline miami"
SHORTCUT_NAME="Hotline miami"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Dennaton Games / Devolver Digital" "http://www.gog.com/gamecard/$GOGID" "Romain Hennuyer" "$PREFIX"
POL_Call POL_GoG_setup "$GOGID" "f617d89c8f7c00f5407a694ec2e06b9b" # = 2.1.0.6
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_Call POL_GoG_install
POL_Shortcut "HotlineGL.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;Action;"
POL_Shortcut "HotlineLauncher.exe" "$SHORTCUT_NAME Launcher" "$SHORTCUT_NAME.png" "" "Game;Action;"
POL_SetupWindow_message "N'oubliez pas d'installer la bibliothèque lib32-openal pour que le jeu puisse fonctionner." "$TITLE"
POL_SetupWindow_Close
exit 0
[/code]
Pour openal, je n'ai pas trouvé commenter tester une dépendance externe à pol, alors j'ai mis simplement un message de rappel faute de mieux ^^
left:
icon :
top: