Jump to content

Il-2 Sturmovik: Battle of Stalingrad on Linux


Recommended Posts

Posted (edited)

Update  02/2019 Game run great and flawless on Wine  4.0 64-bit (some tweaking required) see this  post and below

A step by step Guide can be found here.

Be sure to thank the kind Author @Nick_R for his work.

Please keep in mind that The developement of this games is very active still so stuff might break later on - but for now enjoy some nice flying on your linux box

(Steamplay/Proton install does not seem to work yet so you need to do it manually the oldfashioned way) 

Update  03/2018: game runs again with wine 3.5(64-bit) -  emulation of virtual dektop seems to be required - graphical glitches remain unfortunately

Update 05/2017: latest VR patches seem to have broken it. Game crashes once you actually jump into a mission. :( 

 

Il-2: BoS (steam) is running under Wine staging 2.4 (amd64); windows XP 7; CSMT: enabled

 
Game runs flawlessly in single and multiplayer with the exception of 2 graphical glitches:
 
1. depending on ingame settings there may be graphical artifacts that wash out colours under certain lighting condition - not beautiful but a minor issue gameplaywise. Unfortunately I have not yet been able to pinpoit the responsible setting. It may also be a bit of luck when starting the game. The artifacts seem to be either there or not and stay that way for the session.
 
2. this one is somewhat more severe. While trees, buildings, streets and vehicles are modeled at the correct height in the world the underlying terrain textures are shown at sealevel. This makes low altitude attacks and landings somewhat more challenging because you can not really judge the distance to the ground unless you are in grass rendering distance and visually has the effect of objects appearing to wander over the landscape with changing viewing angles. Even though this does definitely have impact on gameplay it is not really gamebreaking (the terrain is comparably flat anyway) and I found the visual distraction to be minor as well.
post-40876-0-97366600-1490469851_thumb.png
(you can see the bridge and trees are shifted further away from your aircraft in relation to the groundtextures from this viewing angle)
 
If someone can come up with improvements to this situation it would be appreciated.
Otherwise if if you switched to Linux and miss playing this game you might want to give it a go. Apart from the stuff mentioned above it runs really well at this stage.
Edited by Nebelfeuer
  • Like 3
  • Upvote 2
Posted

Nr 2 might be a problem with Kuban since there are mountains. I bet it has something to do with the displacement/tesselation which I guess is shader related. Maybe there is an asset you can use in wine to get the shader to alter the geometry in the right way. Last time I tried, years and years ago, I think there were dlls or something that you could pull in and use through wine?

Posted

If someone can come up with improvements to this situation it would be appreciated.

 

Run it on Microsoft Windows 10. 

 

Sorted :salute:

Guest deleted@30725
Posted

Thanks for testing. I love Linux, but the game issue (and my job) force me to use Winblows 10.

JG13_opcode
Posted

Run it on Microsoft Windows 10. 

 

Sorted :salute:

 

Proprietary software and vendor lock-in is bad for society.

  • Like 5
  • Upvote 1
Posted

Proprietary software and vendor lock-in is bad for society.

 

@opcode m8; I have no idea what this means but "vendor lock-in" sounds almost as ominous as "target in sight".   However, I would like to thank you for making the time to take the bait! :salute:

curiousGamblerr
Posted

What FPS are you getting and on what settings?

Posted (edited)
On 28.3.2017 at 9:45 PM, kissklas said:

Nr 2 might be a problem with Kuban since there are mountains. I bet it has something to do with the displacement/tesselation which I guess is shader related. Maybe there is an asset you can use in wine to get the shader to alter the geometry in the right way. Last time I tried, years and years ago, I think there were dlls or something that you could pull in and use through wine?

Unfortunately that would be me poking in the dark with absolutely no clue what I am doing... . Guess I will wait a few days for 2.5 staging before trying to dig deeper.

 

On 28.3.2017 at 10:17 PM, DD_Arthur said:

Run it on Microsoft Windows 10. 

 

Sorted :salute:

Sound advice! Had not the doctor advised me to keep my blood pressure in check I might have been tempted to do so ;-)

To be honest this game was one of the last chains I allowed to tie me to dual booting. The result was me booting Windows once every other month, getting annoyed by the update/maintenance process and then booting into Linux to play a game to blow of steam. With this reasonably well working solution here (and the hope for future improvement) there is no Windows partition to be found on my PCs anymore.

 

On 29.3.2017 at 1:36 AM, 19//curiousGamblerr said:

What FPS are you getting and on what settings?

Unfortunately steam overlay does not play well with this game on wine so no fps. It feels fluid enough for enjoyment though considering my massively aged toaster.

