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

Spintires

Informations

Creator Message
privetic Anonymous

Warning

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

Informations

Platforms:
Downloads: 3957
Wine: 2.12-staging

Feedbacks

Description

A simulator based on trucks driving. It is using Havok nd the graphicks are very nice.

Source code

#!/bin/bash
# Date : (2014-08-08 19:33)
# Last revision : (2014-08-08 21:56)
# Wine version used : 2.12-staging (PlayOnLinux) 
# Distribution used to test : Linux Mint 18.1 x64
# Author : lahtis
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0 
source "$PLAYONLINUX/lib/sources"
 
TITLE="Spintires"
PREFIX="Spintires"
EDITOR="Oovee"
GAME_URL="http://www.spintires.com"
AUTHOR="lahtis"
WORKING_WINE_VERSION="2.12-staging"
GAME_VMS="1024"
STEAM_ID="263280"
 
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# 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 'The game will fail to launch until you set /proc/sys/kernel/yama/ptrace_scope to 0')" "$TITLE"
        fi
fi
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Downloading and install directx9
POL_Call POL_Install_directx9 

# Downloading and install vcrun2010
POL_Call POL_Install_vcrun2010 # Fix game issue

# Downloading and install quartz
POL_Call POL_Install_quartz # Fix game issue
 
# Choose between DOWNLOAD for demo version or Digital Download version in Steam
POL_SetupWindow_InstallMethod "DOWNLOAD,STEAM"

# This DOWNLOADER install only Free beta version for testing purpose 
if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then

POL_System_TmpCreate "$PREFIX"

# Download and install the game
cd "$POL_System_TmpDir"
POL_Download "http://oovee.chicsystems.net/SpinTiresInstall_060613.zip"
unzip "SpinTiresInstall_060613.zip"
POL_SetupWindow_wait "Unzip in progress." "Unzip progress"
POL_Wine start /unix "$POL_System_TmpDir/SpinTiresInstall_June060613.msi"
POL_Wine_WaitExit "$TITLE"
 
POL_System_TmpDelete
 
POL_Shortcut 'SpinTires.exe' "SpinTires - demo"
 
POL_SetupWindow_Close

else
# 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" "Game;"

cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID

POL_SetupWindow_Close
fi 
exit 0

Contributions

Filters:

Contribute
Member Message
szp Wednesday 27 September 2017 at 10:44
szp Anonymous

Information

This update has been approved by the team.

Message

Recent steam kept crashing on wine 1.7.22 while updating. (https://www.playonlinux.com/en/topic-15336.html)
So I tried what was recommended for Civ4, that is, switching to wine 2.12-staging. I have some font rendering issues (a pixel or two are missing on the right side of characters), minor graphics glitches, but nothing serious.
I tried modifying the attached script accordingly but be warned that I did not test it.

 

Differences

@@ -1,8 +1,8 @@
 #!/bin/bash
 # Date : (2014-08-08 19:33)
 # Last revision : (2014-08-08 21:56)
-# Wine version used : 1.7.22 (PlayOnLinux) 
-# Distribution used to test : Ubuntu 12.04 x64
+# Wine version used : 2.12-staging (PlayOnLinux) 
+# Distribution used to test : Linux Mint 18.1 x64
 # Author : lahtis
 # Licence : Retail
  
@@ -14,7 +14,7 @@
 EDITOR="Oovee"
 GAME_URL="http://www.spintires.com"
 AUTHOR="lahtis"
-WORKING_WINE_VERSION="1.7.22"
+WORKING_WINE_VERSION="2.12-staging"
 GAME_VMS="1024"
 STEAM_ID="263280"
  

New source code

#!/bin/bash
# Date : (2014-08-08 19:33)
# Last revision : (2014-08-08 21:56)
# Wine version used : 2.12-staging (PlayOnLinux) 
# Distribution used to test : Linux Mint 18.1 x64
# Author : lahtis
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0 
source "$PLAYONLINUX/lib/sources"
 
TITLE="Spintires"
PREFIX="Spintires"
EDITOR="Oovee"
GAME_URL="http://www.spintires.com"
AUTHOR="lahtis"
WORKING_WINE_VERSION="2.12-staging"
GAME_VMS="1024"
STEAM_ID="263280"
 
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# 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 'The game will fail to launch until you set /proc/sys/kernel/yama/ptrace_scope to 0')" "$TITLE"
        fi
fi
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Downloading and install directx9
POL_Call POL_Install_directx9 

# Downloading and install vcrun2010
POL_Call POL_Install_vcrun2010 # Fix game issue

# Downloading and install quartz
POL_Call POL_Install_quartz # Fix game issue
 
# Choose between DOWNLOAD for demo version or Digital Download version in Steam
POL_SetupWindow_InstallMethod "DOWNLOAD,STEAM"

# This DOWNLOADER install only Free beta version for testing purpose 
if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then

POL_System_TmpCreate "$PREFIX"

# Download and install the game
cd "$POL_System_TmpDir"
POL_Download "http://oovee.chicsystems.net/SpinTiresInstall_060613.zip"
unzip "SpinTiresInstall_060613.zip"
POL_SetupWindow_wait "Unzip in progress." "Unzip progress"
POL_Wine start /unix "$POL_System_TmpDir/SpinTiresInstall_June060613.msi"
POL_Wine_WaitExit "$TITLE"
 
POL_System_TmpDelete
 
POL_Shortcut 'SpinTires.exe' "SpinTires - demo"
 
POL_SetupWindow_Close

else
# 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" "Game;"

cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID

POL_SetupWindow_Close
fi 
exit 0

Replies

lahtis Friday 8 August 2014 at 21:02
lahtis Anonymous

Warning

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

Differences

@@ -0,0 +1,98 @@
+#!/bin/bash
+# Date : (2014-08-08 19:33)
+# Last revision : (2014-08-08 21:56)
+# Wine version used : 1.7.22 (PlayOnLinux) 
+# Distribution used to test : Ubuntu 12.04 x64
+# Author : lahtis
+# Licence : Retail
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0 
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Spintires"
+PREFIX="Spintires"
+EDITOR="Oovee"
+GAME_URL="http://www.spintires.com"
+AUTHOR="lahtis"
+WORKING_WINE_VERSION="1.7.22"
+GAME_VMS="1024"
+STEAM_ID="263280"
+ 
+# Starting the script
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+ 
+# Starting debugging API
+POL_Debug_Init
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+# 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 'The game will fail to launch until you set /proc/sys/kernel/yama/ptrace_scope to 0')" "$TITLE"
+        fi
+fi
+ 
+# Setting prefix path
+POL_Wine_SelectPrefix "$PREFIX"
+ 
+# Downloading wine if necessary and creating prefix
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+# Fix pulseaudio issue
+which pulseaudio && Set_OS "winxp"
+ 
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+
+# Downloading and install directx9
+POL_Call POL_Install_directx9 
+
+# Downloading and install vcrun2010
+POL_Call POL_Install_vcrun2010 # Fix game issue
+
+# Downloading and install quartz
+POL_Call POL_Install_quartz # Fix game issue
+ 
+# Choose between DOWNLOAD for demo version or Digital Download version in Steam
+POL_SetupWindow_InstallMethod "DOWNLOAD,STEAM"
+
+# This DOWNLOADER install only Free beta version for testing purpose 
+if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
+
+POL_System_TmpCreate "$PREFIX"
+
+# Download and install the game
+cd "$POL_System_TmpDir"
+POL_Download "http://oovee.chicsystems.net/SpinTiresInstall_060613.zip"
+unzip "SpinTiresInstall_060613.zip"
+POL_SetupWindow_wait "Unzip in progress." "Unzip progress"
+POL_Wine start /unix "$POL_System_TmpDir/SpinTiresInstall_June060613.msi"
+POL_Wine_WaitExit "$TITLE"
+ 
+POL_System_TmpDelete
+ 
+POL_Shortcut 'SpinTires.exe' "SpinTires - demo"
+ 
+POL_SetupWindow_Close
+
+else
+# 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" "Game;"
+
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
+
+POL_SetupWindow_Close
+fi 
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-08-08 19:33)
# Last revision : (2014-08-08 21:56)
# Wine version used : 1.7.22 (PlayOnLinux) 
# Distribution used to test : Ubuntu 12.04 x64
# Author : lahtis
# Licence : Retail
 
