0 of 0

File information

Last updated

Original upload

Created by

SuchPotential

Uploaded by

PeachTosser25

Virus scan

Safe to use

About this mod

Simple batch file that makes identical files within the FO4VR Data folder into hard- or sym-links to their Pancake counterparts, saving almost 20gb of disk space!

Permissions and credits
Changelogs
If you're like me and like to have separate setups for your Pancake and VR versions of Fallout 4 on the same drive, but are limited on disk space, this is the mod for you!

When I saw that many of the files for the VR version of the game were the same size as the files in the Pancake version, I had an idea. After checking using the binary comparison tool WinMerge to see that the files are indeed identical down to the bit, I created a batch file that removes the bulky files from the VR data folder and instead points it to the same file in the pancake data folder! All of the files that are identical are included, if the files differed at all, they were not included. 

Only usable on NTFS formatted drives (Likely C:\) as symlinking is a feature of the NTFS format.
THIS SCRIPT WILL NOT WORK ON FAT FORMATTED DRIVES.
If you try to use it on a FAT drive, it will only delete your files, requiring you to run the script again in "Remove" mode to restore your files.

Any changes you make to pancake version of the files will be reflected in the VR version, such as ShambleS1980's script to integrate torcher's Texture Optimization Project into the Fallout4 - TexturesX.ba2's in your data folder. Shout out to these guys for giving me the template for creating my script!
PLEASE NOTE! Running FO4VR using these optimized Texture files is not tested and you may not have perfect results.

The batch file also includes the option to create links to the DLC files (if you have them). If you do choose to link your DLC to your VR installation I would highly recommend also grabbing Maduin81's Fallout 4 VR and DLC standalone bug fixes as well!
Also, if you are using RDTG's Fallout 4 VR Optimization Project, download the optional file  starting with RTDG and run it just like the main file of your choice AFTER YOU INSTALL HIS MOD. Run batch again in "Remove" mode before uninstalling. Again, I would highly recommend getting this mod as it improves VR gameplay dramatically.

------------------------------------------  FOR SYMLINK VERSION -------------------------------------------

A Symbolic Link, or Symlink, changes the file from having two copies of the data on the drive, each game pointing to its own copy, to the VR version of the files pointing to the same file in the pancake version, since they are identical.
This is essentially just creating pointers to the same files in the pancake folder in the form of .symlink files, which the game reads as if they were the normal files. The upside to Symlinks over hardlinks is that Windows properly reads your file structure as saving the space this mod is designed to save!

Instructions:

1. place the batch anywhere you like, VR Data folder recommended
2. run the batch file by right-clicking it and selecting RUN AS ADMINISTRATOR, it will not work if you don't.
3a. when asked, copy the path to the Data folder from your pancake version (surrounded by quotes) into the window and hit enter. 
3b. copy the path to the Data folder from your VR version (also surrounded by quotes) into the window and hit enter. 
          i. The paths must be surrounded by quotes because of the spaces in them.
4. follow prompts, make selections when asked.
5. ?????
6. PROFIT!

------------------------------------------  FOR HARD-LINK VERSION -----------------------------------------

For those who don't know, a hard-link changes the file from having two copies of the data on the drive, each game pointing to its own copy, to both games pointing to the same data on your drive, since they are identical.
Because this is essentially just creating pointers to the same data as the pancake version of the files, the VR folder will show that the files are the same size as the pancake files, taking up the same amount of space. This is due to the way Windows Explorer reads the file structure. Rest assured, the space is indeed saved regardless of whether Windows says so or not.

Instructions:

1. place the batch file in your VR data folder
2. run the batch file by double-clicking it. DO NOT RUN AS ADMINISTRATOR, it will not work if you do.
3. when asked, drag and drop the Data folder from your pancake version into the window and hit enter.
4. follow prompts, make selections when asked.
5. ?????
6. PROFIT!

-------------------------------------------------------------------------------------------------------------------


If you want the same thing, but for Skyrim VR, look no further.

This took me a few hours to set up, so if you really like what I've done please don't forget to Endorse!
Top