Core2quad 9400 @ 2,66GHz, 6GB RAM, GTX 670 2GB

post-40876-0-02916900-1491165617_thumb.png

(These are the settings I had the most success not getting the lighting glitch) 

 EDIT:(settings do not matter  - you need to restart the game until there is no lighting glitch in a test flight and you will be fine  for the whole session.)

 

Edited by Nebelfeuer
Posted

Wine/Linux is sooo nice.

 

 

 

When it works.  ;)

 

Thanks for posting - I dabble with Ubuntu from time to time.

curiousGamblerr
Posted

 

 

so no fps.

 

You can press backspace to enable the in game FPS display. A small green number will appear in the top right corner. Cool to hear it runs fluidly enough though. 

Posted

You can press backspace to enable the in game FPS display. A small green number will appear in the top right corner. Cool to hear it runs fluidly enough though. 

nice.

After playing around a little bit more I changed settings to: High, SSAO on, 2xAA and it stays pretty solid around 30 fps in campaign missions for me. Not quite as high as the DX9 windows version( feels better then I remember, though) and definitely lower then the current windows version but nonetheless play and enjoyable.

JG13_opcode
Posted (edited)

@opcode m8; I have no idea what this means but "vendor lock-in" sounds almost as ominous as "target in sight".   However, I would like to thank you for making the time to take the bait! :salute:

 

:)

 

Vendor lock-in is when policy and software means you have to stay & play in the vendor's walled garden.  

 

Examples:  

-  Games use DirectX which is only really supported on Windows.  You're therefore locked-in to using Microsoft's awful operating system.  

-  Apple requires that you use XCode in order to write applications for the iPhone.  XCode is AFAIK only available on MacOS, therefore you are locked into the Apple ecosystem.

 

etc.

Edited by JG13_opcode
  • Like 1
  • 1 month later...
Leon_Portier
Posted

Nice, thanks!

I dabbel a little in mint, so I´m really happy to see it works in wine.

  • 5 months later...
Posted

Please write in detail how you run IL-2, which libraries should I install?

[Linux]DLobanov
Posted (edited)

Hello all,

 

yesterday I was able to install and start Il - 2 BOS on Ubuntu under wine.

 

I've installed quite a lot of libraries and it looks like Nebelfeuer is right, game launcher does not work without virtual desktop emulation. At the same time game works without screen emulation well and I have about 60 fps.

 

On weekends I'll try to figure out required libraries and provide installation steps.

 

For now I did not check is the game works, because I did not buy it yet.

 

I have question to the support: some time ago I heard about demo version of the game. And before I buy the game I would like to check that it works well under wine, so could anybody provide me demo credentials for the game? I need ability to make any fly on an any airplane.

 

Best regards,

Denis

 

Edited by [Linux]DLobanov
  • Thanks 1
Posted

How about the Dserver?

  • Upvote 1
[Linux]DLobanov
Posted
7 минут назад, LLv34_Temuri сказал:

How about the Dserver?

 

As I found it will not allow to test flight performance, is it correct?

But it's good idea, I'll take a look at it if I don't get any response from support.

 

Thank you.

  • Upvote 1
Posted
1 minute ago, [Linux]DLobanov said:

 

As I found it will not allow to test flight performance, is it correct?

But it's good idea, I'll take a look at it if I don't get any response from support.

 

Thank you.

No flight performance. I meant that can the dserver run on wine :)

[Linux]DLobanov
Posted
2 минуты назад, LLv34_Temuri сказал:

No flight performance. I meant that can the dserver run on wine :)

 

Hmm, it looks like I'm not clearly understand purpose of the DServer.

For now I'm trying to install and launch IL-2 Shturmovik BOS client on the Linux under wine. As I wrote before it was installed and started and now I need some test credentials to test flight and game performance.

DServer probably will help, but I'll not be able to test flight and I need more time to start it too.

 

Posted

Dserver.exe is used to host a server and run missions without running the client.

[Linux]DLobanov
Posted (edited)

Hello all,

 

here is installation steps:

  1. wine 3.20 64bit + the latest winetricks
  2. create 64bit wine prefix
  3. enable GLSL
  4. set 4GB video memory
  5. ./winetricks -q corefonts dotnet40
  6. install game: wine64 IL2_setup_BoS.exe, do not start if right after installation
  7. run winecfg command in that prefix and turn on virtual desktop emulation

After these steps you can start installer, it'll download and prepare game. Virtual desktop (VD) is required only for updater, game works fine without it. So I propose to create 2 links: one with VD for updater and another one for game without VD.

I've done that all in PlayOnLinux and prepared script, but unfortunately I can't upload it due to site limitations.

 

Good luck in sky,

Denis

 

Here is script in plain text

 

