Author |
Message |
Jykke
Dude
Joined: Sep 28, 2006
Posts: 16
|
Posted:
Sun Feb 04, 2007 5:03 pm |
|
I am so close but still so far. I don't have a glue where the timeout is coming from.
I tried also wine 0.9.28 version but it did not overcome this
I tried versions 4.04m and 4.05m of the game and it did not work
I tried fumbling something to iptables but I think that the default is not restrictive? I allowed 21000 for some protocols (not really knowing what I was doing, though)
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
tcp -- anywhere anywhere tcp dpt:21000
tcp -- anywhere anywhere tcp spt:21000
udp -- anywhere anywhere udp spt:21000
udp -- anywhere anywhere udp spt:21000
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
I don't think my router is a problem since the IL-2 works ok with windows and there are no special allowances on the router for it.
lobby works somewhat - so it can't be that wine would not be able to deal
with my wlan and network connection.
I could not connect with IP nor with lobby
madluther, you wrote about those registry entries? Well I haven't included any the game works without but do you think they might have an influence here? Anyone else able to connect and play IL-2 and not having registry edit? |
|
|
|
|
madluther
Post Newbie
Joined: Dec 09, 2006
Posts: 7
|
Posted:
Mon Feb 05, 2007 1:17 pm |
|
Those registry entries aren't required to play on HL, they only add a ubi soft button to the multiplay menu.
Mad. |
|
|
|
|
Jykke
Dude
Joined: Sep 28, 2006
Posts: 16
|
Posted:
Mon Feb 05, 2007 5:05 pm |
|
Hmmm... I know that there were some timeout issues even with Windows but I am afraid I am bit stuck now.
I also tried a devicelink utility I have for IL-2 no go there. It looks strongly as if my IL-2 can't communicate with my network adapter.
I think I might try installing a dedicated server on my box and see
if I can connect to it...
Would there be any fancy linux commands I might try? For example put up my IL-2 to host a multiplayer server and try to scan if something's happening under my ip and port 21000... Can one telnet to port 21000 or some other stupid thing? |
|
|
|
|
madluther
Post Newbie
Joined: Dec 09, 2006
Posts: 7
|
Posted:
Tue Feb 06, 2007 2:24 am |
|
You could try the following, run IL2 and start a multiplayer dogfight game, pick a base, and start the game, once you're in the planes cockpit, switch to the text console (usually CTRL ALT F1) and run
look for a line like the following, (my ip is 192.168.0.4)
Code: |
udp 0 0 192.168.0.4:21000 0.0.0.0:*
|
This should at least tell you if wine and il2 are seeing the network.
Mad. |
|
|
|
|
Jykke
Dude
Joined: Sep 28, 2006
Posts: 16
|
Posted:
Tue Feb 06, 2007 7:57 pm |
|
$ netstat -an | grep 21000
udp 0 0 127.0.0.1:21000 0.0.0.0:*
So this 127.0.0.1 would be wrong indeed, right?
(BTW I have my IP address in conf.ini...)
I have seen something about /etc/hosts while surfing...
Someone had timeout with wine or similar problem
and /etc/hosts was blamed...
I have:
127.0.0.1 localhost MyMachine
127.0.1.1 MyMachine
and allegedly this is not a cool idea for wine or something...
I tried also
127.0.0.1 localhost
IP.IP.IP.IP MyMachine
It did not work at least not with lobby but I did not restart my machine or anything so ...
EDIT: No, this did something, with this formulation netstat did not return anything.
127.0.0.1 localhost MyMachine
IP.IP.IP.IP MyMachine
gave again
udp 0 0 127.0.0.1:21000 0.0.0.0:*
This could be a way to the solution but I need to sit down, open a bottle of red wine and think... |
|
|
|
|
Jykke
Dude
Joined: Sep 28, 2006
Posts: 16
|
Posted:
Tue Feb 06, 2007 10:43 pm |
|
|
|
|
madluther
Post Newbie
Joined: Dec 09, 2006
Posts: 7
|
Posted:
Tue Feb 06, 2007 11:58 pm |
|
Its suprising how many distros get the hosts file wrong.
The following is correct if you have no network card installed.
127.0.0.1 localhost mymachine
But, if you have a network card it should be as follows
127.0.0.1 localhost
IP.IP.IP.IP mymachine
Which explains why your changes fixed the problem.
See you in the HL skies
Mad. |
|
|
|
|
Jykke
Dude
Joined: Sep 28, 2006
Posts: 16
|
Posted:
Wed Feb 07, 2007 9:03 am |
|
This discussion has been going on for a longer time but looking at the dates
I'd like to thank you how fast it resolved in my case after your contribution.
This is what I like so much about linux you ask help and you sooner or later get it, the only thing is that you don't give up. Right system for a fighter
I learnt a lot from wine in this context |
|
|
|
|
Vantskruv
Newbie
Joined: Dec 16, 2006
Posts: 2
|
Posted:
Sun Aug 05, 2007 7:49 pm |
|
Have anyone got IL2 working with Win98 emulation, or Hyperlobby working with XP emulation? I haven't. It's irritating that Il2 only works with XP, and Hyperlobby only works with Win98. |
|
|
|
|
Doddlebug
Hyper Postman
Joined: Jul 30, 2006
Posts: 635
|
Posted:
Sun Aug 05, 2007 10:58 pm |
|
1946 runs quite well on my old Compaq with Win98.
HL runs very fine on Vista and XP as well as XP64 and Vista64.
I fail to see a problem here.
DB/Sgt.Slaughter |
|
|
|
|
Vantskruv
Newbie
Joined: Dec 16, 2006
Posts: 2
|
Posted:
Mon Aug 06, 2007 10:09 am |
|
I get this error when loading this game in Win98 emulation mode:
Code: |
johannes@Lions-Den:~/.wine/drive_c/Games/IL21946$ wine il2fb.exe
libGL error: drmMap of framebuffer failed
fixme:wave:ALSA_AddCaptureDevice Add support for DSCapture
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 5448524541442C4F43414C33544F524147450E4350500042
#
# Problematic Thread: wine: Unhandled page fault on read access to 0x0000004c at address 0x24695ba (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x0000004c in 32-bit code (0x024695ba).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:024695ba ESP:020be9e8 EBP:020be9f4 EFLAGS:00010246( - 00 -RIZP1)
EAX:00000000 EBX:00000000 ECX:00000000 EDX:00000000
ESI:00000000 EDI:024e0e90
Stack dump:
0x020be9e8: 02466e49 00000000 020be9fc 020bea04
0x020be9f8: 024820de 00000000 020bea0c 020bf328
0x020bea08: 0248250f 00000000 00000000 024bfd28
0x020bea18: 0242e1f4 024e0e90 024c64c0 0016c328
0x020bea28: 61746146 6d203a6c 20747375 74206562
0x020bea38: 73206568 20656d61 65726874 202c6461
Backtrace:
=>1 0x024695ba in jvm (+0x495ba) (0x020be9f4)
2 0x024820de in jvm (+0x620de) (0x020bea04)
3 0x0248250f in jvm (+0x6250f) (0x020bf328)
4 0x0242df52 in jvm (+0xdf52) (0x020bfb54)
5 0x02484b2d in jvm (+0x64b2d) (0x020bfb6c)
6 0x02482002 in jvm (+0x62002) (0x020bfbec)
7 0x0244a82f in jvm (+0x2a82f) (0x020bfc00)
8 0x00402280 in il2fb (+0x2280) (0x00000000)
0x024695ba: movl 0x4c(%eax),%eax
Modules:
Module Address Debug info Name (69 modules)
PE 3f0000- 3f7000 Deferred hpi
PE 400000- 1ea3000 Export il2fb
PE 2420000- 24ef000 Export jvm
ELF 7b800000-7b929000 Deferred kernel32<elf>
\-PE 7b820000-7b929000 \ kernel32
ELF 7bc00000-7bca0000 Deferred ntdll<elf>
\-PE 7bc10000-7bca0000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7c57f000-7c5e6000 Deferred msvcrt<elf>
\-PE 7c590000-7c5e6000 \ msvcrt
ELF 7c5e6000-7c5fb000 Deferred midimap<elf>
\-PE 7c5f0000-7c5fb000 \ midimap
ELF 7c5fb000-7c621000 Deferred msacm32<elf>
\-PE 7c600000-7c621000 \ msacm32
ELF 7c621000-7c639000 Deferred msacm32<elf>
\-PE 7c630000-7c639000 \ msacm32
ELF 7c639000-7c6fe000 Deferred libasound.so.2
ELF 7c875000-7c8a7000 Deferred winealsa<elf>
\-PE 7c880000-7c8a7000 \ winealsa
ELF 7c8a7000-7c8ac000 Deferred libxfixes.so.3
ELF 7c8ac000-7c8b5000 Deferred libxcursor.so.1
ELF 7d2de000-7d2e4000 Deferred libxrandr.so.2
ELF 7db74000-7db7d000 Deferred librt.so.1
ELF 7db7d000-7db85000 Deferred libxrender.so.1
ELF 7dc4a000-7e5b7000 Deferred fglrx_dri.so
ELF 7e5b7000-7e657000 Deferred libgl.so.1
ELF 7e657000-7e65c000 Deferred libxdmcp.so.6
ELF 7e65c000-7e65f000 Deferred libxau.so.6
ELF 7e65f000-7e750000 Deferred libx11.so.6
ELF 7e750000-7e75e000 Deferred libxext.so.6
ELF 7e75e000-7e763000 Deferred libxxf86vm.so.1
ELF 7e763000-7e77b000 Deferred libice.so.6
ELF 7e77b000-7e784000 Deferred libsm.so.6
ELF 7e784000-7e80d000 Deferred winex11<elf>
\-PE 7e790000-7e80d000 \ winex11
ELF 7e870000-7e890000 Deferred libexpat.so.1
ELF 7e890000-7e8bb000 Deferred libfontconfig.so.1
ELF 7e8bb000-7e8cf000 Deferred libz.so.1
ELF 7e8cf000-7e93a000 Deferred libfreetype.so.6
ELF 7e93a000-7e9c8000 Deferred winmm<elf>
\-PE 7e950000-7e9c8000 \ winmm
ELF 7e9c8000-7e9e5000 Deferred imm32<elf>
\-PE 7e9d0000-7e9e5000 \ imm32
ELF 7e9e5000-7e9f8000 Deferred libresolv.so.2
ELF 7e9f8000-7ea16000 Deferred iphlpapi<elf>
\-PE 7ea00000-7ea16000 \ iphlpapi
ELF 7ea16000-7ea6f000 Deferred rpcrt4<elf>
\-PE 7ea20000-7ea6f000 \ rpcrt4
ELF 7ea6f000-7ea7b000 Deferred libgcc_s.so.1
ELF 7eb78000-7ec38000 Deferred gdi32<elf>
\-PE 7eb90000-7ec38000 \ gdi32
ELF 7ec38000-7ed75000 Deferred user32<elf>
\-PE 7ec50000-7ed75000 \ user32
ELF 7ed75000-7ee14000 Deferred ole32<elf>
\-PE 7ed80000-7ee14000 \ ole32
ELF 7ee14000-7ee4a000 Deferred dinput<elf>
\-PE 7ee20000-7ee4a000 \ dinput
ELF 7ee4a000-7ee92000 Deferred advapi32<elf>
\-PE 7ee60000-7ee92000 \ advapi32
ELF 7efa4000-7efaf000 Deferred libnss_files.so.2
ELF 7efaf000-7efc6000 Deferred libnsl.so.1
ELF 7efc6000-7efed000 Deferred libm.so.6
ELF 7eff6000-7f000000 Deferred libnss_nis.so.2
ELF b7d41000-b7d4a000 Deferred libnss_compat.so.2
ELF b7d4b000-b7d4f000 Deferred libdl.so.2
ELF b7d4f000-b7e90000 Deferred libc.so.6
ELF b7e91000-b7ea8000 Deferred libpthread.so.0
ELF b7ebb000-b7fcf000 Deferred libwine.so.1
ELF b7fd1000-b7fec000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\Games\IL21946\il2fb.exe
00000009 0 <==
johannes@Lions-Den:~/.wine/drive_c/Games/IL21946$
|
It works when running in Windows XP emulation mode.
Anyway, now I've set Wine to force IL2 running in XP mode even if the global settings is for Win98. Everything works well when hyperlobby runs IL2 but after I got the message "Connection is successful!" the game just closes and I get back to the Hyperlobby. I don't know maybe it's a cause of I'm running the cracked version of IL21946 (the securom copy-protection doesn't work in Wine, and YES I've bought the game), or maybe it is because I'm running Hyperlobby in Win98 mode and IL2 in XP mode. Anyway, I think I'll give up on this one. |
|
|
|
|
Jykke
Dude
Joined: Sep 28, 2006
Posts: 16
|
Posted:
Wed Oct 03, 2007 9:05 am |
|
I don't know where's the problem with that?
I have my executables assigned with winecfg so that hlpro.exe is win98 and il-2 as windows 2000. I have it all working - lobby launches il-2 and so on... |
|
|
|
|
crusier
Newbie
Joined: Oct 18, 2007
Posts: 2
|
Posted:
Thu Oct 18, 2007 10:09 am |
|
Jykke wrote: | Ok you can call me happy camper now. It f_ing worx!
here's the story:
rm -rf .wine
from homedirectory
install wine 0.9.29
wineprefixcreate
change default to windows 98
go to .wine/drive_c/windows/system32
rename ole32.dll oleaut32.dll rpcrt4.dll olepro32.dll to respective files with .org or whatever.
It is crucial to use mv command so that the old .dll files do not exist!
Install DCOM98:
WINEDLLOVERRIDES="ole32=n" wine DCOM98.EXE
rename comcat.dll also to comcat.dll.org
install vbrun60sp5.exe
install lobby
do the overrides for the three executables and previously mentioned 3 dll
it works
no need to download any dll from anywhere nothing end of the drama.
It was so simple in the end that I do not know whether to laugh or cry |
Thankyou thankyou thankyou!!!! I followed your instructions and I got load up HL!!!!
Thanks again for sharing this!!!!
Cheers
Shelton. |
|
|
|
|
crusier
Newbie
Joined: Oct 18, 2007
Posts: 2
|
Posted:
Thu Oct 18, 2007 10:23 am |
|
Hey Vantskruv
That hotspot error means that you are not using the correct emulation.
ALso change your sound from ALSA to OSS in winecfg.
Cheers
Shelton. |
|
|
|
|
pekka
Newbie
Joined: Nov 12, 2007
Posts: 1
|
Posted:
Mon Nov 12, 2007 8:56 pm |
|
Has anyone had luck with il2 with more recent wine? I tried with latest version since I did not find 0.9.29 deb from anywhere. I can reach 3D where I can see scenery. Then it crashes with below. I have tried to follow all posted instructions.
Local Time = Mon Nov 12 21:23:40 2007
Elapsed Time = 36
#
# 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 C:\windows\temp\hs_err_pid8.log.
# Please refer to the file for further information.
#
*** glibc detected *** corrupted double-linked list: 0x6e00c6a0 ***
****************
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = C:\windows\temp\hs_err_pid8.log
PC = 0x7E120A0A
SIGNAL = -1073741819
FUNCTION NAME = (N/A)
LIBRARY NAME = (N/A)
Please check ERROR REPORT FILE for further information, if there is any.
Good bye.
hs_err_pid8.log:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x7e120a0a
Function name=(N/A)
Library=(N/A)
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.il2.engine.Landscape.cRefBeg(Native Method)
at com.maddox.il2.engine.Landscape.ObjectsReflections_Begin(Landscape.ja
va:462)
at com.maddox.il2.game.Main3D$Render3D0R.render(Main3D.java:1639)
at com.maddox.il2.engine.Renders.doPaint(Renders.java:408)
at com.maddox.il2.engine.Renders.paint(Renders.java:253)
at com.maddox.il2.engine.RendersTicker.msgTimeOut(Renders.java:632)
at com.maddox.rts.MsgTimeOut.invokeListener(MsgTimeOut.java:73)
at com.maddox.rts.Message._send(Message.java:1217)
at com.maddox.rts.Message.sendToObject(Message.java:1191)
at com.maddox.rts.Message.sendTo(Message.java:1134)
at com.maddox.rts.Message.trySend(Message.java:1115)
at com.maddox.rts.Time.loopMessages(Time.java:252)
at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:100)
at com.maddox.il2.game.MainWin3D.loopApp(MainWin3D.java:131)
at com.maddox.il2.game.Main.exec(Main.java:436)
at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)
Dynamic libraries:
0x00400000 - 0x01EA3000 D:\Ubisoft\IL-2 Sturmovik 1946\il2fb.exe
0x7BC10000 - 0x7BCA0000 c:\windows\system32\ntdll.dll
0x7B820000 - 0x7B924000 c:\windows\system32\KERNEL32.dll
0x7EE40000 - 0x7EE77000 c:\windows\system32\advapi32.dll
0x7EE00000 - 0x7EE2C000 c:\windows\system32\dinput.dll
0x65F00000 - 0x65FC2000 C:\windows\system32\ole32.dll
0x7ED70000 - 0x7EDF5000 c:\windows\system32\gdi32.dll
0x7EC40000 - 0x7ED5E000 c:\windows\system32\user32.dll
0x7EC10000 - 0x7EC24000 c:\windows\system32\imm32.dll
0x7EB90000 - 0x7EC07000 c:\windows\system32\winmm.dll
0x7E990000 - 0x7EA07000 c:\windows\system32\winex11.drv
0x7D5F0000 - 0x7D615000 c:\windows\system32\winealsa.drv
0x7D4F0000 - 0x7D51F000 c:\windows\system32\wineoss.drv
0x7D8C0000 - 0x7D8CD000 c:\windows\system32\msacm32.drv
0x7D4C0000 - 0x7D4E3000 c:\windows\system32\msacm32.dll
0x7D8B0000 - 0x7D8B5000 c:\windows\system32\midimap.dll
0x6D420000 - 0x6D4EF000 D:\Ubisoft\IL-2 Sturmovik 1946\bin\hotspot\jvm.d
ll
0x7D470000 - 0x7D4BD000 c:\windows\system32\msvcrt.dll
0x6D220000 - 0x6D227000 D:\Ubisoft\IL-2 Sturmovik 1946\bin\hpi.dll
0x6D3B0000 - 0x6D3BD000 D:\Ubisoft\IL-2 Sturmovik 1946\bin\verify.dll
0x6D250000 - 0x6D266000 D:\Ubisoft\IL-2 Sturmovik 1946\bin\java.dll
0x6D3C0000 - 0x6D3CD000 D:\Ubisoft\IL-2 Sturmovik 1946\bin\zip.dll
0x10000000 - 0x1000A000 D:\Ubisoft\IL-2 Sturmovik 1946\pathfind.dll
0x0C740000 - 0x0CDC2000 D:\Ubisoft\IL-2 Sturmovik 1946\il2_coreP4.dll
0x7C340000 - 0x7C396000 D:\Ubisoft\IL-2 Sturmovik 1946\MSVCR71.dll
0x0CDD0000 - 0x0CDF3000 D:\Ubisoft\IL-2 Sturmovik 1946\jgl.dll
0x0D790000 - 0x0D7CA000 D:\Ubisoft\IL-2 Sturmovik 1946\il2_usgs2.dll
0x7C5C0000 - 0x7C5E0000 c:\windows\system32\ws2_32.dll
0x7C5A0000 - 0x7C5B5000 c:\windows\system32\iphlpapi.dll
0x0E270000 - 0x0E2E1000 D:\Ubisoft\IL-2 Sturmovik 1946\mg_snd_sse.dll
0x7C570000 - 0x7C584000 c:\windows\system32\dinput8.dll
0x6D340000 - 0x6D348000 D:\Ubisoft\IL-2 Sturmovik 1946\bin\net.dll
0x7C550000 - 0x7C560000 c:\windows\system32\wsock32.dll
0x7C4E0000 - 0x7C546000 c:\windows\system32\opengl32.dll
0x7D900000 - 0x7D940000 c:\windows\system32\dsound.dll
0x6D510000 - 0x6D51E000 c:\windows\system32\imagehlp.dll
0x60050000 - 0x6008C000 c:\windows\system32\dbghelp.dll
0x7BF10000 - 0x7BF19000 c:\windows\system32\psapi.dll
Local Time = Mon Nov 12 21:23:40 2007
Elapsed Time = 36 |
|
|
|
|
|