Announcement

Collapse
No announcement yet.

I made updated Vista BF2142.bat and BF2142.reg files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • I made updated Vista BF2142.bat and BF2142.reg files

    Because EA is too stupid and lazy to do it for us. Also, make sure you enable your administrator account and do all your updates/fixes with that account.

    Here ya go:

    Fix_bf2142Vista.bat:

    START OF BATCH FILE__________________

    @echo off
    cls

    set bf2142InstallDir="C:\Program Files (x86)\Electronic Arts\Battlefield 2142"

    if not exist %bf2142InstallDir% goto not_default_loc

    start /wait regedit /S bf2142.reg

    cd "C:\Program Files (x86)\Electronic Arts\Battlefield 2142\Support"

    call "C:\Program Files (x86)\Electronic Arts\Battlefield 2142\Support\Battlefield 2142_code.exe"

    BF2CdKeyCheck.exe software\\electronic arts\\ea games\\battlefield 2142


    echo ********************************************
    echo ** Your Battlefield 2142 Installation **
    echo ** has been restored. **
    echo ********************************************

    goto exit

    :not_default_loc
    echo ********************************************
    echo ** You do not have Battlefield 2142 **
    echo ** installed in the default location. **
    echo ** **
    echo ** This batch file will not work. **
    echo ** Please contact customer support. **
    echo ********************************************
    goto exit

    :exit
    pause

    END OF BATCH FILE__________________

    bf2142Vista.reg:

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Electronic Arts\EA GAMES\Battlefield 2142]
    "Registered"="true"
    "InstallDir"="C:\\Program Files (x86)\\Electronic Arts\\Battlefield 2142"
    "Version"="1.01"
    "BuildNr"="1.0.9.1"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Electronic Arts\EA GAMES\Battlefield 2142\Addons]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Electronic Arts\EA GAMES\Battlefield 2142\wdc]
    @="true"

    I've used this on my own installation and it works great. Let me know if it works for you.

    Oops, I guess I should have posted this over in Support, can a mod move it please?

  • #2
    ^^soo for the ppl that dont really know what that does could u plz explain

    cant u just rightclick it and say run as admin???

    Comment


    • #3
      plz explain all this

      Comment


      • #4
        The batch file and registry file provided for the following fix:

        "QUESTION
        I receive an error message about a duplicate GUID, invalid CDKey, or PunkBuster global GUID ban. How do I resolve this?"

        http://support.ea.com/cgi-bin/ea.cfg/php/enduser/std_adp.php?p_faqid=14245&p_created=1162328941&p_s id=93GLLfUi&p_accessibility=0&p_redirect=&p_lva=14 051&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0P SZwX3Jvd19jbnQ9NSw1JnBfcHJvZHM9NywzMDQwLDIwODcmcF9 jYXRzPTU2NiZwX3B2PTMuMjA4NyZwX2N2PTEuNTY2JnBfcGFnZ T0xJnBfc2VhcmNoX3RleHQ9cmVnaXN0cnk*&p_li=&p_topvie w=1

        only works for XP. The ones I provided work for Vista.

        To do the batch file copy the code between "Start of batch_______ and End of batch___________" and paste it into notepad and then save as Fix_bf2142Vista.bat, or whatever you want to name it as long as it has a .bat extension.

        The registry file you do the same, copy and paste the code into notepad and save as bf2142.reg. Don't call it bf2142Vista.reg unless you change the registry entry in the batch file above.

        If you're using Vista, the administrator account is disabled by default. Enable the account, switch logins so you're actually logged into the administrator account and do what you need to do to get BF2142 up and running. When done, switch back to your normal user account and you can disabled the administrator aco**** again. Sometimes "Run as administrator" isn't good enough.

        If someone wants to host the files, I'll put them up

        Comment


        • #5
          what do we do with the files?

          Comment


          • #6
            Originally posted by stoobywon View Post
            what do we do with the files?
            Are you having problems associated with my last post?

            Comment

            Working...
            X