IL-2 Shturmovik Battle of Stalingrad

Informations

Creator Message
dlobanov Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 51
Wine: 3.20

Feedbacks

Description

Russian:

"Ил-2 Штурмовик" нового поколения это боевой авиасимулятор периода Второй мировой войны в классическом понимании жанра - игра воспроизводящая авиационную технику, процесс её применения и сопутствующее окружение. Проект является наследником легендарного "Ил-2 Штурмовик", более чем на 10 лет ставшего лидером жанра. Новый "Ил-2" остается верен идеям о честном и подробном воспроизведении техники и событий представленных в игре.

 

English:

The new generation of IL-2 Sturmovik titles is developed by 1CGS and is a combat flight simulator of the World War II era and carries on the tradition created by the original IL-2 Sturmovik first released in 2001. Sturmovik recreates the aircraft, their use in the war and the environment they flew in. This latest product is a successor of the classic IL-2 Sturmovik that was a leader of the sim genre for more than 10 years. The new IL-2 is true to the ideas born by the first title with an accurate representation of aircraft and famous WWII battles.

Source code

#!/bin/bash

# Date: (2018-11-24 20-00)
# Last revision: (2018-11-24 20:00)
# Wine version used: 3.20
# Distribution used to test: Ubuntu 18.04.1 (Bionic Beaver)
# Author : Denis Lobanov
# Licence : GPL
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="IL-2 Shturmovik Battle of Stalingrad"
EDITOR="vim"
PREFIX="IL2_BoS"
WORKING_WINE_VERSION="3.20"
GAME_VMS="4096"
 
# Starting the script
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_SetupWindow_VMS $GAME_VMS
POL_Wine_Direct3D "UseGLSL" "enabled"

# Installing mandatory dependencies
POL_Wine_SetVideoDriver
cd "$WINEPREFIX/drive_c"
POL_Download "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks"
chmod +x winetricks

POL_Wine_WaitExit "corefonts"
./winetricks corefonts


POL_Wine_WaitExit ".Net 4.0"
./winetricks -q dotnet40

# Switch to the Win10
Set_OS "win10"

# Download installer and start it
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
        POL_SetupWindow_wait "Installation in progress." "$TITLE"
        POL_Wine start /unix "$APP_ANSWER"
        POL_Wine_WaitExit "$TITLE"
else
        # Downloading file from the Internet
        POL_System_TmpCreate "il2bos_tmp"
        cd "$POL_System_TmpDir"
        POL_Wine_WaitExit "$TITLE"
        POL_Download "http://cdn.il2sturmovik.net/x64/IL2_setup_BoS.exe"
        POL_Wine start /unix "IL2_setup_BoS.exe"
        POL_Wine_WaitExit "$TITLE"
        POL_System_TmpDelete
fi

# Required for Launcher
Set_Desktop "On" "1024" "768"

# Making shortcut
POL_Shortcut "Launcher.exe" "$TITLE - Updater" "" ""
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
dlobanov Saturday 24 November 2018 at 18:14
dlobanov Anonymous

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,76 @@
+#!/bin/bash
+
+# Date: (2018-11-24 20-00)
+# Last revision: (2018-11-24 20:00)
+# Wine version used: 3.20
+# Distribution used to test: Ubuntu 18.04.1 (Bionic Beaver)
+# Author : Denis Lobanov
+# Licence : GPL
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="IL-2 Shturmovik Battle of Stalingrad"
+EDITOR="vim"
+PREFIX="IL2_BoS"
+WORKING_WINE_VERSION="3.20"
+GAME_VMS="4096"
+ 
+# Starting the script
+POL_SetupWindow_Init
+ 
+# Starting debugging API
+POL_Debug_Init
+ 
+# Setting prefix path
+POL_Wine_SelectPrefix "$PREFIX"
+ 
+# Downloading wine if necessary and creating prefix
+POL_System_SetArch "x64"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_SetupWindow_VMS $GAME_VMS
+POL_Wine_Direct3D "UseGLSL" "enabled"
+
+# Installing mandatory dependencies
+POL_Wine_SetVideoDriver
+cd "$WINEPREFIX/drive_c"
+POL_Download "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks"
+chmod +x winetricks
+
+POL_Wine_WaitExit "corefonts"
+./winetricks corefonts
+
+
+POL_Wine_WaitExit ".Net 4.0"
+./winetricks -q dotnet40
+
+# Switch to the Win10
+Set_OS "win10"
+
+# Download installer and start it
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+        # Asking for CDROM and checking if it's correct one
+        POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
+        POL_SetupWindow_wait "Installation in progress." "$TITLE"
+        POL_Wine start /unix "$APP_ANSWER"
+        POL_Wine_WaitExit "$TITLE"
+else
+        # Downloading file from the Internet
+        POL_System_TmpCreate "il2bos_tmp"
+        cd "$POL_System_TmpDir"
+        POL_Wine_WaitExit "$TITLE"
+        POL_Download "http://cdn.il2sturmovik.net/x64/IL2_setup_BoS.exe"
+        POL_Wine start /unix "IL2_setup_BoS.exe"
+        POL_Wine_WaitExit "$TITLE"
+        POL_System_TmpDelete
+fi
+
+# Required for Launcher
+Set_Desktop "On" "1024" "768"
+
+# Making shortcut
+POL_Shortcut "Launcher.exe" "$TITLE - Updater" "" ""
+ 
+POL_SetupWindow_Close
+exit

New source code

#!/bin/bash

# Date: (2018-11-24 20-00)
# Last revision: (2018-11-24 20:00)
# Wine version used: 3.20
# Distribution used to test: Ubuntu 18.04.1 (Bionic Beaver)
# Author : Denis Lobanov
# Licence : GPL
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="IL-2 Shturmovik Battle of Stalingrad"
EDITOR="vim"
PREFIX="IL2_BoS"
WORKING_WINE_VERSION="3.20"
GAME_VMS="4096"
 
# Starting the script
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_SetupWindow_VMS $GAME_VMS
POL_Wine_Direct3D "UseGLSL" "enabled"

# Installing mandatory dependencies
POL_Wine_SetVideoDriver
cd "$WINEPREFIX/drive_c"
POL_Download "https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks"
chmod +x winetricks

POL_Wine_WaitExit "corefonts"
./winetricks corefonts


POL_Wine_WaitExit ".Net 4.0"
./winetricks -q dotnet40

# Switch to the Win10
Set_OS "win10"

# Download installer and start it
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_browse "Please select the installation file to run." "$TITLE"
        POL_SetupWindow_wait "Installation in progress." "$TITLE"
        POL_Wine start /unix "$APP_ANSWER"
        POL_Wine_WaitExit "$TITLE"
else
        # Downloading file from the Internet
        POL_System_TmpCreate "il2bos_tmp"
        cd "$POL_System_TmpDir"
        POL_Wine_WaitExit "$TITLE"
        POL_Download "http://cdn.il2sturmovik.net/x64/IL2_setup_BoS.exe"
        POL_Wine start /unix "IL2_setup_BoS.exe"
        POL_Wine_WaitExit "$TITLE"
        POL_System_TmpDelete
fi

# Required for Launcher
Set_Desktop "On" "1024" "768"

# Making shortcut
POL_Shortcut "Launcher.exe" "$TITLE - Updater" "" ""
 
POL_SetupWindow_Close
exit

Replies