Open mrwallace888 opened 1 year ago
I apologize for the inconvenience and the confusion. Let me describe what Crowbar actually does when compiling.
Crowbar has always called a game's studiomdl.exe, which does NOT have any way to compile the model files into any other folder except where the QC file's $modelname states within the game's "models" folder. Crowbar, as indicated in the image provided in first post, moves the compiled model files after studiomdl.exe compiles them.
I have on my ToDo list to have Crowbar temporarily rename any existing model files before running a compile and then rename them back after a compile, to prevent the problem you described. However, I am not sure when that feature will be implemented.
I can think of two workarounds that might work for your situation. Workaround One: Rename the existing "models" folder to something else before compiling and then rename it back to "models" after compiling. Workaround Two: Pack the "models" folder into a VPK and place the VPK in a folder that the game can use, and then delete the "models" folder.
Despite both my input and output folders being in a different directory, Crowbar is going into my game directory's files and deleting/moving the model files from the game entirely when I compile. Why? How do I get it to not do that?