craftablescience / VPKEdit

A CLI/GUI tool to create, read, and write several pack file formats.
https://developer.valvesoftware.com/wiki/VPKEdit
MIT License
198 stars 15 forks source link

Add some more CLI features #43

Closed craftablescience closed 1 month ago

craftablescience commented 8 months ago
Nbc66 commented 8 months ago
  • [ ] Print file to console without saving

Could posibly have a --dry-run argument and just simulate the output vpk structer

Example:

vpkeditcli -o whaterver_dir.vpk --dry-run

The vpk will be structured as follows
Root/
 materials/
    File_1.vtf
    Folder/
      File2.vtf
NvC-DmN-CH commented 3 months ago

If you add support for extracting individual files, this would singlehandedly allow me to release my tool lol, I use a tool for vpk files written in python, but I don't want to rely on python

I'm making a very useful tool imo: it hooks into hammer, and when you press a shortcut, it looks what the currently selected prop is, and exports it to blender. You can compile it back from blender by pressing a button, and when you go back in hammer, you immediately see it changed. Can also compile the model as unique, affecting only the selected prop. And also has a functionality to combine multiple selected props into 1.

The cool thing is that it just expects blender to have Blender Source Tools installed, so all models are supported- (Maybe making use of SourceOps would be more handy, but I've only used BST)

So um, I'm explaining this to hopefully make you as excited as I am about this thingy and give you motivation to update the cli!

craftablescience commented 3 months ago

Oh that's sick, I can get this done

craftablescience commented 3 months ago

I'm really tired so I'm going to sleep now, and I have an event tomorrow after I wake up that will take a few hours. If I don't get this done in the next 24 hours make a callout post on my Twitter.com (just bump this thread, probably won't forget though)

NvC-DmN-CH commented 3 months ago

Oh it's okay, no need for urgency! Sorry if I made it seem like I'm waiting on you, it's going to take me a couple of weeks to get my program in a stable state. Really appreciate what you do

craftablescience commented 3 months ago

Woops I've put this on the backlog for way too long

Getting it done now

craftablescience commented 3 months ago

Extraction done

NvC-DmN-CH commented 3 months ago

Extraction done

omg

does the release for the CLI have this change?

craftablescience commented 3 months ago

I'm not cutting a release until I finish checking off this whole list, but here's the standalone binaries: VPKEdit-Linux-Standalone-CLI-gcc-Release.zip VPKEdit-Windows-Standalone-CLI-msvc-Release.zip

craftablescience commented 1 month ago

This is finally done, release will be up in under an hour