Jump to content

Battlefield 2 on Linux: Notes & Tips: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 116: Line 116:


==Tips==
==Tips==
WIP
===How to enable VSYNC===
===How to enable VSYNC===
Created a file '''dxvk.conf''' in the game folder with the following content:
Created a file '''dxvk.conf''' in the game folder with the following content:
Line 123: Line 121:
'''d3d9.presentInterval = 1'''
'''d3d9.presentInterval = 1'''


===Limit FPS===
===How to limit FPS===
You can limit the fps by using the system environment '''DXVK_FRAME_RATE'''
To limit FPS, set the environment variable:
 
DXVK_FRAME_RATE=60
 
(Replace `60` with your preferred frame rate.)


===Start arguments===
===Game start arguments===
I use the following arguments to start the game:
I use the following arguments to start the game: