Du är här

LIMBO

Informations

Creator Meddelanden
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 42963
Wine: 3.0.3

Feedbacks

Description

Puzzle-platform video game, 2010.

Received many awards (see Wikipedia).

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2011-08-28 16:38)
# Last revision : N/A
# Wine version used : system
# Distribution used to test : Xubuntu 18.04 x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com
 
# CHANGELOG
# Berillions (2011-08-13)
#   First script.
# Dadu042 (2019-08-01)
#   I used the retail DDV .EXE (limbo.exe: november 2011, File Version 1,0,0,1). Steam demo did not install (failure in POL's Steam ?).
#   Upgrade Wine 1.3.0 (2010) -> 3.0.3 (2018), work with success.
#   Remove WORKING_WINE_VERSION in order to use Sytems's Wine version.
#   Remove POL_Install_d3dx9 (not necessary anymore).
# Dadu042 (2019-09-04)
#   Fix icon.
#
# KNOWN ISSUES:
#   Installer window fail to appear (standalone demo file). Occurred with Wine 1.9.24, 2.22, on Xubuntu 18.04 x64 (GPU Intel).
 
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="LIMBO"
TITLE_DEMO="LIMBO (Demo)"
PREFIX="limbo"
# WORKING_WINE_VERSION="3.0.3"
GAME_VMS="256"
  
# Starting the script
rm "$POL_USER_ROOT/tmp/*.jpg"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/limbo/top.jpg" "http://files.playonlinux.com/resources/setups/limbo/left.jpg" "$TITLE"
POL_SetupWindow_Init
  
# Starting debugging API
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Playdead" "http://limbogame.org/" "GNU_Raziel" "$PREFIX"
  
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
# POL_Wine_PrefixCreate
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
# Choose between Steam and other Digital Download version
POL_SetupWindow_InstallMethod "STEAM_DEMO,STEAM,LOCAL"
  
#Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ] || [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        POL_Call POL_Install_steam
fi
 
# Useless since Wine 3.0.3
# POL_Call POL_Install_d3dx9 # Fix "missing d3dx9_43.dll" issue
  
# Mandatory pre-install fix for steam
if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        POL_Call POL_Install_steam_flags "48010"
else
        POL_Call POL_Install_steam_flags "48000"
fi
  
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/48010
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/48000
        POL_Wine_WaitExit "$TITLE"
else
        # Asking then installing DDV of the game
        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"
fi
  
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
  
## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix
  
## PlayOnMac Section
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section
  
# Cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
        chmod -R 777 "$POL_USER_ROOT/tmp/"
        rm -rf "$POL_USER_ROOT/tmp/*"
fi
  
# Making shortcut
if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        POL_Shortcut "Steam.exe" "$TITLE_DEMO" "" "steam://rungameid/48010"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "Steam.exe" "$TITLE_DEMO" "" "steam://rungameid/48000"
else
        POL_Shortcut "limbo.exe" "$TITLE" "" ""
fi
  
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Meddelanden
Dadu042 Wednesday 4 September 2019 at 22:07
Dadu042

Information

This update has been approved by the team.

Differences

@@ -6,66 +6,67 @@
 # Author : GNU_Raziel
 # Licence : Retail
 # Only For : http://www.playonlinux.com
-
+ 
 # CHANGELOG
 # Berillions (2011-08-13)
 #   First script.
 # Dadu042 (2019-08-01)
-#   I used the retail DDV .EXE (limbo.exe: november 2011, File Version 1,0,0,1). Steam demo did not install (failure in POL's Steam ?).
-#   Upgrade Wine 1.3.0 (2010) -> 3.0.3 (2018), work with success.
-#   Remove WORKING_WINE_VERSION in order to use Sytems's Wine version.
-#   Remove POL_Install_d3dx9 (not necessary anymore).
-#
+#   I used the retail DDV .EXE (limbo.exe: november 2011, File Version 1,0,0,1). Steam demo did not install (failure in POL's Steam ?).
+#   Upgrade Wine 1.3.0 (2010) -> 3.0.3 (2018), work with success.
+#   Remove WORKING_WINE_VERSION in order to use Sytems's Wine version.
+#   Remove POL_Install_d3dx9 (not necessary anymore).
+# Dadu042 (2019-09-04)
+#   Fix icon.
 #
 # KNOWN ISSUES:
 #   Installer window fail to appear (standalone demo file). Occurred with Wine 1.9.24, 2.22, on Xubuntu 18.04 x64 (GPU Intel).
-
-
+ 
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+  
 TITLE="LIMBO"
 TITLE_DEMO="LIMBO (Demo)"
 PREFIX="limbo"
-# WORKING_WINE_VERSION="3.0.3"
+# WORKING_WINE_VERSION="3.0.3"
 GAME_VMS="256"
