Pathologic Classic HD

Informations

Créateur Messages
Mystic-Mirage

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 8358
Wine: 1.7.52

Retours d'expérience

Description

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

Wikipedia.

Captures d'écran

MiniatureMiniature

Code source

#!/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:

Contribuer
Membre Messages
aggelito Vendredi 22 Janvier 2016 à 18:06
aggelito

Information

Cette mise à jour a été acceptée par l'équipe

Messages

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

Nouveau code source

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

Réponses

petch Vendredi 4 Décembre 2015 à 23:14
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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"
 

Nouveau code source

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

Réponses

Mystic-Mirage Vendredi 27 Novembre 2015 à 18:14
Mystic-Mirage

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

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

Réponses

Mystic-Mirage Jeudi 29 Octobre 2015 à 9:02
Mystic-Mirage

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

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

Réponses

petch Mercredi 28 Octobre 2015 à 22:15
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

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

Réponses

Mystic-Mirage Mercredi 28 Octobre 2015 à 20:40
Mystic-Mirage

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

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

Réponses

Mystic-Mirage Mercredi 28 Octobre 2015 à 10:44
Mystic-Mirage

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

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

Réponses

Mystic-Mirage Samedi 24 Octobre 2015 à 1:11
Mystic-Mirage

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

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

Réponses

Mystic-Mirage Vendredi 23 Octobre 2015 à 20:08
Mystic-Mirage

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

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

Réponses

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