The forum

battlefield2 debuging on play on linux

Author Replies
Jump to the page: 1 - 2 - 3 - 4 - 5
odis308 Monday 10 June 2013 at 17:26
odis308Anonymous

the debuger shows this

[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]
"*d3dx9_24"="native, builtin"
"*d3dx9_25"="native, builtin"
"*d3dx9_26"="native, builtin"
"*d3dx9_27"="native, builtin"
"*d3dx9_28"="native, builtin"
"*d3dx9_29"="native, builtin"
"*d3dx9_30"="native, builtin"
"*d3dx9_31"="native, builtin"
"*d3dx9_32"="native, builtin"
"*d3dx9_33"="native, builtin"
"*d3dx9_34"="native, builtin"
"*d3dx9_35"="native, builtin"
"*d3dx9_36"="native, builtin"
"*d3dx9_37"="native, builtin"
"*d3dx9_38"="native, builtin"
"*d3dx9_39"="native, builtin"
"*d3dx9_40"="native, builtin"
"*d3dx9_42"="native, builtin"
"*d3dx9_42"="native, builtin"
"*d3dx9_43"="native, builtin"
-----------
[06/10/13 11:22:17] - ----- Ending function POL_Install_d3dx9 -----
[06/10/13 11:22:29] - Running wine-1.5.25 winecfg (Working directory : /home/grasty/.PlayOnLinux)
[06/10/13 11:24:54] - Running wine-1.5.25 BF2.exe +menu 1 +fullscreen 1 (Working directory : /home/grasty/.PlayOnLinux/wineprefix/Battlefield2/drive_c/Program Files/EA GAMES/Battlefield 2)
[06/10/13 11:25:09] - Running wine-1.5.25 BF2.exe +menu 1 +fullscreen 1 (Working directory : /home/grasty/.PlayOnLinux/wineprefix/Battlefield2/drive_c/Program Files/EA GAMES/Battlefield 2)
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
fixme:win:EnumDisplayDevicesW ((null),0,0x32edf4,0x00000000), stub!
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:win:EnumDisplayDevicesW ((null),0,0x32da84,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32d9e4,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 800x600x32 @85! (desktop)
err:seh:raise_exception Unhandled exception code 80000003 flags 0 addr 0x3b24371
fixme:advapi:RegisterEventSourceA ((null)," "): stub
fixme:advapi:RegisterEventSourceW (L"",L" "): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x62e3a8,0x64b592): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x131e28,0x64b592): stub
err:eventlog:ReportEventW L"6"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:RegisterEventSourceA ((null)," "): stub
fixme:advapi:RegisterEventSourceW (L"",L" "): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x000002cc,0x62e3a8,0x64b622): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x000002cc,0x131e28,0x64b622): stub
err:eventlog:ReportEventW L"7"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
booman Monday 10 June 2013 at 19:53
booman

I knew it! Here is the problem, just like on my computer:

X11DRV_ChangeDisplaySettingsEx No matching mode found 800x600x32

Quote

Its gotta be that videon.con for the default profile...

I may have to "break down" and try to install it again.
Once we get past this video problem it should launch just fine.. .geesh!!!

Now when you changed the

game.setGameDisplayMode 1024 768 32 0

Quote

I'm guessing you didn't put the "x" between the resolution like in the error correct?
The game launcher must have done that.
I almost wonder if we could create the video.con and default folder ourselves and fool the game?

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Monday 10 June 2013 at 23:31
odis308Anonymous

so what your saying is i should make it say this

game.setGameDisplayMode 1024x768 32 0

cause thats what mine says
booman Monday 10 June 2013 at 23:57
booman

without the "x"
just leave a space like this:

game.setGameDisplayMode 1024 768 32 0

Quote


if that doesn't work, then we'll create the other video.con ourselves.

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Tuesday 11 June 2013 at 0:05
odis308Anonymous

and no i didnt put th "x" between the resolution like in the error
odis308 Tuesday 11 June 2013 at 0:06
odis308Anonymous

ok ill try that out thanks so much for your help ive been at this for weeks lol
odis308 Tuesday 11 June 2013 at 0:07
odis308Anonymous

game.setGameDisplayMode 1024 768 32 0

this is what i have in their
booman Tuesday 11 June 2013 at 0:13
booman

perfect, then you did everything right.
Is BF2 able to launch?

No problem! I had to go through all the same steps. If we can just get it to launch the first time, then I think we'll have it.

By the way, when you re-installed again, did you remember to select Wine 1.5.25 again from the PlayOnLinux configure?

Also, did you patch it again?

I recommend not patching until we run it successfully at least once.

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Tuesday 11 June 2013 at 0:17
odis308Anonymous

no its still not launching
and yes i went to the general tab and chose wine 1.5.25
yes i patched it to 1.4
ill try without patching
booman Tuesday 11 June 2013 at 0:19
booman

Yes, please install again and don't patch it yet.

Are you installing from CD, Steam, Download?

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Tuesday 11 June 2013 at 0:20
odis308Anonymous

im installing from CD
booman Tuesday 11 June 2013 at 0:23
booman

Got it, I'm guessing that you copied all of the CD's into a folder on your desktop, correct?

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Tuesday 11 June 2013 at 0:26
odis308Anonymous

i have the complete collection and it only came with one CD

booman Tuesday 11 June 2013 at 0:34
booman

Ok, that is DVD then. Good, that simplifies things. I had one of those 5-Disk copies and had to copy every disk to a folder on the desktop.

Go ahead with another install, and do the video.con edit
Don't patch yet and don't forget the virtual desktop has to match the same resolution you entered in video.con

If it still refuses to launch, we can try creating the other video.con in your documents Battlefield 2 folder

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Tuesday 11 June 2013 at 0:41
odis308Anonymous

ok will do im installing now
booman Tuesday 11 June 2013 at 0:47
booman

Great, keep me updated if you get any errors.

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Tuesday 11 June 2013 at 0:48
odis308Anonymous

ok it started to install a patch
and it didnt say it was going to do i just hit cancel?
booman Tuesday 11 June 2013 at 0:49
booman

hmm, you might not have a choice.. if its on the DVD, then it will automatically install.
Which patch?

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Tuesday 11 June 2013 at 0:55
odis308Anonymous

um i think its patch 1.1
booman Tuesday 11 June 2013 at 0:57
booman

whoa, definitely need that one, I havn't even heard of that one. Go ahead and install the whole game from scratch with the DVD.

use the PlayOnLinux script for now and you can change to Wine 1.5.25 after its done.
Let me know when its done installing

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com