Forum Discussion
I agree that this was a gross oversight by the development team. But as far as I see there are basically 2 issues.
1) The folder is getting synced with a backup (e.g. via OneDrive). For me, this is not a big issue as I am on the 'unlimeted plan' for Backblaze and I don't have to care about storage space. And syncing on this drive should also not have any performance impact, but for those who have this issue, you should always be able to exclude this one folder (or the complete BF2042 profile) from your backup.
2) The limited storage space. As far as this is concerned, you should be able to manually create a junction there (given that the folder it with almost 100% certainty on a NTFS drive) and redirect this one folder to be located on any other drive that has enough space (and is fast enough). Google for mklink or the Sysinternals 'junction' tool how to do that.
The problem is that OneDrive doesn't have options to exclude folders. It is intended to be a simple tool that just works for regular users who don't understand such things. As such it is dependent on developers following basic guidelines that are HEAVILY documented and, as a professional developer myself, learned of the problems of dumping internal data into the documents folder from an education campaign ran before I started at university in 1997!!
If an (at the time) amateur teenage developer knew about this 25 years ago, I don't understand how an architect or developer somewhere in a major software house, working on one of the biggest games can still be that far out of date with their knowledge? This is a massively out of date technique that Microsoft has been educating developers about for decades. It just shouldn't be happening and needs to be fixed ASAP!
- OskooI_0074 years agoSeasoned Ace
Yup, C:\Users\AppData\ is the proper location for storing application data. Previous Battlefields store their shader cache data there.
- 4 years ago
All
This is a painful issue that EA likely won't resolve from what I've been reading. Here is a great workaround, especially for those using OneDrive with work credentials.This process will create a symlink (shortcut) in the Documents folder pointing to the Battlefield 2042 folder in the AppData\Local folder, where it should be...
1. Close Battlefield 2042 and make sure it isn't running
2. Delete the "cache" folder in "C:\Users\USERNAME\Documents\Battlefield 2042"
3. Move the "C:\Users\USERNAME\Documents\Battlefield 2042" folder to the desktop
4. Start Menu > Command Prompt > Right Click > Run as administrator
5. Paste the following command ensuring that you have the right USERNAME in this command (notepad helps)
mklink /D "C:\Users\USERNAME\Documents\Battlefield 2042" "C:\Users\USERNAME\AppData\Local\Battlefield 2042"
7. You will get a response "symbolic link created for..."8. In your Documents folder you will now see a shortcut called Battlefield 2042
9. Copy the folders in your Desktop\Battlefield 2042 folder to the "C:\Users\USERNAME\AppData\Local\Battlefield 2042" folder
10. Launch Battlefield 2042
11. You may get a pop-up, choose local
The game will load and if you check OneDrive, you should see it removing the folders/files since they aren't in the Documents folder anymore.
Camo Mike - 4 years ago@CamoMike63 I've tried running through your steps 3 times now and what I end up with every single time is that BF recreates the "Battlefield 2042" directory in "c:\Users\USERNAME\OneDrive\Documents" regardless of the fact that I now have a symlink in "C:\Users\USERNAME\Documents\Battlefield 2042" that is pointing to my local AppData which contains my files from step 3.
Are there any other steps required, to somehow prevent OneDrive from hijacking whatever system call BF2042 is making to create its directory in "Documents" and forcing it to be in OneDrive\Documents? - 3 years ago
@CamoMike63 wrote:All
This is a painful issue that EA likely won't resolve from what I've been reading. Here is a great workaround, especially for those using OneDrive with work credentials.This process will create a symlink (shortcut) in the Documents folder pointing to the Battlefield 2042 folder in the AppData\Local folder, where it should be...
1. Close Battlefield 2042 and make sure it isn't running
2. Delete the "cache" folder in "C:\Users\USERNAME\Documents\Battlefield 2042"
3. Move the "C:\Users\USERNAME\Documents\Battlefield 2042" folder to the desktop
4. Start Menu > Command Prompt > Right Click > Run as administrator
5. Paste the following command ensuring that you have the right USERNAME in this command (notepad helps)
mklink /D "C:\Users\USERNAME\Documents\Battlefield 2042" "C:\Users\USERNAME\AppData\Local\Battlefield 2042"
7. You will get a response "symbolic link created for..."8. In your Documents folder you will now see a shortcut called Battlefield 2042
9. Copy the folders in your Desktop\Battlefield 2042 folder to the "C:\Users\USERNAME\AppData\Local\Battlefield 2042" folder
10. Launch Battlefield 2042
11. You may get a pop-up, choose local
The game will load and if you check OneDrive, you should see it removing the folders/files since they aren't in the Documents folder anymore.
Camo MikeBrilliant idea using the symbolic link trick! I gave that a go and we will see if it helps with my performance (along with enabling DX12 in my config) file.
One tweak to suggest in the instructions is if a person is in this situation the original path to use for the mklink command will likely be "C:\Users\USERNAME\OneDrive\Documents\Battlefield 2042"
Side note: I was a little overzealous and actually closed OneDrive when I did this. Had to delete the cache folder online cause OneDrive got confuzzled when I launched it again. After deleting the online version if was right as rain.
- sk1lld3 years agoLegend
I don't know about you people but I just nuked Onedrive. I was sick of everything that was Onedrive. Tired of it sync 'in my files at bad times.
About Battlefield 2042 General Discussion
Recent Discussions
- 39 minutes ago
- 5 hours ago
- 24 hours ago
- 2 days ago