Forums

[Script] Subnautica

Auteur Réponses
LinuxScripter Vendredi 26 Janvier 2018 à 17:36
LinuxScripterAnonymous

Hi. Last night I finished script for underwater exploration game called Subnautica created by Unknown Worlds. The script is very simple:

  • create 64bit prefix
  • install vcrun2013
  • install Steam
  • install the game

No additional tweaks were necesseary. Feel free to test it since I need some feedback before I can publish it on "Supported software" list.

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

Edité par LinuxScripter


lahtis Vendredi 26 Janvier 2018 à 19:17
lahtis

you dont use corefonts. Are you any mouse issues this.

https://www.playonlinux.com/en/app-3299-Subnautica.html


Using Ubuntu 18.04.4 LTS and latest Playonlinux.
My scripts: https://github.com/lahtis/playonlinux
LinuxScripter Samedi 27 Janvier 2018 à 11:29
LinuxScripterAnonymous

 

you dont use corefonts. Are you any mouse issues this.

https://www.playonlinux.com/en/app-3299-Subnautica.html

 

Corefonts are installed with POL_install_steam. I had no issues with mouse or keyboard while play-testing. 

 

No longer true. Anyone who stumbles upon this thread - this version of the script is a bit outdated. I've also did some more playtesting and there are indeed issues with mouse and you need to install corefonts manually to make the text in debug menus visible. If you are interested please go to Subnautica's page on the Suported software.

Edité par LinuxScripter


lahtis Vendredi 9 Février 2018 à 22:07
lahtis

Sunautica left image

 

Subnautica top image

 

Subnautica icon image


Using Ubuntu 18.04.4 LTS and latest Playonlinux.
My scripts: https://github.com/lahtis/playonlinux
Tutul Vendredi 9 Février 2018 à 22:34
Tutul

I will put them soon on the server (cannot do it now)

 


Gentils modérateur dans mes bon jours - Attention, à tenir hors de portée des enfants. En cas de contact, veuillez immédiatement rincer à l'eau clair. Peut provoquer des sueurs froide !
plata Dimanche 11 Février 2018 à 11:22
plata

Could you provide a script for Phoenicis PoL/PoM 5 (https://github.com/PhoenicisOrg/POL-POM-5) as well? GitHub repository is: https://github.com/PhoenicisOrg/Scripts.

Tutul Lundi 12 Février 2018 à 18:11
Tutul

You can provides a small screenshot for the description area ;)


Gentils modérateur dans mes bon jours - Attention, à tenir hors de portée des enfants. En cas de contact, veuillez immédiatement rincer à l'eau clair. Peut provoquer des sueurs froide !
LinuxScripter Samedi 17 Février 2018 à 15:42
LinuxScripterAnonymous

 

Could you provide a script for Phoenicis PoL/PoM 5 (https://github.com/PhoenicisOrg/POL-POM-5) as well? GitHub repository is: https://github.com/PhoenicisOrg/Scripts.

 

I made a script for POL5 but this game requires wine virtual desktop and I haven't found a function to let the user choose the resolution. Do I have to make a new verb? And how I can implement the registry fix to the script?

Link to the pull:

https://github.com/PhoenicisOrg/Scripts/pull/478

Edité par LinuxScripter


lahtis Mardi 13 Mars 2018 à 19:10
lahtis

You have not had to put icons and pictures.


Using Ubuntu 18.04.4 LTS and latest Playonlinux.
My scripts: https://github.com/lahtis/playonlinux
Tutul Mardi 13 Mars 2018 à 21:11
Tutul

?


Gentils modérateur dans mes bon jours - Attention, à tenir hors de portée des enfants. En cas de contact, veuillez immédiatement rincer à l'eau clair. Peut provoquer des sueurs froide !

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