Pathologic Classic HD

Informations

Creator Message
Mystic-Mirage

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 8358
Wine: 1.7.52

Feedbacks

Description

Horror adventure survival role-playing video game, 2004. Pathologic Classic HD is the Definitive Edition of the original game.

Wikipedia.

Screenshots

MiniatureMiniature

Source code

#!/bin/bash
# Date : (2015-10-27 15-26)
# Last revision : (2015-11-27 19-12)
# Wine version used : 1.7.52
# Distribution used to test : Ubuntu 15.04 x64
# Author : Aleksandr Tishin (aka Mystic-Mirage)
# Program licence : Retail

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

TITLE="Pathologic Classic HD"
PREFIX="pathologic_classic_hd"
STEAM_ID="384110"
WORKING_WINE_VERSION="1.7.52"

# Starting the script
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_SetupWindow_SetID 2642
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$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

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"
POL_Call POL_Install_steam

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"

# Install the game
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine --ignore-errors "steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

## 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 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

# Make shorcut to game executable because of running it via Steam is not working
POL_Shortcut "Game.exe" "$TITLE" "" "" "Game;"
POL_Shortcut "Steam.exe" "Steam ($TITLE)" "" "" "Game;"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
aggelito Friday 22 January 2016 at 18:06
aggelito

Information

This update has been approved by the team.

Message

Ask if the user want to use a gamepad while playing before removing the gamepad's bindings. If the user answers yes the bindings are left intact, if the user answers no they are removed. I have tested this fix in the script for the gog version of this game, and there it works fine.
 

Differences

@@ -49,9 +49,14 @@
 POL_Wine_WaitExit "$TITLE"
 
 ## Fix for this game
-# Remove gamepad's bindings because of phantom key presses
-GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
-sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
+# 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 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
 
 # Make shorcut to game executable because of running it via Steam is not working

New source code

#!/bin/bash
# Date : (2015-10-27 15-26)
# Last revision : (2015-11-27 19-12)
# Wine version used : 1.7.52
# Distribution used to test : Ubuntu 15.04 x64
# Author : Aleksandr Tishin (aka Mystic-Mirage)
# Program licence : Retail

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

TITLE="Pathologic Classic HD"
PREFIX="pathologic_classic_hd"
STEAM_ID="384110"
WORKING_WINE_VERSION="1.7.52"

# Starting the script
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_SetupWindow_SetID 2642
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$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

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"
POL_Call POL_Install_steam

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"

# Install the game
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine --ignore-errors "steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

## 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 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

# Make shorcut to game executable because of running it via Steam is not working
POL_Shortcut "Game.exe" "$TITLE" "" "" "Game;"
POL_Shortcut "Steam.exe" "Steam ($TITLE)" "" "" "Game;"

POL_SetupWindow_Close
exit

Replies

petch Friday 4 December 2015 at 23:14
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Add POL_SetupWindow_SetID

Differences

@@ -18,6 +18,7 @@
 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_SetupWindow_SetID 2642
 POL_Debug_Init
 POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$PREFIX"
 

New source code

#!/bin/bash
# Date : (2015-10-27 15-26)
# Last revision : (2015-11-27 19-12)
# Wine version used : 1.7.52
# Distribution used to test : Ubuntu 15.04 x64
# Author : Aleksandr Tishin (aka Mystic-Mirage)
# Program licence : Retail

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

TITLE="Pathologic Classic HD"
PREFIX="pathologic_classic_hd"
STEAM_ID="384110"
WORKING_WINE_VERSION="1.7.52"

# Starting the script
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_SetupWindow_SetID 2642
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$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

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"
POL_Call POL_Install_steam

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"

# Install the game
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine --ignore-errors "steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

## Fix for this game
# Remove gamepad's bindings because of phantom key presses
GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
## End Fix

# Make shorcut to game executable because of running it via Steam is not working
POL_Shortcut "Game.exe" "$TITLE" "" "" "Game;"
POL_Shortcut "Steam.exe" "Steam ($TITLE)" "" "" "Game;"

POL_SetupWindow_Close
exit

Replies

Mystic-Mirage Friday 27 November 2015 at 18:14
Mystic-Mirage

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -1,60 +1,61 @@
 #!/bin/bash
 # Date : (2015-10-27 15-26)
-# Last revision : (2015-10-28 21-39)
+# Last revision : (2015-11-27 19-12)
 # Wine version used : 1.7.52
 # Distribution used to test : Ubuntu 15.04 x64
 # Author : Aleksandr Tishin (aka Mystic-Mirage)
 # Program licence : Retail