#!/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

Edited by [Linux]DLobanov
  • Thanks 2
Posted

It does not work for me
 

env WINEPREFIX=/home/user/.wine_64 wine C:\\\\IL2BoS\\\\bin\\\\game\\\\Il-2.exe
0012:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0012:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0019:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
0019:err:winediag:CorIsLatestSvc If this function is called, it is likely the result of a broken .NET installation
0019:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub
0019:fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x0000044f,(nil),0x0001,0x00000000,0x76f9e0,(nil)): stub
0019:err:eventlog:ReportEventW L".NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Tried to start a service that wasn't the latest version of CLR Optimization service. Will shutdown\n"
0019:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
001c:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0024:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
0024:err:winediag:CorIsLatestSvc If this function is called, it is likely the result of a broken .NET installation
0024:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub
0024:fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x0000044f,(nil),0x0001,0x00000000,0x66f760,(nil)): stub
0024:err:eventlog:ReportEventW L".NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - Tried to start a service that wasn't the latest version of CLR Optimization service. Will shutdown\n"
0024:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
0036:err:plugplay:try_add_device Building report descriptor failed, removing device
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
packman: enumerating packages in '../../data'
packman: nothing found
packman: package search finished.
packman: creating global hash tree
packman: allocated onemb cache (1048576 bytes).
003a:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0x1.
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 102
003a:fixme:thread:SetThreadIdealProcessor (0xfffffffffffffffe): stub
003a:fixme:thread:SetThreadIdealProcessor (0xfffffffffffffffe): stub
wine: Unhandled page fault on read access to 0x000004a8 at address 0x4c1737 (thread 003a), starting debugger...
Unhandled exception: page fault on read access to 0x000004a8 in 64-bit code (0x00000000004c1737).
003c:fixme:dbghelp:interpret_function_table_entry PUSH_MACHFRAME 7
003c:fixme:dbghelp:interpret_function_table_entry PUSH_MACHFRAME 6
003c:fixme:dbghelp:interpret_function_table_entry PUSH_MACHFRAME 7
003c:fixme:dbghelp:interpret_function_table_entry PUSH_MACHFRAME 6
Register dump:
 rip:00000000004c1737 rsp:000000000023e5d0 rbp:000000000023e8d0 eflags:00010202 (  R- --  I   - - - )
 rax:00000000000004a8 rbx:00000000022c4808 rcx:0000000000000000 rdx:00000000022c88a8
 rsi:0000000000000006 rdi:0000000140813378  r8:0000000000508070  r9:00000000005080a8 r10:0000000000000002
 r11:0000000002340568 r12:0000000140813368 r13:0000000000000001 r14:00000000022b6450 r15:0000000000000000
Stack dump:
0x000000000023e5d0:  0000000000ffffff ffffff00ffffff00
0x000000000023e5e0:  0000000000202020 0000000000000000
0x000000000023e5f0:  0000000000000000 0000000000000000
0x000000000023e600:  0000000000000000 0000000000000000
0x000000000023e610:  0000000000000000 0000000000000000
0x000000000023e620:  0000000000000000 0000000000000000
0x000000000023e630:  0000000000000000 0000000000000000
0x000000000023e640:  0000000000000006 00000000022c4808
0x000000000023e650:  0000000000000006 0000000140813378
0x000000000023e660:  0000000140813368 0000000000000001
0x000000000023e670:  00000000022b6450 0000000000000000
0x000000000023e680:  000000000023e8d0 00000000004a52f2
Backtrace:
=>0 0x00000000004c1737 in inputinterface (+0x21737) (0x000000000023e8d0)
  1 0x00000000004a52f2 in inputinterface (+0x52f1) (0x000000000023e8d0)
  2 0x00000001400bc3c0 in il-2 (+0xbc3bf) (0x000000000023e8d0)
0x00000000004c1737: movq        0x00000000000004a8(%rcx),%rcx
Modules:
Module  Address                                 Debug info      Name (194 modules)
PE                240000-          258000       Deferred        math
PE                260000-          2e0000       Deferred        common
PE                2e0000-          2fd000       Deferred        console
PE                300000-          324000       Deferred        core
PE                330000-          3a1000       Deferred        gfxshared
PE                3b0000-          416000       Deferred        enviro
PE                420000-          4a0000       Deferred        dxbackend11
PE                4a0000-          50e000       Export          inputinterface
PE                510000-          56b000       Deferred        input
PE                570000-          5bd000       Deferred        openvr_api
PE                5c0000-          5e8000       Deferred        registry
PE                5f0000-          6d1000       Deferred        landscape
PE                6e0000-          9ea000       Deferred        missionmanager
PE                9f0000-          a62000       Deferred        sceneman
PE                a70000-          b43000       Deferred        renderers
PE                b50000-          bcf000       Deferred        net
PE                bd0000-          be1000       Deferred        timer
PE                bf0000-         146a000       Deferred        rse
PE               1470000-         14e3000       Deferred        soundengine
PE               14f0000-         16a3000       Deferred        fmodex64
PE               16b0000-         1730000       Deferred        fmod_event64
PE               1730000-         1829000       Deferred        fmod_event_net64
PE               1830000-         195c000       Deferred        careerprocessor
PE               1960000-         19df000       Deferred        mysqlpp64
PE               19e0000-         1f61000       Deferred        libmysql
PE               1f70000-         1fbb000       Deferred        libcurl64
PE               1fc0000-         20fd000       Deferred        libeay64
PE               2100000-         213d000       Deferred        ssleay64
PE               2140000-         2243000       Deferred        libwebmplayer
PE              3b400000-        3b440000       Deferred        steam_api64
ELF             7a800000-        7aa10000       Deferred        opengl32<elf>
  \-PE          7a850000-        7aa10000       \               opengl32
ELF             7b400000-        7b827000       Deferred        kernel32<elf>
  \-PE          7b420000-        7b827000       \               kernel32
ELF             7bc00000-        7bd2e000       Deferred        ntdll<elf>
  \-PE          7bc20000-        7bd2e000       \               ntdll
ELF             7c000000-        7c005000       Deferred        <wine-loader>
PE             140000000-       140be1000       Export          il-2
PE             180000000-       18000c000       Deferred        cameraman
ELF         7f2481cba000-    7f2481f08000       Deferred        libgssapi_krb5.so.2
ELF         7f2481f08000-    7f2482115000       Deferred        libkrb5support.so.0
ELF         7f2482115000-    7f2482348000       Deferred        libk5crypto.so.3
ELF         7f2482348000-    7f2482631000       Deferred        libkrb5.so.3
ELF         7f2482679000-    7f2482684000       Deferred        libffi.so.6
ELF         7f2482684000-    7f2482718000       Deferred        libgmp.so.10
ELF         7f2482718000-    7f248294e000       Deferred        libhogweed.so.4
ELF         7f248294e000-    7f2482b85000       Deferred        libnettle.so.6
ELF         7f2482b85000-    7f2482d98000       Deferred        libtasn1.so.6
ELF         7f2482d98000-    7f2483118000       Deferred        libunistring.so.2
ELF         7f2483118000-    7f2483335000       Deferred        libidn2.so.0
ELF         7f2483335000-    7f2483465000       Deferred        libp11-kit.so.0
ELF         7f2483465000-    7f24835d4000       Deferred        libgnutls.so.30
ELF         7f24835f8000-    7f24835ff000       Deferred        libkeyutils.so.1
ELF         7f24835ff000-    7f248361c000       Deferred        kerberos<elf>
  \-PE      7f2483610000-    7f248361c000       \               kerberos
ELF         7f248361c000-    7f248373a000       Deferred        msvcr120<elf>
  \-PE      7f2483640000-    7f248373a000       \               msvcr120
ELF         7f248373a000-    7f248375a000       Deferred        concrt140<elf>
  \-PE      7f2483740000-    7f248375a000       \               concrt140
ELF         7f248375a000-    7f2483960000       Deferred        libxfixes.so.3
ELF         7f2483960000-    7f2483b6a000       Deferred        libxcursor.so.1
ELF         7f2483b6a000-    7f2483b7d000       Deferred        libxi.so.6
ELF         7f2483b7d000-    7f2483d80000       Deferred        libxcomposite.so.1
ELF         7f2483d80000-    7f2483f8b000       Deferred        libxrandr.so.2
ELF         7f2483f8b000-    7f2483f98000       Deferred        libxrender.so.1
ELF         7f2483f98000-    7f248419e000       Deferred        libxxf86vm.so.1
ELF         7f248419e000-    7f24843a1000       Deferred        libxinerama.so.1
ELF         7f24843a1000-    7f24845a7000       Deferred        libxdmcp.so.6
ELF         7f24845a7000-    7f24847ab000       Deferred        libxau.so.6
ELF         7f24847ab000-    7f24847d5000       Deferred        libxcb.so.1
ELF         7f24847d5000-    7f2484914000       Deferred        libx11.so.6
ELF         7f2484914000-    7f2484b26000       Deferred        libxext.so.6
ELF         7f2484b27000-    7f2484b2d000       Deferred        libcom_err.so.2
ELF         7f2484b2d000-    7f2484b6e000       Deferred        uxtheme<elf>
  \-PE      7f2484b40000-    7f2484b6e000       \               uxtheme
