The Game Modding Community - Since 2001

Need help writing a .bat

A Forum Thread for Battlefield 2142

Running a tool before playing.

Alright, I need some assistance. I would like to write a batch file that launches David Rufie's Widescreen Fixer tool, then launches the game afterwards. Very simple request. The name of the tool is WideScreenFixer.exe and I'm going to be placing it in the Electronic Arts folder. c:/program files/electronic arts/wsfix obviously my 2142 directory is c:/program files/electronic arts/battlefield 2142 any help would be highly appreciated. Extra kudos if it's possible for the batch file to close the WSF tool after I'm done playing 2142.

Posts

  • 10y
    KniteWulf avatar
    KniteWulf username pic Joined 12y ago
    SYSTEMS OFFLINE
    11 medals 1 legendary 1 rare
    • 10 years a member Medal icon
    • 6 years a member Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    • 5 posts awarded Exemplary Feedback Medal icon
    • 10 posts awarded Exemplary Feedback Medal icon
    • One month a member Medal icon
    Here's an easier and better fix to get your game to run in widescreen. Right click your BF2142 shortcut > Properties In the "Target" field, add
    +szx 1680 +szy 1050
    or whatever your resolution is. Make sure to leave a space between that and whatever the last stuff in the field is.
    Chief of Nostalgia avatar
    Mantra
    Chief of Nostalgia
  • 10y
    Decemberklar avatar
    Decemberklar username pic Joined 12y ago
    Moderator
    Offline
    6,390 points Ranked 742nd
    22 medals 1 legendary 4 rare
    • 10 years a member Medal icon
    • 25 posts awarded Exemplary Feedback Medal icon
    • 6 years a member Medal icon
    • Submitted 100 Threads Medal icon
    • GameBanana’s Christmas Giveaway 2017 Day Eighteen Winner! Medal icon
    • Became a Club Leader Medal icon
    Posted by KniteWulf Here's an easier and better fix to get your game to run in widescreen. Right click your BF2142 shortcut > Properties In the "Target" field, add
    +szx 1680 +szy 1050
    or whatever your resolution is. Make sure to leave a space between that and whatever the last stuff in the field is.
    Yes, that's the way to get widescreen, but this tool gives you the correct FoV and makes the game feel/look so much better. I refuse to play it without it. I tried this and had no luck...
    echo Starting WidescreenFixer START c:\program files\electronic arts\wsfix\widescreenfixer.exe echo Starting Battlefield 2142 START c:\Program Files\Electronic Arts\Battlefield 2142\BF2142.exe +eaAccountName MYACCOUNT +eaAccountPassword MYPASS +soldierName MYSOLDIER +menu 1 +widescreen 1 +szx 1680 +szy 1050 EXIT
  • 10y
    ascentyx avatar
    ascentyx Joined 12y ago
    Offline
    19,844 points Ranked 225th
    Posted by sh4d0w Wouldn't it be something like this: echo Starting WidescreenFixer cd c:/program files/electronic arts/wsfix start WideScreenFixer.exe echo Starting Battlefield 2142 cd c:/program files/electronic arts/battlefield 2142 START BF2142.exe +eaAccountName MYACCOUNT +eaAccountPassword MYPASS +soldierName MYSOLDIER +menu 1 +widescreen 1 +szx 1680 +szy 1050 EXIT
    Suspended By The Throat.
  • 10y
    Decemberklar avatar
    Decemberklar username pic Joined 12y ago
    Moderator
    Offline
    6,390 points Ranked 742nd
    22 medals 1 legendary 4 rare
    • 10 years a member Medal icon
    • 25 posts awarded Exemplary Feedback Medal icon
    • 6 years a member Medal icon
    • Submitted 100 Threads Medal icon
    • GameBanana’s Christmas Giveaway 2017 Day Eighteen Winner! Medal icon
    • Became a Club Leader Medal icon
    Posted by sh4d0w Wouldn't it be something like this: echo Starting WidescreenFixer cd c:/program files/electronic arts/wsfix start WideScreenFixer.exe echo Starting Battlefield 2142 cd c:/program files/electronic arts/battlefield 2142 START BF2142.exe +eaAccountName MYACCOUNT +eaAccountPassword MYPASS +soldierName MYSOLDIER +menu 1 +widescreen 1 +szx 1680 +szy 1050 EXIT
    Awesome, it did start the WSF.exe, and then BF2142. I think the parameters worked as well, I don't know cause I copied and pasted from this. You sir, are the shit.

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Author

Decemberklar avatar
Decemberklar username pic Joined 12y ago
Moderator
Offline
6,390 points Ranked 742nd
22 medals 1 legendary 4 rare
  • 10 years a member Medal icon
  • 25 posts awarded Exemplary Feedback Medal icon
  • 6 years a member Medal icon
  • Submitted 100 Threads Medal icon
  • GameBanana’s Christmas Giveaway 2017 Day Eighteen Winner! Medal icon
  • Became a Club Leader Medal icon

Decemberklar avatar
Decemberklar
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 3,472 Views
  • 4 Posts
  • 10y Submitted
  • 10y Modified

Hey, you! Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Join the community! Sign up now!

Already a Bananite? Login

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel