Jedi Knight II outcast

Questions about Wine on Linux
Locked
User avatar
legluondunet
Level 2
Level 2
Posts: 34
Joined: Sun Aug 22, 2010 10:47 am

Jedi Knight II outcast

Post by legluondunet »

Hello,

someone could tell me if he can play Jedi Knight II outcast with wine on Linux?
From my side, whatever I do, the game crash at start.

My config:
Ubuntu precise 64 bits
AMD Radeon 7850
Processor Intel

Thanks for your help.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Jedi Knight II outcast

Post by dimesio »

The AppDB says it should work, though the test results are old.

What version of Wine are you using? If it's not the latest development release, upgrade. If that doesn't fix it, post terminal output. http://wiki.winehq.org/FAQ#get_log
User avatar
legluondunet
Level 2
Level 2
Posts: 34
Joined: Sun Aug 22, 2010 10:47 am

Re: Jedi Knight II outcast

Post by legluondunet »

I just resintalled it to give you fresh bug log ^^

A) Wine 1.4 official Ubuntu package for precise
1) to install it, I need to launch directly this file on the cd:
wine GameData/Setup.exe

If I launch:
wine Install/JediOutcast.exe
or
wine Install/Launch.exe
and click on "Install", the window freeze.

2) Install is ok
3) now I launch the game:
cd ".wine/drive_c/Program Files (x86)/LucasArts/Star Wars JK II Jedi Outcast" and clik on "Single Mode" or "Multiplayer Mode":

Code: Select all

