Skip to content

Added VPK extract and create features#1

Open
andreamatt wants to merge 5 commits intofwdcp:masterfrom
andreamatt:master
Open

Added VPK extract and create features#1
andreamatt wants to merge 5 commits intofwdcp:masterfrom
andreamatt:master

Conversation

@andreamatt
Copy link
Copy Markdown

@andreamatt andreamatt commented Jan 6, 2018

Main changes:

  • added VPK.extract(destination)
  • added VPKcreator class
  • allows loading a directory (VPKcreator.load())
  • saving it (VPKcreator.save(destination)) to a new .vpk file (only for V1 vpks atm)
  • now requires fs-extra
  • module.exports = { VPK, VPKcreator }

- added extract(destinationDir) method - commented some code
- removed require('path') (never used) - added loaded (boolean) property
- added a few more exeptions handlers - commented MAX_PATH (never used)
- added VPKcreator class: use load and write to create a vpk file of a directory (ONLY FOR V1 VPK)
- now exports { VPK, VPKcreator }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant