You are here    Supported software    Terraria nl sv ru pl es de fr

Terraria

Informations

Creator Message
lahtis Anonymous

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 48017
Wine: 1.7.8

Feedbacks

Description

Dig, fight, explore, build! Nothing is impossible in this action-packed 2D-adventure game. The world is your canvas and the ground itself is your paint.

Screenshots

MiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2013-02-18)
# Last revision : (2014-01-11 03:24) - DJYoshaBYD
# Distribution used to test : Ubuntu 12.10
# Author : lahtis
# Licence : retail
# PlayOnLinux: 4.1.9
# Steam installer works (2013-02-18)
# DVD installer not tested. I do not have dvd version.

[-z "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PREFIX="terraria"
WINEVERSION="1.7.8"
TITLE="Terraria"
EDITOR="Merge Games"
GAME_URL="http://www.terraria.org/"
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 "x86"
POL_Wine_PrefixCreate "$WINEVERSION"  
GAME_VMS="512"
STEAM_ID="105600"

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"

# Latest Terraria version of Linux working if Virtual Desktop is off. 
# If you had a problem. Set virtual destop on in Wine prefix settings. 
# Set_Desktop On 1024 768

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Installing mandatory dependencies
POL_Call POL_Install_steam

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Shortcut done before install for steam version
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

POL_SetupWindow_message "$(eval_gettext 'Install Terraria via Steam.  Once Terraria has fully downloaded, press the Play button, Steam will prompt you to install the xna framework.  Once the xna framework has been installed close Steam and continue this installer.')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"
     
# Installing mandatory dependencies

POL_Call POL_Install_xinput # Fix game issue
POL_Call POL_Install_xna40 # Fix game issue

# disable in Steam gameoverlayrender
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                POL_Debug_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" "$TITLE"
        fi
fi

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
lahtis Tuesday 13 February 2018 at 1:21
lahtis Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

fixing POLL_Call

Differences

@@ -1,71 +1,70 @@
-#!/bin/bash
+#!/usr/bin/env playonlinux-bash
 # Date : (2013-02-18)
-# Last revision : (2014-01-11 03:24) - DJYoshaBYD
-# Distribution used to test : Ubuntu 12.10
+# Last revision : (2018-02-09 21-39)
+# Distribution used to test : Ubuntu 12.10, Ubuntu 16.04
 # Author : lahtis
 # Licence : retail
-# PlayOnLinux: 4.1.9
-# Steam installer works (2013-02-18)
-# DVD installer not tested. I do not have dvd version.
-
-[-z "$PLAYONLINUX" = "" ] && exit 0
+# Steam installer.
+  
+[ -z "$PLAYONLINUX" ] && exit
 source "$PLAYONLINUX/lib/sources"
-
+  
 PREFIX="terraria"
-WINEVERSION="1.7.8"
+WORKING_WINE_VERSION="3.1"
 TITLE="Terraria"
 EDITOR="Merge Games"
 GAME_URL="http://www.terraria.org/"
 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 1576
 POL_Debug_Init
-     
+       
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+  
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "$WINEVERSION"  
-GAME_VMS="512"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 STEAM_ID="105600"
-
-# Fix pulseaudio issue
-which pulseaudio && Set_OS "winxp"
-
-# Latest Terraria version of Linux working if Virtual Desktop is off. 
-# If you had a problem. Set virtual destop on in Wine prefix settings. 
-# Set_Desktop On 1024 768
-
+Set_OS "win7"
+POL_System_TmpCreate "$PREFIX"
+ 
+# Moving TMP dir
+cd "$POL_System_TmpDir"
+ 
 # Asking about memory size of graphic card
-POL_SetupWindow_VMS $GAME_VMS
-
-# Installing mandatory dependencies
-POL_Call POL_Install_steam
-
-# Mandatory pre-install fix for steam
-POL_Call POL_Install_steam_flags "$STEAM_ID"
+POL_SetupWindow_VMS "512"
+  
+POL_Call POL_Function_SetResolution
  
-# Shortcut done before install for steam version
-POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
-POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
-
-POL_SetupWindow_message "$(eval_gettext 'Install Terraria via Steam.  Once Terraria has fully downloaded, press the Play button, Steam will prompt you to install the xna framework.  Once the xna framework has been installed close Steam and continue this installer.')" "$TITLE"
-cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
-POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
+# Registery fix
+cat << EOF > fix.reg
+REGEDIT4
+        
+[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
+"UseTakeFocus"="Y"
+EOF
+ 
+POL_Wine regedit.exe fix.reg
 POL_Wine_WaitExit "$TITLE"
-     
+  
 # Installing mandatory dependencies
-
+  
 POL_Call POL_Install_xinput # Fix game issue
 POL_Call POL_Install_xna40 # Fix game issue
-
-# disable in Steam gameoverlayrender
-POL_Wine_OverrideDLL "" "gameoverlayrenderer"
+  
+# Installing Steam
+POL_Call POL_Install_steam
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine "steam.exe" steam://install/$STEAM_ID
+POL_Wine_WaitBefore "$TITLE"
+       
+# Shortcut
+POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
  
 # Check Kernel ptrace
 if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
@@ -74,7 +73,7 @@
                 POL_Debug_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" "$TITLE"
         fi
 fi
-
+ 
+POL_System_TmpDelete
 POL_SetupWindow_Close
-
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2013-02-18)
# Last revision : (2018-02-09 21-39)
# Distribution used to test : Ubuntu 12.10, Ubuntu 16.04
# Author : lahtis
# Licence : retail
# Steam installer.
  
[ -z "$PLAYONLINUX" ] && exit
source "$PLAYONLINUX/lib/sources"
  
PREFIX="terraria"
WORKING_WINE_VERSION="3.1"
TITLE="Terraria"
EDITOR="Merge Games"
GAME_URL="http://www.terraria.org/"
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 1576
POL_Debug_Init
       
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
STEAM_ID="105600"
Set_OS "win7"
POL_System_TmpCreate "$PREFIX"
 
# Moving TMP dir
cd "$POL_System_TmpDir"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS "512"
  
POL_Call POL_Function_SetResolution
 
# Registery fix
cat << EOF > fix.reg
REGEDIT4
        
[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"UseTakeFocus"="Y"
EOF
 
POL_Wine regedit.exe fix.reg
POL_Wine_WaitExit "$TITLE"
  
# Installing mandatory dependencies
  
POL_Call POL_Install_xinput # Fix game issue
POL_Call POL_Install_xna40 # Fix game issue
  
# Installing Steam
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitBefore "$TITLE"
       
# Shortcut
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
 
# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                POL_Debug_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" "$TITLE"
        fi
fi
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

lahtis Friday 9 February 2018 at 20:40
lahtis Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

fix the register.

Differences

@@ -1,72 +1,71 @@
-#!/bin/bash
+#!/usr/bin/env playonlinux-bash
 # Date : (2013-02-18)
-# Last revision : (2014-01-11 03:24) - DJYoshaBYD
-# Distribution used to test : Ubuntu 12.10
+# Last revision : (2018-02-09 21-39)
+# Distribution used to test : Ubuntu 12.10, Ubuntu 16.04
 # Author : lahtis
 # Licence : retail
-# PlayOnLinux: 4.1.9
-# Steam installer works (2013-02-18)
-# DVD installer not tested. I do not have dvd version.
-
-[-z "$PLAYONLINUX" = "" ] && exit 0
+# Steam installer.
+ 
+[ -z "$PLAYONLINUX" ] && exit
 source "$PLAYONLINUX/lib/sources"
-
+ 
 PREFIX="terraria"
-WINEVERSION="1.7.8"
+WORKING_WINE_VERSION="3.1"
 TITLE="Terraria"
 EDITOR="Merge Games"
 GAME_URL="http://www.terraria.org/"
 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 1576
 POL_Debug_Init
-     
+      
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "$WINEVERSION"  
-GAME_VMS="512"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" 
 STEAM_ID="105600"
+Set_OS "win7"
+POL_System_TmpCreate "$PREFIX"
 
-# Fix pulseaudio issue
-which pulseaudio && Set_OS "winxp"
-
-# Latest Terraria version of Linux working if Virtual Desktop is off. 
-# If you had a problem. Set virtual destop on in Wine prefix settings. 
-# Set_Desktop On 1024 768
+# Moving TMP dir
+cd "$POL_System_TmpDir"
 
 # Asking about memory size of graphic card
-POL_SetupWindow_VMS $GAME_VMS
-
-# Installing mandatory dependencies
-POL_Call POL_Install_steam
-
-# Mandatory pre-install fix for steam
-POL_Call POL_Install_steam_flags "$STEAM_ID"
+POL_SetupWindow_VMS "512"
  
-# Shortcut done before install for steam version
-POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
-POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
+Poll_Call POL_Function_SetResolution
 
-POL_SetupWindow_message "$(eval_gettext 'Install Terraria via Steam.  Once Terraria has fully downloaded, press the Play button, Steam will prompt you to install the xna framework.  Once the xna framework has been installed close Steam and continue this installer.')" "$TITLE"
-cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
-POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
+# Registery fix
+cat << EOF > fix.reg
+REGEDIT4
+       
+[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
+"UseTakeFocus"="Y"
+EOF
+
+POL_Wine regedit.exe fix.reg
 POL_Wine_WaitExit "$TITLE"
-     
+ 
 # Installing mandatory dependencies
-
+ 
 POL_Call POL_Install_xinput # Fix game issue
 POL_Call POL_Install_xna40 # Fix game issue
-
-# disable in Steam gameoverlayrender
-POL_Wine_OverrideDLL "" "gameoverlayrenderer"
  
+# Installing Steam
+POL_Call POL_Install_steam
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine "steam.exe" steam://install/$STEAM_ID
+POL_Wine_WaitBefore "$TITLE"
+      
+# Shortcut 
+POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" 
+
 # Check Kernel ptrace
 if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
         PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
@@ -75,6 +74,6 @@
         fi
 fi
 
+POL_System_TmpDelete
 POL_SetupWindow_Close
-
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2013-02-18)
# Last revision : (2018-02-09 21-39)
# Distribution used to test : Ubuntu 12.10, Ubuntu 16.04
# Author : lahtis
# Licence : retail
# Steam installer.
 
[ -z "$PLAYONLINUX" ] && exit
source "$PLAYONLINUX/lib/sources"
 
PREFIX="terraria"
WORKING_WINE_VERSION="3.1"
TITLE="Terraria"
EDITOR="Merge Games"
GAME_URL="http://www.terraria.org/"
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 1576
POL_Debug_Init
      
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" 
STEAM_ID="105600"
Set_OS "win7"
POL_System_TmpCreate "$PREFIX"

# Moving TMP dir
cd "$POL_System_TmpDir"

# Asking about memory size of graphic card
POL_SetupWindow_VMS "512"
 
Poll_Call POL_Function_SetResolution

# Registery fix
cat << EOF > fix.reg
REGEDIT4
       
[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"UseTakeFocus"="Y"
EOF

POL_Wine regedit.exe fix.reg
POL_Wine_WaitExit "$TITLE"
 
# Installing mandatory dependencies
 
POL_Call POL_Install_xinput # Fix game issue
POL_Call POL_Install_xna40 # Fix game issue
 
# Installing Steam
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitBefore "$TITLE"
      
# Shortcut 
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" 

# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                POL_Debug_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" "$TITLE"
        fi
fi

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

lahtis Friday 9 February 2018 at 16:28
lahtis Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

  • New wine version.
  • You have to use virtual desktop. Game not work properly fullscreen, if virtual desktop is off. 
  • If virtual desktop is off and you go fullscreen mouse or keyboard maybe not working properly.
  • A virtual desktop is possible to put the screen's maximum resolution. A virtual desktop is displayed on the full screen. In some situations, it may make gaming difficult.The game does not work properlymouse problems begin or crash when create or load a map.
  • Resizing the window will resize only the game display and not the size of the graphical user interface.
  • The game supports graphical effects if supported (OpenGL 2.0+)

You can test 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 maybe work with -force-glcore45, which is OpenGL 4.5.

Differences

@@ -1,72 +1,68 @@
-#!/bin/bash
+#!/usr/bin/env playonlinux-bash
 # Date : (2013-02-18)
-# Last revision : (2014-01-11 03:24) - DJYoshaBYD
-# Distribution used to test : Ubuntu 12.10
+# Last revision : (2018-02-09 17-02)
+# Distribution used to test : Ubuntu 12.10, Ubuntu 16.04
 # Author : lahtis
 # Licence : retail
-# PlayOnLinux: 4.1.9
-# Steam installer works (2013-02-18)
-# DVD installer not tested. I do not have dvd version.
-
-[-z "$PLAYONLINUX" = "" ] && exit 0
+# Steam installer.
+ 
+[ -z "$PLAYONLINUX" ] && exit
 source "$PLAYONLINUX/lib/sources"
-
+ 
 PREFIX="terraria"
-WINEVERSION="1.7.8"
+WORKING_WINE_VERSION="3.1"
 TITLE="Terraria"
 EDITOR="Merge Games"
 GAME_URL="http://www.terraria.org/"
 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 1576
 POL_Debug_Init
-     
+      
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "$WINEVERSION"  
-GAME_VMS="512"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" 
 STEAM_ID="105600"
+Set_OS "win7"
+POL_System_TmpCreate "$PREFIX"
 
-# Fix pulseaudio issue
-which pulseaudio && Set_OS "winxp"
-
-# Latest Terraria version of Linux working if Virtual Desktop is off. 
-# If you had a problem. Set virtual destop on in Wine prefix settings. 
-# Set_Desktop On 1024 768
+# Moving TMP dir
+cd "$POL_System_TmpDir"
 
 # Asking about memory size of graphic card
-POL_SetupWindow_VMS $GAME_VMS
-
-# Installing mandatory dependencies
-POL_Call POL_Install_steam
-
-# Mandatory pre-install fix for steam
-POL_Call POL_Install_steam_flags "$STEAM_ID"
+POL_SetupWindow_VMS "512"
  
-# Shortcut done before install for steam version
-POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
-POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
+Poll_Call POL_Function_SetResolution
 
-POL_SetupWindow_message "$(eval_gettext 'Install Terraria via Steam.  Once Terraria has fully downloaded, press the Play button, Steam will prompt you to install the xna framework.  Once the xna framework has been installed close Steam and continue this installer.')" "$TITLE"
-cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
-POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
-POL_Wine_WaitExit "$TITLE"
-     
+# Registery fix
+cat << EOF > fix.reg
+REGEDIT4
+       
+[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
+"UseTakeFocus"="Y"
+EOF
+ 
 # Installing mandatory dependencies
-
+ 
 POL_Call POL_Install_xinput # Fix game issue
 POL_Call POL_Install_xna40 # Fix game issue
-
-# disable in Steam gameoverlayrender
-POL_Wine_OverrideDLL "" "gameoverlayrenderer"
  
+# Installing Steam
+POL_Call POL_Install_steam
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine "steam.exe" steam://install/$STEAM_ID
+POL_Wine_WaitBefore "$TITLE"
+      
+# Shortcut 
+POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" 
+
 # Check Kernel ptrace
 if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
         PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
@@ -75,6 +71,6 @@
         fi
 fi
 
+POL_System_TmpDelete
 POL_SetupWindow_Close
-
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2013-02-18)
# Last revision : (2018-02-09 17-02)
# Distribution used to test : Ubuntu 12.10, Ubuntu 16.04
# Author : lahtis
# Licence : retail
# Steam installer.
 
[ -z "$PLAYONLINUX" ] && exit
source "$PLAYONLINUX/lib/sources"
 
PREFIX="terraria"
WORKING_WINE_VERSION="3.1"
TITLE="Terraria"
EDITOR="Merge Games"
GAME_URL="http://www.terraria.org/"
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 1576
POL_Debug_Init
      
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" 
STEAM_ID="105600"
Set_OS "win7"
POL_System_TmpCreate "$PREFIX"

# Moving TMP dir
cd "$POL_System_TmpDir"

# Asking about memory size of graphic card
POL_SetupWindow_VMS "512"
 
Poll_Call POL_Function_SetResolution

# Registery fix
cat << EOF > fix.reg
REGEDIT4
       
[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"UseTakeFocus"="Y"
EOF
 
# Installing mandatory dependencies
 
POL_Call POL_Install_xinput # Fix game issue
POL_Call POL_Install_xna40 # Fix game issue
 
# Installing Steam
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitBefore "$TITLE"
      
# Shortcut 
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" 

# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                POL_Debug_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" "$TITLE"
        fi
fi

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Friday 9 February 2018 at 16:53 -
You don't use regedit fix ?
Anonymous
Friday 9 February 2018 at 20:41 -
Forgot. Thanks.
Badcop73 Saturday 6 February 2016 at 1:19
Badcop73 Anonymous

Message

Well it does not on my chromebook at least :)

 

Replies

lahtis Sunday 18 October 2015 at 1:54
lahtis Anonymous

Information

This update has been approved by the team.

Message

Latest Terraria version of Linux working if Virtual Desktop is off.

If you had a problem. Set virtual destop on in Wine prefix settings.

 

Differences

@@ -37,8 +37,9 @@
 # Fix pulseaudio issue
 which pulseaudio && Set_OS "winxp"
 
-# Select virtual desktop mode on
-Set_Desktop On 1024 768
+# Latest Terraria version of Linux working if Virtual Desktop is off. 
+# If you had a problem. Set virtual destop on in Wine prefix settings. 
+# Set_Desktop On 1024 768
 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS

New source code

#!/bin/bash
# Date : (2013-02-18)
# Last revision : (2014-01-11 03:24) - DJYoshaBYD
# Distribution used to test : Ubuntu 12.10
# Author : lahtis
# Licence : retail
# PlayOnLinux: 4.1.9
# Steam installer works (2013-02-18)
# DVD installer not tested. I do not have dvd version.

[-z "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PREFIX="terraria"
WINEVERSION="1.7.8"
TITLE="Terraria"
EDITOR="Merge Games"
GAME_URL="http://www.terraria.org/"
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 "x86"
POL_Wine_PrefixCreate "$WINEVERSION"  
GAME_VMS="512"
STEAM_ID="105600"

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"

# Latest Terraria version of Linux working if Virtual Desktop is off. 
# If you had a problem. Set virtual destop on in Wine prefix settings. 
# Set_Desktop On 1024 768

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Installing mandatory dependencies
POL_Call POL_Install_steam

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Shortcut done before install for steam version
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

POL_SetupWindow_message "$(eval_gettext 'Install Terraria via Steam.  Once Terraria has fully downloaded, press the Play button, Steam will prompt you to install the xna framework.  Once the xna framework has been installed close Steam and continue this installer.')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"
     
# Installing mandatory dependencies

POL_Call POL_Install_xinput # Fix game issue
POL_Call POL_Install_xna40 # Fix game issue

# disable in Steam gameoverlayrender
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                POL_Debug_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" "$TITLE"
        fi
fi

POL_SetupWindow_Close

exit 0

Replies

Anonymous
Friday 23 October 2015 at 17:37 -
note: When steam comes up there is no text displayed. Close Steam window. Steam re-start and font issue is repaired.
Quentin PÂRIS Thursday 6 August 2015 at 21:24
Quentin PÂRIS
Admin

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -53,7 +53,7 @@
 POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
 POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
 
-POL_SetupWindow_message "$(eval_gettext 'Install Terraria in Steam. Run the Terraria when Steam is installed the game. Steam install xna framework the game. Close the Steam so that the installer can continue.')" "$TITLE"
+POL_SetupWindow_message "$(eval_gettext 'Install Terraria via Steam.  Once Terraria has fully downloaded, press the Play button, Steam will prompt you to install the xna framework.  Once the xna framework has been installed close Steam and continue this installer.')" "$TITLE"
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
 POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
 POL_Wine_WaitExit "$TITLE"

New source code

#!/bin/bash
# Date : (2013-02-18)
# Last revision : (2014-01-11 03:24) - DJYoshaBYD
# Distribution used to test : Ubuntu 12.10
# Author : lahtis
# Licence : retail
# PlayOnLinux: 4.1.9
# Steam installer works (2013-02-18)
# DVD installer not tested. I do not have dvd version.

[-z "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PREFIX="terraria"
WINEVERSION="1.7.8"
TITLE="Terraria"
EDITOR="Merge Games"
GAME_URL="http://www.terraria.org/"
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 "x86"
POL_Wine_PrefixCreate "$WINEVERSION"  
GAME_VMS="512"
STEAM_ID="105600"

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"

# Select virtual desktop mode on
Set_Desktop On 1024 768

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Installing mandatory dependencies
POL_Call POL_Install_steam

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Shortcut done before install for steam version
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

POL_SetupWindow_message "$(eval_gettext 'Install Terraria via Steam.  Once Terraria has fully downloaded, press the Play button, Steam will prompt you to install the xna framework.  Once the xna framework has been installed close Steam and continue this installer.')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"
     
# Installing mandatory dependencies

POL_Call POL_Install_xinput # Fix game issue
POL_Call POL_Install_xna40 # Fix game issue

# disable in Steam gameoverlayrender
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                POL_Debug_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" "$TITLE"
        fi
fi

POL_SetupWindow_Close

exit 0

Replies

petch Saturday 18 July 2015 at 16:57
petch
Developer

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Modify ptrace_scope message so it only shows on Linux, entry exists and is not 0 already

Differences

@@ -66,8 +66,13 @@
 # disable in Steam gameoverlayrender
 POL_Wine_OverrideDLL "" "gameoverlayrenderer"
  
-
-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')"
+# Check Kernel ptrace
+if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
+        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
+        if [ "$PTRACE_CHECK" != 0 ]; then
+                POL_Debug_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" "$TITLE"
+        fi
+fi
 
 POL_SetupWindow_Close
 

New source code

#!/bin/bash
# Date : (2013-02-18)
# Last revision : (2014-01-11 03:24) - DJYoshaBYD
# Distribution used to test : Ubuntu 12.10
# Author : lahtis
# Licence : retail
# PlayOnLinux: 4.1.9
# Steam installer works (2013-02-18)
# DVD installer not tested. I do not have dvd version.

[-z "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PREFIX="terraria"
WINEVERSION="1.7.8"
TITLE="Terraria"
EDITOR="Merge Games"
GAME_URL="http://www.terraria.org/"
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 "x86"
POL_Wine_PrefixCreate "$WINEVERSION"  
GAME_VMS="512"
STEAM_ID="105600"

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"

# Select virtual desktop mode on
Set_Desktop On 1024 768

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Installing mandatory dependencies
POL_Call POL_Install_steam

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Shortcut done before install for steam version
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

POL_SetupWindow_message "$(eval_gettext 'Install Terraria in Steam. Run the Terraria when Steam is installed the game. Steam install xna framework the game. Close the Steam so that the installer can continue.')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"
     
# Installing mandatory dependencies

POL_Call POL_Install_xinput # Fix game issue
POL_Call POL_Install_xna40 # Fix game issue

# disable in Steam gameoverlayrender
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                POL_Debug_message "$(eval_gettext 'If the game crashes at startup, open a terminal and type:\necho 0|sudo tee /proc/sys/kernel/yama/ptrace_scope')" "$TITLE"
        fi
fi

POL_SetupWindow_Close

exit 0

Replies

Anonymous
Friday 24 July 2015 at 15:58 -
Great news in Terraria player. http://store.steampowered.com/news/?appids=105600
Anonymous
Friday 24 July 2015 at 16:00 -
Steam Linux is Beta version of game.
amelorate Monday 6 July 2015 at 5:00
amelorate Anonymous

Message

When steam comes up there is no text displayed. Just a blank window with a few textboxes. This makes entering your account info almost impossible. Possibly a font issue?

Replies

Anonymous
Monday 6 July 2015 at 18:14 -
I think this can be fixed by adding POL_Wine_OverrideDLL "" "dwrite" to the script. I'll try later and see.
Monday 6 July 2015 at 19:04 -
POL_Call POL_Install_steam should have already done that
Anonymous
Monday 6 July 2015 at 21:28 -
This is nothing huge, but could you use newer wine? Newer wine fixes bugs that older ones have. And it's not good that we have already old version when publishing a script.
Anonymous
Tuesday 7 July 2015 at 0:03 -
Changing the line WINEVERSION="1.7.8" to WINEVERSION="1.7.46" doesn't solve the issue. Adding POL_Wine_OverrideDLL "" "dwrite" just before POL_Call POL_Install_steam did however. However now I am having issues with garbled audio. I think this might be an issue with wine and my system and it happens to both 1.7.8 and 1.7.46 of wine. Otherwise terraria plays well with this.
Anonymous
Tuesday 7 July 2015 at 16:07 -
I think there is regression at the audio code that causes the garbled sounds. Sometimes those can be fixed changing audio settings at linux box
lahtis Monday 21 July 2014 at 19:51
lahtis Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -61,7 +61,11 @@
 # Installing mandatory dependencies
 
 POL_Call POL_Install_xinput # Fix game issue
-POL_Call POL_Install_xna40 # Fix game issue     
+POL_Call POL_Install_xna40 # Fix game issue
+
+# disable in Steam gameoverlayrender
+POL_Wine_OverrideDLL "" "gameoverlayrenderer"
+ 
 
 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')"
 

New source code

#!/bin/bash
# Date : (2013-02-18)
# Last revision : (2014-01-11 03:24) - DJYoshaBYD
# Distribution used to test : Ubuntu 12.10
# Author : lahtis
# Licence : retail
# PlayOnLinux: 4.1.9
# Steam installer works (2013-02-18)
# DVD installer not tested. I do not have dvd version.

[-z "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PREFIX="terraria"
WINEVERSION="1.7.8"
TITLE="Terraria"
EDITOR="Merge Games"
GAME_URL="http://www.terraria.org/"
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 "x86"
POL_Wine_PrefixCreate "$WINEVERSION"  
GAME_VMS="512"
STEAM_ID="105600"

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"

# Select virtual desktop mode on
Set_Desktop On 1024 768

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Installing mandatory dependencies
POL_Call POL_Install_steam

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Shortcut done before install for steam version
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

POL_SetupWindow_message "$(eval_gettext 'Install Terraria in Steam. Run the Terraria when Steam is installed the game. Steam install xna framework the game. Close the Steam so that the installer can continue.')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"
     
# Installing mandatory dependencies

POL_Call POL_Install_xinput # Fix game issue
POL_Call POL_Install_xna40 # Fix game issue

# disable in Steam gameoverlayrender
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 

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

Replies

lahtis Friday 18 July 2014 at 13:35
lahtis Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -53,7 +53,7 @@
 POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
 POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
 
-POL_SetupWindow_message "$(eval_gettext 'Install Terraria in Steam. Run the Terraria when Steam is installed the game. Steam install xna framework the game. Close the Steam so that the installer can continue.')" "$TITLE"
+POL_SetupWindow_message "$(eval_gettext 'Install Terraria in Steam. Run the Terraria when Steam is installed the game. Steam install own xna framework the game. Close the Steam so that the installer can continue. When you play a game Steam Overlay must be turned off.')" "$TITLE"
 cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
 POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
 POL_Wine_WaitExit "$TITLE"

New source code

#!/bin/bash
# Date : (2013-02-18)
# Last revision : (2014-01-11 03:24) - DJYoshaBYD
# Distribution used to test : Ubuntu 12.10
# Author : lahtis
# Licence : retail
# PlayOnLinux: 4.1.9
# Steam installer works (2013-02-18)
# DVD installer not tested. I do not have dvd version.

[-z "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PREFIX="terraria"
WINEVERSION="1.7.8"
TITLE="Terraria"
EDITOR="Merge Games"
GAME_URL="http://www.terraria.org/"
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 "x86"
POL_Wine_PrefixCreate "$WINEVERSION"  
GAME_VMS="512"
STEAM_ID="105600"

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"

# Select virtual desktop mode on
Set_Desktop On 1024 768

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Installing mandatory dependencies
POL_Call POL_Install_steam

# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Shortcut done before install for steam version
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

POL_SetupWindow_message "$(eval_gettext 'Install Terraria in Steam. Run the Terraria when Steam is installed the game. Steam install own xna framework the game. Close the Steam so that the installer can continue. When you play a game Steam Overlay must be turned off.')" "$TITLE"
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"
     
# Installing mandatory dependencies

POL_Call POL_Install_xinput # Fix game issue
POL_Call POL_Install_xna40 # Fix game issue     

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

Replies

Friday 18 July 2014 at 13:41 -
Maybe we could automatically disable it?
Anonymous
Friday 18 July 2014 at 14:18 -
No. It can only be done Steam program.
Friday 18 July 2014 at 14:28 -
What about this?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
Anonymous
Thursday 16 April 2015 at 18:36 -
Is no one able to get the in game map to work?
Anonymous
Wednesday 10 February 2016 at 6:37 -
only using stable linux version.
jorlinn Tuesday 8 July 2014 at 19:09
jorlinn Anonymous

Message

Please disregard the previous message about Terraria crashing.

With Steam Overlay disabled (As stated in the WineHQ entry on Terraria), this game script runs perfectly well.

Thank you so much for enabling me to play one of my favourite games on Linux.

Much obliged.

 

Replies

jorlinn Friday 27 June 2014 at 2:45
jorlinn Anonymous

Message

Operating system : Ubuntu 14.04
Graphic card : nVidia 640 GT
Comments :  program tends to crash quite often after a key press, usually right after the game has started proper. Sometimes later on in the game, though this happens rarely.

First of all, thank you fro creating this script. Terraria is one of my most favourite games.

This started happening on 27-06-2014. I did update my system and I run no Ubuntu PPA's Before today this game ran perfectly.

When running the game with the debugging enabled, the game crashes with an Access violation.

I'll submit a more detailed bug report through PlayOnLinux itself.

Replies

Anonymous
Tuesday 8 July 2014 at 19:07 -
Moderator, please delete this message. The game runs perfectly when the steam overlay has been disabled, as the WineHQ AppDB entry states,