- 
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 TITLE="Pathologic Classic HD"
 PREFIX="pathologic_classic_hd"
 STEAM_ID="384110"
 WORKING_WINE_VERSION="1.7.52"
- 
+
 # Starting the script
 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" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$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
- 
+
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"
 POL_Call POL_Install_steam
- 
+
 # Mandatory pre-install fix for steam
 POL_Call POL_Install_steam_flags "$STEAM_ID"
- 
+
 # Install the game
 POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
 POL_Wine --ignore-errors "steam.exe" "steam://install/$STEAM_ID"
 POL_Wine_WaitExit "$TITLE"
- 
+
 ## Fix for this game
 # Remove gamepad's bindings because of phantom key presses
 GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
 sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
 ## End Fix
- 
+
 # Make shorcut to game executable because of running it via Steam is not working
-POL_Shortcut "Game.exe" "$TITLE" "$TITLE.png"
- 
+POL_Shortcut "Game.exe" "$TITLE" "" "" "Game;"
+POL_Shortcut "Steam.exe" "Steam ($TITLE)" "" "" "Game;"
+
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-10-27 15-26)
# Last revision : (2015-11-27 19-12)
# Wine version used : 1.7.52
# Distribution used to test : Ubuntu 15.04 x64
# Author : Aleksandr Tishin (aka Mystic-Mirage)
# Program licence : Retail

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

TITLE="Pathologic Classic HD"
PREFIX="pathologic_classic_hd"
STEAM_ID="384110"
WORKING_WINE_VERSION="1.7.52"

# Starting the script
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" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$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

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"
POL_Call POL_Install_steam

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"

# Install the game
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine --ignore-errors "steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

## Fix for this game
# Remove gamepad's bindings because of phantom key presses
GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
## End Fix

# Make shorcut to game executable because of running it via Steam is not working
POL_Shortcut "Game.exe" "$TITLE" "" "" "Game;"
POL_Shortcut "Steam.exe" "Steam ($TITLE)" "" "" "Game;"

POL_SetupWindow_Close
exit

Replies

Mystic-Mirage Thursday 29 October 2015 at 9:02
Mystic-Mirage

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -44,7 +44,7 @@
 # Install the game
 POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
-POL_Wine "steam.exe" "steam://install/$STEAM_ID"
+POL_Wine --ignore-errors "steam.exe" "steam://install/$STEAM_ID"
 POL_Wine_WaitExit "$TITLE"
  
 ## Fix for this game

New source code

#!/bin/bash
# Date : (2015-10-27 15-26)
# Last revision : (2015-10-28 21-39)
# Wine version used : 1.7.52
# Distribution used to test : Ubuntu 15.04 x64
# Author : Aleksandr Tishin (aka Mystic-Mirage)
# Program licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Pathologic Classic HD"
PREFIX="pathologic_classic_hd"
STEAM_ID="384110"
WORKING_WINE_VERSION="1.7.52"
 
# Starting the script
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" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$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
 
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"
POL_Call POL_Install_steam
 
# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Install the game
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine --ignore-errors "steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"
 
## Fix for this game
# Remove gamepad's bindings because of phantom key presses
GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
## End Fix
 
# Make shorcut to game executable because of running it via Steam is not working
POL_Shortcut "Game.exe" "$TITLE" "$TITLE.png"
 
POL_SetupWindow_Close
exit

Replies

petch Wednesday 28 October 2015 at 22:15
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Use graphic resources

Differences

@@ -15,6 +15,8 @@
 WORKING_WINE_VERSION="1.7.52"
  
 # Starting the script
+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" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$PREFIX"
@@ -52,7 +54,7 @@
 ## End Fix
  
 # Make shorcut to game executable because of running it via Steam is not working
-POL_Shortcut "Game.exe" "$TITLE"
+POL_Shortcut "Game.exe" "$TITLE" "$TITLE.png"
  
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-10-27 15-26)
# Last revision : (2015-10-28 21-39)
# Wine version used : 1.7.52
# Distribution used to test : Ubuntu 15.04 x64
# Author : Aleksandr Tishin (aka Mystic-Mirage)
# Program licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Pathologic Classic HD"
PREFIX="pathologic_classic_hd"
STEAM_ID="384110"
WORKING_WINE_VERSION="1.7.52"
 
# Starting the script
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" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$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
 
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"
POL_Call POL_Install_steam
 
# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Install the game
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"
 
## Fix for this game
# Remove gamepad's bindings because of phantom key presses
GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
## End Fix
 
