Replace multiple mat files at once
HeilanMo opened this issue · 3 comments
HeilanMo commented
Hey, is it somehow possible to replace multiple mat files at once. I would like to replace all textures from the first level but the cnd file has 162 textures and I can only replace them one by one. Is it for example possible to add a complete folder with the mat files to the cnd?
smlu commented
Hey, yes it's possible to replace multiple mat files in one go.
You should be able to execute the command cndtool add material --replace
on multiple *.mat
files.
e.g.:
cndtool.exe add material --replace some_level.cnd mat1.mat mat2.mat mat3.mat mat4.mat
Side note: I'm upgrading cndtool
to convert CND to NDY file format. When it's finished you won't need to patch CND files anymore.
HeilanMo commented