Het forum

[Script] Subnautica

Auteur Antwoorden
LinuxScripter Vrijdag 26 Januari 2018 om 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

Aangepast door LinuxScripter


lahtis Vrijdag 26 Januari 2018 om 19:17
lahtisAnonymous

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

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


Using Ubuntu 16.04 LTS and latest Playonlinux.
My scripts: https://github.com/lahtis/playonlinux
LinuxScripter Zaterdag 27 Januari 2018 om 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.

Aangepast door LinuxScripter


lahtis Vrijdag 9 Februari 2018 om 22:07
lahtisAnonymous

Sunautica left image

 

Subnautica top image

 

Subnautica icon image


Using Ubuntu 16.04 LTS and latest Playonlinux.
My scripts: https://github.com/lahtis/playonlinux
Tutul Vrijdag 9 Februari 2018 om 22:34
Tutul
Moderator

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 Zondag 11 Februari 2018 om 11:22
plata
Developer

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 Maandag 12 Februari 2018 om 18:11
Tutul
Moderator

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 Zaterdag 17 Februari 2018 om 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

Aangepast door LinuxScripter


lahtis Dinsdag 13 Maart 2018 om 19:10
lahtisAnonymous

You have not had to put icons and pictures.


Using Ubuntu 16.04 LTS and latest Playonlinux.
My scripts: https://github.com/lahtis/playonlinux
Tutul Dinsdag 13 Maart 2018 om 21:11
Tutul
Moderator

?


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 !