# Make shorcut to game executable because of running it via Steam is not working
POL_Shortcut "Game.exe" "$TITLE" "$TITLE.png"
 
POL_SetupWindow_Close
exit

Replies

Mystic-Mirage Wednesday 28 October 2015 at 20:40
Mystic-Mirage

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -1,5 +1,6 @@
 #!/bin/bash
 # Date : (2015-10-27 15-26)
+# Last revision : (2015-10-28 21-39)
 # Wine version used : 1.7.52
 # Distribution used to test : Ubuntu 15.04 x64
 # Author : Aleksandr Tishin (aka Mystic-Mirage)
@@ -32,7 +33,7 @@
 POL_Call POL_Install_quartz
 POL_Call POL_Install_wmp9
  
-POL_SetupWindow_message "$(eval_gettext ""NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install "$TITLE."')" "$TITLE"
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"
 POL_Call POL_Install_steam
  
 # Mandatory pre-install fix for steam

New source code

#!/bin/bash
# Date : (2015-10-27 15-26)
# Last revision : (2015-10-28 21-39)
# Wine version used : 1.7.52
# Distribution used to test : Ubuntu 15.04 x64
# Author : Aleksandr Tishin (aka Mystic-Mirage)
# Program licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Pathologic Classic HD"
PREFIX="pathologic_classic_hd"
STEAM_ID="384110"
WORKING_WINE_VERSION="1.7.52"
 
# Starting the script
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$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
 
POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"
POL_Call POL_Install_steam
 
# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Install the game
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"
 
## Fix for this game
# Remove gamepad's bindings because of phantom key presses
GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
## End Fix
 
# Make shorcut to game executable because of running it via Steam is not working
POL_Shortcut "Game.exe" "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

Mystic-Mirage Wednesday 28 October 2015 at 10:44
Mystic-Mirage

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,57 @@
+#!/bin/bash
+# Date : (2015-10-27 15-26)
+# Wine version used : 1.7.52
+# Distribution used to test : Ubuntu 15.04 x64
+# Author : Aleksandr Tishin (aka Mystic-Mirage)
+# Program licence : Retail
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Pathologic Classic HD"
+PREFIX="pathologic_classic_hd"
+STEAM_ID="384110"
+WORKING_WINE_VERSION="1.7.52"
+ 
+# Starting the script
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$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
+ 
+POL_SetupWindow_message "$(eval_gettext ""NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install "$TITLE."')" "$TITLE"
+POL_Call POL_Install_steam
+ 
+# Mandatory pre-install fix for steam
+POL_Call POL_Install_steam_flags "$STEAM_ID"
+ 
+# Install the game
+POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine "steam.exe" "steam://install/$STEAM_ID"
+POL_Wine_WaitExit "$TITLE"
+ 
+## Fix for this game
+# Remove gamepad's bindings because of phantom key presses
+GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
+sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
+## End Fix
+ 
+# Make shorcut to game executable because of running it via Steam is not working
+POL_Shortcut "Game.exe" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-10-27 15-26)
# Wine version used : 1.7.52
# Distribution used to test : Ubuntu 15.04 x64
# Author : Aleksandr Tishin (aka Mystic-Mirage)
# Program licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Pathologic Classic HD"
PREFIX="pathologic_classic_hd"
STEAM_ID="384110"
WORKING_WINE_VERSION="1.7.52"
 
# Starting the script
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$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
 
POL_SetupWindow_message "$(eval_gettext ""NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install "$TITLE."')" "$TITLE"
POL_Call POL_Install_steam
 
# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Install the game
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"
 
## Fix for this game
# Remove gamepad's bindings because of phantom key presses
GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
## End Fix
 
# Make shorcut to game executable because of running it via Steam is not working
POL_Shortcut "Game.exe" "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

