Forums

[Script] GOG.com - Memoria

Auteur Réponses
ghoust Jeudi 20 Novembre 2014 à 15:23
ghoustAnonymous

Description: Point and click adventure game

You can install patch for this game (in process of installing) but it doesn't needing.

#!/bin/bash
# Date : (2014-11-20 17-30)
# Last revision : (2014-11-20 17-30)
# Wine version used :1.7.4
# Distribution used to test : Debian Wheezy
# Author : Alex Ghoust
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="memoria"
PREFIX="Memoria_gog"
WORKING_WINE_VERSION="1.7.4"

TITLE="GOG.com - Memoria"
SHORTCUT_NAME="Memoria"


POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "Daedalic Entertainment" \
    "http://www.daedalic.de/en" "Alex Ghoust" "$PREFIX"

POL_Debug_Init

POL_Call POL_GoG_setup "$GOGID"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install /nogui

# GoG work!
Set_OS winxp

# Doesn't hurt ;)
POL_Wine_reboot

POL_SetupWindow_question "Do you want install patch?" "Patch installation"
if [ "$APP_ANSWER" = "TRUE" ]
then
    POL_SetupWindow_browse "Please select the patch file to run." "Patch installation"
    POL_SetupWindow_wait "Installation in progress." "Patch installation"
    POL_Wine start /unix "$APP_ANSWER"
    POL_Wine_reboot
fi


# Temporary rename other exe-file
POL_Shortcut "memoria.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"

POL_SetupWindow_Close

exit

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