- 
+  
 # Starting the script
 rm "$POL_USER_ROOT/tmp/*.jpg"
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/limbo/top.jpg" "http://files.playonlinux.com/resources/setups/limbo/left.jpg" "$TITLE"
 POL_SetupWindow_Init
- 
+  
 # Starting debugging API
 POL_Debug_Init
- 
+  
 POL_SetupWindow_presentation "$TITLE" "Playdead" "http://limbogame.org/" "GNU_Raziel" "$PREFIX"
- 
+  
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
- 
+  
 # Downloading wine if necessary and creating prefix
 POL_System_SetArch "auto"
 # POL_Wine_PrefixCreate
 # POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
- 
+  
 # Choose between Steam and other Digital Download version
 POL_SetupWindow_InstallMethod "STEAM_DEMO,STEAM,LOCAL"
- 
+  
 #Installing mandatory dependencies
 if [ "$INSTALL_METHOD" == "STEAM" ] || [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
         POL_Call POL_Install_steam
 fi
-
-# Useless since Wine 3.0.3
-# POL_Call POL_Install_d3dx9 # Fix "missing d3dx9_43.dll" issue
  
+# Useless since Wine 3.0.3
+# POL_Call POL_Install_d3dx9 # Fix "missing d3dx9_43.dll" issue
+  
 # Mandatory pre-install fix for steam
 if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
         POL_Call POL_Install_steam_flags "48010"
 else
         POL_Call POL_Install_steam_flags "48000"
 fi
- 
+  
 # Begin game installation
 if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
         cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
@@ -83,35 +84,35 @@
         POL_Wine start /unix "$SETUP_EXE"
         POL_Wine_WaitExit "$TITLE"
 fi
- 
+  
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
- 
+  
 ## Fix for this game
 # Sound problem fix - pulseaudio related
 [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
 [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
 ## End Fix
- 
+  
 ## PlayOnMac Section
 [ "$POL_OS" = "Mac" ] && Set_Managed "Off"
 ## End Section
- 
+  
 # Cleaning temp
 if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
         rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
         chmod -R 777 "$POL_USER_ROOT/tmp/"
         rm -rf "$POL_USER_ROOT/tmp/*"
 fi
- 
+  
 # Making shortcut
 if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
-        POL_Shortcut "Steam.exe" "$TITLE_DEMO" "$TITLE.png" "steam://rungameid/48010"
+        POL_Shortcut "Steam.exe" "$TITLE_DEMO" "" "steam://rungameid/48010"
 elif [ "$INSTALL_METHOD" == "STEAM" ]; then
-        POL_Shortcut "Steam.exe" "$TITLE_DEMO" "$TITLE.png" "steam://rungameid/48000"
+        POL_Shortcut "Steam.exe" "$TITLE_DEMO" "" "steam://rungameid/48000"
 else
-        POL_Shortcut "limbo.exe" "$TITLE" "$TITLE.png" ""
+        POL_Shortcut "limbo.exe" "$TITLE" "" ""
 fi
- 
+  
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2011-08-28 16:38)
# Last revision : N/A
# Wine version used : system
# Distribution used to test : Xubuntu 18.04 x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com
 
# CHANGELOG
# Berillions (2011-08-13)
#   First script.
# Dadu042 (2019-08-01)
#   I used the retail DDV .EXE (limbo.exe: november 2011, File Version 1,0,0,1). Steam demo did not install (failure in POL's Steam ?).
#   Upgrade Wine 1.3.0 (2010) -> 3.0.3 (2018), work with success.
#   Remove WORKING_WINE_VERSION in order to use Sytems's Wine version.
#   Remove POL_Install_d3dx9 (not necessary anymore).
# Dadu042 (2019-09-04)
#   Fix icon.
#
# KNOWN ISSUES:
#   Installer window fail to appear (standalone demo file). Occurred with Wine 1.9.24, 2.22, on Xubuntu 18.04 x64 (GPU Intel).
 
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="LIMBO"
TITLE_DEMO="LIMBO (Demo)"
PREFIX="limbo"
# WORKING_WINE_VERSION="3.0.3"
GAME_VMS="256"
  
# Starting the script
rm "$POL_USER_ROOT/tmp/*.jpg"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/limbo/top.jpg" "http://files.playonlinux.com/resources/setups/limbo/left.jpg" "$TITLE"
POL_SetupWindow_Init
  
# Starting debugging API
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Playdead" "http://limbogame.org/" "GNU_Raziel" "$PREFIX"
  
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
# POL_Wine_PrefixCreate
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
# Choose between Steam and other Digital Download version
POL_SetupWindow_InstallMethod "STEAM_DEMO,STEAM,LOCAL"
  
#Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ] || [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        POL_Call POL_Install_steam
fi
 
# Useless since Wine 3.0.3
# POL_Call POL_Install_d3dx9 # Fix "missing d3dx9_43.dll" issue
  
# Mandatory pre-install fix for steam
if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        POL_Call POL_Install_steam_flags "48010"
else
        POL_Call POL_Install_steam_flags "48000"
fi
  
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/48010
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/48000
        POL_Wine_WaitExit "$TITLE"
else
        # Asking then installing DDV of the game
        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"
fi
  
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
  
## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix
  
## PlayOnMac Section
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section
  
# Cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
        chmod -R 777 "$POL_USER_ROOT/tmp/"
        rm -rf "$POL_USER_ROOT/tmp/*"
fi
  
# Making shortcut
if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        POL_Shortcut "Steam.exe" "$TITLE_DEMO" "" "steam://rungameid/48010"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "Steam.exe" "$TITLE_DEMO" "" "steam://rungameid/48000"
else
        POL_Shortcut "limbo.exe" "$TITLE" "" ""
fi
  
POL_SetupWindow_Close
exit

Svar

Dadu042 Thursday 1 August 2019 at 13:05
Dadu042

Warning

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

Differences

@@ -1,100 +1,117 @@
 #!/bin/bash
 # Date : (2011-08-28 16:38)
 # Last revision : N/A
-# Wine version used : 1.3.26
-# Distribution used to test : Linux Mint 11 x64
+# Wine version used : system
+# Distribution used to test : Xubuntu 18.04 x64
 # Author : GNU_Raziel
 # Licence : Retail
 # Only For : http://www.playonlinux.com
 
+# CHANGELOG
+# Berillions (2011-08-13)
+#   First script.
+# Dadu042 (2019-08-01)
+#   I used the retail DDV .EXE (limbo.exe: november 2011, File Version 1,0,0,1). Steam demo did not install (failure in POL's Steam ?).
+#   Upgrade Wine 1.3.0 (2010) -> 3.0.3 (2018), work with success.
+#   Remove WORKING_WINE_VERSION in order to use Sytems's Wine version.
+#   Remove POL_Install_d3dx9 (not necessary anymore).
+#
+#
+# KNOWN ISSUES:
+#   Installer window fail to appear (standalone demo file). Occurred with Wine 1.9.24, 2.22, on Xubuntu 18.04 x64 (GPU Intel).
+
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="LIMBO"
 TITLE_DEMO="LIMBO (Demo)"
 PREFIX="limbo"
-WORKING_WINE_VERSION="1.3.26"
+# WORKING_WINE_VERSION="3.0.3"
 GAME_VMS="256"
-
+ 
 # Starting the script
 rm "$POL_USER_ROOT/tmp/*.jpg"
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/limbo/top.jpg" "http://files.playonlinux.com/resources/setups/limbo/left.jpg" "$TITLE"
 POL_SetupWindow_Init
-
+ 
 # Starting debugging API
 POL_Debug_Init
-
-POL_SetupWindow_presentation "$TITLE" "Playdead" "http://limbogame.org/" "GNU_Raziel" "$PREFIX" 
-
+ 
+POL_SetupWindow_presentation "$TITLE" "Playdead" "http://limbogame.org/" "GNU_Raziel" "$PREFIX"
+ 
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
-
+ 
 # Downloading wine if necessary and creating prefix
 POL_System_SetArch "auto"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+# POL_Wine_PrefixCreate
+# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+ 
 # Choose between Steam and other Digital Download version
 POL_SetupWindow_InstallMethod "STEAM_DEMO,STEAM,LOCAL"
-
+ 
 #Installing mandatory dependencies
 if [ "$INSTALL_METHOD" == "STEAM" ] || [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
-	POL_Call POL_Install_steam
+        POL_Call POL_Install_steam
 fi
-POL_Call POL_Install_d3dx9 # Fix "missing d3dx9_43.dll" issue
 
+# Useless since Wine 3.0.3
+# POL_Call POL_Install_d3dx9 # Fix "missing d3dx9_43.dll" issue
+ 
 # Mandatory pre-install fix for steam
 if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
-	POL_Call POL_Install_steam_flags "48010"
+        POL_Call POL_Install_steam_flags "48010"
 else
-	POL_Call POL_Install_steam_flags "48000"
+        POL_Call POL_Install_steam_flags "48000"
 fi
-
+ 
 # Begin game installation
 if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
-	cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
-	POL_Wine "steam.exe" steam://install/48010
-	POL_Wine_WaitExit "$TITLE"
+        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+        POL_Wine "steam.exe" steam://install/48010
+        POL_Wine_WaitExit "$TITLE"
 elif [ "$INSTALL_METHOD" == "STEAM" ]; then
-	cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
-	POL_Wine "steam.exe" steam://install/48000
-	POL_Wine_WaitExit "$TITLE"
+        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+        POL_Wine "steam.exe" steam://install/48000
+        POL_Wine_WaitExit "$TITLE"
 else
-	# Asking then installing DDV of the game
-	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"
+        # Asking then installing DDV of the game
+        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"
 fi
-
+ 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-
+ 
 ## Fix for this game
 # Sound problem fix - pulseaudio related
 [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
 [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
 ## End Fix
-
+ 
 ## PlayOnMac Section
 [ "$POL_OS" = "Mac" ] && Set_Managed "Off"
 ## End Section
-
+ 
 # Cleaning temp
 if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
-	rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
-	chmod -R 777 "$POL_USER_ROOT/tmp/"
-	rm -rf "$POL_USER_ROOT/tmp/*"
+        rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
+        chmod -R 777 "$POL_USER_ROOT/tmp/"
+        rm -rf "$POL_USER_ROOT/tmp/*"
 fi
-
+ 
 # Making shortcut
 if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
-	POL_Shortcut "Steam.exe" "$TITLE_DEMO" "$TITLE.png" "steam://rungameid/48010"
+        POL_Shortcut "Steam.exe" "$TITLE_DEMO" "$TITLE.png" "steam://rungameid/48010"
 elif [ "$INSTALL_METHOD" == "STEAM" ]; then
-	POL_Shortcut "Steam.exe" "$TITLE_DEMO" "$TITLE.png" "steam://rungameid/48000"
+        POL_Shortcut "Steam.exe" "$TITLE_DEMO" "$TITLE.png" "steam://rungameid/48000"
 else
-	POL_Shortcut "limbo.exe" "$TITLE" "$TITLE.png" ""
+        POL_Shortcut "limbo.exe" "$TITLE" "$TITLE.png" ""
 fi
-
+ 
 POL_SetupWindow_Close
 exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2011-08-28 16:38)
# Last revision : N/A
# Wine version used : system
# Distribution used to test : Xubuntu 18.04 x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

# CHANGELOG
# Berillions (2011-08-13)
#   First script.
# Dadu042 (2019-08-01)
#   I used the retail DDV .EXE (limbo.exe: november 2011, File Version 1,0,0,1). Steam demo did not install (failure in POL's Steam ?).
#   Upgrade Wine 1.3.0 (2010) -> 3.0.3 (2018), work with success.
#   Remove WORKING_WINE_VERSION in order to use Sytems's Wine version.
#   Remove POL_Install_d3dx9 (not necessary anymore).
#
#
# KNOWN ISSUES:
#   Installer window fail to appear (standalone demo file). Occurred with Wine 1.9.24, 2.22, on Xubuntu 18.04 x64 (GPU Intel).


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="LIMBO"
TITLE_DEMO="LIMBO (Demo)"
PREFIX="limbo"
# WORKING_WINE_VERSION="3.0.3"
GAME_VMS="256"
 
# Starting the script
rm "$POL_USER_ROOT/tmp/*.jpg"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/limbo/top.jpg" "http://files.playonlinux.com/resources/setups/limbo/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Playdead" "http://limbogame.org/" "GNU_Raziel" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
# POL_Wine_PrefixCreate
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between Steam and other Digital Download version
POL_SetupWindow_InstallMethod "STEAM_DEMO,STEAM,LOCAL"
 
#Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ] || [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        POL_Call POL_Install_steam
fi

# Useless since Wine 3.0.3
# POL_Call POL_Install_d3dx9 # Fix "missing d3dx9_43.dll" issue
 
# Mandatory pre-install fix for steam
if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        POL_Call POL_Install_steam_flags "48010"
else
        POL_Call POL_Install_steam_flags "48000"
fi
 
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/48010
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/48000
        POL_Wine_WaitExit "$TITLE"
else
        # Asking then installing DDV of the game
        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"
fi
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix
 
## PlayOnMac Section
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section
 
# Cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
        chmod -R 777 "$POL_USER_ROOT/tmp/"
        rm -rf "$POL_USER_ROOT/tmp/*"
fi
 
# Making shortcut
if [ "$INSTALL_METHOD" == "STEAM_DEMO" ]; then
        POL_Shortcut "Steam.exe" "$TITLE_DEMO" "$TITLE.png" "steam://rungameid/48010"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "Steam.exe" "$TITLE_DEMO" "$TITLE.png" "steam://rungameid/48000"
else
        POL_Shortcut "limbo.exe" "$TITLE" "$TITLE.png" ""
fi
 
POL_SetupWindow_Close
exit

Svar

Dadu042 Saturday 20 July 2019 at 6:54
Dadu042

Meddelanden

When installing 'LIMBO Demo' : Wine 1.3.26 does crash and Steam is not found.

 

Note: the standalone demo file is downloadable from https://games.softpedia.com/get/Games-Demo/Limbo.shtml

Svar

Ändrat av Dadu042

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