WineHQ

IL-2 Sturmovik Series

IL2 Sturmovik 1946 offers the best WWII flight experience of all time.

Campaigns, missions and aircraft as well as many exclusive features. Pilots can fly the skies and fight enemies over the Russian front, German occupied Europe, the Far East and the Pacific. IL2 Sturmovik 1946 also includes all of previous Il-2 series content, thus bringing the most respected anthology flight simulator to an astonishing 300+ flyable aircraft.

Fly in Oleg's skies online with 100s of players too.

Salute!

 

Application Details:

Version: IL-2 Sturmovik 1946
License: Retail
URL: http://en.wikipedia.org/wiki/I...
Votes: 15
Latest Rating: Gold
Latest Wine Version Tested: 2.13-staging

Maintainers: About Maintainership

Link 1C Official Forum Link IL2 1946 DVD Free Download 4.08 patch Free Download 4.09 patch Free Download 4.10 patch Free Download 4.10.1 patch Free Download 4.11 patch

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

  • installation, playing, adding music (see below), joystick, ...!
  • LAN-multiplayer linux<-windows->linux
  • very fast and highest details (tweaked as said below), AA does not seem to work though (I didn't even noticed, maybe you can turn it on in your gfx-drivers)
  • Installing/enabling mods: http://allaircraftarcade.com/forum/index.php
  • Keyboard issue (wine 1.1.15) fixed, working again

What does not

Antialiasing does not seem to work!? (Maybe use gfx-driver-utilities)

Can take some time to get network working, simply see the comments below

Workarounds

What was not tested

Force Feedback (lack of Hardware)
Voice Chat (no need for this in LAN)

I bought the retail budget version for 10EUR which does not have any copy-protection at all...

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

NVidia 8800GTX, nvidia driver 180 - max. Details

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 17.04 "Zesty" amd64 (+ variants like Kubuntu)Jul 27 20172.13-stagingYes Yes GoldStorebror 
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Jul 26 20172.0.2-stagingYes Yes GoldStorebror 
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Mar 04 20172.2Yes Yes PlatinumStepanoSprijmenim 
ShowMac OS X 10.11 "El Capitan"Jan 06 20161.8N/A Yes PlatinumV0idExp 
ShowopenSUSE 11.4 x86_64May 09 20151.7.42Yes Yes Platinuman anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
9127 Multiple games fail to play intro videos/movies (quartz MPEG splitter: MPEG-1 system streams not supported) NEW View

Show all bugs

HowTo / Notes

Installing IL-2 1946

INSTALLATION

Install using your IL-2 DVD first. (wait for install even if 100%)
Some times people may have to copy the DVD to harddrive to bypass EXE executing permissions.

When asked to install DirectX press Cancel.
Install DirectX 9 via Winetricks instead (not required).

Patch to 4.08 -> next 4.09 -> next 4.10 -> next 4.10.1 --> next 4.11 and enjoy the flight.


Swapping Between Versions

To be able to join servers running earlier versions make sure to backup the 4.09 files.SFS and il2fb.exe files.

Create a new folder named "Versions".

In your "Versions" create new folders for each version.  Name the folders by version.

Later when you want to change versions:

1. Select the version.

2. Copy the two files.

3. Paste in the main IL2 folder and replace.

IL2 Hosting & Gameplay via HyperLobby

Hyperlobby is a program that connects players with a friendly user interface.

You can be a player and join servers or host a game yourself.

Joining a game is simple. Follow the instructions on the Hyperlobby WINEHQ page.

In order to host from Hyperlobby you must first prepare your network.

Port forwarding info:

IL2 = UDP 21000
Hyperlobby = TCP 1698 

IL-2 Widescreen

Open conf.ini file. "~/.wine/drive_c/Program Files/Ubisoft/IL-2 Sturmovik 1946"

Scroll down and edit the following.

Change the width and height to match your screen settings.

[window]
width=1680
height=1050
ColourBits=32
DepthBits=24
StencilBits=8
ChangeScreenRes=0
FullScreen=1
DrawIfNotFocused=1
EnableResize=1
EnableClose=1
SaveAspect=0
Use3Renders=0

Warning: Do not reopen the IL2 Setup or go into the "Video Modes" option in game after tweak or all will be reset.

Performance Tweak by Grams79

Run setup.

Select the Video tab and select Maximum Settings for OpenGL.

Run game.

Select Hardware Setup --> Video Options --> Picture Quality set all to MAX (excellent).

Run WINE configuration.

Select Graphics tab and disable the Vertex Shader Support.

Disable "Allow Pixel Shader".

Open conf.ini file. "~/.wine/drive_c/Program Files/Ubisoft/IL-2 Sturmovik 1946"

Scroll down and edit the following.

[game]

3dgunners=0

[Render_OpenGL]
TexQual=3
TexMipFilter=3
TexCompress=0
TexFlags.UseDither=0
TexFlags.UseAlpha=0
TexFlags.UseIndex=0
TexFlags.PolygonStipple=1
TexFlags.UseClampedSprites=1
TexFlags.DrawLandByTriangles=1
TexFlags.UseVertexArrays=1
TexFlags.DisableAPIExtensions=1
TexFlags.ARBMultitextureExt=1
TexFlags.TexEnvCombineExt=1
TexFlags.SecondaryColorExt=1
TexFlags.VertexArrayExt=1
TexFlags.ClipHintExt=1
TexFlags.UsePaletteExt=1
TexFlags.TexAnisotropicExt=1
TexFlags.TexCompressARBExt=0
TexFlags.TexEnvCombine4NV=1
TexFlags.TexEnvCombineDot3=1
TexFlags.DepthClampNV=1
TexFlags.SeparateSpecular=1
TexFlags.TextureShaderNV=0
HardwareShaders=0
Shadows=1
Specular=2
SpecularLight=2
DiffuseLight=1
DynamicalLights=1
MeshDetail=1
VisibilityDistance=3
Sky=1
Forest=0
LandShading=1
LandDetails=1
LandGeom=1
TexLarge=1
TexLandQual=1
TexLandLarge=1
TypeClouds=0
Water=1
Effects=0
ForceShaders1x=1
VideoSetupId=17
PolygonOffsetFactor=-0.15
PolygonOffsetUnits=-3.0


Save and test game.

Warning: Do not reopen the IL2 Setup or go into the graphics options in game after tweak or all will be reset.

If anyone has a suggestion about changes to be made to these settings post here or contact Grams79.

Graphics tweaking (extra details)

If your computer is powerful enough to run il2 on max. details, you can try to enable some extra effects:

  1. Set graphics quality to maximum settings ingame
  2. In your games directory (e.g.: "~/.wine/drive_c/Program Files/Ubisoft/IL-2 Sturmovik 1946") you can find a file named "conf.ini". Here you can change some details. This also is described in the manual:
  3. Go to "[Render_OpenGL]" and change "Forest = 2" to "Forest = 3" to enable 3D-trees and higher tree resolution
  4. Go to "[Render_OpenGL]" and change "Water = x" to one of these values: 0 (normal water), 1 (some reflections, shadows), 2 (reflections, shadows, water-dependent wave types), 3 (ultra-quality using shader 3.0)

If your airports flicker, change the following values too:

  1. "PolygonOffsetFactor=-0.15"
  2. "PolygonOffsetUnits=-3.0"


Extended Max Graphics Tweak by Grams79:

Run setup.

Select the Video tab and select Maximum Settings for OpenGL.

Run game.

Select Hardware Setup --> Video Options --> Picture Quality set all to MAX (excellent).

Then follow the instructions above to force highest settings manually in the configuration file.

Run WINE configuration.

Select Graphics tab and select Hardware for the Vertex Shader Support.

Select [✓] to Allow Pixel Shader.

(performance tweak found above)

IL-2 Server Commander commands

<gunstat = gunnery accuracy statistic, machine guns, guns, rockets and bombs
<live = number of lives which you spent through the mission, number of KIA of yourself
<targets = main targets on map by map square coordinates
<time = timeout till mission end
<recon air = square with most air activity
<recon grd = square with most ground activity
<logon = password login (if needed);
<planes = planeset limit (if limits is on server)
<vote = vote for map change
<warn = show penalty points
<teams = shows numbers of players in teams

Join servers which are using CRT=2

If you try to join a server and you receive the "timeout 1" notice.

The server has a setting active called "check run time" which is used to stop cheaters.

It scans the files of the client to make sure nothing is modified.

In this case while using WINE the CRT thinks that Windows has been modified.

The result is a kick from the server.


The solution is simple.

1. Rename the original msvcrt.dll to msvcrt_old.dll .

2. Add the new msvcrt.dll from a Windows 2003 or WinXP server to your system32 folder.

3. In WINE Configuration go to Libraries tab and add msvcrt making it (native).

File can be downloaded here. Password is "wine".

mirror 1, mirror 2, mirror 3, mirror 4 , mirror 5, mirror 6, mirror 7

This trick may not work when wine prefix has 64bit arch (tested with wine-1.3.18)

So WINEARCH=win32 may be needed when creating new wine prefix using wine compiled with 64bit support:

env WINEARCH=win32 WINEPREFIX=/home/..../IL-2-wine winecfg

No sound?

If you don't get audio output in il2, first check others apps, esp. wine-apps.

Change settings in Wine Config --> Audio tab --> DirectSound --> Full / Emulation

 Emulation seems to work well for most who may have issues.

Also check ingame settings.

You may need to edit your "conf.ini" file (found in your gamedir).

Replace with (basic example):

[sound]
SoundUse=1
Speakers=2
SoundFlags.reversestereo=1
SoundFlags.hardware=1
SoundFlags.forceEAX1=0
RadioFlags.Enabled=0
RadioFlags.PTTMode=0
RadioFlags.PlayClicks=0
MasterVolume=7
MusicVolume=7
ObjectVolume=7
VoiceVolume=7
MusState.takeoff=0
MusState.inflight=0
MusState.crash=0
MusFlags.play=0
SoundEngine=1
SoundMode=0
SamplingRate=2
NumChannels=0
ActLevel=0
MicLevel=0

Try not to use other audio applications when running il2!

As an alternative you can remove pulseaudio in some cases.

Add your own music!

To add own music to il2, you'll have to convert and copy them:

The manual says: "You can add music files at your own discretion via Samples/Music/Directory. The music should be in Windows WAVE-file, MPEG 1.3 format. The files for playback are chosen atrandom."

Use any audio-converter to do so, e.g. "ffmpeg": "ffmpeg -acodec mp3 -i somefile.mp3 outfile.wav"

Now copy the wav-file into your gamedir: (e.g.: "~/.wine/drive_c/Program Files/Ubisoft/IL-2 Sturmovik 1946/samples/Music/")

  1. Folder "Crash": (any filename) played on crash
  2. Folder "InFlight": (any filename) played inflight
  3. Folder "Takeoff": (any filename) played on takeoff / after landing
  4. Folder "Intro": ("intro.wav") played as intro
  5. Folder "Menu": (".wav") played in menus (depends on nation selected)

If you only hear first some "clickers" or only the first seconds, you didn't convert to "mpeg x layer 3"

Ultra Pack

http://ultrapack.il2war.com

Utrapack is HSFX plus a few add-ons. HSFX was designed for online campaigns using the the Scorched Earth (SEOW) system. Thus, not every mod available was deemed necessary or, indeed, good enough for SEOW purposes. So the required ones were added and the .sfs files re-compressed for for faster loading times and ease of use. HSFX superseded the old AAA UI packs. Ultrapack takes HSFX and adds some of the missing mods that they deem relevant. However, they are not in compressed form, unlike HSFX. HSFX, and therefore Ultrapack, are both designed so that extra mods can be added easily if so wished.

Error 1639

While installing I came across this error.
Error: -1639 Invalid command line

My solution was to upgrade Wine via the Synaptic Package Manager.
ppa:ubuntu-wine/ppa

Then using my console I typed in "wineboot" to restart Windows.

The installation worked fine after without any more issues.

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

OpenGL quirks
by Storebror on Thursday July 27th 2017, 2:06
In case IL-2 doesn't want to start due to OpenGL errors like this:

************************************************************
err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
err:wgl:init_opengl OpenGL support is disabled.
Main begin: wglCreateContext failed
com.maddox.opengl.GLContextException: wglCreateContext failed
************************************************************

you are probably running on a 64 Bit OS and therefore need to add 32 Bit support and furthermore need to add OpenGL support to it.
In order to get there (here explained for Ubuntu Xenial/Zesty), open up a command prompt and enter the following commands:

************************************************************
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-dri:i386
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so.1
************************************************************
Important winecfg settings
by Storebror on Thursday July 27th 2017, 2:03
From my experience, in order to run modern fashion of Il-2 Sturmovik 1946, like Steam Version, BAT or VP Modpack etc., you need to configure a few Libraries in winecfg first, otherwise IL-2 will fail to start.

Under "Libraries", configure msvcp71 as "Native" and msvcr71 as "Native".
If you are playing a modded game with IL-2 Selector, like BAT or VP Modpack, additionally configure "dinput" as "Native, Builtin".
Steam Version - Anyone got it working?
by The Yeti Wakes on Sunday July 2nd 2017, 12:44
As title really. Has anyone got the steam version running? I cannot get it to load at all. Steam loading window appears for a few seconds and then just closes.
Clouds appear buggy
by V0idExp on Wednesday January 6th 2016, 4:38
On my OSX "El Capitan", with the performance tweaks applied which I got from this page, I experience some visual glitches on clouds rendering, as on this screenshot:

s23.postimg.org/a5dj1u6bf/Screen_Shot_2016_01_06_at_11_26_15.png
Installation exits with error code 1603
by Xwang on Sunday September 2nd 2012, 12:52
I've tried to install with
wine setup.exe
but at 100% it gives an error code 1603 (in a windows GUI) and installation is automatically cancelled:

These are the messages on the console:
err:service:load_reg_dword Error 1804 while reading value L"Type"
err:service:scmdatabase_load_services Error 1804 reading registry key for service L"papycpu2" - skipping
[ andreak@pro5av 1]$ fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:ntdll:FILE_GetNtStatus Converting errno 38 to STATUS_UNSUCCESSFUL
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:apphelp:ApphelpCheckInstallShieldPackage stub: 0x33f304 L"E:\\IL-2 Sturmovik 1946.msi"
fixme:ntdll:NtFsControlFile FSCTL_PIPE_IMPERSONATE: impersonating self
fixme:ntdll:NtFsControlFile FSCTL_PIPE_IMPERSONATE: impersonating self
fixme:ntdll:NtFsControlFile FSCTL_PIPE_IMPERSONATE: impersonating self
fixme:ntdll:NtFsControlFile FSCTL_PIPE_IMPERSONATE: impersonating self
err:msi:extract_cabinet FDICopy failed
err:msi:ACTION_InstallFiles Failed to extract cabinet: L"Data1.cab"
err:msi:ITERATE_Actions Execution halted, action L"InstallFiles" returned 1603
err:ole:ClientRpcChannelBuffer_SendReceive called from wrong apartment, should have been 0x330000004c
err:ole:xCall RpcChannelBuffer SendReceive failed, 8001010e
err:rpc:RpcServerUnregisterIf not found for object (null)
err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-2c00-000033000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-2c00-000033000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-2c00-000033000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-2c00-000033000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-2c00-000033000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
err:ole:dispatch_rpc no apartment found for ipid {ffffffff-ffff-ffff-2c00-000033000000}
err:rpc:I_RpcReceive we got fault packet with status 0x80010108
RE: Installation exits with error code 1603
by Xwang on Sunday September 2nd 2012, 14:24
Solved after rerunning the a.exe file.
Xwang
Ubuntu 11.10 Wine 1.4 An unexpected was detected in native code outside the VM
by Christian Brend on Sunday July 1st 2012, 21:10
Hello, I just installed Wine 1.4 on my HP Dv6-6130us so I could play Il2 1946 on it, but after successfully installing Il2 I tried unsuccessfully to start the game. I tried several different configurations in il2set.exe, which did work fine, but nothing changed. I click on il2fb.exe, nothing happens.

Here's the code from one of the error logs, which are all identical, so I assume that it doesn't have anything to do with how I configured il2set.exe:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x40a207
Function name=(N/A)
Library=C:\Program Files\Ubisoft\IL-2 Sturmovik 1946\il2fb.exe

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.



Current Java thread:
at com.maddox.rts.Finger.Int(Native Method)
at com.maddox.rts.SFSInputStream._open(SFSInputStream.java:145)
at com.maddox.rts.SFSInputStream.(SFSInputStream.java:22)
at com.maddox.rts.RTS.load(RTS.java:37)
at com.maddox.rts.LDR.loadClass(LDR.java:23)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.maddox.rts.LDR.set(LDR.java:77)

Dynamic libraries:
0x00400000 - 0x0049A000 C:\Program Files\Ubisoft\IL-2 Sturmovik 1946\il2fb.exe
0x7BC10000 - 0x7BCC4000 C:\windows\system32\ntdll.dll
0x7B810000 - 0x7BA16000 C:\windows\system32\KERNEL32.dll
0x7EC50000 - 0x7ED7D000 C:\windows\system32\user32.dll
0x7EB90000 - 0x7EC3C000 C:\windows\system32\gdi32.dll
0x7EB30000 - 0x7EB7F000 C:\windows\system32\advapi32.dll
0x7EFF0000 - 0x7F000000 C:\windows\system32\version.dll
0x7EA80000 - 0x7EB1E000 C:\windows\system32\winmm.dll
0x7E980000 - 0x7EA71000 C:\windows\system32\ole32.dll
0x7E900000 - 0x7E969000 C:\windows\system32\rpcrt4.dll
0x7E8D0000 - 0x7E8F3000 C:\windows\system32\msacm32.dll
0x7E8B0000 - 0x7E8CB000 C:\windows\system32\imm32.dll
0x7E870000 - 0x7E8A9000 C:\windows\system32\dinput.dll
0x7E780000 - 0x7E866000 C:\windows\system32\comctl32.dll
0x7E620000 - 0x7E6A5000 C:\windows\system32\winex11.drv
0x7E340000 - 0x7E368000 C:\windows\system32\uxtheme.dll
0x6D420000 - 0x6D4EF000 C:\Program Files\Ubisoft\IL-2 Sturmovik 1946\bin\hotspot\jvm.dll
0x7E2C0000 - 0x7E334000 C:\windows\system32\msvcrt.dll
0x6D220000 - 0x6D227000 C:\Program Files\Ubisoft\IL-2 Sturmovik 1946\bin\hpi.dll
0x6D3B0000 - 0x6D3BD000 C:\Program Files\Ubisoft\IL-2 Sturmovik 1946\bin\verify.dll
0x6D250000 - 0x6D266000 C:\Program Files\Ubisoft\IL-2 Sturmovik 1946\bin\java.dll
0x6D3C0000 - 0x6D3CD000 C:\Program Files\Ubisoft\IL-2 Sturmovik 1946\bin\zip.dll
0x7E380000 - 0x7E394000 C:\windows\system32\imagehlp.dll
0x7E250000 - 0x7E2A7000 C:\windows\system32\dbghelp.dll
0x7E240000 - 0x7E249000 C:\windows\system32\psapi.dll

Local Time = Sun Jul 1 17:41:20 2012
Elapsed Time = 0
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1-b24 compiled mode)
#

