craftablescience / craftablescience/VPKEdit
Root items first character cut off
@craftablescience is already working on this.
Since Aug 6, 2026.
- Dominant language
- C++
- Stars
- 746
- Forks
- 56
- Avg merge
- 5d 16h
- Merged PRs (30d)
- 2
Description
Describe the Bug
Creating a VPK from a folder while being inside said folder (i.e the current directory) results in the created VPK having the first letter of its root items cutoff. This does not occur when you are in the parent directory and select the same folder.
An example of what happens is that "materials", "models", and "mod.json" folders and file get the first letter cutoff, resulting in "aterials", "odels", and "od.json"
https://github.com/user-attachments/assets/7cde1c66-0284-4477-b358-9efd69d167ca
To Reproduce
- File -> Create From Folder -> VPK
- Set any of the settings to anything
- Go inside the folder you want to turn into a VPK, and make sure the current directory is what is being used
- Save it somewhere nice
- Open it, and observe that the first letter has been cut off for each root folder/file item
VPKEdit Version
VPKEdit v5.0.0-beta.4
Operating System
Operating System: EndeavourOS, Kernel: Linux 7.1.5-arch1-2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.