This will require changes to game release CIs and hammer build scripts!
I have modified the build scripts to output files in the structure of the specified game. For CI now this should be a simple folder copy. For our bin repo, bin/[win64/linux64]/postcompiler/transforms folder should be removed as it will copied over here. Eventually we'll move to building the postcompiler & copying all of that over from this repo.
More to the issue, the build scripts now deal with game-specific hammer cfgs (CmdSeqDefault.wc and GameConfig_default.txt). The way it's written should allow really anything in the hammer folder to be easily made game specific, by having a base (eg. cfg/) and both game-specific folders (cfg_momentum/ & cfg_p2ce).
To prepare for a future where we perhaps get the hammer files from the github action, I have it uploading all files now instead of just the FGDs. This is quite heavy as both games on both runners are uploading a lot of duplicates (~90MB total), but it makes it very easily to copy everything in CI.
I stopped copying over instances as i didnt see them anywhere in release.
Closes https://github.com/ChaosInitiative/Chaos-FGD/issues/37
This will require changes to game release CIs and hammer build scripts!
I have modified the build scripts to output files in the structure of the specified game. For CI now this should be a simple folder copy. For our bin repo,
bin/[win64/linux64]/postcompiler/transforms
folder should be removed as it will copied over here. Eventually we'll move to building the postcompiler & copying all of that over from this repo.More to the issue, the build scripts now deal with game-specific hammer cfgs (
CmdSeqDefault.wc
andGameConfig_default.txt
). The way it's written should allow really anything in the hammer folder to be easily made game specific, by having a base (eg.cfg/
) and both game-specific folders (cfg_momentum/
&cfg_p2ce
).To prepare for a future where we perhaps get the hammer files from the github action, I have it uploading all files now instead of just the FGDs. This is quite heavy as both games on both runners are uploading a lot of duplicates (~90MB total), but it makes it very easily to copy everything in CI.
I stopped copying over instances as i didnt see them anywhere in release.