Oh, and I only recently installed Ubuntu 11.10 on my computer, after having many issues with windows 7, and Ubuntu 12.04. This version of Ubuntu seems to work just fine on my computer.
RE: Ubuntu 11.10 Wine 1.4 An unexpected was detected in native code outside the VM
by hdhgf4 on Tuesday July 10th 2012, 14:01
Hello,

I had the same problem. An exeption in the il2fb.exe:
"Library=C:\Program Files\Ubisoft\IL-2 Sturmovik 1946\il2fb.exe"

My solution was to just install all upgrades. I did not test out every step, but i could run the game in wine 4.1 (which i have) after i installed the following patches:
4.08m
4.09m (and the skin part of this skins4.09.exe)
4.10
4.10.1

Hope this helps...
RE: Ubuntu 11.10 Wine 1.4 An unexpected was detected in native code outside the VM
by Christian Brend on Wednesday October 10th 2012, 16:20
Yeah that did help. I installed 4.08m and it's working fine now, except for a full screen issue in Lubuntu 12.04. It's strange that I didn't have that problem in Ubuntu 11.10. Whenever I exit from the game the screen doesn't return to the desktop, it just stays black. I'm sure I'll find a solution soon, and if I don't I'll try updating to the latest version of il2 1946.
RE: Ubuntu 11.10 Wine 1.4 An unexpected was detected in native code outside the VM: SOLVED
by Christian Brend on Tuesday January 22nd 2013, 4:01
Using the widescreen instructions above solved this problem.
Notes and How-to sections arranged
by Grams79 on Monday December 5th 2011, 13:40
The Notes and How-to section has been rearranged in a more proper order.
IL-2 1946: No Sound
by ahalin on Saturday January 22nd 2011, 20:38
I am running (from a Windows install on another partition) IL-2 1946 4.08m with Wine 1.2.2 inside Ubuntu 10.04. Everything works well except there is no sound once game play ("Fly") starts. The "switches" in the settings windows do "click".