ELF         7f2484b6e000-    7f2484c15000       Deferred        winex11<elf>
  \-PE      7f2484b80000-    7f2484c15000       \               winex11
ELF         7f2484c90000-    7f2484c99000       Deferred        libuuid.so.1
ELF         7f2484c99000-    7f2484cd5000       Deferred        libexpat.so.1
ELF         7f2484cd5000-    7f2484d1c000       Deferred        libfontconfig.so.1
ELF         7f2484d1c000-    7f2484f8e000       Deferred        libpcre.so.1
ELF         7f2484f8e000-    7f2484fb3000       Deferred        libgraphite2.so.3
ELF         7f2484fb3000-    7f24850d6000       Deferred        libglib-2.0.so.0
ELF         7f24850d6000-    7f24851b9000       Deferred        libharfbuzz.so.0
ELF         7f24851b9000-    7f24853d0000       Deferred        libz.so.1
ELF         7f24853d0000-    7f2485408000       Deferred        libpng16.so.16
ELF         7f2485408000-    7f24856d1000       Deferred        libfreetype.so.6
ELF         7f24856d1000-    7f2485740000       Deferred        libncursesw.so.6
ELF         7f2485788000-    7f2485a5a000       Deferred        libcrypto.so.1.1
ELF         7f2485a5a000-    7f2485aea000       Deferred        libssl.so.1.1
ELF         7f2485aea000-    7f2485d06000       Deferred        libsasl2.so.3
ELF         7f2485d06000-    7f2485d1f000       Deferred        libresolv.so.2
ELF         7f2485d1f000-    7f2485f2e000       Deferred        liblber-2.4.so.2
ELF         7f2485f2e000-    7f2486180000       Deferred        libldap_r-2.4.so.2
ELF         7f2486186000-    7f2486199000       Deferred        libbz2.so.1.0
ELF         7f2486199000-    7f24861af000       Deferred        api-ms-win-crt-locale-l1-1-0<elf>
  \-PE      7f24861a0000-    7f24861af000       \               api-ms-win-crt-locale-l1-1-0
ELF         7f24861af000-    7f24861c8000       Deferred        api-ms-win-crt-multibyte-l1-1-0<elf>
  \-PE      7f24861c0000-    7f24861c8000       \               api-ms-win-crt-multibyte-l1-1-0
ELF         7f24861c8000-    7f2486233000       Deferred        wldap32<elf>
  \-PE      7f24861d0000-    7f2486233000       \               wldap32
ELF         7f2486233000-    7f248631f000       Deferred        msvcr90<elf>
  \-PE      7f2486250000-    7f248631f000       \               msvcr90
ELF         7f248631f000-    7f24864b8000       Deferred        msvcp90<elf>
  \-PE      7f2486360000-    7f24864b8000       \               msvcp90
ELF         7f24864b8000-    7f24864f1000       Deferred        netapi32<elf>
  \-PE      7f24864c0000-    7f24864f1000       \               netapi32
ELF         7f24864f1000-    7f2486533000       Deferred        secur32<elf>
  \-PE      7f2486500000-    7f2486533000       \               secur32
ELF         7f2486533000-    7f2486566000       Deferred        iphlpapi<elf>
  \-PE      7f2486540000-    7f2486566000       \               iphlpapi
ELF         7f2486566000-    7f24865a7000       Deferred        ws2_32<elf>
  \-PE      7f2486570000-    7f24865a7000       \               ws2_32
ELF         7f24865a7000-    7f24865c5000       Deferred        wsock32<elf>
  \-PE      7f24865b0000-    7f24865c5000       \               wsock32
ELF         7f24865c5000-    7f24865f5000       Deferred        msacm32<elf>
  \-PE      7f24865d0000-    7f24865f5000       \               msacm32
ELF         7f24865f5000-    7f24866be000       Deferred        winmm<elf>
  \-PE      7f2486600000-    7f24866be000       \               winmm
ELF         7f24866be000-    7f2486713000       Deferred        dinput8<elf>
  \-PE      7f24866d0000-    7f2486713000       \               dinput8
ELF         7f2486713000-    7f24867a7000       Deferred        d3d11<elf>
  \-PE      7f2486720000-    7f24867a7000       \               d3d11
ELF         7f24867a7000-    7f248691f000       Deferred        wined3d<elf>
  \-PE      7f24867d0000-    7f248691f000       \               wined3d
ELF         7f248691f000-    7f2486957000       Deferred        dxgi<elf>
  \-PE      7f2486930000-    7f2486957000       \               dxgi
ELF         7f2486957000-    7f24869d9000       Deferred        d3dcompiler_47<elf>
  \-PE      7f2486970000-    7f24869d9000       \               d3dcompiler_47
