VPKEdit icon indicating copy to clipboard operation
VPKEdit copied to clipboard

VERY buggy portal 2 vpk editing

Open Floppicus opened this issue 11 months ago • 7 comments

Describe the Bug

When i try to save portal 2 vpk file it will mess up other files that have been changed, for example i added a new material and vmt and saved: material is not showing up (as the image itself) and vmt has the material raw file

To Reproduce

  1. Open portal 2 vpk
  2. Add two of any file
  3. Save it

VPKEdit Version

4.4.0

Operating System

Windows 10

Floppicus avatar Jan 12 '25 09:01 Floppicus

I can't reproduce this, please describe the bug in more detail

craftablescience avatar Jan 12 '25 09:01 craftablescience

The bug is caused when adding new files to the portal 2's vpk, usualy it will only save 1 file's code and apply to every new file added. For example: There are 2 files that i added, one called "orangebot.vtf" and second one "menu.txt", after you saved the vpk file and then restarted vpkedit it will override orangebot.vtf to have whatever menu.txt had written. Also this bug only happens in portal 2 image image

Floppicus avatar Jan 12 '25 11:01 Floppicus

Sorry, I can't reproduce this still. Are you deleting the original files before saving the VPK?

craftablescience avatar Jan 12 '25 20:01 craftablescience

They get replaced by the files im adding

Floppicus avatar Jan 20 '25 14:01 Floppicus

Sorry for late answer i didn't notice your reply

Floppicus avatar Jan 20 '25 14:01 Floppicus

No I mean the files on the filesystem that you are adding, not the ones in VPKEdit's interface

craftablescience avatar Jan 20 '25 20:01 craftablescience

I don't delete any files on filesystem or on vpkedit when im adding or after adding

Floppicus avatar Jan 21 '25 16:01 Floppicus