As per advice in the Wine App DB, I have edited "conf.ini" to set "SoundUse=1 ", and "Speakers=2" and there are no other audio applications running. I have sound within Ubuntu 10.04 and the sound works fine in Windows XP.

If you can help, I would love to be able to use at least one of my favourite sims in Linux! (MS FSX no good, Lock On: Modern Air Combat no good, Silent Hunter was OK but not anymore.)

Thanks!
RE: IL-2 1946: No Sound: SOLVED
by ahalin on Monday January 24th 2011, 5:27
Got to thinking about IL-2's audio settings (DirectX) and Ubuntu's sound software (not DirectX). I was all set to add something to IL-2 conf.ini so I had more options than "DirectX" and "No Sound" but thought I'd check Wine's configuration first, thinking "if Linux doesn't run DirectX I will obviously have to emulate it" (even though "WINE Is Not a Windows Emulator").

So: Applications > Wine > Configuration > Audio and changed DirectSound > Hardware Acceleration (at the bottom of the window) option from "Full" to "Emulation"

And presto, fixed!!! Hope this helps others.

Now if I could just get TrackIR to work with IL-2 in Linux I would be a really happy camper ..........
RE: IL-2 1946: No Sound: SOLVED
by Grams79 on Monday February 7th 2011, 13:22
Good to hear you found a solution with emulation.

