Forums

battlefield2 debuging on play on linux

Auteur Réponses
Jump to the page: 1 - 2 - 3 - 4 - 5
odis308 Mardi 11 Juin 2013 à 1:00
odis308Anonymous

ok so install all patches or just that 1 patch
booman Mardi 11 Juin 2013 à 1:03
booman

Does it let you choose which patch or does it automatically just install them?

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Mardi 11 Juin 2013 à 1:07
odis308Anonymous

it lets me choose not to install the 1.4 patch but the other one it just installs
booman Mardi 11 Juin 2013 à 1:08
booman

ok, then let it install things automatically and then don't install 1.4 yet.

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Mardi 11 Juin 2013 à 1:16
odis308Anonymous

ok thanks
odis308 Mardi 11 Juin 2013 à 1:46
odis308Anonymous

yeah its still not wanting to launch correctly
any ideas?
booman Mardi 11 Juin 2013 à 1:55
booman

Ok, now that its installed, lets do all the configuration.
Please do all of these steps in order...

Wine Version:
1. Launch PlayOnLinux
2. Configure
3. select Battlefield 2
4. Set Wine version as 1.5.25

Windows Components:
1. Configure
2. select Battlefield 2
3. Install Packages tab
4. Select d3dx9 and install

Display:
1. Configure
2. select Battlefield 2
3. Display tab:

GLSL Support: default
Direct Draw Renderer: opengl
Video Memory size: should already be populated
Off-screen rendering mode: fbo
render target mode lock: default
Multi-sampling: enabled
Strict Draw Ordering: default

Wine Configuration:
1. Configure
2. select Battlefield 2
3. Wine tab - configure Wine
4. graphics tab - check emulate virtual desktop
5. Desktop size - 1024x768 (just for testing)
6. apply
7. Applications tab - window version: windows 7
8. OK
9. Wine tab - Windows Reboot

Video.con edit:
1. navigate to your wineprefix: /home/username/Battlefield 2/Profiles/Default
2. open Video.con with gedit
3. VideoSettings.setResolution 1024x768@60Hz

and...
1. navigate to: /home/username/.PlayOnLinux/wineprefix/Battlefield 2/drive_c/Program Files/EA GAMES/Battlefield 2/Profiles/Local/Default
(username is where you put your login)
(I know that is a long directory list, poke around until you find it.)

2. open video.con
3. Open it with Gedit
4. look for the line: game.setGameDisplayMode
5. modity the resolution to look like this: game.setGameDisplayMode 1024 768 32 0

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Mardi 11 Juin 2013 à 2:18
odis308Anonymous

im having a hard time finding
this
VideoSettings.setResolution 1024x768@60Hz
i cant find the viedosetting.setResolution in the video.con edit
odis308 Mardi 11 Juin 2013 à 2:25
odis308Anonymous

i cant even find the video.con in the /home/username/battfield 2/profiles/default
odis308 Mardi 11 Juin 2013 à 2:27
odis308Anonymous

if you can tell me what goes in the i can probubly just make it
booman Mardi 11 Juin 2013 à 15:13
booman

Ok, use Gedit and copy this into a new file:

VideoSettings.setTerrainQuality 3
VideoSettings.setGeometryQuality 3
VideoSettings.setLightingQuality 3
VideoSettings.setDynamicLightingQuality 3
VideoSettings.setDynamicShadowsQuality 3
VideoSettings.setEffectsQuality 3
VideoSettings.setTextureQuality 3
VideoSettings.setTextureFilteringQuality 3
VideoSettings.setResolution 1024x768@60Hz
VideoSettings.setAntialiasing 8Samples
VideoSettings.setViewDistanceScale 1
VideoSettings.setVideoOptionScheme 3

Citer


Then save it as video.con in your default folder here:

/home/username/Battlefield 2/profiles/default

Citer


if it still doesn't work, try changing 60Hz to 75Hz

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Mardi 11 Juin 2013 à 15:36
odis308Anonymous

ok i did eveything made the document and saved it to my default folder
and i also tryed changing to 75Hz and it still not wanting to launch this is what i get now

[06/11/13 09:30:00] - ----- Ending function POL_Install_d3dx9 -----
[06/11/13 09:30:16] - Running wine-1.5.25 wineboot (Working directory : /home/grasty/.PlayOnLinux)
[06/11/13 09:30:20] - 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/11/13 09:35:16] - 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 0x3263301
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

Edité par odis308

booman Mardi 11 Juin 2013 à 17:21
booman

Hmm, I'm still seeing this error:

err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 800x600x32 @85! (desktop)

Citer


Lets go back to the basics...
Have you installed Nvidia proprietary drivers for your video card?


† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Mardi 11 Juin 2013 à 17:25
odis308Anonymous

its a stock video card so i thought it already had that downloaded?
booman Mardi 11 Juin 2013 à 17:27
booman

Ah, lets investigate this route...
I should have asked these questions in the beginning!
Lesson learned!

Ok, what computer & video card do you have?
Model numbers, etc...

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Mardi 11 Juin 2013 à 17:32
odis308Anonymous

i have an HP pavilion a6637c PC
Intel® G33 x86/MMX/SSE2 graphics im guessing this is the graphics card?


booman Mardi 11 Juin 2013 à 17:44
booman

Ah, I think I know the problem...
Your onboard (integrated) video may not have the proprietary Intel drivers installed.
give me some time to research what your computer has.

Do you have a budget for an actual Video Card?
They range from $50 - $500 (and higher)

I usually don't spend more than $150.00

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
odis308 Mardi 11 Juin 2013 à 17:47
odis308Anonymous

well i was planning on building a gaming computer at a later dat and im basicly broke but i can save up for a better card and get one maybe in a week or so
what kind or model would you recomend so i know how much to save up?
booman Mardi 11 Juin 2013 à 18:02
booman

I you are broke, then keep your HP Pavillion and lets look at an upgrade.
Sadly your power supply is only 250 Watt (unless you have replaced it)
That really isn't enough to power most modern video cards.
You could buy one and take a risk, but if you have power issues, then you will need a new Power Supply.
Decent Power Supplies can be as low as $80

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
booman Mardi 11 Juin 2013 à 18:03
booman

Here is a link to your specs: HP Pavillion

† 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