Subnautica
Informations
Créateur | Messages |
---|---|
lahtis
|
InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes : Retours d'expérience9 0 DescriptionSubnautica (2018) is an adventure survival game set in an open world environment and played from a first-person perspactive. Explore the game's world and survive the dangers. Wikipedia. Code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2018-09-15 10:02) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 1070 (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.14" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # Initialization POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution # Moving to TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_corefonts #Steam UI is textless without it POL_Call POL_Install_vcrun2013 #needed by the game itself # Registery fix for the game crashing after quiting cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg # Installing Steam POL_SetupWindow_message "$(eval_gettext 'Do NOT launch Steam after instalation. Uncheck the Launch Steam option at the end of installation. Otherwise the game instalation will fail due to missing content servers in config file.')" POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam/config" sed '27i "CS" "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" "-no-ces-sandbox" 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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" POL_System_TmpDelete POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContribuerMembre | Messages |
LinuxScripter | Mercredi 5 Février 2020 à 9:38 |
LinuxScripter
|
MessagesThis game requires DXVK but we do not have it for POL4 Réponses |
LinuxScripter | Dimanche 26 Aoüt 2018 à 17:29 |
LinuxScripter
|
MessagesI've discovered something. You can increase the game performance quite a bit by installing d3dx11_42 and d3dx11_43 via winetricks. We don't have functions for those - only generic d3dx11 which changes nothing in terms of performance. This also fixes this anyoing issue when player keeps moving after releasing the WASD keys. The game is now about as smooth as on Windows. RéponsesMercredi 29 Aoüt 2018 à 17:13
Dimanche 10 Mars 2019 à 22:38
Jeudi 23 Janvier 2020 à 21:38
|
LinuxScripter | Mardi 21 Aoüt 2018 à 22:43 |
LinuxScripter
|
InformationCette mise à jour a été acceptée par l'équipe MessagesUpdated wine version to 3.14, removed optional mod framework instalation (link for the file have changed and not sure about the QModFramework's state), reworked the dependencies, removed the steam fix for browser (which no longer works anyway and since Steam is droping support for xp and vista we can remove it). Using -force-glcore45 helps with bigger saves and mods but it makes the in-game FPS counter invisible. Therefore using it would be ill-advised for testing how this game performs on Wine. Differences@@ -1,69 +1,71 @@ #!/usr/bin/env playonlinux-bash # Date : (2017-01-24) -# Last revision : (2018-06-01 14:10) -# Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) +# Last revision : (2018-09-15 10:02) +# Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 1070 (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="Subnautica" PREFIX="Subnautica" -WORKING_WINE_VERSION="3.9" +WORKING_WINE_VERSION="3.14" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" - + # Initialization POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" - + POL_Call POL_Function_SetResolution - -# Moving TMP dir + +# Moving to TMP dir cd "$POL_System_TmpDir" - + # Installing mandatory dependencies -POL_Call POL_Install_d3dx9_42 #increases game's smoothness, recommended on winehq -POL_Call POL_Install_xact #removes errors about dwrite.dll being missing -POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements +POL_Call POL_Install_corefonts #Steam UI is textless without it POL_Call POL_Install_vcrun2013 #needed by the game itself - + # Registery fix for the game crashing after quiting cat << EOF > fix.reg REGEDIT4 - + [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" + EOF - + POL_Wine regedit.exe fix.reg - + # Installing Steam +POL_SetupWindow_message "$(eval_gettext 'Do NOT launch Steam after instalation. Uncheck the Launch Steam option at the end of installation. Otherwise the game instalation will fail due to missing content servers in config file.')" POL_Call POL_Install_steam +cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam/config" +sed '27i "CS" "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" - -# Shortcut done before install for steam version -POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" + +# Shortcut +POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" "-no-ces-sandbox" 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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" - + POL_System_TmpDelete POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2018-09-15 10:02) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 1070 (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.14" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # Initialization POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution # Moving to TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_corefonts #Steam UI is textless without it POL_Call POL_Install_vcrun2013 #needed by the game itself # Registery fix for the game crashing after quiting cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg # Installing Steam POL_SetupWindow_message "$(eval_gettext 'Do NOT launch Steam after instalation. Uncheck the Launch Steam option at the end of installation. Otherwise the game instalation will fail due to missing content servers in config file.')" POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam/config" sed '27i "CS" "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" "-no-ces-sandbox" 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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" POL_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesVendredi 1 Février 2019 à 14:34
Vendredi 1 Février 2019 à 15:58
|
LinuxScripter | Lundi 9 Juillet 2018 à 18:36 |
LinuxScripter
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesUsing the latest wine version (3.11 at this moment), removed/commented out some fixes because they no longer function, added a fix for Steam failing to download anything due to "content servers unavaiable" error (no list of CS in config file), added the option to install the framework for mods (works after an hour from downloading so token wont be an issue). Differences@@ -1,69 +1,86 @@ #!/usr/bin/env playonlinux-bash # Date : (2017-01-24) -# Last revision : (2018-06-01 14:10) -# Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) +# Last revision : (2018-07-09 18:26) +# Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 1070 (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="Subnautica" PREFIX="Subnautica" -WORKING_WINE_VERSION="3.9" +WORKING_WINE_VERSION="3.11" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" - + # Initialization POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" - + POL_Call POL_Function_SetResolution - -# Moving TMP dir + +# Moving to TMP dir cd "$POL_System_TmpDir" - + # Installing mandatory dependencies -POL_Call POL_Install_d3dx9_42 #increases game's smoothness, recommended on winehq POL_Call POL_Install_xact #removes errors about dwrite.dll being missing -POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements POL_Call POL_Install_vcrun2013 #needed by the game itself - + # Registery fix for the game crashing after quiting +# Fix for Steam Browser was commented out because it's not working anymore, still looking for a fix cat << EOF > fix.reg REGEDIT4 - + [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" +:' +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] +"Version"="winxp64" + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] +"Version"="winxp64" +' EOF - + POL_Wine regedit.exe fix.reg - + # Installing Steam POL_Call POL_Install_steam +cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam/config" +sed '27i "CS" "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" - -# Shortcut done before install for steam version -POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" + +# Shortcut +POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" "-no-ces-sandbox" 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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" - + +# Optional mod framework instalation +POL_SetupWindow_question "Do you want to install the QMod framework in order to enable mods for $TITLE ?" "$TITLE" +if [ "$APP_ANSWER" = "TRUE" ]; then + cd "$POL_System_TmpDir" + POL_Download http://filedelivery.nexusmods.com/1155/QModsSetup-16-1-2-1.exe?fid=334&ttl=1531154970&ri=8192&rs=8192&setec=4e3c18c0c0e99ed84fb9bcb03e01d3ff "b4136e56045ea7421f53ac178d749096" + POL_Wine "QModsSetup-16-1-2-1.exe" + POL_Wine_WaitBefore "$TITLE" +fi + POL_System_TmpDelete POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2018-07-09 18:26) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 1070 (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.11" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # Initialization POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution # Moving to TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_xact #removes errors about dwrite.dll being missing POL_Call POL_Install_vcrun2013 #needed by the game itself # Registery fix for the game crashing after quiting # Fix for Steam Browser was commented out because it's not working anymore, still looking for a fix cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" :' [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] "Version"="winxp64" [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] "Version"="winxp64" ' EOF POL_Wine regedit.exe fix.reg # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam/config" sed '27i "CS" "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" "-no-ces-sandbox" 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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" # Optional mod framework instalation POL_SetupWindow_question "Do you want to install the QMod framework in order to enable mods for $TITLE ?" "$TITLE" if [ "$APP_ANSWER" = "TRUE" ]; then cd "$POL_System_TmpDir" POL_Download http://filedelivery.nexusmods.com/1155/QModsSetup-16-1-2-1.exe?fid=334&ttl=1531154970&ri=8192&rs=8192&setec=4e3c18c0c0e99ed84fb9bcb03e01d3ff "b4136e56045ea7421f53ac178d749096" POL_Wine "QModsSetup-16-1-2-1.exe" POL_Wine_WaitBefore "$TITLE" fi POL_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesJeudi 16 Aoüt 2018 à 17:49
Mardi 21 Aoüt 2018 à 22:30
Mercredi 22 Aoüt 2018 à 23:24
Jeudi 23 Aoüt 2018 à 22:29
Jeudi 23 Aoüt 2018 à 22:48
|
LinuxScripter | Vendredi 1 Juin 2018 à 14:09 |
LinuxScripter
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesSince Wine 3.9 forcing the game to use OpenGL is no longer required. This should gve you a boost in performance. Differences@@ -1,6 +1,6 @@ #!/usr/bin/env playonlinux-bash # Date : (2017-01-24) -# Last revision : (2017-02-11 20:56) +# Last revision : (2018-06-01 14:10) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 @@ -12,7 +12,7 @@ TITLE="Subnautica" PREFIX="Subnautica" -WORKING_WINE_VERSION="3.1" +WORKING_WINE_VERSION="3.9" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" @@ -61,7 +61,6 @@ # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" -POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2018-06-01 14:10) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.9" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # Initialization POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_d3dx9_42 #increases game's smoothness, recommended on winehq POL_Call POL_Install_xact #removes errors about dwrite.dll being missing POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements POL_Call POL_Install_vcrun2013 #needed by the game itself # Registery fix for the game crashing after quiting cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" 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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" POL_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesDimanche 24 Juin 2018 à 11:17
Dimanche 8 Juillet 2018 à 11:03
Dimanche 8 Juillet 2018 à 11:45
|
LinuxScripter | Vendredi 27 Avril 2018 à 14:59 |
LinuxScripter
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesAnother steam browser fix. This time it works. Differences@@ -49,6 +49,13 @@ [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] +"Version"="winxp64" + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] +"Version"="winxp64" + EOF POL_Wine regedit.exe fix.reg @@ -60,7 +67,7 @@ POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version -POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" +POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" "-no-ces-sandbox" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-11 20:56) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # Initialization POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_d3dx9_42 #increases game's smoothness, recommended on winehq POL_Call POL_Install_xact #removes errors about dwrite.dll being missing POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements POL_Call POL_Install_vcrun2013 #needed by the game itself # Registery fix for the game crashing after quiting cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] "Version"="winxp64" [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] "Version"="winxp64" EOF POL_Wine regedit.exe fix.reg # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" "-no-ces-sandbox" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" POL_System_TmpDelete POL_SetupWindow_Close exit 0 Réponses |
LinuxScripter | Mercredi 25 Avril 2018 à 22:26 |
LinuxScripter
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesAfter reading on Steam's winehq page, I've decided to add a parameter to disable CES sandboxing. This should make the steam browser working. Differences@@ -60,7 +60,7 @@ POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version -POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" +POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" "-no-ces-sandbox" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-11 20:56) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # Initialization POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_d3dx9_42 #increases game's smoothness, recommended on winehq POL_Call POL_Install_xact #removes errors about dwrite.dll being missing POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements POL_Call POL_Install_vcrun2013 #needed by the game itself # Registery fix for the game crashing after quiting cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" "-no-ces-sandbox" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" POL_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesJeudi 26 Avril 2018 à 21:40
Vendredi 27 Avril 2018 à 14:58
|
LinuxScripter | Lundi 12 Février 2018 à 21:25 |
LinuxScripter
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesSame as my last contribution but including tutul's change from .jpg to .png Differences@@ -1,67 +1,70 @@ #!/usr/bin/env playonlinux-bash # Date : (2017-01-24) -# Last revision : (2017-02-07 23:00) +# Last revision : (2017-02-11 20:56) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" - + # Initialization POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" - -Poll_Call POL_Function_SetResolution - + +POL_Call POL_Function_SetResolution + # Moving TMP dir cd "$POL_System_TmpDir" - + # Installing mandatory dependencies -POL_Call POL_Install_vcrun2013 - -# Registery fix +POL_Call POL_Install_d3dx9_42 #increases game's smoothness, recommended on winehq +POL_Call POL_Install_xact #removes errors about dwrite.dll being missing +POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements +POL_Call POL_Install_vcrun2013 #needed by the game itself + +# Registery fix for the game crashing after quiting cat << EOF > fix.reg REGEDIT4 - + [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF - + POL_Wine regedit.exe fix.reg -POL_Wine_WaitExit "$TITLE" - + # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" - + # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" + POL_System_TmpDelete POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-11 20:56) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # Initialization POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_d3dx9_42 #increases game's smoothness, recommended on winehq POL_Call POL_Install_xact #removes errors about dwrite.dll being missing POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements POL_Call POL_Install_vcrun2013 #needed by the game itself # Registery fix for the game crashing after quiting cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" POL_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesMardi 13 Février 2018 à 1:03
Mercredi 14 Février 2018 à 13:11
Mercredi 14 Février 2018 à 17:15
Jeudi 15 Février 2018 à 1:42
Jeudi 15 Février 2018 à 16:11
Mardi 13 Mars 2018 à 12:35
|
Tutul | Lundi 12 Février 2018 à 18:03 |
Tutul
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesChange image name for top/left to use png Differences@@ -18,7 +18,7 @@ GAME_URL="https://unknownworlds.com/subnautica/" # Initialization -POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE" +POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 3299 POL_Debug_Init Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-07 23:00) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # Initialization POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" Poll_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 # Registery fix cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete POL_SetupWindow_Close exit 0 Réponses |
lahtis | Dimanche 11 Février 2018 à 21:38 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Messagesok. Latest. Differences@@ -1,67 +1,70 @@ #!/usr/bin/env playonlinux-bash # Date : (2017-01-24) -# Last revision : (2017-02-07 23:00) +# Last revision : (2017-02-11 20:56) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" - + # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" - -Poll_Call POL_Function_SetResolution - + +POL_Call POL_Function_SetResolution + # Moving TMP dir cd "$POL_System_TmpDir" - + # Installing mandatory dependencies -POL_Call POL_Install_vcrun2013 - -# Registery fix +POL_Call POL_Install_d3dx9_42 #increases game's smoothness +POL_Call POL_Install_xact #removes errors about dwrite.dll being missing +POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements +POL_Call POL_Install_vcrun2013 #needed by the game itself + +# Registery fix for the game crashing after quiting cat << EOF > fix.reg REGEDIT4 - + [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF - + POL_Wine regedit.exe fix.reg -POL_Wine_WaitExit "$TITLE" - + # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" - + # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" + POL_System_TmpDelete POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-11 20:56) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_d3dx9_42 #increases game's smoothness POL_Call POL_Install_xact #removes errors about dwrite.dll being missing POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements POL_Call POL_Install_vcrun2013 #needed by the game itself # Registery fix for the game crashing after quiting cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" POL_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesDimanche 11 Février 2018 à 23:03
Dimanche 11 Février 2018 à 23:56
|
lahtis | Dimanche 11 Février 2018 à 21:36 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -6,62 +6,61 @@ # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" - + # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" - -Poll_Call POL_Function_SetResolution - + +POL_Call POL_Function_SetResolution + # Moving TMP dir cd "$POL_System_TmpDir" - + # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 - + # Registery fix cat << EOF > fix.reg REGEDIT4 - + [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF - + POL_Wine regedit.exe fix.reg -POL_Wine_WaitExit "$TITLE" - + # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 -POL_Wine_WaitBefore "$TITLE" - +POL_Wine_WaitExit "$TITLE" + # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-07 23:00) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 # Registery fix cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitExit "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete POL_SetupWindow_Close exit 0 Réponses |
LinuxScripter | Dimanche 11 Février 2018 à 21:36 |
LinuxScripter
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesI think I have discovered a new issue we haven't seen when we were figuring out how to make mouse lot lose focus in menus. This issue makes the game think the character is moving even if you are no longer pressing the WASD keys (or whatever movement keys you have). Installing d3dx9_42,vcrun2008 and xact solves this, while also removing errors about missing dlls (dwrite and libcaf). Also added a note about disabling fixme messages in debug log for increased performance. There is one minor issue left - right after Steam begins to load up (but before Subnautica does) I'm getting a non-fatal error about msvcr120.dll (in caps) missing. I've checked and it comes with vcrun2013, this dll is presend in both system32 and syswow64 folders and it's set to "native,builtin" in winecfg. Differences@@ -1,67 +1,70 @@ #!/usr/bin/env playonlinux-bash # Date : (2017-01-24) -# Last revision : (2017-02-07 23:00) +# Last revision : (2017-02-11 20:56) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" - + # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" - -Poll_Call POL_Function_SetResolution - + +POL_Call POL_Function_SetResolution + # Moving TMP dir cd "$POL_System_TmpDir" - + # Installing mandatory dependencies -POL_Call POL_Install_vcrun2013 - -# Registery fix +POL_Call POL_Install_d3dx9_42 #increases game's smoothness +POL_Call POL_Install_xact #removes errors about dwrite.dll being missing +POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements +POL_Call POL_Install_vcrun2013 #needed by the game itself + +# Registery fix for the game crashing after quiting cat << EOF > fix.reg REGEDIT4 - + [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF - + POL_Wine regedit.exe fix.reg -POL_Wine_WaitExit "$TITLE" - + # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" - + # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" + POL_System_TmpDelete POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-11 20:56) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_d3dx9_42 #increases game's smoothness POL_Call POL_Install_xact #removes errors about dwrite.dll being missing POL_Call POL_Install_vcrun2008 #needed for steam functions like Achievements POL_Call POL_Install_vcrun2013 #needed by the game itself # Registery fix for the game crashing after quiting cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_message "$(eval_gettext 'Remember to go to Configure menu and write fixme-all in debug flags. This will increase the game's performance.')" POL_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesDimanche 11 Février 2018 à 21:42
|
lahtis | Dimanche 11 Février 2018 à 16:25 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Messagesis this correct way to use waitBefore and waitexit. Differences@@ -32,14 +32,16 @@ POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" -Poll_Call POL_Function_SetResolution +POL_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 - + +POL_Wine_WaitBefore "$TITLE" + # Registery fix cat << EOF > fix.reg REGEDIT4 @@ -49,13 +51,12 @@ EOF POL_Wine regedit.exe fix.reg -POL_Wine_WaitExit "$TITLE" - + # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 -POL_Wine_WaitBefore "$TITLE" +POL_Wine_WaitExit "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-07 23:00) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 POL_Wine_WaitBefore "$TITLE" # Registery fix cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitExit "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesDimanche 11 Février 2018 à 17:47
|
lahtis | Dimanche 11 Février 2018 à 16:13 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Messagesfix POLL_Call SetResolution function Differences@@ -32,7 +32,7 @@ POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" -Poll_Call POL_Function_SetResolution +POL_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-07 23:00) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 # Registery fix cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete POL_SetupWindow_Close exit 0 Réponses |
lahtis | Jeudi 8 Février 2018 à 19:17 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -1,80 +1,67 @@ -#!/usr/bin/env playonlinux-bash +#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) -# Last revision : (2017-02-04 03:07) -# Distribution used to test : Ubuntu 16.04 LTS, NVIDIA geforce GTX 770, -# Author : lahtis +# Last revision : (2017-02-07 23:00) +# Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) +# Author : lahtis, LinuxScripter +# Script licence : GPL3 # Licence : retail -# PlayOnLinux: 4.2.12 -# working 99%, it has unity engine mouse focus menu issues. -# Mouse losing focus in menus (can be fixed by pressing start on the keyboard and clicking on other windows but that also makes camera movement crazy) # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - -PREFIX="Subnautica" -WINEVERSION="3.1" + TITLE="Subnautica" +PREFIX="Subnautica" +WORKING_WINE_VERSION="3.1" +AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" -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_SetupWindow_SetID 3299 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" -STEAM_ID="264710" -Set_OS "winxp" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" +Poll_Call POL_Function_SetResolution + # Moving TMP dir cd "$POL_System_TmpDir" - + +# Installing mandatory dependencies +POL_Call POL_Install_vcrun2013 + # Registery fix -POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" - cat << EOF > fix.reg REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] -"Version"="winxp64" - -[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] -"Version"="winxp64" - + [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF - + POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" - -# Installing mandatory dependencies -POL_Call POL_Install_vcrun2013 -POL_Call POL_Install_corefonts - + # Installing Steam POL_Call POL_Install_steam -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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox +POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" - + # Shortcut done before install for steam version -POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID" - +POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-07 23:00) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" Poll_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 # Registery fix cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesDimanche 11 Février 2018 à 12:42
|
lahtis | Jeudi 8 Février 2018 à 19:16 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -1,80 +1,68 @@ -#!/usr/bin/env playonlinux-bash +#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) -# Last revision : (2017-02-04 03:07) -# Distribution used to test : Ubuntu 16.04 LTS, NVIDIA geforce GTX 770, -# Author : lahtis +# Last revision : (2017-02-07 23:00) +# Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) +# Author : lahtis, LinuxScripter +# Script licence : GPL3 # Licence : retail -# PlayOnLinux: 4.2.12 -# working 99%, it has unity engine mouse focus menu issues. -# Mouse losing focus in menus (can be fixed by pressing start on the keyboard and clicking on other windows but that also makes camera movement crazy) # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - -PREFIX="Subnautica" -WINEVERSION="3.1" + TITLE="Subnautica" +PREFIX="Subnautica" +WORKING_WINE_VERSION="3.1" +AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" -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_SetupWindow_SetID 3299 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" -STEAM_ID="264710" -Set_OS "winxp" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" - +POL_SetupWindow_message "The game uses a virtual desktop through Wine, likely because it has graphical glitches without it. You can turn that off if you want to test without it: Configure -> select virtual drive -> Wine tab -> Wine Configuration -> Graphics tab -> uncheck Emulate a Virtual Desktop\n\nThough, it may cause graphic glitches. When someone has added that into the script, it is usually the case that it is somewhat broken without it. From that same graphics tab, though, you can increase the resolution of the virtual desktop, and that will enable you to set it for any size." "Set virtual desktop resolution." + +Poll_Call POL_Function_SetResolution + # Moving TMP dir cd "$POL_System_TmpDir" - + +# Installing mandatory dependencies +POL_Call POL_Install_vcrun2013 + # Registery fix -POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" - cat << EOF > fix.reg REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] -"Version"="winxp64" - -[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] -"Version"="winxp64" - + [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF - + POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" - -# Installing mandatory dependencies -POL_Call POL_Install_vcrun2013 -POL_Call POL_Install_corefonts - + # Installing Steam POL_Call POL_Install_steam -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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox +POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" - + # Shortcut done before install for steam version -POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID" - +POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-07 23:00) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_SetupWindow_message "The game uses a virtual desktop through Wine, likely because it has graphical glitches without it. You can turn that off if you want to test without it: Configure -> select virtual drive -> Wine tab -> Wine Configuration -> Graphics tab -> uncheck Emulate a Virtual Desktop\n\nThough, it may cause graphic glitches. When someone has added that into the script, it is usually the case that it is somewhat broken without it. From that same graphics tab, though, you can increase the resolution of the virtual desktop, and that will enable you to set it for any size." "Set virtual desktop resolution." Poll_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 # Registery fix cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete POL_SetupWindow_Close exit 0 Réponses |
lahtis | Jeudi 8 Février 2018 à 16:32 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -1,80 +1,71 @@ -#!/usr/bin/env playonlinux-bash +#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) -# Last revision : (2017-02-04 03:07) -# Distribution used to test : Ubuntu 16.04 LTS, NVIDIA geforce GTX 770, -# Author : lahtis +# Last revision : (2017-02-07 23:00) +# Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) +# Author : lahtis, LinuxScripter +# Script licence : GPL3 # Licence : retail -# PlayOnLinux: 4.2.12 -# working 99%, it has unity engine mouse focus menu issues. -# Mouse losing focus in menus (can be fixed by pressing start on the keyboard and clicking on other windows but that also makes camera movement crazy) # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - -PREFIX="Subnautica" -WINEVERSION="3.1" + TITLE="Subnautica" +PREFIX="Subnautica" +WORKING_WINE_VERSION="3.1" +AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" -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_SetupWindow_SetID 3299 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" -STEAM_ID="264710" -Set_OS "winxp" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" - +POL_SetupWindow_message "The game uses a virtual desktop through Wine, likely because it has graphical glitches without it. You can turn that off if you want to test without it: Configure -> select virtual drive -> Wine tab -> Wine Configuration -> Graphics tab -> uncheck Emulate a Virtual Desktop\n\nThough, it may cause graphic glitches. When someone has added that into the script, it is usually the case that it is somewhat broken without it. From that same graphics tab, though, you can increase the resolution of the virtual desktop, and that will enable you to set it for any size." "Set virtual desktop resolution." + +Poll_Call POL_Function_SetResolution + # Moving TMP dir cd "$POL_System_TmpDir" +# Installing mandatory dependencies +POL_Call POL_Install_vcrun2013 + # Registery fix POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" - + cat << EOF > fix.reg REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] -"Version"="winxp64" - -[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] -"Version"="winxp64" - + [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF - + POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" - -# Installing mandatory dependencies -POL_Call POL_Install_vcrun2013 -POL_Call POL_Install_corefonts - + +POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$TITLE" + # Installing Steam POL_Call POL_Install_steam -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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox +POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" - + # Shortcut done before install for steam version -POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID" - -POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$TITLE" +POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" 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_System_TmpDelete POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-07 23:00) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_SetupWindow_message "The game uses a virtual desktop through Wine, likely because it has graphical glitches without it. You can turn that off if you want to test without it: Configure -> select virtual drive -> Wine tab -> Wine Configuration -> Graphics tab -> uncheck Emulate a Virtual Desktop\n\nThough, it may cause graphic glitches. When someone has added that into the script, it is usually the case that it is somewhat broken without it. From that same graphics tab, though, you can increase the resolution of the virtual desktop, and that will enable you to set it for any size." "Set virtual desktop resolution." Poll_Call POL_Function_SetResolution # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 # Registery fix POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$TITLE" # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" 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_System_TmpDelete POL_SetupWindow_Close exit 0 Réponses |
LinuxScripter | Mercredi 7 Février 2018 à 23:05 |
LinuxScripter
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesI took the liberty to include lathis's set_resolution function that he posted on forum just a couple hours ago. Works flawlessly. I'm suprised we didn't had anything like this already included. Differences@@ -1,80 +1,131 @@ -#!/usr/bin/env playonlinux-bash +#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) -# Last revision : (2017-02-04 03:07) -# Distribution used to test : Ubuntu 16.04 LTS, NVIDIA geforce GTX 770, -# Author : lahtis +# Last revision : (2017-02-07 23:00) +# Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) +# Author : lahtis, LinuxScripter +# Script licence : GPL3 # Licence : retail -# PlayOnLinux: 4.2.12 -# working 99%, it has unity engine mouse focus menu issues. -# Mouse losing focus in menus (can be fixed by pressing start on the keyboard and clicking on other windows but that also makes camera movement crazy) # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - -PREFIX="Subnautica" -WINEVERSION="3.1" + TITLE="Subnautica" +PREFIX="Subnautica" +WORKING_WINE_VERSION="3.1" +AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" -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_SetupWindow_SetID 3299 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" -STEAM_ID="264710" -Set_OS "winxp" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" +POL_SetupWindow_message "The game uses a virtual desktop through Wine, likely because it has graphical glitches without it. You can turn that off if you want to test without it: Configure -> select virtual drive -> Wine tab -> Wine Configuration -> Graphics tab -> uncheck Emulate a Virtual Desktop\n\nThough, it may cause graphic glitches. When someone has added that into the script, it is usually the case that it is somewhat broken without it. From that same graphics tab, though, you can increase the resolution of the virtual desktop, and that will enable you to set it for any size." "Set virtual desktop resolution." + +POL_SetupWindow_menu "Resolution" "Set virtual desktop resolution." "640 x 360 (16:9)|720 x 576 (5:4)|800 x 600 (4?3)|1024 x 768 (4:3)|1093 x 614|1093 x 615|1152 x 864 (4:3)|1280 x 720 (16:9)|1280 x 768 (16:10)|1280 x 800 (16:10)|1280 x 960 (4:3)|1280 x 1024 (5:4)|1360 x 768|1366 x 768|1440 x 900|1536 x 864|1600 x 900 (16:9)|1680 x 1050 (16:10)|1600 x 1200|1920 x 1080 (16:9)|1920 x 1200|1920 x 1800 (16:9)|1680 x 1050|2560 x 1440 (16:9)|3200 x 1800 (16:9)|3840 x 2160 (16:9)|5120 x 2880 (16:9)|7680 x 4320 (16:9)" "|" +if [ "$(echo $APP_ANSWER | grep -o "640 x 360 (16:9)")" != "" ]; then + Set_Desktop "On" "640" "360" +elif [ "$(echo $APP_ANSWER | grep -o "720 x 576 (5:4)")" != "" ]; then + Set_Desktop "On" "720" "576" +elif [ "$(echo $APP_ANSWER | grep -o "800 x 600 (4?3)")" != "" ]; then + Set_Desktop "On" "800" "600" +elif [ "$(echo $APP_ANSWER | grep -o "1024 x 768 (4:3)")" != "" ]; then + Set_Desktop "On" "1024" "768" +elif [ "$(echo $APP_ANSWER | grep -o "1093 x 614")" != "" ]; then + Set_Desktop "On" "1093" "614" +elif [ "$(echo $APP_ANSWER | grep -o "1093 x 615")" != "" ]; then + Set_Desktop "On" "1093" "615" +elif [ "$(echo $APP_ANSWER | grep -o "1152 x 864 (4:3)")" != "" ]; then + Set_Desktop "On" "1152" "864" +elif [ "$(echo $APP_ANSWER | grep -o "1280 x 720 (16:9)")" != "" ]; then + Set_Desktop "On" "1280" "720" +elif [ "$(echo $APP_ANSWER | grep -o "1280 x 768 (16:10)")" != "" ]; then + Set_Desktop "On" "1280" "768" +elif [ "$(echo $APP_ANSWER | grep -o "1280 x 800 (16:10)")" != "" ]; then + Set_Desktop "On" "1280" "800" +elif [ "$(echo $APP_ANSWER | grep -o "1280 x 960 (4:3)")" != "" ]; then + Set_Desktop "On" "1280" "960" +elif [ "$(echo $APP_ANSWER | grep -o "1280 x 1024 (5:4)")" != "" ]; then + Set_Desktop "On" "1280" "1024" +elif [ "$(echo $APP_ANSWER | grep -o "1360 x 768")" != "" ]; then + Set_Desktop "On" "1360" "768" +elif [ "$(echo $APP_ANSWER | grep -o "1366 x 768")" != "" ]; then + Set_Desktop "On" "1366" "768" +elif [ "$(echo $APP_ANSWER | grep -o "1440 x 900")" != "" ]; then + Set_Desktop "On" "1440" "900" +elif [ "$(echo $APP_ANSWER | grep -o "1536 x 864")" != "" ]; then + Set_Desktop "On" "1536" "864" +elif [ "$(echo $APP_ANSWER | grep -o "1600 x 900 (16:9)")" != "" ]; then + Set_Desktop "On" "1600" "900" +elif [ "$(echo $APP_ANSWER | grep -o "1600 x 1200 (4:3)")" != "" ]; then + Set_Desktop "On" "1600" "1200" +elif [ "$(echo $APP_ANSWER | grep -o "1680 x 1050 (16:10)")" != "" ]; then + Set_Desktop "On" "1680" "1050" +elif [ "$(echo $APP_ANSWER | grep -o "1920 x 1080 (16:9)")" != "" ]; then + Set_Desktop "On" "1920" "1080" +elif [ "$(echo $APP_ANSWER | grep -o "1920 x 1200")" != "" ]; then + Set_Desktop "On" "1920" "1200" +elif [ "$(echo $APP_ANSWER | grep -o "1920 x 1800 (16:9)")" != "" ]; then + Set_Desktop "On" "1920" "1800" +elif [ "$(echo $APP_ANSWER | grep -o "2560 x 1440 (16:9)")" != "" ]; then + Set_Desktop "On" "2560" "1440" +elif [ "$(echo $APP_ANSWER | grep -o "3200 x 1800 (16:9)")" != "" ]; then + Set_Desktop "On" "3200" "1800" +elif [ "$(echo $APP_ANSWER | grep -o "3200 x 1800 (16:9)")" != "" ]; then + Set_Desktop "On" "3200" "1800" +elif [ "$(echo $APP_ANSWER | grep -o "3840 x 2160 (16:9)")" != "" ]; then + Set_Desktop "On" "3840" "2160" +elif [ "$(echo $APP_ANSWER | grep -o "3200 x 1800 (16:9)")" != "" ]; then + Set_Desktop "On" "3200" "1800" +elif [ "$(echo $APP_ANSWER | grep -o "5120 x 2880 (16:9)")" != "" ]; then + Set_Desktop "On" "5120" "2880" +elif [ "$(echo $APP_ANSWER | grep -o "7680 x 4320 (16:9)")" != "" ]; then + Set_Desktop "On" "7680" "4320" +fi + # Moving TMP dir cd "$POL_System_TmpDir" - + +# Installing mandatory dependencies +POL_Call POL_Install_vcrun2013 + # Registery fix POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" - + cat << EOF > fix.reg REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] -"Version"="winxp64" - -[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] -"Version"="winxp64" - + [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF - + POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" -# Installing mandatory dependencies -POL_Call POL_Install_vcrun2013 -POL_Call POL_Install_corefonts - +POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$TITLE" + # Installing Steam POL_Call POL_Install_steam -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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox +POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" - + # Shortcut done before install for steam version -POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID" - -POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$TITLE" +POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" 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_System_TmpDelete POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-07 23:00) # Distribution used to test : Ubuntu 16.04 LTS with NVIDIA geforce GTX 770 (lathis), Ubuntu 18.04 with Palit GeForce GTX 750 Ti (LinuxScripter) # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" POL_SetupWindow_message "The game uses a virtual desktop through Wine, likely because it has graphical glitches without it. You can turn that off if you want to test without it: Configure -> select virtual drive -> Wine tab -> Wine Configuration -> Graphics tab -> uncheck Emulate a Virtual Desktop\n\nThough, it may cause graphic glitches. When someone has added that into the script, it is usually the case that it is somewhat broken without it. From that same graphics tab, though, you can increase the resolution of the virtual desktop, and that will enable you to set it for any size." "Set virtual desktop resolution." POL_SetupWindow_menu "Resolution" "Set virtual desktop resolution." "640 x 360 (16:9)|720 x 576 (5:4)|800 x 600 (4?3)|1024 x 768 (4:3)|1093 x 614|1093 x 615|1152 x 864 (4:3)|1280 x 720 (16:9)|1280 x 768 (16:10)|1280 x 800 (16:10)|1280 x 960 (4:3)|1280 x 1024 (5:4)|1360 x 768|1366 x 768|1440 x 900|1536 x 864|1600 x 900 (16:9)|1680 x 1050 (16:10)|1600 x 1200|1920 x 1080 (16:9)|1920 x 1200|1920 x 1800 (16:9)|1680 x 1050|2560 x 1440 (16:9)|3200 x 1800 (16:9)|3840 x 2160 (16:9)|5120 x 2880 (16:9)|7680 x 4320 (16:9)" "|" if [ "$(echo $APP_ANSWER | grep -o "640 x 360 (16:9)")" != "" ]; then Set_Desktop "On" "640" "360" elif [ "$(echo $APP_ANSWER | grep -o "720 x 576 (5:4)")" != "" ]; then Set_Desktop "On" "720" "576" elif [ "$(echo $APP_ANSWER | grep -o "800 x 600 (4?3)")" != "" ]; then Set_Desktop "On" "800" "600" elif [ "$(echo $APP_ANSWER | grep -o "1024 x 768 (4:3)")" != "" ]; then Set_Desktop "On" "1024" "768" elif [ "$(echo $APP_ANSWER | grep -o "1093 x 614")" != "" ]; then Set_Desktop "On" "1093" "614" elif [ "$(echo $APP_ANSWER | grep -o "1093 x 615")" != "" ]; then Set_Desktop "On" "1093" "615" elif [ "$(echo $APP_ANSWER | grep -o "1152 x 864 (4:3)")" != "" ]; then Set_Desktop "On" "1152" "864" elif [ "$(echo $APP_ANSWER | grep -o "1280 x 720 (16:9)")" != "" ]; then Set_Desktop "On" "1280" "720" elif [ "$(echo $APP_ANSWER | grep -o "1280 x 768 (16:10)")" != "" ]; then Set_Desktop "On" "1280" "768" elif [ "$(echo $APP_ANSWER | grep -o "1280 x 800 (16:10)")" != "" ]; then Set_Desktop "On" "1280" "800" elif [ "$(echo $APP_ANSWER | grep -o "1280 x 960 (4:3)")" != "" ]; then Set_Desktop "On" "1280" "960" elif [ "$(echo $APP_ANSWER | grep -o "1280 x 1024 (5:4)")" != "" ]; then Set_Desktop "On" "1280" "1024" elif [ "$(echo $APP_ANSWER | grep -o "1360 x 768")" != "" ]; then Set_Desktop "On" "1360" "768" elif [ "$(echo $APP_ANSWER | grep -o "1366 x 768")" != "" ]; then Set_Desktop "On" "1366" "768" elif [ "$(echo $APP_ANSWER | grep -o "1440 x 900")" != "" ]; then Set_Desktop "On" "1440" "900" elif [ "$(echo $APP_ANSWER | grep -o "1536 x 864")" != "" ]; then Set_Desktop "On" "1536" "864" elif [ "$(echo $APP_ANSWER | grep -o "1600 x 900 (16:9)")" != "" ]; then Set_Desktop "On" "1600" "900" elif [ "$(echo $APP_ANSWER | grep -o "1600 x 1200 (4:3)")" != "" ]; then Set_Desktop "On" "1600" "1200" elif [ "$(echo $APP_ANSWER | grep -o "1680 x 1050 (16:10)")" != "" ]; then Set_Desktop "On" "1680" "1050" elif [ "$(echo $APP_ANSWER | grep -o "1920 x 1080 (16:9)")" != "" ]; then Set_Desktop "On" "1920" "1080" elif [ "$(echo $APP_ANSWER | grep -o "1920 x 1200")" != "" ]; then Set_Desktop "On" "1920" "1200" elif [ "$(echo $APP_ANSWER | grep -o "1920 x 1800 (16:9)")" != "" ]; then Set_Desktop "On" "1920" "1800" elif [ "$(echo $APP_ANSWER | grep -o "2560 x 1440 (16:9)")" != "" ]; then Set_Desktop "On" "2560" "1440" elif [ "$(echo $APP_ANSWER | grep -o "3200 x 1800 (16:9)")" != "" ]; then Set_Desktop "On" "3200" "1800" elif [ "$(echo $APP_ANSWER | grep -o "3200 x 1800 (16:9)")" != "" ]; then Set_Desktop "On" "3200" "1800" elif [ "$(echo $APP_ANSWER | grep -o "3840 x 2160 (16:9)")" != "" ]; then Set_Desktop "On" "3840" "2160" elif [ "$(echo $APP_ANSWER | grep -o "3200 x 1800 (16:9)")" != "" ]; then Set_Desktop "On" "3200" "1800" elif [ "$(echo $APP_ANSWER | grep -o "5120 x 2880 (16:9)")" != "" ]; then Set_Desktop "On" "5120" "2880" elif [ "$(echo $APP_ANSWER | grep -o "7680 x 4320 (16:9)")" != "" ]; then Set_Desktop "On" "7680" "4320" fi # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 # Registery fix POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$TITLE" # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" 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_System_TmpDelete POL_SetupWindow_Close exit 0 Réponses |
lahtis | Mardi 6 Février 2018 à 17:47 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesGame working now 100%. Differences@@ -1,80 +1,69 @@ -#!/usr/bin/env playonlinux-bash +#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) -# Last revision : (2017-02-04 03:07) -# Distribution used to test : Ubuntu 16.04 LTS, NVIDIA geforce GTX 770, -# Author : lahtis +# Last revision : (2017-02-06 18:36) +# Distribution used to test : Ubuntu 16.04 LTS, NVIDIA geforce GTX 770, +# Author : lahtis, LinuxScripter +# Script licence : GPL3 # Licence : retail -# PlayOnLinux: 4.2.12 -# working 99%, it has unity engine mouse focus menu issues. -# Mouse losing focus in menus (can be fixed by pressing start on the keyboard and clicking on other windows but that also makes camera movement crazy) # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - -PREFIX="Subnautica" -WINEVERSION="3.1" + TITLE="Subnautica" +PREFIX="Subnautica" +WORKING_WINE_VERSION="3.1" +AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" -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_SetupWindow_SetID 3299 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" -STEAM_ID="264710" -Set_OS "winxp" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" - +Set_Desktop "On" "1366" "768" + # Moving TMP dir cd "$POL_System_TmpDir" - + +# Installing mandatory dependencies +POL_Call POL_Install_vcrun2013 + # Registery fix POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" - + cat << EOF > fix.reg REGEDIT4 - -[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] -"Version"="winxp64" - -[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] -"Version"="winxp64" - + [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF - + POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" - -# Installing mandatory dependencies -POL_Call POL_Install_vcrun2013 -POL_Call POL_Install_corefonts +POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$TITLE" + # Installing Steam POL_Call POL_Install_steam -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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox +POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" - + # Shortcut done before install for steam version -POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID" - -POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$TITLE" +POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" 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_System_TmpDelete POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-06 18:36) # Distribution used to test : Ubuntu 16.04 LTS, NVIDIA geforce GTX 770, # Author : lahtis, LinuxScripter # Script licence : GPL3 # Licence : retail # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="lahtis, LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" # 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_SetupWindow_SetID 3299 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 "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" Set_Desktop "On" "1366" "768" # Moving TMP dir cd "$POL_System_TmpDir" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 # Registery fix POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$TITLE" # Installing Steam POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/264710" 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_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesMardi 6 Février 2018 à 17:55
Mardi 6 Février 2018 à 18:21
Mardi 6 Février 2018 à 22:11
|
LinuxScripter | Mardi 6 Février 2018 à 1:25 |
LinuxScripter
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesAfter many trials and errors I have found the trick to the mouse losing focus problem. Just set the virtual desktop. Played for almost 2 hours and the mouse is fine. Differences@@ -1,80 +1,54 @@ -#!/usr/bin/env playonlinux-bash -# Date : (2017-01-24) -# Last revision : (2017-02-04 03:07) -# Distribution used to test : Ubuntu 16.04 LTS, NVIDIA geforce GTX 770, -# Author : lahtis -# Licence : retail -# PlayOnLinux: 4.2.12 -# working 99%, it has unity engine mouse focus menu issues. -# Mouse losing focus in menus (can be fixed by pressing start on the keyboard and clicking on other windows but that also makes camera movement crazy) -# This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ - -[ "$PLAYONLINUX" = "" ] && exit 0 -source "$PLAYONLINUX/lib/sources" +#!/bin/bash +# Date : (2018-01-25 21-38) +# Last revision : (2018-02-06 01-24) 2) +# Wine version used : 3.0 +# Distribution used to test : Ubuntu 18.04 x64 +# Script licence : GPL3 +# Program licence : Retail +[ -z "$PLAYONLINUX" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Subnautica" PREFIX="Subnautica" -WINEVERSION="3.1" -TITLE="Subnautica" +WORKING_WINE_VERSION="3.1" +AUTHOR="LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" -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_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 3299 POL_Debug_Init - -# Presentation -POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" -# Create Prefix +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x64" -POL_Wine_PrefixCreate "$WINEVERSION" -STEAM_ID="264710" -Set_OS "winxp" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" +Set_Desktop "On" "1366" "768" -# Moving TMP dir -cd "$POL_System_TmpDir" - -# Registery fix -POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" +POL_Call POL_Install_vcrun2013 +cd "$POL_System_TmpDir" cat << EOF > fix.reg REGEDIT4 -[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] -"Version"="winxp64" - -[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] -"Version"="winxp64" - [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF - -POL_Wine regedit.exe fix.reg -POL_Wine_WaitExit "$TITLE" -# Installing mandatory dependencies -POL_Call POL_Install_vcrun2013 -POL_Call POL_Install_corefonts +POL_Wine regedit.exe fix.reg + +POL_SetupWindow_message "$(eval_gettext 'Before launching the game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options. Otherwise most of the textures will not be renered.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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')" -# Installing Steam POL_Call POL_Install_steam -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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox +POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" -# Shortcut done before install for steam version -POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID" - -POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete +POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/264710" + POL_SetupWindow_Close exit 0 \ No newline at end of file Nouveau code source#!/bin/bash # Date : (2018-01-25 21-38) # Last revision : (2018-02-06 01-24) 2) # Wine version used : 3.0 # Distribution used to test : Ubuntu 18.04 x64 # Script licence : GPL3 # Program licence : Retail [ -z "$PLAYONLINUX" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.1" AUTHOR="LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" 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" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x64" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" Set_Desktop "On" "1366" "768" POL_Call POL_Install_vcrun2013 cd "$POL_System_TmpDir" cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg POL_SetupWindow_message "$(eval_gettext 'Before launching the game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options. Otherwise most of the textures will not be renered.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/264710" POL_SetupWindow_Close exit 0 RéponsesMardi 6 Février 2018 à 1:28
Mardi 6 Février 2018 à 1:29
Mardi 6 Février 2018 à 10:38
Mardi 6 Février 2018 à 17:08
Mardi 6 Février 2018 à 17:33
Mardi 6 Février 2018 à 18:16
Mardi 6 Février 2018 à 18:21
Mardi 6 Février 2018 à 20:58
|
lahtis | Dimanche 4 Février 2018 à 2:27 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesExit game now working. Differences@@ -0,0 +1,80 @@ +#!/usr/bin/env playonlinux-bash +# Date : (2017-01-24) +# Last revision : (2017-02-04 03:07) +# Distribution used to test : Ubuntu 16.04 LTS, NVIDIA geforce GTX 770, +# Author : lahtis +# Licence : retail +# PlayOnLinux: 4.2.12 +# working 99%, it has unity engine mouse focus menu issues. +# Mouse losing focus in menus (can be fixed by pressing start on the keyboard and clicking on other windows but that also makes camera movement crazy) +# This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +PREFIX="Subnautica" +WINEVERSION="3.1" +TITLE="Subnautica" +EDITOR="Unknown Worlds" +GAME_URL="https://unknownworlds.com/subnautica/" +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_SetupWindow_SetID 3299 +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" +STEAM_ID="264710" +Set_OS "winxp" +POL_System_TmpCreate "$PREFIX" + +# Moving TMP dir +cd "$POL_System_TmpDir" + +# Registery fix +POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" + +cat << EOF > fix.reg +REGEDIT4 + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] +"Version"="winxp64" + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] +"Version"="winxp64" + +[HKEY_CURRENT_USER\Software\Wine\X11 Driver] +"UseTakeFocus"="N" +EOF + +POL_Wine regedit.exe fix.reg +POL_Wine_WaitExit "$TITLE" + +# Installing mandatory dependencies +POL_Call POL_Install_vcrun2013 +POL_Call POL_Install_corefonts + +# Installing Steam +POL_Call POL_Install_steam +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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox +POL_Wine_WaitBefore "$TITLE" + +# Shortcut done before install for steam version +POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID" + +POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete +POL_SetupWindow_Close +exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-04 03:07) # Distribution used to test : Ubuntu 16.04 LTS, NVIDIA geforce GTX 770, # Author : lahtis # Licence : retail # PlayOnLinux: 4.2.12 # working 99%, it has unity engine mouse focus menu issues. # Mouse losing focus in menus (can be fixed by pressing start on the keyboard and clicking on other windows but that also makes camera movement crazy) # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="Subnautica" WINEVERSION="3.1" TITLE="Subnautica" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" 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_SetupWindow_SetID 3299 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" STEAM_ID="264710" Set_OS "winxp" POL_System_TmpCreate "$PREFIX" # Moving TMP dir cd "$POL_System_TmpDir" # Registery fix POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" cat << EOF > fix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] "Version"="winxp64" [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] "Version"="winxp64" [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UseTakeFocus"="N" EOF POL_Wine regedit.exe fix.reg POL_Wine_WaitExit "$TITLE" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 POL_Call POL_Install_corefonts # Installing Steam POL_Call POL_Install_steam 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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete POL_SetupWindow_Close exit 0 Réponses |
lahtis | Vendredi 2 Février 2018 à 18:42 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -0,0 +1,75 @@ +#!/usr/bin/env playonlinux-bash +# Date : (2017-01-24) +# Last revision : (2017-02-02 19:41) +# Distribution used to test : Ubuntu 16.04 +# Author : lahtis +# Licence : retail +# PlayOnLinux: 4.2.12 +# working 99%, it has unity engine mouse focus menu issues. +# Mouse losing focus in menus (can be fixed by pressing start on the keyboard and clicking on other windows but that also makes camera movement crazy) +# This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +PREFIX="Subnautica" +WINEVERSION="3.0-rc6" +TITLE="Subnautica" +EDITOR="Unknown Worlds" +GAME_URL="https://unknownworlds.com/subnautica/" +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" +STEAM_ID="264710" +Set_OS "winxp" +POL_System_TmpCreate "$PREFIX" + +# Moving TMP dir +cd "$POL_System_TmpDir" + +# Registery fix +POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" + +cat << EOF > Steamfix.reg +REGEDIT4 + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] +"Version"="winxp64" + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] +"Version"="winxp64" +EOF + +POL_Wine regedit.exe Steamfix.reg +POL_Wine_WaitExit "$TITLE" + +# Installing mandatory dependencies +POL_Call POL_Install_vcrun2013 +POL_Call POL_Install_corefonts + +# Installing Steam +POL_Call POL_Install_steam +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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox +POL_Wine_WaitBefore "$TITLE" + +# Shortcut done before install for steam version +POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID -force-glcore45" +POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete +POL_SetupWindow_Close +exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-02-02 19:41) # Distribution used to test : Ubuntu 16.04 # Author : lahtis # Licence : retail # PlayOnLinux: 4.2.12 # working 99%, it has unity engine mouse focus menu issues. # Mouse losing focus in menus (can be fixed by pressing start on the keyboard and clicking on other windows but that also makes camera movement crazy) # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="Subnautica" WINEVERSION="3.0-rc6" TITLE="Subnautica" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" 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" STEAM_ID="264710" Set_OS "winxp" POL_System_TmpCreate "$PREFIX" # Moving TMP dir cd "$POL_System_TmpDir" # Registery fix POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" cat << EOF > Steamfix.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] "Version"="winxp64" [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] "Version"="winxp64" EOF POL_Wine regedit.exe Steamfix.reg POL_Wine_WaitExit "$TITLE" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 POL_Call POL_Install_corefonts # Installing Steam POL_Call POL_Install_steam 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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID -force-glcore45" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesSamedi 3 Février 2018 à 13:05
Samedi 3 Février 2018 à 19:01
Samedi 3 Février 2018 à 20:49
|
lahtis | Mercredi 31 Janvier 2018 à 17:40 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -0,0 +1,81 @@ +#!/usr/bin/env playonlinux-bash +# Date : (2017-01-24) +# Last revision : (2017-01-26 19:57) +# Distribution used to test : Ubuntu 16.04 +# Author : lahtis +# Licence : retail +# PlayOnLinux: 4.2.12 +# working 99%, it has unity engine mouse focus menu issues. +# Mouse losing focus in menus (can be fixed by pressing start on the keyboard and clicking on other windows but that also makes camera movement crazy) +# This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +PREFIX="Subnautica" +WINEVERSION="3.0-rc6" +TITLE="Subnautica" +EDITOR="Unknown Worlds" +GAME_URL="https://unknownworlds.com/subnautica/" +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" +STEAM_ID="264710" +Set_OS "winxp" +POL_System_TmpCreate "$PREFIX" + +# Moving TMP dir +cd "$POL_System_TmpDir" + +# Registery fix +POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" + +cat << EOF > Steam.reg +REGEDIT4 + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] +"Version"="winxp64" +EOF + +POL_Wine regedit.exe steam.reg + +cat << EOF > steamwebhelper.reg +REGEDIT4 + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] +"Version"="winxp64" +EOF + +POL_Wine regedit.exe steamwebhelper.reg +POL_Wine_WaitExit "$TITLE" + +# Installing mandatory dependencies +POL_Call POL_Install_vcrun2013 +POL_Call POL_Install_corefonts + +# Installing Steam +POL_Call POL_Install_steam +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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox +POL_Wine_WaitBefore "$TITLE" + +# Shortcut done before install for steam version +POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID -force-glcore45" +POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete +POL_SetupWindow_Close +exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-01-26 19:57) # Distribution used to test : Ubuntu 16.04 # Author : lahtis # Licence : retail # PlayOnLinux: 4.2.12 # working 99%, it has unity engine mouse focus menu issues. # Mouse losing focus in menus (can be fixed by pressing start on the keyboard and clicking on other windows but that also makes camera movement crazy) # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="Subnautica" WINEVERSION="3.0-rc6" TITLE="Subnautica" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" 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" STEAM_ID="264710" Set_OS "winxp" POL_System_TmpCreate "$PREFIX" # Moving TMP dir cd "$POL_System_TmpDir" # Registery fix POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" cat << EOF > Steam.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] "Version"="winxp64" EOF POL_Wine regedit.exe steam.reg cat << EOF > steamwebhelper.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] "Version"="winxp64" EOF POL_Wine regedit.exe steamwebhelper.reg POL_Wine_WaitExit "$TITLE" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 POL_Call POL_Install_corefonts # Installing Steam POL_Call POL_Install_steam 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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID -force-glcore45" POL_SetupWindow_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$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_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesMercredi 31 Janvier 2018 à 17:45
Mercredi 31 Janvier 2018 à 19:31
Dimanche 4 Février 2018 à 20:19
|
lahtis | Dimanche 28 Janvier 2018 à 20:07 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesDebug GUIs (in game F1 and F3 menus are blank) install corefonts fix.
When running game add -force-glcore or -force-opengl to your launch options by right clicking the game under Properties, Launch Options. Newer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5. Differences@@ -0,0 +1,93 @@ +#!/usr/bin/env playonlinux-bash +# Date : (2017-01-24) +# Last revision : (2017-01-26 19:57) +# Distribution used to test : Ubuntu 16.04 +# Author : lahtis +# Licence : retail +# PlayOnLinux: 4.2.12 +# working 99%, it has unity engine mouse issues. +# This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +PREFIX="Subnautica" +WINEVERSION="3.0-rc6" +TITLE="Subnautica" +EDITOR="Unknown Worlds" +GAME_URL="https://unknownworlds.com/subnautica/" +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" +STEAM_ID="264710" +Set_OS "win7" +POL_System_TmpCreate "$PREFIX" + +# Moving TMP dir +cd "$POL_System_TmpDir" + +POL_SetupWindow_question "$(eval_gettext 'Do you want to open $TITLE install guide in your browser?')" "$TITLE" + + if [ "$APP_ANSWER" = "TRUE" ] + then + POL_Browser "https://steamcommunity.com/app/264710/discussions/0/1484358860940334488/" + fi + +# Registery fix +POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" + +cat << EOF > Steam.reg +REGEDIT4 + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] +"Version"="winxp64" +EOF + +POL_Wine regedit.exe steam.reg + +cat << EOF > steamwebhelper.reg +REGEDIT4 + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] +"Version"="winxp64" +EOF + +POL_Wine regedit.exe steamwebhelper.reg + +POL_Wine_WaitExit "$TITLE" + +# Installing mandatory dependencies +POL_Call POL_Install_vcrun2013 +POL_Call POL_Install_corefonts + +# Installing Steam +POL_Call POL_Install_steam + +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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox +POL_Wine_WaitBefore "$TITLE" + +# Shortcut done before install for steam version +POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID" + +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_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$TITLE" + +POL_System_TmpDelete +POL_SetupWindow_Close + +exit 0 Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-01-26 19:57) # Distribution used to test : Ubuntu 16.04 # Author : lahtis # Licence : retail # PlayOnLinux: 4.2.12 # working 99%, it has unity engine mouse issues. # This installer pictures files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="Subnautica" WINEVERSION="3.0-rc6" TITLE="Subnautica" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" 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" STEAM_ID="264710" Set_OS "win7" POL_System_TmpCreate "$PREFIX" # Moving TMP dir cd "$POL_System_TmpDir" POL_SetupWindow_question "$(eval_gettext 'Do you want to open $TITLE install guide in your browser?')" "$TITLE" if [ "$APP_ANSWER" = "TRUE" ] then POL_Browser "https://steamcommunity.com/app/264710/discussions/0/1484358860940334488/" fi # Registery fix POL_SetupWindow_message "$(eval_gettext 'Modifying register.')" "$TITLE" cat << EOF > Steam.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] "Version"="winxp64" EOF POL_Wine regedit.exe steam.reg cat << EOF > steamwebhelper.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] "Version"="winxp64" EOF POL_Wine regedit.exe steamwebhelper.reg POL_Wine_WaitExit "$TITLE" # Installing mandatory dependencies POL_Call POL_Install_vcrun2013 POL_Call POL_Install_corefonts # Installing Steam POL_Call POL_Install_steam 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 "steam.exe" steam://install/$STEAM_ID -no-cef-sandbox POL_Wine_WaitBefore "$TITLE" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE (Steam)" "$TITLE.png" "steam://rungameid/$STEAM_ID" 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_message "$(eval_gettext 'When running game add -force-glcore or -force-opengl\nto your launch options by right clicking the game under Properties, Launch Options.\nNewer Nvidia Proprietary Drivers will work with -force-glcore45, which is OpenGL 4.5.')" "$TITLE" POL_System_TmpDelete POL_SetupWindow_Close exit 0 RéponsesDimanche 28 Janvier 2018 à 20:32
Lundi 29 Janvier 2018 à 15:59
Lundi 29 Janvier 2018 à 16:15
Lundi 29 Janvier 2018 à 17:28
Mercredi 31 Janvier 2018 à 16:36
Mercredi 31 Janvier 2018 à 16:38
Mercredi 31 Janvier 2018 à 16:42
Mercredi 31 Janvier 2018 à 17:28
Mercredi 31 Janvier 2018 à 17:44
|
LinuxScripter | Dimanche 28 Janvier 2018 à 18:29 |
LinuxScripter
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesSince this page exists I will put my script here instead of making a separate one. Remember to put -force-glcore45 in run options for this game. It throws some errors about missing dlls (DWrite.dll and libcef.dll) but other than that (and lack of Steam overlay) it works. Differences@@ -0,0 +1,39 @@ +#!/bin/bash +# Date : (2018-01-25 21-38) +# Last revision : (2018-01-25 21-38) +# Wine version used : 3.0 +# Distribution used to test : Ubuntu 18.04 x64 +# Script licence : GPL3 +# Program licence : Retail + +[ -z "$PLAYONLINUX" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Subnautica" +PREFIX="Subnautica" +WORKING_WINE_VERSION="3.0" +AUTHOR="LinuxScripter" +EDITOR="Unknown Worlds" +GAME_URL="https://unknownworlds.com/subnautica/" + +POL_SetupWindow_Init +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + +POL_Wine_SelectPrefix "$PREFIX" +POL_System_SetArch "x64" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" +#POL_System_TmpCreate "$TITLE" + +POL_Call POL_Install_vcrun2013 + +POL_Call POL_Install_steam +cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" +POL_Wine "steam.exe" steam://install/264710 +POL_Wine_WaitBefore "$TITLE" + +POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/264710" + +POL_SetupWindow_Close +exit 0 \ No newline at end of file Nouveau code source#!/bin/bash # Date : (2018-01-25 21-38) # Last revision : (2018-01-25 21-38) # Wine version used : 3.0 # Distribution used to test : Ubuntu 18.04 x64 # Script licence : GPL3 # Program licence : Retail [ -z "$PLAYONLINUX" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Subnautica" PREFIX="Subnautica" WORKING_WINE_VERSION="3.0" AUTHOR="LinuxScripter" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x64" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" #POL_System_TmpCreate "$TITLE" POL_Call POL_Install_vcrun2013 POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/264710 POL_Wine_WaitBefore "$TITLE" POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/264710" POL_SetupWindow_Close exit 0 Réponses |
lahtis | Vendredi 26 Janvier 2018 à 18:59 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Messages
Differences@@ -0,0 +1,96 @@ +#!/usr/bin/env playonlinux-bash +# Date : (2017-01-24) +# Last revision : (2017-01-26 19:57) +# Distribution used to test : Ubuntu 16.04 +# Author : lahtis +# Licence : retail +# PlayOnLinux: 4.2.12 +# working 99%, it has unity engine mouse issues. + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +PREFIX="Subnautica" +WINEVERSION="2.21-staging" +TITLE="Subnautica" +EDITOR="Unknown Worlds" +GAME_URL="https://unknownworlds.com/subnautica/" +AUTHOR="lahtis" + +# Initialization +# Setup files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ +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="264710" +Set_OS "winxp" + +# Asking about memory size of graphic card +POL_SetupWindow_VMS $GAME_VMS + +# Disable Steam In Game Overlay +POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL + +POL_SetupWindow_question "$(eval_gettext 'Do you want to open $TITLE install guide in your browser?')" "$TITLE" + + if [ "$APP_ANSWER" = "TRUE" ] + then + POL_Browser "https://steamcommunity.com/app/264710/discussions/0/1484358860940334488/" + fi + +# Registery fix +POL_SetupWindow_message "$(eval_gettext 'Fixing register.')" "$TITLE" + +cat << EOF > Steam.reg +REGEDIT4 + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] +"Version"="winxp64" +EOF + +POL_Wine regedit.exe steam.reg + +cat << EOF > steamwebhelper.reg +REGEDIT4 + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] +"Version"="winxp64" +EOF + +POL_Wine regedit.exe steamwebhelper.reg + +POL_Wine_WaitExit "$TITLE" + +# Installing mandatory dependencies +POL_Call POL_Install_corefonts + +# Installing Steam +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 -no-cef-sandbox -force-glcore45" +POL_Shortcut "steam.exe" "Steam ($TITLE)" "-no-cef-sandbox" "" + +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 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Date : (2017-01-24) # Last revision : (2017-01-26 19:57) # Distribution used to test : Ubuntu 16.04 # Author : lahtis # Licence : retail # PlayOnLinux: 4.2.12 # working 99%, it has unity engine mouse issues. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="Subnautica" WINEVERSION="2.21-staging" TITLE="Subnautica" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" AUTHOR="lahtis" # Initialization # Setup files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ 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="264710" Set_OS "winxp" # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Disable Steam In Game Overlay POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL POL_SetupWindow_question "$(eval_gettext 'Do you want to open $TITLE install guide in your browser?')" "$TITLE" if [ "$APP_ANSWER" = "TRUE" ] then POL_Browser "https://steamcommunity.com/app/264710/discussions/0/1484358860940334488/" fi # Registery fix POL_SetupWindow_message "$(eval_gettext 'Fixing register.')" "$TITLE" cat << EOF > Steam.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] "Version"="winxp64" EOF POL_Wine regedit.exe steam.reg cat << EOF > steamwebhelper.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] "Version"="winxp64" EOF POL_Wine regedit.exe steamwebhelper.reg POL_Wine_WaitExit "$TITLE" # Installing mandatory dependencies POL_Call POL_Install_corefonts # Installing Steam 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 -no-cef-sandbox -force-glcore45" POL_Shortcut "steam.exe" "Steam ($TITLE)" "-no-cef-sandbox" "" 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éponsesVendredi 26 Janvier 2018 à 21:03
Vendredi 26 Janvier 2018 à 21:05
Samedi 27 Janvier 2018 à 11:36
|
lahtis | Vendredi 26 Janvier 2018 à 16:10 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -0,0 +1,97 @@ +#!/bin/bash +# Date : (2017-01-24) +# Last revision : (2017-01-26) +# Distribution used to test : Ubuntu 16.04 +# Author : lahtis +# Licence : retail +# PlayOnLinux: 4.2.12 +# working 99%, it has unity engine mouse issues. + +[-z "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +PREFIX="Subnautica" +WINEVERSION="2.21-staging" +TITLE="Subnautica" +EDITOR="Unknown Worlds" +GAME_URL="https://unknownworlds.com/subnautica/" +AUTHOR="lahtis" + +# Initialization +# Setup files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ +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="264710" + +# Fix pulseaudio issue +which pulseaudio && Set_OS "winxp" + +# Asking about memory size of graphic card +POL_SetupWindow_VMS $GAME_VMS + +# Disable Steam In Game Overlay +POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL + +POL_SetupWindow_question "$(eval_gettext 'Do you want to open $TITLE install guide in your browser?')" "$TITLE" + + if [ "$APP_ANSWER" = "TRUE" ] + then + POL_Browser "https://steamcommunity.com/app/264710/discussions/0/1484358860940334488/" + fi + +# Registery fix +cat << EOF > Steam.reg +REGEDIT4 + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] +"Version"="winxp64" +EOF + +POL_Wine regedit.exe steam.reg + +cat << EOF > steamwebhelper.reg +REGEDIT4 + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] +"Version"="winxp64" +EOF + +POL_Wine regedit.exe steamwebhelper.reg + + +# Installing mandatory dependencies +POL_Call POL_Install_corefonts + +# Installing Steam +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)" "-no-cef-sandbox -force-glcore45" "" + +Set_OS "win7" + +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 \ No newline at end of file Nouveau code source#!/bin/bash # Date : (2017-01-24) # Last revision : (2017-01-26) # Distribution used to test : Ubuntu 16.04 # Author : lahtis # Licence : retail # PlayOnLinux: 4.2.12 # working 99%, it has unity engine mouse issues. [-z "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="Subnautica" WINEVERSION="2.21-staging" TITLE="Subnautica" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" AUTHOR="lahtis" # Initialization # Setup files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ 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="264710" # Fix pulseaudio issue which pulseaudio && Set_OS "winxp" # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Disable Steam In Game Overlay POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL POL_SetupWindow_question "$(eval_gettext 'Do you want to open $TITLE install guide in your browser?')" "$TITLE" if [ "$APP_ANSWER" = "TRUE" ] then POL_Browser "https://steamcommunity.com/app/264710/discussions/0/1484358860940334488/" fi # Registery fix cat << EOF > Steam.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] "Version"="winxp64" EOF POL_Wine regedit.exe steam.reg cat << EOF > steamwebhelper.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] "Version"="winxp64" EOF POL_Wine regedit.exe steamwebhelper.reg # Installing mandatory dependencies POL_Call POL_Install_corefonts # Installing Steam 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)" "-no-cef-sandbox -force-glcore45" "" Set_OS "win7" 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éponses |
lahtis | Vendredi 26 Janvier 2018 à 16:02 |
lahtis
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -0,0 +1,96 @@ +#!/bin/bash +# Date : (2017-01-24) +# Last revision : (2017-01-26) +# Distribution used to test : Ubuntu 16.04 +# Author : lahtis +# Licence : retail +# PlayOnLinux: 4.2.12 +# working 99%, it has unity mouse issues. + +[-z "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +PREFIX="Subnautica-test" +WINEVERSION="2.21-staging" +TITLE="Subnautica" +EDITOR="Unknown Worlds" +GAME_URL="https://unknownworlds.com/subnautica/" +AUTHOR="lahtis" + +# Initialization +# Setup files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ +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="264710" + +# Fix pulseaudio issue +which pulseaudio && Set_OS "winxp" + +# Asking about memory size of graphic card +POL_SetupWindow_VMS $GAME_VMS + +# Disable Steam In Game Overlay +POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL + +POL_SetupWindow_question "$(eval_gettext 'Do you want to open $TITLE install guide in your browser?')" "$TITLE" + + if [ "$APP_ANSWER" = "TRUE" ] + then + POL_Browser "https://steamcommunity.com/app/264710/discussions/0/1484358860940334488/" + fi + +# Registery fix +cat << EOF > Steam.reg +REGEDIT4 + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] +"Version"="winxp64" +EOF + +POL_Wine regedit.exe steam.reg + +cat << EOF > steamwebhelper.reg +REGEDIT4 + +[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] +"Version"="winxp64" +EOF + +POL_Wine regedit.exe steamwebhelper.reg + +# Installing mandatory dependencies +POL_Call POL_Install_corefonts + +# Installing Steam +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)" "-no-cef-sandbox -force-glcore45" "" + +Set_OS "win7" + +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 \ No newline at end of file Nouveau code source#!/bin/bash # Date : (2017-01-24) # Last revision : (2017-01-26) # Distribution used to test : Ubuntu 16.04 # Author : lahtis # Licence : retail # PlayOnLinux: 4.2.12 # working 99%, it has unity mouse issues. [-z "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="Subnautica-test" WINEVERSION="2.21-staging" TITLE="Subnautica" EDITOR="Unknown Worlds" GAME_URL="https://unknownworlds.com/subnautica/" AUTHOR="lahtis" # Initialization # Setup files found https://github.com/lahtis/playonlinux/blob/master/working/Subnautica/ 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="264710" # Fix pulseaudio issue which pulseaudio && Set_OS "winxp" # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Disable Steam In Game Overlay POL_Wine_OverrideDLL "" "gameoverlayrenderer" # To disable the DLL POL_SetupWindow_question "$(eval_gettext 'Do you want to open $TITLE install guide in your browser?')" "$TITLE" if [ "$APP_ANSWER" = "TRUE" ] then POL_Browser "https://steamcommunity.com/app/264710/discussions/0/1484358860940334488/" fi # Registery fix cat << EOF > Steam.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe] "Version"="winxp64" EOF POL_Wine regedit.exe steam.reg cat << EOF > steamwebhelper.reg REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe] "Version"="winxp64" EOF POL_Wine regedit.exe steamwebhelper.reg # Installing mandatory dependencies POL_Call POL_Install_corefonts # Installing Steam 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)" "-no-cef-sandbox -force-glcore45" "" Set_OS "win7" 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é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