Another challenge is working with Pulse Audio failure.
If you are running music with movie player for example IL2 sound will in most cases cut out and die.
Sound may come back in game if you click a few sound buttons in the sound option.
But the true solution to avoid this conflict is to remove Pulse.

sudu apt-get remove pulseaudio
restart pc

It can be reinstalled the same.
sudo apt-get install pulseaudio
restart pc

Hope that helps some people who love to crank tunes while in flight.
RE: IL-2 1946: No Sound: SOLVED
by karla on Thursday May 26th 2011, 5:02
I've been trying FreeTack 2.2 (does the business under Windows) which installs with Wine but has a problem on start up with registration of FreeTrackFilterSSE2.ax. So it doesn't recognize my webcam. I can use the terminal and manually install with "wine regsvr32 FreeTrackFilterSSE2.ax" but FT still gives same error message on start. Hey Ho.

Anyway, San's FOV Changer is a great substitute for wide, all round views il2fovchanger.byehost7.com (oops - it may no longer be around, you should be able to find it elsewhere). It can be used for wide and multi-screen games. It installs under Wine and just about works:

1. Follow SanFov instructions and add port to IL2 conf.ini.
2. Open Nautilus or appropriate to access files. This is a substitute for Alt-Tab window switching which doesn't work in Linux.
3. start SanFov v 1.0.5.8 under Wine (RC version doesn't seem to work well)
4. Check your IP is correct, switch on autoactivations.
5. Alt-Tab to Nautilus.
6. Start IL2fb under Wine.
7. IL2 views should start with San's default wide angle.
8. If FOV is changed then may need to restart SanFov with Alt-Z then hit Alt-B (broad view)/Alt-N (narrow) and wait for very sluggish change. Possible sluggish response may be .NET installation.
IL2 MOVIE: "The last knights"
by Grams79 on Monday January 10th 2011, 11:24
Full screen and 1080p HD.
Enjoy!
www.youtube.com/v/u4a-nUNQy2Y&fmt=37
Networking problem v2
by Vasili Bulkin on Tuesday May 18th 2010, 15:03
After trying the workaround posted earlier network play still doesn't work.
Any connection to remote server results in a timeout, i.e.
socket join to 192.168.0.203:21000 failed: timeout
when trying to connect to server in LAN
Same thing with internet servers
Wireshark shows outbound udp packets but no response

wine ver. 1.1.30
Il-2 ver. 4.08(09b)
RE: Networking problem v2
by Grams79 on Sunday January 9th 2011, 11:31
do you get a timeout 1 or a timeout 0 ?
is the server using CRT=2 ?
Installation error
by Jean-Rémy on Wednesday January 27th 2010, 15:53
Obtained an error:
1628: Failed to complete installation.

Any similar experience, (and solution)?
RE: Installation error
by Jean-Rémy on Wednesday January 27th 2010, 15:54
Sorry:
Ubuntu 9.10
Wine 1.1.37
RE: Installation error
by John Haywards on Saturday January 30th 2010, 9:09
When did the error occur?
What wine-version are you using? "wine --version"
What is your console/terminal output?

If you need help on this, please check wine-forums:
forum.winehq.org/
RE: Installation error
by Jean-Rémy on Wednesday February 3rd 2010, 15:52
Thanks for your answer,

The error occurs at the beginning of the installation.
The message:
"1628: Failed to complete installation" appears
then installation stops.

I tried with several Wine version:
1.0.1 but also 1.1.36, then 1.1.37.

Because my Ubuntu computer doesn't have DVD reader I'm trying to install IL2 from a copy of the DVD on my hard disk drive.
Perhaps a reason?

I finally decide to (re)install the game on my Windows PC (with DVD) then to perform a copy of the installed IL2 directory on my Ubuntu.
Obtained a message about the fact the DVD needs to be in the reader...
RE: Installation error
by John Haywards on Thursday February 4th 2010, 9:11
Okay, please try a clean "WINEPREFIX=~/testdir/ wine *.exe" and run Setup again. Maybe your problem is due to several other non-default settings. You will find help on this in the wiki:
1) Open Terminal: Navigate to your CD-Drive via "cd"-command
2) Run the Setup: "WINEPREFIX=~/newdir/ wine Setup.exe"

