Closed draakuns closed 4 years ago
This is a Blender limitation. It cannot read the .dds format that SC uses, where the .dds file just contains header info and the .dds.0, dds.1, etc files contain the actual textures. Blender tries to read the dds file and just doesn't recognize the format.
That is why the -tif argument exists. You can convert those dds files to tif format with an image converter, and then the Importer will look for the .tif version of the image file. The reason you are seeing those errors is that the image files weren't converted prior to trying to import into Blender. I'll update the docs to make this a bit more clear, so will leave this issue open until that is done.
Hey Mark,
unfortunately, I converted every single dds on SC objects dir prior to the cga & cgf convert. I will double check, as I can be so lucky that from 15k DDS files I'm sure I got the model (cherrypicking) that failed dds conversion. Will check that, but what I was trying to show on the code window is that the Collada import seem to fail when the images dir contains spaces.
Anyways, will double check that the files are there, just in case it's a logging issue with the namespaces in Blender.
Will update! Draakuns.
Oh shoot, I misread the original post. Yes, spaces are a problem in the current app. There might be a way to fix this, so I'll leave this issue open until then.
I've tracked this down to a bug in Blender. I tried to wrap the path in quotes to see if it could find the file, but it still couldn't handle the spaces. I'm going to open a bug at Blender to see if they can get this fixed.
It's pretty rare for a Cryengine game to have a space in the directory. Almost every game out there uses underscores. No idea why SC had to be different on this particular folder. :(
I think I got this fixed. Found a bug in the program. It will be updated as part of the 1.0.6 release.
Fixed in 1.0.6.
Thanks @Markemp It was only needed for a few SC files, but was an overall problem anyways...
Thanks again!
Hi,
I tried to check why some collada files were not importing the materials, and I just saw something funny...
Collada file:
Collada (in blender) import log:
As you can see, it is loading textures from a non existent path, and starts missing on the space on "lr7 uopp".
But not sure if this is your converter or just a blender issue-limitation, honestly...
Thanks, Draakuns