$ wine JediOutcast.exe 
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000007 not handled
fixme:win:EnumDisplayDevicesW ((null),0,0x32ed2c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32ec34,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {00000000-0000-0000-0000-000000000000}.
wine: Unhandled page fault on read access to 0x696b6f76 at address 0x696b6f76 (thread 0029), starting debugger...
Unhandled exception: page fault on read access to 0x696b6f76 in 32-bit code (0x696b6f76).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:696b6f76 ESP:01e1eb88 EBP:01e1fd5c EFLAGS:00210206(  R- --  I   - -P- )
 EAX:765f676e EBX:00000000 ECX:01e1db50 EDX:01e1f0be
 ESI:00a85d38 EDI:ffffffff
Stack dump:
0x01e1eb88:  765f676e 65747265 4c472078 5458455f
0x01e1eb98:  7365725f 656c6163 726f6e5f 206c616d
0x01e1eba8:  455f4c47 735f5458 6e6f6365 79726164
0x01e1ebb8:  6c6f635f 4720726f 58455f4c 65735f54
0x01e1ebc8:  61726170 735f6574 75636570 5f72616c
0x01e1ebd8:  6f6c6f63 4c472072 5458455f 6168735f
000c: sel=0067 base=00000000 limit=00000000 16-bit --x
Backtrace:
=>0 0x696b6f76 (0x01e1fd5c)
  1 0x00440f0b in jk2sp (+0x40f0a) (0x01e1fe70)
  2 0x7b859cdc call_process_entry+0xb() in kernel32 (0x01e1fe88)
  3 0x7b85af4f in kernel32 (+0x4af4e) (0x01e1fec8)
  4 0x7bc71db0 call_thread_func_wrapper+0xb() in ntdll (0x01e1fed8)
  5 0x7bc7486d call_thread_func+0x7c() in ntdll (0x01e1ffa8)
  6 0x7bc71d8e RtlRaiseException+0x21() in ntdll (0x01e1ffc8)
  7 0x7bc49f4e call_dll_entry_point+0x61d() in ntdll (0x01e1ffe8)
0x696b6f76: -- no code accessible --
Modules:
Module	Address			Debug info	Name (71 modules)
PE	  400000- 1614000	Export          jk2sp
PE	10000000-10020000	Deferred        ffc10
ELF	792c6000-7b800000	Deferred        fglrx_dri.so
ELF	7b800000-7ba15000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba15000	\               kernel32
ELF	7bc00000-7bcc3000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcc3000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7deb3000-7df0c000	Deferred        libatiadlxx.so
ELF	7e06f000-7e157000	Deferred        libgl.so.1
ELF	7e157000-7e211000	Deferred        opengl32<elf>
  \-PE	7e170000-7e211000	\               opengl32
ELF	7e32a000-7e348000	Deferred        libgcc_s.so.1
ELF	7e348000-7e350000	Deferred        libatiuki.so.1
ELF	7e3bd000-7e3f5000	Deferred        usp10<elf>
  \-PE	7e3c0000-7e3f5000	\               usp10
ELF	7e40b000-7e411000	Deferred        libxfixes.so.3
ELF	7e411000-7e41c000	Deferred        libxcursor.so.1
ELF	7e492000-7e4bc000	Deferred        libexpat.so.1
ELF	7e4bc000-7e4f0000	Deferred        libfontconfig.so.1
ELF	7e4f0000-7e500000	Deferred        libxi.so.6
ELF	7e500000-7e504000	Deferred        libxcomposite.so.1
ELF	7e504000-7e50d000	Deferred        libxrandr.so.2
ELF	7e50d000-7e517000	Deferred        libxrender.so.1
ELF	7e517000-7e51d000	Deferred        libxxf86vm.so.1
ELF	7e51d000-7e521000	Deferred        libxinerama.so.1
ELF	7e521000-7e543000	Deferred        imm32<elf>
  \-PE	7e530000-7e543000	\               imm32
ELF	7e543000-7e54a000	Deferred        libxdmcp.so.6
ELF	7e54a000-7e54e000	Deferred        libxau.so.6
ELF	7e54e000-7e56f000	Deferred        libxcb.so.1
ELF	7e56f000-7e589000	Deferred        libice.so.6
ELF	7e589000-7e6bd000	Deferred        libx11.so.6
ELF	7e6bd000-7e6cf000	Deferred        libxext.so.6
ELF	7e6cf000-7e762000	Deferred        winex11<elf>
  \-PE	7e6e0000-7e762000	\               winex11
ELF	7e762000-7e778000	Deferred        libz.so.1
ELF	7e778000-7e812000	Deferred        libfreetype.so.6
ELF	7e835000-7e85d000	Deferred        msacm32<elf>
  \-PE	7e840000-7e85d000	\               msacm32
ELF	7e85d000-7e90a000	Deferred        winmm<elf>
  \-PE	7e860000-7e90a000	\               winmm
ELF	7e90a000-7e97f000	Deferred        rpcrt4<elf>
  \-PE	7e920000-7e97f000	\               rpcrt4
ELF	7e97f000-7ea87000	Deferred        ole32<elf>
  \-PE	7e9a0000-7ea87000	\               ole32
ELF	7ea87000-7eae7000	Deferred        advapi32<elf>
  \-PE	7ea90000-7eae7000	\               advapi32
ELF	7eae7000-7eba4000	Deferred        gdi32<elf>
  \-PE	7eaf0000-7eba4000	\               gdi32
ELF	7eba4000-7ece4000	Deferred        user32<elf>
  \-PE	7ebc0000-7ece4000	\               user32
ELF	7ece4000-7eced000	Deferred        librt.so.1
ELF	7eced000-7ed36000	Deferred        libopenal.so.1
ELF	7ed37000-7ed40000	Deferred        libsm.so.6
ELF	7ed40000-7ed59000	Deferred        version<elf>
  \-PE	7ed50000-7ed59000	\               version
ELF	7ed7e000-7ed8b000	Deferred        libnss_files.so.2
ELF	7ed8b000-7ed97000	Deferred        libnss_nis.so.2
ELF	7ed97000-7edb1000	Deferred        libnsl.so.1
ELF	7efb1000-7efdd000	Deferred        libm.so.6
ELF	7efdf000-7efe5000	Deferred        libuuid.so.1
ELF	7efe5000-7f000000	Deferred        openal32<elf>
  \-PE	7eff0000-7f000000	\               openal32
ELF	f7413000-f7418000	Deferred        libdl.so.2
ELF	f7418000-f75bd000	Deferred        libc.so.6
ELF	f75be000-f75d9000	Deferred        libpthread.so.0
ELF	f75f2000-f75fb000	Deferred        libnss_compat.so.2
ELF	f75fc000-f773e000	Dwarf           libwine.so.1
ELF	f7740000-f7762000	Deferred        ld-linux.so.2
ELF	f7762000-f7763000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000021    0
	00000020    0
	00000018    0
	00000017    0
	00000015    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000019    0
	00000014    0
	00000013    0
0000001a plugplay.exe
	00000022    0
	0000001f    0
	0000001b    0
0000001d explorer.exe
	0000001e    0
00000028 (D) C:\Program Files (x86)\LucasArts\Star Wars JK II Jedi Outcast\GameData\jk2sp.exe
	00000029    0 <==
The game crashed at launch.

With 1.5.10, last wine version I have on my compute, when I launch the single or mulitplayer game, same result, the game crashed at launch:

Code: Select all

$ wine jk2sp.exe
wine: Unhandled page fault on read access to 0x6e696b6f at address 0x6e696b6f (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x6e696b6f in 32-bit code (0x6e696b6f).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:6e696b6f ESP:01e1eb88 EBP:01e1fd5c EFLAGS:00210206(  R- --  I   - -P- )
 EAX:65765f67 EBX:00000000 ECX:01e1db50 EDX:01e1f0bd
 ESI:00a862d8 EDI:ffffffff
Stack dump:
0x01e1eb88:  65765f67 78657472 5f4c4720 5f545845
0x01e1eb98:  63736572 5f656c61 6d726f6e 47206c61
0x01e1eba8:  58455f4c 65735f54 646e6f63 5f797261
0x01e1ebb8:  6f6c6f63 4c472072 5458455f 7065735f
0x01e1ebc8:  74617261 70735f65 6c756365 635f7261
0x01e1ebd8:  726f6c6f 5f4c4720 5f545845 64616873
Backtrace:
=>0 0x6e696b6f (0x01e1fd5c)
  1 0x00440f0b in jk2sp (+0x40f0a) (0x01e1fe70)
  2 0x7b85cc0c call_process_entry+0xb() in kernel32 (0x01e1fe88)
  3 0x7b8601ab in kernel32 (+0x501aa) (0x01e1fec8)
  4 0x7bc717b0 call_thread_func_wrapper+0xb() in ntdll (0x01e1fed8)
  5 0x7bc71a0d call_thread_func+0x7c() in ntdll (0x01e1ffa8)
  6 0x7bc7178e RtlRaiseException+0x21() in ntdll (0x01e1ffc8)
  7 0x7bc4c57e in ntdll (+0x3c57d) (0x01e1ffe8)
0x6e696b6f: -- no code accessible --
Modules:
Module	Address			Debug info	Name (71 modules)
PE	  400000- 1614000	Export          jk2sp
PE	10000000-10020000	Deferred        ffc10
ELF	792c6000-7b800000	Deferred        fglrx_dri.so
ELF	7b800000-7ba2c000	Dwarf           kernel32<elf>
  \-PE	7b810000-7ba2c000	\               kernel32
ELF	7bc00000-7bcc2000	Dwarf           ntdll<elf>
  \-PE	7bc10000-7bcc2000	\               ntdll
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
ELF	7e0c8000-7e121000	Deferred        libatiadlxx.so
ELF	7e184000-7e1a2000	Deferred        libgcc_s.so.1
ELF	7e1a2000-7e28a000	Deferred        libgl.so.1
ELF	7e2ad000-7e36d000	Deferred        opengl32<elf>
  \-PE	7e2c0000-7e36d000	\               opengl32
ELF	7e3b7000-7e3f4000	Deferred        usp10<elf>
  \-PE	7e3c0000-7e3f4000	\               usp10
ELF	7e40a000-7e410000	Deferred        libxfixes.so.3
ELF	7e410000-7e41b000	Deferred        libxcursor.so.1
ELF	7e41c000-7e424000	Deferred        libatiuki.so.1
ELF	7e495000-7e4bf000	Deferred        libexpat.so.1
ELF	7e4bf000-7e4f3000	Deferred        libfontconfig.so.1
ELF	7e4f3000-7e503000	Deferred        libxi.so.6
ELF	7e503000-7e50c000	Deferred        libxrandr.so.2
ELF	7e50c000-7e516000	Deferred        libxrender.so.1
ELF	7e516000-7e51c000	Deferred        libxxf86vm.so.1
ELF	7e51c000-7e53d000	Deferred        imm32<elf>
  \-PE	7e520000-7e53d000	\               imm32
ELF	7e53d000-7e55e000	Deferred        libxcb.so.1
ELF	7e55e000-7e692000	Deferred        libx11.so.6
ELF	7e692000-7e6a4000	Deferred        libxext.so.6
ELF	7e6a4000-7e6be000	Deferred        libice.so.6
ELF	7e6be000-7e747000	Deferred        winex11<elf>
  \-PE	7e6d0000-7e747000	\               winex11
ELF	7e747000-7e75d000	Deferred        libz.so.1
ELF	7e75d000-7e7f7000	Deferred        libfreetype.so.6
ELF	7e81a000-7e841000	Deferred        msacm32<elf>
  \-PE	7e820000-7e841000	\               msacm32
ELF	7e841000-7e8ef000	Deferred        winmm<elf>
  \-PE	7e850000-7e8ef000	\               winmm
ELF	7e8ef000-7e965000	Deferred        rpcrt4<elf>
  \-PE	7e900000-7e965000	\               rpcrt4
ELF	7e965000-7ea6b000	Deferred        ole32<elf>
  \-PE	7e980000-7ea6b000	\               ole32
ELF	7ea6b000-7eacd000	Deferred        advapi32<elf>
  \-PE	7ea80000-7eacd000	\               advapi32
ELF	7eacd000-7eb8b000	Deferred        gdi32<elf>
  \-PE	7eae0000-7eb8b000	\               gdi32
ELF	7eb8b000-7ecc9000	Deferred        user32<elf>
  \-PE	7eba0000-7ecc9000	\               user32
ELF	7ecc9000-7ed12000	Deferred        libopenal.so.1
ELF	7ed12000-7ed16000	Deferred        libxcomposite.so.1
ELF	7ed16000-7ed1d000	Deferred        libxdmcp.so.6
ELF	7ed1d000-7ed35000	Deferred        version<elf>
  \-PE	7ed20000-7ed35000	\               version
ELF	7ed35000-7ed50000	Deferred        openal32<elf>
  \-PE	7ed40000-7ed50000	\               openal32
ELF	7ef75000-7ef82000	Deferred        libnss_files.so.2
ELF	7ef82000-7ef8e000	Deferred        libnss_nis.so.2
ELF	7ef8e000-7efa8000	Deferred        libnsl.so.1
ELF	7efa8000-7efb1000	Deferred        libnss_compat.so.2
ELF	7efb1000-7efdd000	Deferred        libm.so.6
ELF	7efdf000-7efe3000	Deferred        libxinerama.so.1
ELF	7efe3000-7efe7000	Deferred        libxau.so.6
ELF	7efe7000-7eff0000	Deferred        libsm.so.6
ELF	7eff0000-7eff9000	Deferred        librt.so.1
ELF	f7440000-f7446000	Deferred        libuuid.so.1
ELF	f7447000-f744c000	Deferred        libdl.so.2
ELF	f744c000-f75f1000	Deferred        libc.so.6
ELF	f75f1000-f760c000	Deferred        libpthread.so.0
ELF	f7630000-f7771000	Dwarf           libwine.so.1
ELF	f7773000-f7795000	Deferred        ld-linux.so.2
ELF	f7795000-f7796000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files (x86)\LucasArts\Star Wars JK II Jedi Outcast\GameData\jk2sp.exe
	00000009    0 <==
0000000e services.exe
	0000001f    0
	0000001e    0
	00000018    0
	00000017    0
	00000015    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001c    0
	00000019    0
	00000014    0
	00000013    0
0000001a plugplay.exe
	00000020    0
	0000001d    0
	0000001b    0
00000021 explorer.exe
	00000022    0
Thanks for your help.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Jedi Knight II outcast

Post by dimesio »

Try installing to a 32 bit wineprefix. Create one with

Code: Select all

WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winecfg
then install the game to that wineprefix. http://wiki.winehq.org/FAQ#wineprefix
User avatar
legluondunet
Level 2
Level 2
Posts: 34
Joined: Sun Aug 22, 2010 10:47 am

Re: Jedi Knight II outcast

Post by legluondunet »

wrong alert, my install cd has a problem. Thanks.
User avatar
legluondunet
Level 2
Level 2
Posts: 34
Joined: Sun Aug 22, 2010 10:47 am

Re: Jedi Knight II outcast

Post by legluondunet »

Finally it's not a cd problem, it's an incompatibility with AMD radeon drivers, I currently use the 12.6 version with a radeon 7850. If I remove the drivers and use the open source one, I can launch the game but the performance are bad. Do you think the Wine team could find a workaround for this? Jedi Knight Outcast is still a must to play after all this years, there are still people on the server to play with. Where could I report a bug for this?
User avatar
legluondunet
Level 2
Level 2
Posts: 34
Joined: Sun Aug 22, 2010 10:47 am

Re: Jedi Knight II outcast

Post by legluondunet »

Demesio, I tried with a 32 prefix, but that change nothing. In fact, with radeon xorg open source driver, the game launch normally, whatever I use 32 or 64 bits wineprefix.
mogorva
Level 4
Level 4
Posts: 107
Joined: Fri Oct 16, 2009 10:27 am

Re: Jedi Knight II outcast

Post by mogorva »

I assume it is the known 'buffer overflow' problem with games based on the Quake 3 game engine. When the game queries the available OpenGL extensions on modern gfx cards, the reported string is too long to fit a certain buffer, resulting the crash.
If you had a Nvidia card, the solution would be simple: start the game using the environment variable '__GL_ExtensionStringVersion=17700'.
This won't work with the ATi proprietary drivers, though.
Some sources say you have to modify the game executables (jasp.exe and jamp.exe) in a hex editor, search for the string "GL_EXTENSIONS: %s" and change it to "GL_EXTENSIONS: %p".
User avatar
legluondunet
Level 2
Level 2
Posts: 34
Joined: Sun Aug 22, 2010 10:47 am

Re: Jedi Knight II outcast

Post by legluondunet »

If you had a Nvidia card, the solution would be simple: start the game using the environment variable '__GL_ExtensionStringVersion=17700'.
This won't work with the ATi proprietary drivers, though.
It's confirmed, that workaround doesn't work with my radeon :wink:
Some sources say you have to modify the game executables (jasp.exe and jamp.exe) in a hex editor, search for the string "GL_EXTENSIONS: %s" and change it to "GL_EXTENSIONS: %p".
Wahooo! Impressive, your sources said good things to you, that's solved the jedi knight crash for both single and multiplayer game. Finally! I tried a lot of soluces found on differents forums for days, even the one's you have to rename the exe in quake3.exe (I know it 's a shame :lol: ).

Thank you very much Mogorva, now it's time for me to return to my friends jedi. may the force be with you 8)
Locked