Announcement

Collapse
No announcement yet.

[HOW TO] Change local data cache location

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

    #16
    can EPIC not simply give us a more simpler solution to this deriveddatacache location in the engine itself ?

    I have edited my BaseEngine.ini as described, and it seemed to work for a bit, but I'm downloading via Bridge and my C drive just exploded to 0MB left.


    This seems like such a simple thing. We need to tell UE where our "scratch disc" is. and have all of this stuff put there automatically.

    Comment


      #17
      Originally posted by AlienChrysalis View Post
      Another way to move your DDC files to another location if you don't want to mess with the config location is to simply create a junction or shortcut to another drive/location. Just move the whole folder "C:\Users\<your user name>\AppData\Local\UnrealEngine" to a new location for me I put it on my second SSD drive root so I now have "F:\UnrealEngine" then just create a shortcut to the new location in "C:\Users\<your user name>\AppData\Local"

      This moves not just the common DDC but potentially any other engine version specific files over to that same location, if you want to remove old engine version or common DDC files you can just go into F:\UnrealEngine and remove them there.

      You can use the same trick for moving your VaultCache for the Launcher to a new location as well.

      Also you can use a Junction instead of a shortcut, but most people are not comfortable with command line operations and batch files, so typically prefer Shortcuts and I think they basically the same thing, but for those interested you can use a batch file command like this to achieve the same result

      mklink /j C:\Users\deanb\AppData\Local\UnrealEngine F:\UnrealEngine

      Hope that helps.
      Where would this batch file go ?

      Comment


        #18
        Originally posted by yung23athome View Post

        Where would this batch file go ?
        It can go anywhere because it uses absolute paths.

        Comment


          #19
          Originally posted by AlienChrysalis View Post
          Another way to move your DDC files to another location if you don't want to mess with the config location is to simply create a junction or shortcut to another drive/location. Just move the whole folder "C:\Users\<your user name>\AppData\Local\UnrealEngine" to a new location for me I put it on my second SSD drive root so I now have "F:\UnrealEngine" then just create a shortcut to the new location in "C:\Users\<your user name>\AppData\Local"

          This moves not just the common DDC but potentially any other engine version specific files over to that same location, if you want to remove old engine version or common DDC files you can just go into F:\UnrealEngine and remove them there.

          You can use the same trick for moving your VaultCache for the Launcher to a new location as well.

          Also you can use a Junction instead of a shortcut, but most people are not comfortable with command line operations and batch files, so typically prefer Shortcuts and I think they basically the same thing, but for those interested you can use a batch file command like this to achieve the same result

          mklink /j C:\Users\deanb\AppData\Local\UnrealEngine F:\UnrealEngine

          Hope that helps.
          Not working for me. With the shortcut way
          My yt creations
          My website : http://alphas-projects.com/content/index.php

          Comment


            #20
            Originally posted by AlienChrysalis View Post
            Another way to move your DDC files to another location if you don't want to mess with the config location is to simply create a junction or shortcut to another drive/location. Just move the whole folder "C:\Users\<your user name>\AppData\Local\UnrealEngine" to a new location for me I put it on my second SSD drive root so I now have "F:\UnrealEngine" then just create a shortcut to the new location in "C:\Users\<your user name>\AppData\Local"

            This moves not just the common DDC but potentially any other engine version specific files over to that same location, if you want to remove old engine version or common DDC files you can just go into F:\UnrealEngine and remove them there.

            You can use the same trick for moving your VaultCache for the Launcher to a new location as well.

            Also you can use a Junction instead of a shortcut, but most people are not comfortable with command line operations and batch files, so typically prefer Shortcuts and I think they basically the same thing, but for those interested you can use a batch file command like this to achieve the same result

            mklink /j C:\Users\deanb\AppData\Local\UnrealEngine F:\UnrealEngine

            Hope that helps.
            This worked perfectly for me. Moved my UnrealEngine folder, created a shortcut, deleted original folder and replaced it with new shortcut. All projects open fine, 42 GBS saved on my C drive, thanks.

            Comment


              #21
              Tried this and didnt work... It just creates a new unreal engine folder, and all the derived data caches with it...
              Originally posted by Mn8Multimedia View Post

              This worked perfectly for me. Moved my UnrealEngine folder, created a shortcut, deleted original folder and replaced it with new shortcut. All projects open fine, 42 GBS saved on my C drive, thanks.

              Comment


                #22
                The best way to do it is still to edit the baseengine.ini in the engine version installation folder, and let it create the cached files in a new folder.

                Only problem about this method is it being overwritten with each respective engine update, so that is a thing to keep in mind = you have to repeat the whole process.

                Comment


                  #23
                  Update: in the recent UE4 versions it's possible to change DerivedDataCache global location in the Editor Preferences. Just navigate there and search for "derived". It requires editor restart.
                  Last edited by pdenton; 06-20-2020, 11:18 AM.

                  Comment

                  Working...
                  X