ELF         7f24869d9000-    7f24869f3000       Deferred        d3dx11_43<elf>
  \-PE      7f24869e0000-    7f24869f3000       \               d3dx11_43
ELF         7f24869f3000-    7f2486a75000       Deferred        d3dcompiler_43<elf>
  \-PE      7f2486a00000-    7f2486a75000       \               d3dcompiler_43
ELF         7f2486a75000-    7f2486a8b000       Deferred        api-ms-win-crt-time-l1-1-0<elf>
  \-PE      7f2486a80000-    7f2486a8b000       \               api-ms-win-crt-time-l1-1-0
ELF         7f2486a8b000-    7f2486aa1000       Deferred        api-ms-win-crt-environment-l1-1-0<elf>
  \-PE      7f2486a90000-    7f2486aa1000       \               api-ms-win-crt-environment-l1-1-0
ELF         7f2486aa1000-    7f2486ab7000       Deferred        api-ms-win-crt-utility-l1-1-0<elf>
  \-PE      7f2486ab0000-    7f2486ab7000       \               api-ms-win-crt-utility-l1-1-0
ELF         7f2486ab7000-    7f2486acd000       Deferred        api-ms-win-crt-filesystem-l1-1-0<elf>
  \-PE      7f2486ac0000-    7f2486acd000       \               api-ms-win-crt-filesystem-l1-1-0
ELF         7f2486acd000-    7f2486ae5000       Deferred        api-ms-win-crt-string-l1-1-0<elf>
  \-PE      7f2486ad0000-    7f2486ae5000       \               api-ms-win-crt-string-l1-1-0
ELF         7f2486ae5000-    7f2486afd000       Deferred        api-ms-win-crt-convert-l1-1-0<elf>
  \-PE      7f2486af0000-    7f2486afd000       \               api-ms-win-crt-convert-l1-1-0
ELF         7f2486afd000-    7f2486b15000       Deferred        api-ms-win-crt-stdio-l1-1-0<elf>
  \-PE      7f2486b00000-    7f2486b15000       \               api-ms-win-crt-stdio-l1-1-0
ELF         7f2486b15000-    7f2486c76000       Deferred        msvcp140<elf>
  \-PE      7f2486b50000-    7f2486c76000       \               msvcp140
ELF         7f2486c76000-    7f2486c8c000       Deferred        api-ms-win-crt-heap-l1-1-0<elf>
  \-PE      7f2486c80000-    7f2486c8c000       \               api-ms-win-crt-heap-l1-1-0
ELF         7f2486c8c000-    7f2486ca3000       Deferred        api-ms-win-crt-runtime-l1-1-0<elf>
  \-PE      7f2486c90000-    7f2486ca3000       \               api-ms-win-crt-runtime-l1-1-0
ELF         7f2486ca3000-    7f2486cbe000       Deferred        api-ms-win-crt-math-l1-1-0<elf>
  \-PE      7f2486cb0000-    7f2486cbe000       \               api-ms-win-crt-math-l1-1-0
ELF         7f2486cbe000-    7f2486dea000       Deferred        ucrtbase<elf>
  \-PE      7f2486cf0000-    7f2486dea000       \               ucrtbase
ELF         7f2486dea000-    7f2486e01000       Deferred        vcruntime140<elf>
  \-PE      7f2486df0000-    7f2486e01000       \               vcruntime140
ELF         7f2486e01000-    7f2486f90000       Deferred        oleaut32<elf>
  \-PE      7f2486e30000-    7f2486f90000       \               oleaut32
ELF         7f2486f90000-    7f2487033000       Deferred        rpcrt4<elf>
  \-PE      7f2486fa0000-    7f2487033000       \               rpcrt4
ELF         7f2487033000-    7f24871f6000       Deferred        ole32<elf>
  \-PE      7f2487060000-    7f24871f6000       \               ole32
ELF         7f24871f6000-    7f2487220000       Deferred        imm32<elf>
  \-PE      7f2487200000-    7f2487220000       \               imm32
ELF         7f2487220000-    7f2487270000       Deferred        usp10<elf>
  \-PE      7f2487230000-    7f2487270000       \               usp10
ELF         7f2487270000-    7f24873cb000       Deferred        comctl32<elf>
  \-PE      7f2487280000-    7f24873cb000       \               comctl32
ELF         7f24873cb000-    7f24873e6000       Deferred        version<elf>
  \-PE      7f24873d0000-    7f24873e6000       \               version
ELF         7f24873e6000-    7f248756c000       Deferred        gdi32<elf>
  \-PE      7f2487400000-    7f248756c000       \               gdi32
ELF         7f248756c000-    7f24877e2000       Deferred        user32<elf>
  \-PE      7f2487590000-    7f24877e2000       \               user32
ELF         7f24877e2000-    7f248787b000       Deferred        shlwapi<elf>
  \-PE      7f2487800000-    7f248787b000       \               shlwapi
ELF         7f248787b000-    7f248828a000       Deferred        shell32<elf>
  \-PE      7f24878a0000-    7f248828a000       \               shell32
ELF         7f248838a000-    7f2488428000       Deferred        advapi32<elf>
  \-PE      7f24883a0000-    7f2488428000       \               advapi32
ELF         7f2488528000-    7f248853d000       Deferred        libnss_files.so.2
ELF         7f2488a23000-    7f2488a3d000       Deferred        libgcc_s.so.1
ELF         7f2488a3d000-    7f2488bc2000       Deferred        libm.so.6
ELF         7f2488bc4000-    7f2488bc9000       Deferred        libdl.so.2
ELF         7f2488bcc000-    7f2488be2000       Deferred        psapi<elf>
  \-PE      7f2488bd0000-    7f2488be2000       \               psapi
ELF         7f2488c11000-    7f2488dd5000       Deferred        libc.so.6
ELF         7f2488dd5000-    7f2488df6000       Deferred        libpthread.so.0
ELF         7f2488df6000-    7f2488f9e000       Dwarf           libwine.so.1
ELF         7f2488fa0000-    7f2488fcc000       Deferred        ld-linux-x86-64.so.2
ELF         7ffd00671000-    7ffd00672000       Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
        00000033    0
        0000002e    0
        00000028    0
        0000001d    0
        00000017    0
        00000016    0
        00000010    0
        0000000f    0
00000013 explorer.exe
        00000021    0
        00000020    0
        0000001f    0
        0000001e    0
        00000014    0
00000026 winedevice.exe
        0000002b    0
        0000002a    0
        00000029    0
        00000027    0
0000002c plugplay.exe
        00000030    0
        0000002f    0
        0000002d    0
00000031 winedevice.exe
        00000038    0
        00000037    0
        00000036    0
        00000035    0
        00000034    0
        00000032    0
00000039 (D) C:\IL2BoS\bin\game\Il-2.exe
        0000003a    0 <==
System information:
    Wine build: wine-3.21
    Platform: x86_64
    Version: Windows 7
    Host system: Linux
    Host version: 4.19.2-arch1-1-ARCH

 

[Linux]DLobanov
Posted (edited)

Hello,

 

as I see you've been able to download and install the game and it fails on it's start.

 

As I see you use wine 3.21, I did not check with it.

 

Could you please provide output of the 'winetrics list-installed' and 'winetrics --version' commands?

 

Could you try provided above PlayOnLinux script?

Edited by [Linux]DLobanov
Posted (edited)

env WINEPREFIX=/home/user/.wine_64 winetricks list-installed

------------------------------------------------------
Вы используете 64-битный WINEPREFIX. Важно: многие ветки устанавливают только 32-битные версии пакетов. Если у вас возникли проблемы, пожалуйста, проверьте еще раз на чистом 32-битном WINEPREFIX до отправки отчета об ошибке.
------------------------------------------------------
Using winetricks 20180815 - sha256sum: 9343f9174146c0fa4d34e18e05269ae772a45ba78e3d8786829fa21895f6f7f4 with wine-3.21 and WINEARCH=win64
corefonts
w_workaround_wine_bug-42701
w_workaround_wine_bug-34803
remove_mono
winxp
dotnet40
csmt=on
glsl=enabled
win7
alldlls=builtin

 

Edited by 159_Temych
[Linux]DLobanov
Posted

Hello,

 

here is my output of the same command in my environment, as I see corefonts was installed properly in your case.

PlayOnLinux: /home/user/.PlayOnLinux/wineprefix/IL2_BoS/drive_c > ./winetricks list-installed
------------------------------------------------------
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20180815-next - sha256sum: 66bbaa4621d29eb0b840c9c52bf8daa2d0ab2611f071f774e811a813ace14872 with wine-3.20 and WINEARCH=win64
andale
arial
comicsans
courier
georgia
impact
times
trebuchet
verdana
webdings
corefonts
w_workaround_wine_bug-42701
w_workaround_wine_bug-34803
remove_mono
winxp
dotnet40
PlayOnLinux: /home/user/.PlayOnLinux/wineprefix/IL2_BoS/drive_c >

 

I would recommend to try PlayOnLinux script which I provided above.

  • 1 month later...
Posted (edited)

