Little Inferno (Steam, local)

Informations

Creator Message
rcmn Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 7951
Wine: 3.0.3

Feedbacks

Description

Puzzle video game, 2012. Throw your toys into your fire, and play with them as they burn. Stay warm in there. It's getting cold outside!

Wikipedia.

Screenshots

MiniatureMiniature

Source code

#!/bin/bash
# Date : (2019-08-03)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : v2.0.0.1 (2015) from GOG.com
#
# Game based on (ie: middlewares): .
#
#
# CHANGELOG:
# [Dadu042] (2019-08-03 20:28)
#   First script.
# [Dadu042] (2019-08-14)
#   Littles improvements.
#
# KNOWN ISSUES:
#  - When installing locally (GOG installer): 'Run Error' (x 4), but it seems to install fine.



[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
         
TITLE="Little Inferno"
PREFIX="little_inferno"
WORKING_WINE_VERSION="3.0.3"
AUTHOR="Dadu042"
EDITOR=""
GAME_URL="http://tomorrowcorporation.com/littleinferno"
    
POL_SetupWindow_Init
POL_Debug_Init
    
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
    
POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
    
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# POL_Wine_PrefixCreate
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"
  
# POL_Call POL_Install_corefonts
  
## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
# End Section ##

# This web game was not released on CD/DVD.
# POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD" 
POL_SetupWindow_InstallMethod "LOCAL,STEAM"
     
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
   
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"

#        POL_SetupWindow_message "We recommend to uncheck all checkboxes (ie: about DirectX, VC++ ..." "$TITLE"

        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"

elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/221260
        POL_Wine_WaitBefore "$TITLE"

elif [ "$INSTALL_METHOD" == "CD" ];then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom ""
        POL_Wine start /unix "$CDROM/install.exe"
        POL_Wine_WaitExit "install.exe"
        cd "$POL_System_TmpDir"
fi
      
      
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/221260"
else         
       POL_Shortcut "Little Inferno.exe" "$TITLE" "" "" "Game;ActionGame;"
       POL_Shortcut_Document "$TITLE" "readme.html"
fi
  
# GPU selection. Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Wednesday 14 August 2019 at 19:29
Dadu042

Information

This update has been approved by the team.

Message

I wrote this script because I didn't see there was already one.

Differences

@@ -1,76 +1,99 @@
 #!/bin/bash
-# Date : (2013-03-16 21:00)
-# Last revision : (2013-03-16 21:00)
-# Wine version used : 1.5.7
-# Distribution used to test : Linux Mint 12 x64
-# Author : rcmn
-# Licence : Retail
-# Only For : http://www.playonlinux.com
- 
-[ "$PLAYONLINUX" = "" ] && exit 0
+# Date : (2019-08-03)
+# Last revision : see changelog
+# Wine version used : see below
+# Distribution used to test : XUbuntu 18.04 x64
+# Script licence : GPL3
+# Program licence : Retail
+# Playonlinux v4.3.4
+#
+# Tested version : v2.0.0.1 (2015) from GOG.com
+#
+# Game based on (ie: middlewares): .
+#
+#
+# CHANGELOG:
+# [Dadu042] (2019-08-03 20:28)
+#   First script.
+# [Dadu042] (2019-08-14)
+#   Littles improvements.
+#
+# KNOWN ISSUES:
+#  - When installing locally (GOG installer): 'Run Error' (x 4), but it seems to install fine.
+
+
+
+[ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
-TITLE="Little Inferno Steam"
-PREFIX="LittleInfernoSteam"
-EDITOR="Tomorrow Corporation"
-GAME_URL="Tomorrow Corporation" "http://tomorrowcorporation.com/littleinferno"
-AUTHOR="capcavern"
-WORKING_WINE_VERSION="1.5.26"
-GAME_VMS="512"
- 
-# Starting the script
-#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/little_inferno/top.jpg" "http://files.playonlinux.com/resources/setups/little_nferno/left.jpg" "$TITLE"
+         
+TITLE="Little Inferno"
+PREFIX="little_inferno"
+WORKING_WINE_VERSION="3.0.3"
+AUTHOR="Dadu042"
+EDITOR=""
+GAME_URL="http://tomorrowcorporation.com/littleinferno"
+    
 POL_SetupWindow_Init
- 
-# Starting debugging API
 POL_Debug_Init
- 
+    
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
- 
-# Setting prefix path
+    
+POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+    
 POL_Wine_SelectPrefix "$PREFIX"
- 
-# Downloading wine if necessary and creating prefix
-POL_System_SetArch "auto"
+POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
- 
-# Choose between Digital Download version
-POL_SetupWindow_InstallMethod "STEAM"
- 
-# Installing mandatory dependencies
-POL_Call POL_Install_steam
-POL_Call POL_Install_dxfullsetup
- 
-# Mandatory pre-install fix for steam
-STEAM_ID="221260"
-POL_Call POL_Install_steam_flags "$STEAM_ID"
- 
-# Asking about memory size of graphic card
-POL_SetupWindow_VMS $GAME_VMS
- 
-# Set Graphic Card information keys for wine
-POL_Wine_SetVideoDriver
- 
-## Fix for this game
-# Sound problem fix - pulseaudio related
-[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
-[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
-## End Fix
- 
+# POL_Wine_PrefixCreate
+POL_System_TmpCreate "$TITLE"
+  
+Set_OS "win7"
+  
+# POL_Call POL_Install_corefonts
+  
 ## Begin Common PlayOnMac Section ##
 [ "$POL_OS" = "Mac" ] && Set_Managed "Off"
-## End Section ##
- 
-# Making shortcut
-POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
- 
-# Begin game installation
-if [ "$INSTALL_METHOD" == "STEAM" ]; then
-        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 start /unix "steam.exe" steam://install/$STEAM_ID
+# End Section ##
+
+# This web game was not released on CD/DVD.
+# POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD" 
+POL_SetupWindow_InstallMethod "LOCAL,STEAM"
+     
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+   
+        cd "$HOME"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+
+#	POL_SetupWindow_message "We recommend to uncheck all checkboxes (ie: about DirectX, VC++ ..." "$TITLE"
+
+        POL_Wine start /unix "$SETUP_EXE"
         POL_Wine_WaitExit "$TITLE"
+
+elif [ "$INSTALL_METHOD" == "STEAM" ];then
+        POL_Call POL_Install_steam
+        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+        POL_Wine "steam.exe" steam://install/221260
+        POL_Wine_WaitBefore "$TITLE"
+
+elif [ "$INSTALL_METHOD" == "CD" ];then
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom ""
+        POL_Wine start /unix "$CDROM/install.exe"
+        POL_Wine_WaitExit "install.exe"
+        cd "$POL_System_TmpDir"
+fi
+      
+      
+if [ "$INSTALL_METHOD" == "STEAM" ]; then
+        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/221260"
+else         
+       POL_Shortcut "Little Inferno.exe" "$TITLE" "" "" "Game;ActionGame;"
+       POL_Shortcut_Document "$TITLE" "readme.html"
 fi
- 
+  
+# GPU selection. Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
+POL_Call POL_Install_VideoDriver
+
+POL_System_TmpDelete
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2019-08-03)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : v2.0.0.1 (2015) from GOG.com
#
# Game based on (ie: middlewares): .
#
#
# CHANGELOG:
# [Dadu042] (2019-08-03 20:28)
#   First script.
# [Dadu042] (2019-08-14)
#   Littles improvements.
#
# KNOWN ISSUES:
#  - When installing locally (GOG installer): 'Run Error' (x 4), but it seems to install fine.



[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
         
TITLE="Little Inferno"
PREFIX="little_inferno"
WORKING_WINE_VERSION="3.0.3"
AUTHOR="Dadu042"
EDITOR=""
GAME_URL="http://tomorrowcorporation.com/littleinferno"
    
POL_SetupWindow_Init
POL_Debug_Init
    
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
    
POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
    
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
# POL_Wine_PrefixCreate
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"
  
# POL_Call POL_Install_corefonts
  
## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
# End Section ##

# This web game was not released on CD/DVD.
# POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD" 
POL_SetupWindow_InstallMethod "LOCAL,STEAM"
     
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
   
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"

#        POL_SetupWindow_message "We recommend to uncheck all checkboxes (ie: about DirectX, VC++ ..." "$TITLE"

        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"

elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/221260
        POL_Wine_WaitBefore "$TITLE"

elif [ "$INSTALL_METHOD" == "CD" ];then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom ""
        POL_Wine start /unix "$CDROM/install.exe"
        POL_Wine_WaitExit "install.exe"
        cd "$POL_System_TmpDir"
fi
      
      
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/221260"
else         
       POL_Shortcut "Little Inferno.exe" "$TITLE" "" "" "Game;ActionGame;"
       POL_Shortcut_Document "$TITLE" "readme.html"
fi
  
# GPU selection. Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies