Escape the museum

Informations

Creator Message
Dadu042
Moderator

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 420
Wine: 4.1

Feedbacks

Description

A point and click puzzle game.

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-11 21-15)
# Last revision : (2019-05-11 21-15)
# Wine version used : see below
# Distribution used to test : Ubuntu 19.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Media used: CD-ROM, july 2009 (folders date).

[ "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Escape the museum"
PREFIX="escapemuseum"
WORKING_WINE_VERSION="4.1"
AUTHOR="Dadu042"
EDITOR="Big fish games"
GAME_URL="https://pcgamingwiki.com/wiki/Escape_The_Museum"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
   
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

################
# GPU settings #
################

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "128"
 
###############
# Go          #
###############

POL_SetupWindow_InstallMethod "LOCAL,CD"
   
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "autorun.exe"
        POL_Wine start /unix "$CDROM/autorun.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "Museum.exe" "$TITLE" ""

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Saturday 11 May 2019 at 22:31
Dadu042
Moderator

Information

This update has been approved by the team.

Message

Tested 5 minutes.  This game seems to have no exit function (I did ALT+F4).

Differences

@@ -10,7 +10,7 @@
 #
 # Media used: CD-ROM, july 2009 (folders date).
 
-[ -z "$PLAYONLINUX" ] && exit 0
+[ "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
    
 TITLE="Escape the museum"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-11 21-15)
# Last revision : (2019-05-11 21-15)
# Wine version used : see below
# Distribution used to test : Ubuntu 19.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Media used: CD-ROM, july 2009 (folders date).

[ "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Escape the museum"
PREFIX="escapemuseum"
WORKING_WINE_VERSION="4.1"
AUTHOR="Dadu042"
EDITOR="Big fish games"
GAME_URL="https://pcgamingwiki.com/wiki/Escape_The_Museum"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
   
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

################
# GPU settings #
################

# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "128"
 
###############
# Go          #
###############

POL_SetupWindow_InstallMethod "LOCAL,CD"
   
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "autorun.exe"
        POL_Wine start /unix "$CDROM/autorun.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
fi

POL_Shortcut "Museum.exe" "$TITLE" ""

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Edited by Dadu042