For running the game you may also search a "no-cd patched/fixed exe". You will find these on the net. ;)
RE: Installation error
by Grams79 on Saturday January 30th 2010, 18:49
I would try a previous Wine version to make sure it is not the 1.1.37 causing the issue.
RE: Installation error
by Jean-Rémy on Wednesday February 3rd 2010, 15:54
Thanks for your answer,

I just replied to John Haywards.
I told him I tried several previous Wine versions.

And finnaly figured out my configuration (no DVD reader) can be the cause of the problem (?)
How to replace joystick/arrow controls with mouse?
by Wolter Hellmund on Monday October 12th 2009, 21:41
I want to be able to control the airplane as follows:
Mouse (x-axis, y-axis): ailerons, elevator
Mouse + Shift (x-axis, y-axis): camera panning (the default Mouse behavior)
How can I do that? I can work out all the rest.
Joystick Issues
by Jason on Tuesday August 11th 2009, 14:20
Ok, I know several people seem to have joystick issues, but I personally just can't get this one to go away!

I can't get IL2 to see any form of joystick calibration. (I'm now using 9.04 and Wine 1.1.26).
I don't really want to use QJoyPad, as with me, it doesn't seem to work.
However, when I was using 8.04, I could calibrate the joystick successfully via the terminal, but now I can't seem to do that.

