noob:Can't get IL-2/1946 to run!

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
farna
Level 1
Level 1
Posts: 8
Joined: Thu Nov 12, 2009 7:10 pm

noob:Can't get IL-2/1946 to run!

Post by farna »

I'm fairly new to Linux and Wine. I bought IL-2/1946 because it was rated as "platinum", but it won't run. I got it to load, and made sure all the .exe files were marked as executable. It won't run. I go to the main exe file (il2fb.exe) and click on it with Nautilus open as administrator (or normal), and I've tried launching from the menu and wine icons on my desktop. All I get is a busy pointer then nothing. No errors or anything.

I'm running Mint 10 (Ubuntu 10.10 based) on a quad core AMD with 4GB or ram. I've updated Il-2 to the 4.08 version with the available patch (seemed to patch okay -- ran the patch through Nautilus in Admin mode).

This is the command under properties for the icon:
env WINEPREFIX="/home/swygert/.wine" wine C:\\Program\ Files\\Ubisoft\\IL-2\ Sturmovik\ 1946\\il2fb.exe.

I just got the bright idea to try running the command in terminal (I did say I was new to linux...). This is the result:

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.<init>(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 - 0x7BCB7000 C:\windows\system32\ntdll.dll
0x7B810000 - 0x7B97B000 C:\windows\system32\KERNEL32.dll
0x7EC80000 - 0x7ED9C000 C:\windows\system32\user32.dll
0x7EBF0000 - 0x7EC6C000 C:\windows\system32\gdi32.dll
0x7EB90000 - 0x7EBE1000 C:\windows\system32\advapi32.dll
0x7EB00000 - 0x7EB87000 C:\windows\system32\winmm.dll
0x7EAE0000 - 0x7EAF3000 C:\windows\system32\imm32.dll
0x7EAA0000 - 0x7EAD2000 C:\windows\system32\dinput.dll
0x7E9B0000 - 0x7EA99000 C:\windows\system32\ole32.dll
0x7E930000 - 0x7E99B000 C:\windows\system32\rpcrt4.dll
0x7E790000 - 0x7E824000 C:\windows\system32\winex11.drv
0x6D420000 - 0x6D4EF000 C:\Program Files\Ubisoft\IL-2 Sturmovik 1946\bin\hotspot\jvm.dll
0x7E560000 - 0x7E5CA000 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
0x7E540000 - 0x7E54A000 C:\windows\system32\imagehlp.dll
0x7E4E0000 - 0x7E531000 C:\windows\system32\dbghelp.dll
0x7E4D0000 - 0x7E4D9000 C:\windows\system32\psapi.dll

Local Time = Mon Apr 25 21:20:37 2011
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)
#
# An error report file has been saved as hs_err_pid8.log.
# Please refer to the file for further information.
#

The file contains:
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.<init>(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 - 0x7BCB7000 C:\windows\system32\ntdll.dll

0x7B810000 - 0x7B97B000 C:\windows\system32\KERNEL32.dll

0x7EC80000 - 0x7ED9C000 C:\windows\system32\user32.dll

0x7EBF0000 - 0x7EC6C000 C:\windows\system32\gdi32.dll

0x7EB90000 - 0x7EBE1000 C:\windows\system32\advapi32.dll

0x7EB00000 - 0x7EB87000 C:\windows\system32\winmm.dll

0x7EAE0000 - 0x7EAF3000 C:\windows\system32\imm32.dll

0x7EAA0000 - 0x7EAD2000 C:\windows\system32\dinput.dll

0x7E9B0000 - 0x7EA99000 C:\windows\system32\ole32.dll

0x7E930000 - 0x7E99B000 C:\windows\system32\rpcrt4.dll

0x7E790000 - 0x7E824000 C:\windows\system32\winex11.drv

0x6D420000 - 0x6D4EF000 C:\Program Files\Ubisoft\IL-2 Sturmovik 1946\bin\hotspot\jvm.dll

0x7E560000 - 0x7E5CA000 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

0x7E540000 - 0x7E54A000 C:\windows\system32\imagehlp.dll

0x7E4E0000 - 0x7E531000 C:\windows\system32\dbghelp.dll

0x7E4D0000 - 0x7E4D9000 C:\windows\system32\psapi.dll



Local Time = Mon Apr 25 21:20:37 2011

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)

#


Is there a program error -- maybe I need to reload it??? Any help appreciated!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: noob:Can't get IL-2/1946 to run!

Post by vitamin »

farna wrote:(seemed to patch okay -- ran the patch through Nautilus in Admin mode).
That's your problem. NEVER run Wine as root. ALWAYS run Wine as your local user account.

