NvC-DmN-CH / AutoVTF

AutoVTF is a C# Winforms program for working with VTF files in an intuitive and less tedious way
61 stars 1 forks source link

[Feature Request] Subdirectory Output #2

Open Jofoyo opened 6 months ago

Jofoyo commented 6 months ago

Hey quickly very nice job on this, I had planned on making something similar but never got around to actual implementation past the GUI.

Can we get a custom output directory? I try to keep my texture sources in game/materialsrc rather than game/materials as it makes it easier to package a final product and keeps things a bit tidier.

Ideally this would mean materialsrc/nature/grass01a.psd can get compiled to materials/nature/grass01a.vtf even if nature/grass doesn't exist yet.

NvC-DmN-CH commented 6 months ago

Oh, interesting

Also thank you!

I'd be down to do that, do you have an idea on where to put that option so that it's easy to use when needed, yet is hidden from the user when they don't need it? (Like the rest of the functionality, that's kinda my design philosophy with this program)

Jofoyo commented 6 months ago

Oh, interesting

Also thank you!

I'd be down to do that, do you have an idea on where to put that option so that it's easy to use when needed, yet is hidden from the user when they don't need it? (Like the rest of the functionality, that's kinda my design philosophy with this program)

I think it should be alright in this case to just add a second directory beneath the watch folder. I don't see a good way of hiding it without further cluttering things with additional buttons or tabs. But I think that whole menu will work fine as a little settings hub anyway since it all gets hidden as soon as you need it to, and it should be okay, mostly down to keeping it legibly stacked and organized.

If left blank you can just set it to export like normal to the working directory that way all you need is another directory and browse and goto button. Maybe indicate it's optional somehow within the directory space.

Another small thing is maybe make it so the goto buttons are blacked out when no directory is present, since it's not usable until ones set and that should give an impression of slightly less clutter.

NvC-DmN-CH commented 6 months ago

Oh yeah the goto button thing would be a nice touch

I think it would be best to add a triple dot icon somewhere which shows a dropdown menu, with an option to open some global settings menu which currently aren't configurable. This would also be a good place to put the functionality for the other open issue with the suffix stuff.

For this functionality, the dropdown could have a Output Mode -> Same folder as image and Different folder or something like that, with the first option being set by default. When you choose the 2nd one, what you described happens (adds another folder input below the existing one)

I'm hoping that this will feel intuitive to use and not bloated or something