Closed braem closed 3 years ago
Im regards to the postcompiler, it looks for the srctools.vdf
config file in each parent directory from the passed in BSP, so you could place one in mapsrc
or any parent folder. I'd suggest you actually do so, and say configure the auto-pack to exclude all the existing default folders, set the game folder, and whatever options seem reasonable. The default game folder is Portal 2 only because that's what I normally mod, I should make it blank and cause an error until it's set probably.
Im regards to the postcompiler, it looks for the
srctools.vdf
config file in each parent directory from the passed in BSP, so you could place one inmapsrc
or any parent folder. I'd suggest you actually do so, and say configure the auto-pack to exclude all the existing default folders, set the game folder, and whatever options seem reasonable. The default game folder is Portal 2 only because that's what I normally mod, I should make it blank and cause an error until it's set probably.
Yeah i will add it for those that want to use it.
Though the issue i was getting at is that a large majority of our mappers are not expecting to have that file in their own mapping folders, as they have never used the postcompiler. It would be nice to have the default point to the respective game so ppl arent expected to do this. I just disabled it by default until we can think of a better solution.
Added a -game/--game argument working like the other compiler tools, so it can be specified there.
Closes https://github.com/ChaosInitiative/Chaos-FGD/issues/54
Creates the
.zon
file and copies it over to game, using the newly added special cmd so that trying to copy a non-existent.zon
file doesnt fail the compile.I do also have some code changes that allows this to be nicer, so that the zonmaker executable can be run with
$zonmaker_exe
and the zones folder can be found with$zondir
.. though it required a lot ofMOMENTUM
ifdefs so I elected to go this route. Can always go the other route, would be nice to have zonmaker run on normal compiles too.