It's the same problem all the time - the game can't see the calibration!!

Could someone let me know what the procedure is for calibrating the joystick using the terminal, and then I'll check to make sure I've not missed a vital step.

And/Or, could people let me know, not only what they use, but HOW they go about using it, as it's best to treat me like a complete moron with Linux, so that I don't end up missing anything! lol

Thanks.
wine 1.1.25
by John Haywards on Wednesday July 8th 2009, 14:05
In wine 1.1.25 the game works much better for me. I can load bigger scenarios without il2 to crash now.
Game crashes while connecting to running server
by David on Sunday June 21st 2009, 3:36
The crash happens to me to. But it happens even without hyperlobby start. If the sever is running, the game just hangs dead with

socket start connecting to 67.106.81.125:21065
socket channel '0' start creating: 67.106.81.125:21065
Initializing DirectSound capture device...
Mixer not accessible...Ok.
Creating capture (size = 32768)...
exception at

console output. I have 9.04 Ubuntu. Tried downgrading wine down to version 1.1.14 but that did not work, so I'm guessing that problem is somewhere in Ubuntu interacting with wine rather than wine itself.
RE: Game crashes while connecting to running server
by Sito Ortiz on Sunday August 9th 2009, 14:51
Deactivate the ingame Radio voice chat. ;-)
installation
by karla on Monday April 27th 2009, 4:32
The progress bar may deceive you when installing; be patient. My first attempt showed 100% on the progress bar with no apparent changes in files being loaded - fb_3do02.SFS appeared to be the last one - so I closed the installation window down. On trying to start the game through Wine I was given a "Bad Format" error. The game was not listed on the Uninstall Wine Software window so I decided to delete the .Wine/drive_c/Program Files/Ubisoft folder.
A second attempt at installation was successful because I waited .. and waited after the 100% had shown. Eventually all the files were loaded and it was obvious that the installation was completed. I didn't load the DirectX component and accepted the OpenGL setting in the next window.
The game runs fine - it's even better because I'm able to use the 'Perfect' video setting for the landscape.
Internet play
by Andreas Zitzelsberger on Thursday April 2nd 2009, 13:42
a) HyperLobby users beware! HyperLobby sets localHost in your conf.ini to your global IP (possibly after NAT). localHost must be your LAN IP (what /sbin/ifconfig reports). IL2 binds to localHost:localPort, if localHost is unknown from within your LAN it will fail. Apparently, the first connect after IL2 startup will work though.

b) Internet play works fine! Really! With stable or beta! You can use HyperLobby, connect by manually entering a IP:port pair or setting remoteHost and remotePort in your conf.ini.