[ "$PLAYONLINUX" = "" ] && exit 0 
source "$PLAYONLINUX/lib/sources"
 
TITLE="Spintires"
PREFIX="Spintires"
EDITOR="Oovee"
GAME_URL="http://www.spintires.com"
AUTHOR="lahtis"
WORKING_WINE_VERSION="1.7.22"
GAME_VMS="1024"
STEAM_ID="263280"
 
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# 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 'The game will fail to launch until you set /proc/sys/kernel/yama/ptrace_scope to 0')" "$TITLE"
        fi
fi
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Downloading and install directx9
POL_Call POL_Install_directx9 

# Downloading and install vcrun2010
POL_Call POL_Install_vcrun2010 # Fix game issue

# Downloading and install quartz
POL_Call POL_Install_quartz # Fix game issue
 
# Choose between DOWNLOAD for demo version or Digital Download version in Steam
POL_SetupWindow_InstallMethod "DOWNLOAD,STEAM"

# This DOWNLOADER install only Free beta version for testing purpose 
if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then

POL_System_TmpCreate "$PREFIX"

# Download and install the game
cd "$POL_System_TmpDir"
POL_Download "http://oovee.chicsystems.net/SpinTiresInstall_060613.zip"
unzip "SpinTiresInstall_060613.zip"
POL_SetupWindow_wait "Unzip in progress." "Unzip progress"
POL_Wine start /unix "$POL_System_TmpDir/SpinTiresInstall_June060613.msi"
POL_Wine_WaitExit "$TITLE"
 
POL_System_TmpDelete
 
POL_Shortcut 'SpinTires.exe' "SpinTires - demo"
 
POL_SetupWindow_Close

else
# 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" "Game;"

cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID

POL_SetupWindow_Close
fi 
exit 0

Replies

Anonymous
Friday 8 August 2014 at 21:10 -
Demo version works by Linux. Some rendering issues. Steam version not tested. I dont have a full game.
Anonymous
Sunday 10 August 2014 at 20:47 -
Tested also developers version which allows community modifications. It works but is some rendering issues for mud tires.
lahtis Friday 8 August 2014 at 2:25
lahtis Anonymous

Message

Are you make this installer. Im testing only Spin Tires Build v1.5 (12.07.13 Dev) and SpinTires Tech Demo v1.3 (June 06.06.13). it is working some minor rendering issues. Im using DirectX, vcrun2010 and quartz. And only working wine version is 1.7.22 (1.7.23 not working.) My hardware is https://gist.github.com/lahtis/8935236

Replies