Hello!
I'm trying to install Subnautica on my Ubuntu 18.10 laptop. I've installed PlayOnLinux 4.2.12-1 from the official Ubuntu archive, found Subnautica in the list of installable programs, went through the install wizard a few times, and it always fails (wine cannot find steam.exe). I've also tried with a git checkout of the POL-POM-4 repository, with the same result.
It looks like the problem is caused by a bug in the POL_Install_steam script, which causes it to fail to install Steam. Once the corefonts and DLL overrides steps are done, I see this error in the console where I launched ./playonlinux:
POL_Install_steam: eilutė 70: įspėjimas: here-document at line 21 delimited by end-of-file (wanted `EOF')
POL_Install_steam: eilutė 71: sintaksės klaida: netikėta failo pabaiga
I don't expect y'all to read Lithuanian, so I'll translate:
POL_Install_steam: eilutė 70: warning: here-document at line 21 delimited by end-of-file (wanted `EOF')
POL_Install_steam: eilutė 71: syntax error: unexpected end of file
I've found a ~/.PlayOnLinux/tmp/POL_Install_steam, and I see it looks like this starting from line 20:
if ["$POL_ARCH" == "amd64"]then;
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"
EOF
The bash that I have on Ubuntu 18.10 is version 4.4.19(1)-release, and it doesn't accept indented "EOF" as the here-document delimiter. The manual page says you can indent the delimiter (with tabs only???) if you use the <<-EOF syntax instead of just << EOF.
I'm new to the PlayOnLinux community, so I'd appreciate pointers if this is not the right place to report bugs. I'd also appreciate suggestions for workarounds, because I'd really like to play Subnautica (e.g. can I edit the script in ~/tmp or will it be re-downloaded from somewhere else every time?).
Regards,
Marius Gedminas