Skip to content

About

Recreate H.Cache.bin from B.Cache.* files

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

OpenWF H.Cache.bin Rebuilder

Disclaimer

Check first if your wanted H.Cache.bin is available at: https://openwf.io/supplementals/static%20data/

Known issues:

  • Creating a H.Cache.bin that lacks some B.Cache files (e.g. Update Patch didn't have DirectX changes and therefore not being shipped) can create a broken H.Cache.bin file as a result
  • Accurate Oodle compression not implemented yet

Reconstruct the missing OpenWF H.Cache.bin override for a historical Warframe build from its active B.Cache.*.bin!E_<hash> manifests.

The tool creates these files in the same folder as the selected manifests:

H.Cache.bin!E_---------------------w
UNMANAGED

Usage

Select all active B.Cache.*.bin!E_<hash> files for one Warframe build and drag them together directly onto rebuild_hcache.py.

Do not drag only B.Cache.Windows.bin if you want a complete H.Cache.bin. H.Cache.bin also references the active DirectX and language manifests, so include the active B.Cache.* file for every logical manifest used by that build.

For example, a build may include:

B.Cache.Windows.bin!E_<hash>
B.Cache.Dx11.bin!E_<hash>
B.Cache.Dx12.bin!E_<hash>
B.Cache.Windows_en.bin!E_<hash>
B.Cache.Windows_de.bin!E_<hash>
...

The generated H.Cache.bin!E_---------------------w and zero-byte UNMANAGED file are written next to the dragged manifests.

Dragging files directly onto a .py file requires .py files to be associated with Python on Windows.

Command-line usage

You can also run the script normally:

python rebuild_hcache.py B.Cache.Windows.bin!E_HASH B.Cache.Dx11.bin!E_HASH ...

Or give it one directory containing the manifests:

python rebuild_hcache.py "D:\Patch\OpenWF\Content\0"

To write the generated files somewhere else:

python rebuild_hcache.py <files...> --output "D:\Output"

Existing H.Cache.bin files

Existing H.Cache.bin overrides are protected by default. The tool refuses to replace H.Cache.bin!E_---------------------w. Use --force only when you intentionally want to rebuild an existing override.

UNMANAGED

UNMANAGED is a zero-byte marker that tells the OpenWF Bootstrapper to trust the supplied H.Cache.bin instead of reconstructing or replacing it from the installation's H.Misc cache.

Requirements

  • Python 3.10 or newer
  • No third-party Python packages

About

Recreate H.Cache.bin from B.Cache.* files

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages