VPKEdit icon indicating copy to clipboard operation
VPKEdit copied to clipboard

Enable saving to directory VPK by default when filename does not end in _dir

Open AtomicTEM opened this issue 8 months ago • 1 comments

Describe the Bug

Adding a .json to a vpk though vpkedit will split the vpk but not append the original vpk with _dir.vpk

To Reproduce

  1. Open a Vpk in VPKEdit on a HDD
  2. Add mod.json
  3. Save vpk changes
  4. Open file location in file manager to see bug

VPKEdit Version

4.4.2

Operating System

Windows 10

AtomicTEM avatar Apr 10 '25 01:04 AtomicTEM

Currently you have to explicitly enable saving to the directory VPK per-file. It defaults to making a new archive. I suppose saving to the directory VPK should be enabled by default if the VPK name does not end in _dir.

craftablescience avatar Apr 10 '25 01:04 craftablescience