c) If it doesn't work for you:
- make sure you got the correct IP/port, and that the server is indeed running
- make sure you are running the latest stable or beta wine, both will do fine
- in conf.ini verify that localHost equals what /sbin/ifconfig reports and that localPort is not used by anything else.
sudo netstat -nlp | grep :21000 should not report anything if IL2 isn't running
- if you changed your hosts file as discussed below: Revert it. As I pointed out below this is a bad idea.

d) If it still doesn't work: Post or send me:
- The output of /sbin/ifconfig
- The output of sudo netstat -nlp
- Your conf.ini or at least the [NET] section
- The console output during IL2 startup
RE: Internet play
by Au Tran on Thursday July 2nd 2009, 3:04
Hi Andreas.
I have tried this method but with no luck.
appdb.winehq.org/objectManager.php?sClass=version&iId=10143

Its look very good. I got to loading portion but never actually in the game. I would like to try your method but no clue what or where is my I.P. I am an I.T and very new Ubuntu and Wine. I think its great that we dont have to realize on one O.S. Just having real difficulty try to play IL 1946 via HL or Multi-player direct within IL1946. Here is my info when I sudo ifconfig.


eth0 Link encap:Ethernet HWaddr 00:11:11:09:35:f0
inet addr:192.168.1.2 Bcast:192.168.1.255
Mask:255.255.255.0
inet6 addr: fe80::211:11ff:fe09:35f0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4316 errors:0 dropped:0 overruns:0 frame:0
TX packets:4316 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4152697 (4.1 MB) TX bytes:678801 (678.8 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:84 (84.0 B) TX bytes:84 (84.0 B)
More Tips for IL2
by Andreas Zitzelsberger on Saturday February 21st 2009, 10:05
After playing IL2 with Wine for quite some time I have a few tips I want to share:

- I've been running IL2 with wine 0.97 - 1.1.14 without noticable regressions. 1.1.15 breaks the chat box and the FMB, thanks to bugs.winehq.org/show_bug.cgi?id=17288 (PLZ vote).

- IL2 will crash if it's out of GPU memory. Even with a beefy card this might happen quite quickly if playing on a well-populated server. The foremost memory consumers are 3.0 shaded water and object textures. Either IL2 uses far more GPU memory with Wine than with Windows, or something is broken. Anyway, if your game keeps crashing, turn off perfect terrain rendering and decrease the object detail settings.

- IL2 is unable to switch graphics modes if using NVIDIA TwinView (probably also affects Xinerama). If you want to play IL2 without disabling TwinView there are basically two options.
The ugly one:
- Add a metamode that disables one of the monitors to your xorg.conf
The nice one:
- Make sure that your conf.ini contains these lines:
width=YOUR MONITOR WIDTH
height=YOUR MONITOR HEIGHT
ChangeScreenRes=0
FullScreen=1
DrawIfNotFocused=1
EnableResize=1
And lo and behold! IL2 will now start up width the desired size. Also, you can make the IL2 window cover multiple monitors, drag the window from one monitor to the next and ALT-TAB to an app on another monitor.

- If you're using a wide screen display make sure SaveAspect=0 is in your conf.ini. This will remove the black bars at the edges of the screen. Also, the HUD cues will be considerably off, but IMHO that's an acceptable tradeoff (also happens on Windows)
RE: More Tips for IL2
by John Haywards on Sunday February 22nd 2009, 4:50
Hi,

Thank you for writing your multiplayer/widescreen experiences! If I remember correctly, there had been more trouble with GPU memory leaks in other games. I use 768MB of GPU-RAM, so i've got trouble in the BIG singleplayer missions ("sink the marat",...) only.

Maybe I'll have some time to search later on, but I have to learn for a real-world-flight-test now ;)

John
RE: More Tips for IL2
by Andreas Zitzelsberger on Sunday February 22nd 2009, 8:40
I've tested the crashes pretty extensively, and found that when perfect terrain is disabled the crashes are a direct function of the object texture settings and the number of *different* objects.
On my 9800GT/512MB i can easily fly through a swarm of 60 B17 in 2048x1152, high-res textures, contrails and everything. However, the game will crash with these settings if I join the AAA server which usually has close to 50 players. Yet I haven't experienced a single crash with texture details set to low .

I've also found that the problem does't get worse over time: Occassionally, I played for ~15 hours nonstop without issues, while constantly ALT-Tabbing to to other things.

IMHO the crashes are caused by the proprietary GPU drivers, not by Wine or IL2. There are similar issues with Compiz / KWin, for instance the infamous black window bug.
RE: More Tips for IL2
by Michal Krisl on Friday June 26th 2009, 23:51
Hallo

Can anybody help me to configure my screen enabling to use at least 3072x768 or better 3840x1024 resolution.
Have Radeon HD 4800 and using 3 19" monitors with matrox TH2Go.
I tried first to configure by conf.ini file, but it looks like IL2 is ignoring to read this file.
Networking Problem SOLVED (with Workaround at the moment)!
by Briareos on Wednesday April 18th 2007, 15:02
The cause of the problem is, that windows returns the IP address of the network-device if the hostname is resolved, while wine returns "127.0.0.1". So when Sturmovik asks for the IP of "HOSTNAME" it gets only that instead of a valid NIC-IP.

There are two ways to workaround that problem (only one needed to apply). Either add your IP address in the conf.ini in the game-dir by editing/adding the line saying "localHost=" so that it points to your IP.

OR

Add a line for your local hostname to the /etc/hosts file where you match your local hostname to the IP of your network-card. Example: myhostname 192.168.1.17


We are looking into that issue further to see if a patch will be done for that problem. Until then: Have fun in Multiplayer! ;)
RE: Networking Problem SOLVED (with Workaround at the moment)!
by Bob Baeyens on Wednesday April 18th 2007, 15:29
Looks (very) promising, but cant get it to work just yet. It does connect now, but it immediately disconnects with the following message:
"Connection with the remote host is lost. Reason: Timeout 0".

