Oxygen Not Included
Informations
Créateur | Messages |
---|---|
lahtis
|
AttentionThis installer is a beta script. It means that it might not work as expected InformationsPlate-formes : Retours d'expérience0 0 DescriptionOxygen Not Included (2017) is a space-colony simulation game. Manage your colonists and help them dig, build and maintain a subterranean asteroid base. Wikipedia. This script can install the game from Steam but not from a local file. Note: this game has a Linux native release. Captures d'écranCode source#!/bin/bash # Date : (2017-11-17) # Last revision : see changelog # Distribution used to test : Ubuntu 14.04 # Author : lahtis # Licence : retail # PlayOnLinux: 4.2.12 # # CHANGELOG # [lahtis] (2017-11-17) # First script. # [Dadu042] (2019-12-30) # Wine 2.19-staging -> 2.22 # Add POL_RequiredVersion "4.0.0" [-z "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="OxygenNotIncluded" WINEVERSION="2.22" TITLE="Oxygen Not Included" EDITOR="Klei" GAME_URL="https://www.klei.com/games/oxygen-not-included" AUTHOR="lahtis" #Initialization 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 # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x64" POL_Wine_PrefixCreate "$WINEVERSION" GAME_VMS="512" STEAM_ID="457140" # Fix pulseaudio issue which pulseaudio && Set_OS "win8" # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Installing mandatory dependencies POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" POL_SetupWindow_message "$(eval_gettext 'Install $TITLE in Steam. Run the $TITLE when Steam is installed the game.')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" POL_SetupWindow_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContribuerMembre | Messages |
Dadu042 | Mardi 31 Décembre 2019 à 11:00 |
Dadu042
|
InformationCette mise à jour a été acceptée par l'équipe Differences@@ -17,7 +17,7 @@ source "$PLAYONLINUX/lib/sources" PREFIX="OxygenNotIncluded" -WINEVERSION="2.19-staging" +WINEVERSION="2.22" TITLE="Oxygen Not Included" EDITOR="Klei" GAME_URL="https://www.klei.com/games/oxygen-not-included" Nouveau code source#!/bin/bash # Date : (2017-11-17) # Last revision : see changelog # Distribution used to test : Ubuntu 14.04 # Author : lahtis # Licence : retail # PlayOnLinux: 4.2.12 # # CHANGELOG # [lahtis] (2017-11-17) # First script. # [Dadu042] (2019-12-30) # Wine 2.19-staging -> 2.22 # Add POL_RequiredVersion "4.0.0" [-z "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="OxygenNotIncluded" WINEVERSION="2.22" TITLE="Oxygen Not Included" EDITOR="Klei" GAME_URL="https://www.klei.com/games/oxygen-not-included" AUTHOR="lahtis" #Initialization 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 # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x64" POL_Wine_PrefixCreate "$WINEVERSION" GAME_VMS="512" STEAM_ID="457140" # Fix pulseaudio issue which pulseaudio && Set_OS "win8" # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Installing mandatory dependencies POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" POL_SetupWindow_message "$(eval_gettext 'Install $TITLE in Steam. Run the $TITLE when Steam is installed the game.')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" POL_SetupWindow_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" POL_SetupWindow_Close exit 0 RéponsesMardi 31 Décembre 2019 à 11:00
Edité par Dadu042 |
lahtis | Samedi 18 Novembre 2017 à 2:27 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -0,0 +1,60 @@ +#!/bin/bash +# Date : (2017-11-17) +# Last revision : (2017-11-17) +# Distribution used to test : Ubuntu 14.04 +# Author : lahtis +# Licence : retail +# PlayOnLinux: 4.2.12 + +[-z "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +PREFIX="OxygenNotIncluded" +WINEVERSION="2.19-staging" +TITLE="Oxygen Not Included" +EDITOR="Klei" +GAME_URL="https://www.klei.com/games/oxygen-not-included" +AUTHOR="lahtis" + +#Initialization +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 + +# Presentation +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + +# Create Prefix +POL_Wine_SelectPrefix "$PREFIX" +POL_System_SetArch "x64" +POL_Wine_PrefixCreate "$WINEVERSION" +GAME_VMS="512" +STEAM_ID="457140" + +# Fix pulseaudio issue +which pulseaudio && Set_OS "win8" + +# Asking about memory size of graphic card +POL_SetupWindow_VMS $GAME_VMS + +# Installing mandatory dependencies +POL_Call POL_Install_steam + +# Mandatory pre-install fix for steam +POL_Call POL_Install_steam_flags "$STEAM_ID" + +# Shortcut done before install for steam version +POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" +POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" + +POL_SetupWindow_message "$(eval_gettext 'Install $TITLE in Steam. Run the $TITLE when Steam is installed the game.')" "$TITLE" +cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" +POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID +POL_Wine_WaitExit "$TITLE" + + POL_SetupWindow_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" + +POL_SetupWindow_Close + +exit 0 Nouveau code source#!/bin/bash # Date : (2017-11-17) # Last revision : (2017-11-17) # Distribution used to test : Ubuntu 14.04 # Author : lahtis # Licence : retail # PlayOnLinux: 4.2.12 [-z "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="OxygenNotIncluded" WINEVERSION="2.19-staging" TITLE="Oxygen Not Included" EDITOR="Klei" GAME_URL="https://www.klei.com/games/oxygen-not-included" AUTHOR="lahtis" #Initialization 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 # Presentation POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Create Prefix POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x64" POL_Wine_PrefixCreate "$WINEVERSION" GAME_VMS="512" STEAM_ID="457140" # Fix pulseaudio issue which pulseaudio && Set_OS "win8" # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Installing mandatory dependencies POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" POL_SetupWindow_message "$(eval_gettext 'Install $TITLE in Steam. Run the $TITLE when Steam is installed the game.')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" POL_SetupWindow_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" POL_SetupWindow_Close exit 0 RéponsesLundi 4 Décembre 2017 à 7:12
|
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