Euro truck simulator 2

Informations

Creator Message
daniil_filipov Anonymous

Warning

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

Informations

Platforms:
Downloads: 197
Wine: System

Feedbacks

Description

Euro Truck Simulator 2 (commonly abbreviated as ETS2) is a vehicle simulation game developed and published by SCS Software for Microsoft WindowsLinux and Mac OS X and was initially released as open development on 19 October 2012. The game is a direct sequel to the 2008 game Euro Truck Simulator and it is the second video game in the Truck Simulator series. The player can drive one of a choice of articulated trucks across a depiction of Europe, picking up cargo from various locations and delivering it. As the game progresses, it is possible for the player to buy more vehicles, depots, and hire drivers to work. The game has sold over 4.9 million units as of September 2016.

screenshot

 

Source code

#!/bin/bash
# Date : (2016-10-02 13-21)
# Last revision : (2016-10-05 17-50)
# Author : daniil_filipov
  
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
  
TITLE="ETS2"
PREFIX="ETS2"
 
POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "SCS Software" "http://scssoft.com/" "daniil_filipov" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
POL_Call
 
POL_SetupWindow_InstallMethod "LOCAL"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
  
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
  
fi
POL_Shortcut "eurotrucks2.exe" "$TITLE"
  
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
daniil_filipov Sunday 16 October 2016 at 14:31
daniil_filipov Anonymous

Information

This update has been approved by the team.

Message

Tested on OSX 10.10.1 Yosemite

Game version ETS2 1.14.2 with going east dlc

Worked 100% for me.

Differences

@@ -0,0 +1,36 @@
+#!/bin/bash
+# Date : (2016-10-02 13-21)
+# Last revision : (2016-10-05 17-50)
+# Author : daniil_filipov
+  
+[ "$PLAYONLINUX" = "" ] && exit
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="ETS2"
+PREFIX="ETS2"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+  
+POL_SetupWindow_presentation "$TITLE" "SCS Software" "http://scssoft.com/" "daniil_filipov" "$PREFIX"
+  
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+ 
+POL_Call
+ 
+POL_SetupWindow_InstallMethod "LOCAL"
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+  
+cd "$HOME"
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine start /unix "$APP_ANSWER"
+POL_Wine_WaitExit "$TITLE"
+  
+fi
+POL_Shortcut "eurotrucks2.exe" "$TITLE"
+  
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-10-02 13-21)
# Last revision : (2016-10-05 17-50)
# Author : daniil_filipov
  
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
  
TITLE="ETS2"
PREFIX="ETS2"
 
POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "SCS Software" "http://scssoft.com/" "daniil_filipov" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate
 
POL_Call
 
POL_SetupWindow_InstallMethod "LOCAL"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
  
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"
  
fi
POL_Shortcut "eurotrucks2.exe" "$TITLE"
  
POL_SetupWindow_Close
exit

Replies