Any idea's ? FWIW, I tested on UK dedicated server, 195.149.21.215:21000
RE: Networking Problem SOLVED (with Workaround at the moment)!
by Bob Baeyens on Thursday April 19th 2007, 2:12
Ok this seems to be caused by IL2 anticheat measures. When the server has "checkruntime=1" enabled, it will kick the (linux) client. When checkruntime is disabled, it does work.

checkruntime=1 normally only checks the IL-2 binaries, and unlike checkruntime=2 is compatible between different windows versions. I mean, that a windows 2000/98 client can connect to an XP server when this is set to 1. When its set to 2, even a windows 2k client can not connect to an XP server (or vice versa).

So its a bit surprised setting this to 1 on the server disallows a Linux client to connect
RE: Networking Problem SOLVED (with Workaround at the moment)!
by Briareos on Thursday April 19th 2007, 2:39
Hello Bob,

I just connected to the IP you provided without any flaws. Maybe you want to mail me your conf.ini (from the game) so I can compare it to mine.

Regards
RE: Networking Problem SOLVED (with Workaround at the moment)!
by Bob Baeyens on Thursday April 19th 2007, 3:10
This may have been a coincidence as the server IP I provided is one I manage myselve, and I briefly disabled the check for testing. I re-enabled it now, maybe you can test again now ?
RE: Networking Problem SOLVED (with Workaround at the moment)!
by Patrik on Monday July 14th 2008, 18:44
Still having problems connecting on a LAN. Other peer has windows, if he creates a server, I get disconnected shortly after connecting.
If I create a server, the opposite happens.
Any ideas?

[NET]

speed=100000

routeChannels=0

serverChannels=31

localPort=21000

remotePort=21000

SkinDownload=1

serverName=Ghostrider

serverDescription=

localHost=192.168.1.55

socksHost=

checkServerTimeSpeed=1

checkClientTimeSpeed=0

remoteHost=192.168.1.23
RE: Networking Problem SOLVED (with Workaround at the moment)!
by Pekka Rinne on Tuesday February 24th 2009, 13:56
With 1.1.15 joining online servers stopped working for me. It just hangs (mouse also frozen) and I have kill it all from console.

Chat: --- KairaK joins the game.
err:ntdll:RtlpWaitForCriticalSection section 0xe070334 "capture.c: DirectSoundCaptureDevice.lock" wait timed out in thread 0019, blocked by 003e, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x15fa28e4 "?" wait timed out in thread 003e, blocked by 0019, retrying (60 sec)
Killed
RE: Networking Problem SOLVED (with Workaround at the moment)!
by Pekka Rinne on Saturday February 28th 2009, 13:41
hello!

Still no connect, had this working before but after upgrade to Lenny & latest wine 1.1.15&16 no more go. NIC private IP is configured to /etc/hosts. $HOSTNAME is set to single word which resolves with dig. Connect to remote server then logs "ERROR socket: java.net.SocketException: Cannot bind (code=10022)
ERROR socket: Socket not found".

Do you guys have private IP in hosts or the public IP that router has? If i use public IP (83 network) it hangs on "please wait" dialog. With private IP (192 network) above socket error is seen.

And in conf.ini do you have local or private IP?

Anyone with Lenny and latest wine development versions having online play working (could this be a new bug - i guess not)?

Natives for dplayx, dpnet, dpnhpast and dpwsockx are in use. I connect via HL.

Am really out of ideas... thanks for any help...
RE: Networking Problem SOLVED (with Workaround at the moment)!
by John Haywards on Saturday February 28th 2009, 14:24
Sorry, I don't play online...


Can you try joining LAN? Does it work?

Is this new in wine 1.1.15 and worked in 1.1.14? If so, you could try to "downgrade" do 1.1.14 to test. If 14 works but 15 does not, file a bug about this regression. Regression testing would be fine then.

Maybe Andreas can help you with the network settings:
appdb.winehq.org/commentview.php?iAppId=1838&iVersionId=7102&iThreadId=46177
He plays online.
RE: Networking Problem SOLVED (with Workaround at the moment)!
by Andreas Zitzelsberger on Sunday March 1st 2009, 13:17
I probably can. Pekka, to help me figure out the source of the problem please post or mail me your conf.ini, the output of "/sbin/ifconfig", "sudo netstat -nlp" and the console log when starting up IL2 from HL.

BTW: "localHost" in conf.ini should be set to the computer's LAN IP as reported by ifconfig. IME this only affects reconnects, which fail if "localHost" is invalid.

Also, changing the "localhost" entry in /etc/hosts to something else than 127.? is a *really* bad idea. If a process binds to localhost by name it will be reachable from the LAN instead only locally via the loopback device.
Back