Mystic-Mirage Saturday 24 October 2015 at 1:11
Mystic-Mirage

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,64 @@
+#!/bin/bash
+# Date : (2015-10-23 21-46)
+# Wine version used : 1.7.52
+# Distribution used to test : Ubuntu 15.04 x64
+# Author : Aleksandr Tishin (aka Mystic-Mirage)
+# Program licence : Retail
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Pathologic Classic HD"
+PREFIX="pathologic_classic_hd"
+STEAM_ID="384110"
+WORKING_WINE_VERSION="1.7.52"
+
+# Starting the script
+POL_SetupWindow_Init
+POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$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
+
+if [ "$POL_LANG" == "ru" ]; then
+  POL_SetupWindow_message "????? ????????? Steam,\n??????? ??????? ? \"????????? Steam\"\n? ??????? \"??????\"" "$TITLE"
+else
+  POL_SetupWindow_message "$(eval_gettext "When Steam insall is finished,\nuncheck Run Steam\nand press Finish')" "$TITLE"
+fi
+POL_Call POL_Install_steam
+
+# Mandatory pre-install fix for steam
+POL_Call POL_Install_steam_flags "$STEAM_ID"
+
+# Install the game
+if [ "$POL_LANG" == "ru" ]; then
+  # Workaround for missing translation
+  POL_SetupWindow_message "????? Steam ???????? ???????? $TITLE,\n?? ????????? ?????????.\n\n???????? Steam ????????? (??????? ?????),\n????? ???? ?????? ??????????? ??? ??????????" "$TITLE"
+else
+  POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
+fi
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine start /unix "steam.exe" "steam://install/$STEAM_ID"
+POL_Wine_WaitExit "$TITLE"
+
+## Fix for this game
+# Remove gamepad's bindings because of phantom key presses
+GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
+sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
+## End Fix
+
+POL_Shortcut "Game.exe" "$TITLE"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-10-23 21-46)
# Wine version used : 1.7.52
# Distribution used to test : Ubuntu 15.04 x64
# Author : Aleksandr Tishin (aka Mystic-Mirage)
# Program licence : Retail

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

TITLE="Pathologic Classic HD"
PREFIX="pathologic_classic_hd"
STEAM_ID="384110"
WORKING_WINE_VERSION="1.7.52"

# Starting the script
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$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

if [ "$POL_LANG" == "ru" ]; then
  POL_SetupWindow_message "????? ????????? Steam,\n??????? ??????? ? \"????????? Steam\"\n? ??????? \"??????\"" "$TITLE"
else
  POL_SetupWindow_message "$(eval_gettext "When Steam insall is finished,\nuncheck Run Steam\nand press Finish')" "$TITLE"
fi
POL_Call POL_Install_steam

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"

# Install the game
if [ "$POL_LANG" == "ru" ]; then
  # Workaround for missing translation
  POL_SetupWindow_message "????? Steam ???????? ???????? $TITLE,\n?? ????????? ?????????.\n\n???????? Steam ????????? (??????? ?????),\n????? ???? ?????? ??????????? ??? ??????????" "$TITLE"
else
  POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
fi
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

## Fix for this game
# Remove gamepad's bindings because of phantom key presses
GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
## End Fix

POL_Shortcut "Game.exe" "$TITLE"

POL_SetupWindow_Close
exit

Replies

Mystic-Mirage Friday 23 October 2015 at 20:08
Mystic-Mirage

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,39 @@
+#!/bin/bash
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Pathologic Classic HD"
+PREFIX="pathologic_classic_hd"
+STEAM_ID="384110"
+WORKING_WINE_VERSION="1.7.52"
+
+POL_SetupWindow_Init
+
+POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Call POL_Install_d3dx9_36
+POL_Call POL_Install_devenum
+POL_Call POL_Install_quartz
+POL_Call POL_Install_wmp9
+POL_Call POL_Install_steam
+POL_Call POL_Install_steam_flags "$STEAM_ID"
+
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine start /unix "steam.exe" "steam://install/$STEAM_ID"
+POL_Wine_WaitExit "$TITLE"
+
+GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
+sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"
+
+rm -rf "$GAME_PATH/_CommonRedist"
+
+POL_Shortcut "Game.exe" "$TITLE"
+
+POL_SetupWindow_Close
+exit 0

New source code

#!/bin/bash

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

TITLE="Pathologic Classic HD"
PREFIX="pathologic_classic_hd"
STEAM_ID="384110"
WORKING_WINE_VERSION="1.7.52"

POL_SetupWindow_Init

POL_SetupWindow_presentation "$TITLE" "Ice-pick Lodge" "http://www.ice-pick.com/" "Mystic-Mirage" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"

POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_d3dx9_36
POL_Call POL_Install_devenum
POL_Call POL_Install_quartz
POL_Call POL_Install_wmp9
POL_Call POL_Install_steam
POL_Call POL_Install_steam_flags "$STEAM_ID"

cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" "steam://install/$STEAM_ID"
POL_Wine_WaitExit "$TITLE"

GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "Game.exe")")/../.."; pwd -P)
sed -i "/bind gp_/d" "$GAME_PATH/data/init.cfg"

rm -rf "$GAME_PATH/_CommonRedist"

POL_Shortcut "Game.exe" "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

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