[TF2] War Paint creation tools, or unlink War Paint data from proto_defs
One of the biggest limitations of War Paints as a whole is how little creative freedom you have in creating them. You're limited to reskinning currently existing War Paints templates and requesting features be enabled which can only really be visualized if it's accepted for the game. For the actual creative process there are ways to work around it, but it requires a lot of manual work to visualize and it gets very file-size dense if you make multiple unique templates for each of the 45 items associated. To get what I mean, here's my guide I wrote on War Paint functionality: https://steamcommunity.com/sharedfiles/filedetails/?id=2745474262
I have 2 different ideas for how War Paints can be utilized better by the community: The first idea would be to retire the original War Paint creation method of reskinning already existing War Paints, and instead add in a proper importer tool that allows you to tweak each individual variable of a template.
The second idea would be to de-link all War Paint related strings from proto_defs, and bring back a system similar to how paintkits_masters was not encrypted and not .sig locked for Decorated Weapons. This would allow people to modify strings locally and then make sure all their code works before submitting any new War Paint templates to the Workshop.
War Paints have a lot of features that don't really get used by any template that could really be useful to the community. An example of how it could work would be some of my personal work: https://steamcommunity.com/sharedfiles/filedetails/?id=2820664505, https://steamcommunity.com/sharedfiles/filedetails/?id=2807172839, https://steamcommunity.com/sharedfiles/filedetails/?id=2785656314 Which has the proper 'code' to function, but to visualize it all I had to manually reconstruct every single weapon's UV from scratch to get promotional material for it.
This is a bit of a long-winded request, but to create my own War Paint templates from scratch I've had to put upwards of 40-60 hours of work into reconstructing every weapon from scratch. I'm very passionate about my craft, and would love to streamline the experience of making them.
Rocks has been creating an advanced war paint viewer/editor for a month now. https://rhgx.github.io/warpaint-viewer/ It supports traditional texture spawning alongside advanced rotation, grouping, sticker placement changes and even a node based editor. You can even upload your existing proto defs and texture files. Would be really cool if the war paints created in there can be uploaded to the workshop with a "gold star rating" similar to the cosmetic importer. So the creators can have more freedom and the import process would be much smoother for valve.
Adding some info from the closed duplicate as it contains more up-to-date information and additional possible paths to resolving this issue (moving here to keep discussion in one place):
The main crux of this issue is that, currently, it's difficult to submit custom-written war paint definitions in a way that's usable, because the uncompiled working format used by valve to write them has not been made public. We believe the working files to be a set of .txt files located in a file structure within scripts/protodefs/unencrypted/ based on code in the sdk whose purpose seems to be removing those files from Perforce P4, but these have not been released, and we do not know the actual format of those text files. We are able to convert proto_defs.vpd into json and back to learn/experiment/edit/create, but in order to submit workshop submissions with this work we're left either submitting edited json (not likely the format valve uses and thus useless), or a recompiled vpd (also likely useless to valve).
This issue suggests a proper importer tool, or decoupling war paint definitions from proto_defs. While these would likely solve the problem, they would require likely significant dev work from Valve, and as such I suggested two easier options:
-If Valve were to make publically available the unencrypted text files that get compiled into proto_defs.vpd, this would allow War Paint creators to both submit new definitions in a feasibly-usable way, and allow creators to communicate more effectively with Valve when requesting alterations and/or fixes. If Valve is not willing to make public such a large number of asset work files, releasing a miniscule subset would still allow us to provide the correct format in Workshop submissions (even just one paintkit definition file e.g. workshop_necromanced and one operation file e.g. multiply_skin_with_stickers_team_color).
-Additionally, or alternatively if Valve is not willing to make any of the uncompiled files public, whatever tool/script/module Valve uses to compile these working files into proto_defs.vpd would also be very useful for testing new submissions. Any publically-released version of this tool DOES NOT need to include Valve's private encryption keys to generate the .sig file; if the tool natively includes them a neutered version that uses bogus keys would be fully sufficient (the community already uses a plugin to locally bypass the .sig in order to test their work in-game). This would allow workshop creators to properly test their submissions to, again, improve their quality.