I just tried it with dxvk and as far as I can tell there's no graphical issues/glitches. I'm having some problems with .NET which causes the Lparser (BoS.LogParser.Offline.exe) to not work correctly which makes some things not work properly in game, but once I've got that figured out I'll post my setup.

Edited by Nick_R
Posted (edited)

So what I did to get the game working is basically setup a 64bit wine prefix than run the following command:
 

winetricks -q dxvk corefonts dotnet40

After that run the installer. You can skip installing .NET when it prompts you to, but install DirectX when prompted. Everything from here works perfectly. You don't need virtual desktop for the launcher. The only issue I ran into is when playing offline the BoS.LogParser.Offline.exe keeps crashing in the background and pops up dialogs. To make this less annoying just rename or delete the file. It's in 'data/Lparser' of the game directory. If somebody finds a way to get the LogParser to work let me know.

My wine version is 4.0-rc6, but older versions might work as well. I haven't tested that.

Edited by Nick_R
Posted (edited)

So these are the errors that BoS.LogParser.Offline.exe has:
 

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File not found.
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File not found.
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

I bet if BoS.LogParser.Offline.exe were compiled against .NET 4.0 instead of .NET 3.5 it would run without any problems. The problem is that I haven't been able to install .NET 3.5 successfully in a 64 bit wine prefix. .NET 4.0 works in a 64 bit wine prefix as far as I can tell though.

Edited by Nick_R
  • Upvote 2
Posted (edited)

32 bit .NET works perfectly with wine, but IL 2 is 64 bit and I haven't been able to get .NET 3.5 to work on 64 bit. I had success though with .NET 4.0. So I'll either wait till somebody figures out .NET 3.5 64 bit out or IL 2 compiles the Lparser with .NET 4.0. Playing it offline I'm okay with not having stats, but when I'm hosting a server that's kinda a no go for me. Playing on other servers I believe the stats work. Haven't it tried it yet.

 

Besides that the performance seems to be very close to that of running it on windows.

Edited by Nick_R
  • Upvote 1
Posted

Dream, one day with the next Il2 Engine Update - the devs use Vulcan instead of DirectX and then Il2 becomes cross platform native.

 

It is a dream but one of the few things keeping me locked on Windows which is a terrible OS to be honest.

  • Like 1
Posted

Try using Steam/Proton.  They've made a lot of progress translating D3D calls to Vulkan.

Posted (edited)

You'll see that I posted that I used dxvk which is basically that, and the problem isn't with the 3D. That works perfectly. The problem is that single Log parser module which requires .NET 3.5 64 bit. Besides that the game runs perfectly with only the annoyance of no statistics when playing offline or when hosting a server on Linux.

Edited by Nick_R
Posted (edited)

I got everything working! to get it working decompile BoS.LogParser.Offline.exe with ILSpy. After that recompile it with Visual Studio setting the target version to .NET 4.0. Finally replace the old BoS.LogParser.Offline.exe with the newly recompiled one.

Edited by Nick_R
SAS_Storebror
Posted

Great, many thanks for sharing your efforts.

I hope that the devs don't mind that this might be against licensing terms.

 

:drinks:

Mike

Posted
On 1/14/2019 at 12:20 AM, Nick_R said:

The only issue I ran into is when playing offline the BoS.LogParser.Offline.exe keeps crashing in the background and pops up dialogs.

So this issue doesn't appear when running just the Dserver?

Posted

The DServer uses the LogParser as well. It will run without it, but again the in game stats won't work when playing on that server.

  • Upvote 1
cloudflyer777
Posted

Has anyone tested Linux lite for the game and how did it run?

Posted (edited)

@cloudflyer777 I don't see why it wouldn't work on Linux Lite. Not sure if it would work with the version of wine available in the official repositories. You might have to install wine 4.0 which you can find instructions for here: https://www.omgubuntu.co.uk/2019/01/wine-4-0.The instructions are for Ubuntu, but I'm pretty sure they'll work for Linux Lite as well since it's based on Ubuntu. You'll also need a recent enough version of winetricks that supports installing dxvk which may or may not be in the official repos. I don't know.

 

11 hours ago, SAS_Storebror said:

Great, many thanks for sharing your efforts.

I hope that the devs don't mind that this might be against licensing terms.

 

:drinks:

Mike

 

@SAS_Storebror I read the license agreement and I don't see any problem with it, but I'm not sure about sharing the resulting file. I'd like to attach it to this post to make it simpler for other users, but I'm afraid it wouldn't be tolerated, but again I couldn't really find anything about it in the agreement.

Edited by Nick_R
tagged cloudflyer777
Posted
42 minutes ago, Nick_R said:

I'd like to attach it to this post to make it simpler for other users

Send me the link to your BoS.LogParser.Offline.exe

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...