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

m
mNo edit summary
Line 114: Line 114:
(Replace `60` with your preferred frame rate.)
(Replace `60` with your preferred frame rate.)


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


'''+fullscreen 1 +szx 1024 +szy 768 +menu 1 +modPath mods/AIX2'''
The following arguments can be used to launch ''Battlefield 2'':


with '''modPath''' you tell the game to start a specific mod or just the vanilla game, the value is the exact folder name inside the '''mods''' folder.
<pre>
+fullscreen 1 +szx 1024 +szy 768 +menu 1 +modPath mods/AIX2
</pre>
 
* `+fullscreen 1` — enables fullscreen mode. 
* `+szx 1024` — sets the screen width to 1024 pixels. 
* `+szy 768` — sets the screen height to 768 pixels. 
* `+menu 1` — starts the game with the menu enabled. 
* `+modPath mods/AIX2` — specifies the mod to load. The value must match the exact folder name inside the `mods` directory. If omitted, the game launches in vanilla mode.


==Troubleshooting==
==Troubleshooting==