GOG.com - Pathologic Classic HD
Informations
| Creator | Meddelanden |
|---|---|
aggelito
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks0 0 DescriptionPathologic Classic HD is the Definitive Edition of the original Cult Classic Psychological First-Person Survival game. In this unforgettable experience, players control one of three unique characters as they try to save a mysterious town from a deadly plague that cannot be stopped. ScreenshotsSource code#!/bin/bash
# Date : (2016-01-20 21-00)
# Wine version used : 1.7.52
# Distribution used to test : Xubuntu 15.10 x64
# Author : August Lindberg
# Program licence : Retail
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="GOG.com - Pathologic Classic HD"
SHORTCUT_NAME="Pathologic Classic HD"
PREFIX="PathologicClassicHd_gog"
WORKING_WINE_VERSION="1.7.52"
GOGID="pathologic_classic_hd"
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/pathologic_classic_hd/top.jpg" "http://files.playonlinux.com/resources/setups/pathologic_classic_hd/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2720
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "August Lindberg" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
# Forcing x86 to make wmp9 work
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# Installing mandatory dependencies
POL_Call POL_Install_d3dx9_35
POL_Call POL_Install_d3dx9_36
POL_Call POL_Install_devenum
POL_Call POL_Install_quartz
POL_Call POL_Install_wmp9
# Choose setup file
POL_Call POL_GoG_setup "$GOGID" "d7a4ffe9afcf8aec87df436927b55b0e"
# Warn for installer errors
POL_SetupWindow_message "$(eval_gettext "The installer will probably throw a few errors during installation. This is nothing to worry about. Just press 'OK' when the errors appear and everything should work fine.")" "$TITLE"
# Install game
POL_Call POL_GoG_install "/nogui"
## Fix for this game
# Ask if the user want to play with a gamepad
POL_SetupWindow_question "$(eval_gettext 'Do you want to play the game with a gamepad? If not, the gamepad bindings will be removed to solve an issue with phantom key presses.')" "$TITLE"
# If not, remove gamepad's bindings because of phantom key presses
if [ "$APP_ANSWER" = "FALSE" ]; then
GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
fi
## End Fix
# Create game shortcut
POL_Shortcut "Game.exe" "$SHORTCUT_NAME"
POL_SetupWindow_Close
exit |
Contributions
Filters:
Contribute| Member | Meddelanden |
| aggelito | Thursday 21 January 2016 at 18:28 |
aggelito
|
InformationThis update has been approved by the team. Differences@@ -0,0 +1,63 @@ +#!/bin/bash +# Date : (2016-01-20 21-00) +# Wine version used : 1.7.52 +# Distribution used to test : Xubuntu 15.10 x64 +# Author : August Lindberg +# Program licence : Retail + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="GOG.com - Pathologic Classic HD" +SHORTCUT_NAME="Pathologic Classic HD" +PREFIX="PathologicClassicHd_gog" +WORKING_WINE_VERSION="1.7.52" +GOGID="pathologic_classic_hd" + +# Starting the script +POL_GetSetupImages "http://files.playonlinux.com/resources/setups/pathologic_classic_hd/top.jpg" "http://files.playonlinux.com/resources/setups/pathologic_classic_hd/left.jpg" "$TITLE" + +POL_SetupWindow_Init +POL_SetupWindow_SetID 2720 +POL_Debug_Init +POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "August Lindberg" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Forcing x86 to make wmp9 work +POL_System_SetArch "x86" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +# Installing mandatory dependencies +POL_Call POL_Install_d3dx9_35 +POL_Call POL_Install_d3dx9_36 +POL_Call POL_Install_devenum +POL_Call POL_Install_quartz +POL_Call POL_Install_wmp9 + +# Choose setup file +POL_Call POL_GoG_setup "$GOGID" "d7a4ffe9afcf8aec87df436927b55b0e" + +# Warn for installer errors +POL_SetupWindow_message "$(eval_gettext "The installer will probably throw a few errors during installation. This is nothing to worry about. Just press 'OK' when the errors appear and everything should work fine.")" "$TITLE" + +# Install game +POL_Call POL_GoG_install "/nogui" + +## Fix for this game +# Ask if the user want to play with a gamepad +POL_SetupWindow_question "$(eval_gettext 'Do you want to play the game with a gamepad? If not, the gamepad bindings will be removed to solve an issue with phantom key presses.')" "$TITLE" + +# If not, remove gamepad's bindings because of phantom key presses +if [ "$APP_ANSWER" = "FALSE" ]; then + GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P) + sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg" +fi +## End Fix + +# Create game shortcut +POL_Shortcut "Game.exe" "$SHORTCUT_NAME" + +POL_SetupWindow_Close +exit \ No newline at end of file New source code#!/bin/bash
# Date : (2016-01-20 21-00)
# Wine version used : 1.7.52
# Distribution used to test : Xubuntu 15.10 x64
# Author : August Lindberg
# Program licence : Retail
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="GOG.com - Pathologic Classic HD"
SHORTCUT_NAME="Pathologic Classic HD"
PREFIX="PathologicClassicHd_gog"
WORKING_WINE_VERSION="1.7.52"
GOGID="pathologic_classic_hd"
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/pathologic_classic_hd/top.jpg" "http://files.playonlinux.com/resources/setups/pathologic_classic_hd/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 2720
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "August Lindberg" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
# Forcing x86 to make wmp9 work
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# Installing mandatory dependencies
POL_Call POL_Install_d3dx9_35
POL_Call POL_Install_d3dx9_36
POL_Call POL_Install_devenum
POL_Call POL_Install_quartz
POL_Call POL_Install_wmp9
# Choose setup file
POL_Call POL_GoG_setup "$GOGID" "d7a4ffe9afcf8aec87df436927b55b0e"
# Warn for installer errors
POL_SetupWindow_message "$(eval_gettext "The installer will probably throw a few errors during installation. This is nothing to worry about. Just press 'OK' when the errors appear and everything should work fine.")" "$TITLE"
# Install game
POL_Call POL_GoG_install "/nogui"
## Fix for this game
# Ask if the user want to play with a gamepad
POL_SetupWindow_question "$(eval_gettext 'Do you want to play the game with a gamepad? If not, the gamepad bindings will be removed to solve an issue with phantom key presses.')" "$TITLE"
# If not, remove gamepad's bindings because of phantom key presses
if [ "$APP_ANSWER" = "FALSE" ]; then
GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
fi
## End Fix
# Create game shortcut
POL_Shortcut "Game.exe" "$SHORTCUT_NAME"
POL_SetupWindow_Close
exit SvarThursday 21 January 2016 at 18:32
Thursday 21 January 2016 at 19:14
Thursday 21 January 2016 at 20:19
Ändrat av petch |
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
Install this program 