You'll have to fix permissions. And if that won't help - reinstall your game and possibly remove entire wineprefix (~/.wine directory).
farna
Level 1
Level 1
Posts: 8
Joined: Thu Nov 12, 2009 7:10 pm

Post by farna »

I didn't originally install or run WINE as root, or install the program (IL-2) as root. I only ran the patch for the program as root. Maybe the patch didn't take because of that?

I'll try running the patch again as the normal user and see if that helps. I only ran it as root because I had to open it as root to change the executable bit, just ran it from there after that was changed.

If that fails I'll uninstall IL-2 then uninstall WINE and start over -- install WINE from the repository then try installing IL-2 and the patch all over again.
James McKenzie

noob:Can't get IL-2/1946 to run!

Post by James McKenzie »

On Wed, Apr 27, 2011 at 6:40 AM, farna <[email protected]> wrote:
I didn't originally install or run WINE as root, or install the program (IL-2) as root. I only ran the patch for the program as root. Maybe the patch didn't
take because of that?
You may have to fix permissions on your Wine 'hidden' directory. The
Wine FAQ has instructions on how to fix this.
http://wiki.winehq.org/FAQ is where the FAQ is located.
I'll try running the patch again as the normal user and see if that helps. I only ran it as root because I had to open it as root to change the
executable bit, just ran it from there after that was changed.
FYI, you should not have needed to use root to change a file
permission if you downloaded it as a regular user. Something else is
not right here but that is outside of the Wine projects scope.
If that fails I'll uninstall IL-2 then uninstall WINE and start over -- install WINE from the repository then try installing IL-2 and the patch all over again.
You do not need to uninstall Wine. You can do the following if you
want to generate a new Wine directory/repository:

Code: Select all

cd $HOME
rm -rf .wine
James McKenzie



farna
Level 1
Level 1
Posts: 8
Joined: Thu Nov 12, 2009 7:10 pm

Post by farna »

Thanks James! Will try your recommendations. The changing permissions is something in Ubuntu 10.10 -- has to do with the executable bit. Ubuntu 10.10 won't let you change the executable bit in a Windows .exe file unless you're signed in as the administrator. I don't think it will allow changing that bit in Linux files unless signed in as admin either.

Linux (at least Ubuntu) is starting to get more and more like Windows as far as locking users out of their own system. I understand wanting to make the system easy to use and more robust, but you don't "accidentally" change permissions on a file and not know it. People with no more system knowledge than that usually leave those things alone. As you said though, not a Wine problem...
Martin Gregorie

noob:Can't get IL-2/1946 to run!

Post by Martin Gregorie »

On Wed, 2011-04-27 at 16:03 -0500, farna wrote:
Thanks James! Will try your recommendations. The changing permissions
is something in Ubuntu 10.10 -- has to do with the executable bit.
Ubuntu 10.10 won't let you change the executable bit in a Windows .exe
file unless you're signed in as the administrator. I don't think it
will allow changing that bit in Linux files unless signed in as admin
either.
What, not even if you own the file?

Does "sudo chmod u+x exe_file" work?

If sudo won't run chmod, you can fix that by editing the sudoers file
with visudo, but be sure to read the visudo and sudoers man pages before
you try that.
Linux (at least Ubuntu) is starting to get more and more like Windows
as far as locking users out of their own system.
I think thats a deliberate Ubuntu policy - make it more like Windows, I
mean. Ubuntu has always diverged in small ways from the mainstream
distros and is getting much further away with its new Unity desktop.
However no worries, you can always try a different distro, e.g. Fedora
(a full-fat Gnome distro) or even go back to Debian, the base distro for
Ubuntu instead of just installing the next Ubunto version.


Martin
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: noob:Can't get IL-2/1946 to run!

Post by vitamin »

chmod isn't enough. If he ran update/patch as root, files/directories ownership needs to be fixed too.
farna
Level 1
Level 1
Posts: 8
Joined: Thu Nov 12, 2009 7:10 pm

Post by farna »

I didn't run chmod at all. I opened the folder that needed permissions changed with Nautilus using the "open as administrator" option. Then I selected the .exe files, right clicked and sleceted "properties", then checked the "allow execute" box (might be wrong on the titles, but you get the idea -- typing from my XP machine). Note that all these .exe files are in my virtual C: drive for Wine. The patch for IL-2 is also a Windows .exe file.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

farna wrote:I didn't run chmod at all.
What you described is what 'chmod' does.

You missed the second part of my post. If you ran update as admin (root) it either didn't do anything at all, or altered ownership of some files. Use 'chown' (or whatever graphic analog you want to use) to reset files/directories ownership. Or remove / rename ~/.wine directory and reinstall your game, including patch.
Locked