The forum

Keep Talking and Nobody Explodes - KTANE

Author Replies
rogue-spectre Tuesday 10 January 2017 at 11:40
rogue-spectreAnonymous

Bonjour,

      Voici un petit script pour installer Keep Talking and Nobody Explodes - Le jeu coopératif de déminage d'engin explosifs.

OS de test : Xubuntu 14.04.5

Version de POL : 4.2.10

Rapport  :

  • Ce script permet d'installer la version dispo sur humblebundle.com uniquement (pour le moment)
  • Les versions des manuels PDF sont sujet à changement, est-il possible de faire une mise en page en liste pour indiquer les liens des pages de téléchargement (pas forcément les liens directs vers les PDF) - par exemple le manuel traduit en français : https://github.com/gplaurin/keep-talking-and-nobody-explodes-manuel-francais/raw/master/Manuel-du-démineur_1.pdf, d'autres doivent exister aussi.

Script :

#!/bin/bash
# Date : (2017-10-01 00-00)
# Last revision : (2017-10-01 00-00)
# Wine version used : 1.7.30
# Distribution used to test : Xubuntu 14.04.5
# Authors :  rogue-spectre
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Configure variables  
PREFIX="KTANE"
WORKING_WINE_VERSION="1.7.30"
EDITOR="Steel Crate Games"
EDITOR_WEBSITE="http://www.keeptalkinggame.com"
PSEUDO="rogue-spectre"  
TITLE="Keep Talking and Nobody Explodes"
SHORTCUT_NAME="ktane"

# Prepare system
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_WEBSITE" "$PSEUDO" "$PREFIX"
POL_SetupWindow_message  "Bomb defusal Manual PDF guides : http://www.bombmanual.com/index.html" "$TITLE"
POL_System_TmpCreate "TMP$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_SetupWindow_InstallMethod "LOCAL"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "Select archive" "File installation"
    INSTALLER="$APP_ANSWER"
fi

# Configure system
Set_OS "win7"
POL_SetupWindow_VMS "256"

# Install dependencies
POL_Call POL_Install_d3dx10

# Extract and Install archive
POL_LoadVar_PROGRAMFILES
cd "$POL_System_TmpDir"
unzip "$APP_ANSWER" -d "$POL_System_TmpDir"
mkdir -p  "$WINEPREFIX/drive_c/$PROGRAMFILES/KTANE"
mv "Keep Talking and Nobody Explodes" "$WINEPREFIX/drive_c/$PROGRAMFILES/KTANE"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "ktane.exe" "$SHORTCUT_NAME" "" "" "Game"

POL_SetupWindow_Close

exit 0

Edited by rogue-spectre

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com