secshunayt
Member
+2|6422
I'm trying to use the Weapontester mod, but I've run in to a slight graphics problem. I run at a custom resolution specified with startup arguments (+szx 1680 +szy 1050); however, when BF2 automatically restarts to load the mod, it ignores that custom resolution, and defaults to a resolution that looks really crappy on my LCD. Basically, I'd like to know if there is a way to load up a mod using startup arguments, so that I can create a second shortcut that loads the Weapontest mod and my custom resolution. Any help would be greatly appreciated!

Last edited by secshunayt (2007-06-25 21:22:23)

FredFLQ
S0tp R4p1nG u5!!1one
+47|6796|Donnacona, Quebec
All the command line options available :

+playerName - Set the player name

+playerPassword - Sets the player password

+joinServer - Join a server by IP address or hostname

+fullscreen - Start game in full screen mode

+nosound - Start game without sound

+szx - Set resolution width

+szy - Set resolution height

+dedicated - Start in dedicated server mode

+multi - Allow starting multiple BF2 instances

+password - Set the server password when joining a server

+config - Sets path to the ServerSettings.con file to use

+maplist - Sets the path to the MapList.con file to use

+lowPriority - Run the game with slightly lower priority

+loadLevel - Set the level to load

+wx - Position game window on the screen at certain x-position

+wy - Position game window on the screen at certain y-position

+demo - Sets the con-file with demo options

+maxPlayers - Sets max players

+gameMode - Sets the game mode

+modPath - Sets the mod path (default /mods/bf2)

+help - Displays help

+ranked - Allows GamSpy snapshot sending

+playNow - Use PlayNow functionality

+port - Specifies the network port to be used

+pbPath - Set the path to use for PunkBuster on multi-instance configs

+hostServer -

+checkForAvailablePatch -

+checkForPatch -

+ai -

+restart - skips intro movies
secshunayt
Member
+2|6422
Yes, I already tried the +modpath parameter. I'm not sure of its exact function though. Pointing it towards the Weapontest folder didn't seem to work. Any suggestions?
VicktorVauhn
Member
+319|6657|Southern California
you need "+modPath mods/FolderName"
so make sure if the folder the mod is in is called "Weapontest" you have "+modPath mods/Weapontest" and not just "+modPath Weapontest"

(that assumes its in the mod folder, Ive never tried using other folders)
secshunayt
Member
+2|6422

VicktorVauhn wrote:

you need "+modPath mods/FolderName"
so make sure if the folder the mod is in is called "Weapontest" you have "+modPath mods/Weapontest" and not just "+modPath Weapontest"

(that assumes its in the mod folder, Ive never tried using other folders)
Thanks!
You indirectly helped me: I had the syntax right, but had it as "+modpath" rather than "+modPath". Now, I've got the the mod working from a separate shortcut, with my custom resolution.

+1 karma for you!

Board footer

Privacy Policy - © 2025 Jeff Minard