Bringing back the old cache clearing.

Discussion in 'General Discussion' started by sjbphoto, Dec 27, 2018.

  1. sjbphoto

    sjbphoto
    Expand Collapse

    Joined:
    Sep 13, 2014
    Messages:
    343
    The old system of clearing the cache was so much quicker. This one takes forever. Why was it changed. I've been waiting for about 30 minutes now and its still going. At this point should I just I leave it over night?

    upload_2018-12-26_17-23-13.png
     

    Attached Files:

    • upload_2018-12-26_17-16-9.png
    • Agree Agree x 6
  2. Smirkyguy

    Smirkyguy
    Expand Collapse

    Joined:
    Sep 23, 2016
    Messages:
    25
    how many freakin mods do you have installed??? o_O

    mine takes 2 minutes to clear cache with 30 mods
     
    • Agree Agree x 1
  3. CrimsonCrocodile

    CrimsonCrocodile
    Expand Collapse

    Joined:
    Jun 27, 2017
    Messages:
    1,302
    Agree, it's super annoying, especially for skin creation when I need to regularly clear cache to get my skin to show up.
     
  4. Tsutarja495

    Tsutarja495
    Expand Collapse

    Joined:
    Mar 16, 2014
    Messages:
    743
    Why not just manually delete the cache folder?

    It's located in Documents\BeamNG.drive\.
     
    • Agree Agree x 1
  5. Danny Werewolf

    Danny Werewolf
    Expand Collapse

    Joined:
    Mar 31, 2017
    Messages:
    2,185
    Because...…….people are lazy...

    But yeah, you have a good point. I'll try and doing that for now.
     
  6. Nadeox1

    Nadeox1
    Expand Collapse
    BeamNG.Support
    Staff Member

    Joined:
    Aug 5, 2012
    Messages:
    13,050
    You have 111k folders, and 110k files are being moved into the backup folder.

    Moving to backup folders happens when you have files that do not belong to the game, that are located in folders they don't belong to. For example a mod placed in the wrong folder.

    That's a very high number for moved files, it means a lot of your stuff was in the wrong place.
     
    • Agree Agree x 1
  7. sjbphoto

    sjbphoto
    Expand Collapse

    Joined:
    Sep 13, 2014
    Messages:
    343
    My mods are allocated on a completely different harddrive than the game, so I don't think that's the problem.
    --- Post updated ---
    I see, I didn't realise that. Does that mean that it will get better each time? Thanks for the response!
     
  8. Danny Werewolf

    Danny Werewolf
    Expand Collapse

    Joined:
    Mar 31, 2017
    Messages:
    2,185
    Why does the game Verify Integrity after I press Clear Cache? I'm just curious, as I don't think it was answered here.
     
    • Agree Agree x 2
  9. Nadeox1

    Nadeox1
    Expand Collapse
    BeamNG.Support
    Staff Member

    Joined:
    Aug 5, 2012
    Messages:
    13,050
    It was answered in the 0.15 feedback thread.
    The 'Clear Cache' does not just blindly remove* stuff.
    It first runs an integrity check to see what files need to stay.
    For example we don't remove your vehicle configurations, or levels files (for distracted modders :D).
    Once it checks that, it then decided what to delete, what not to, and what to move into the backup folders (ie. files that should not be in a specific folder).

    It can take longer or less, depending on how much stuff you have there and how long your PC takes to go through them.
    OP has 11K folders and 100k files, which is a lot.


    *it really just moves them to a backup folder, in case somebody does that to only find out it has wiped its WIP mod or similar cases. The backup folder is not loaded by the game, and you can remove it anytime.
     
    • Informative Informative x 1
  10. sjbphoto

    sjbphoto
    Expand Collapse

    Joined:
    Sep 13, 2014
    Messages:
    343
    Hey so, I figured this out a while ago, but its not a problem any more. It only actually takes about 1 minute, the problem was that my User file was set to the root of the drive, so it tried to move my entire steam library to backup which broke a bunch of shit. but its fixed now and it quick. you can lock this thread or delete it if you need/want
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice