Move Location Of BF2 Cache Folder

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

    #1

    Move Location Of BF2 Cache Folder

    Hi all,

    I like many, run a home network, and my My Documents folder is on a networked drive for backup/accessability reasons etc.

    This means that every time I load a map, I go through the "Optimizing Shaders" routine, which takes quite a while.

    Has anyone figured out yet how to move the cache folder from My Documents to a location of their choice? Would be very handy :)

    Cheers.
  • kewl e-man

    #2
    click it once, then and the left side, it should give u a choice to delte, move, etc. there u go.

    Comment

    • networkkilla

      #3
      erm, if I just move it or delete it, BF2 will just create a new one in the same location!

      I need to ask/tell/set BF2 to use a different location for its cache, i.e in a config file etc.

      Comment

      • signa
        CS-Nation / TGN Staff
        • Dec 2004
        • 4191

        #4
        Have you tried using Tweak UI? you can specify the location of your 'my docs' folder. I'm assuming it works on a network. so once its set, bf2 would know the new location of your docs, without creating a new one again on C:/
        "Crunch's First Officer"
        twitter: @signaprime

        Comment

        • Gunny Highway

          #5
          Originally posted by signa
          Have you tried using Tweak UI? you can specify the location of your 'my docs' folder. I'm assuming it works on a network. so once its set, bf2 would know the new location of your docs, without creating a new one again on C:/
          You can also specify that by just right-click on the My Documents folder and selecting Properties.

          The problem he faces is that My Documents probably already is on a share \\server\profiles\docs or similar, and thus any access to the cache goes over the network.

          One small fix could be to make a script that changes location temporary of MyDOcs while playing the game, and changes location back when exiting the game.

          Something like this, it changes the reg value of where you have your Personal folder, i.e. My Documents.

          SET KEY=HKCU\Software\Microsoft\Windows\CurrentVersion \Explorer\Shell Folders
          REG ADD "%KEY%" /V Personal /D "C:\Documents and Settings\Loginnamehere\Documents" /f
          Start BF2.exe
          REG ADD "%KEY%" /V Personal /D "\\SERVER\SHARE\DOCS" /f
          Just put this text in a txt doc and save it as as .bat (or .cmd) e.g. bf2docmove.bat and place and excute from where BF2.exe file is and make adjustments to what is in BOLD to fit your system, where you want the docs folder should be temporarily and where it is normally on your network share.

          You need to have the My Documents Battlefield 2 folder on the location you specify in the first REG ADD of course, give it a try it might work.

          You might want to add the full path for BF2.exe to the .bat instead of just bf2.exe, and move it out of the BF2 folders, so not to get in trouble in case PB checks or similar.

          Comment

          • Sir. S.A.S

            #6
            Well what u can do is put the my documents back in and get some software to copy the folder on a server on every start up and every shutdown.

            Comment

            Working...