2
$\begingroup$

enter image description here

Inside a packed .blend file, images with same name are shown with different numeric suffixes. These come from files that have the same name but are in different paths in the filesystem. example: \..\someProject\textures\Adam\car\base color.png

\..\AnotherProject\textures\Beth\car\base color.png

\......\someOtherFolder\pelicans\base color.png

When unpacked, Blender only writes one of these images in the textures folder. It "forgets" all the others. Every material now points to this one remaining file.

\.\textures\base color.png

I want to be able to recover all of these files somehow, even if they are renamed /appended with numbers to make them unique.

I am aware of the unpack option "to original locations" but realize: I may be unpacking into a filesystem that bears no resemblance to the one in place when the file was written. Worse, if it's only similar, I will be introducing scattered and un-trackable folders and files back across a network that someone is trying to keep clean. So, before it gets suggested, know that the "original locations" option is not viable.


I tried to recreated this problem: make two images with the same name but different folder, and import as images textures for two materials. The second image was renamed with a .001 suffix. Then i packed these two images into .blend file. enter image description here

Below is my demo file, thanks @Harry McKenzie!

So is there any way to extract these renamed images? not "save them one by one" solution but something more efficent?

$\endgroup$
7
  • $\begingroup$ Hello and welcome! when you say "unpack resources", do you mean you have a blend file with these resources in it and then you do File > External Data > Unpack Resources... ? can you share the blend file? blend-exchange.com $\endgroup$ Aug 11, 2022 at 9:05
  • $\begingroup$ Why are suffixes after the file extension? $\endgroup$ Aug 11, 2022 at 14:06
  • $\begingroup$ @HarryMcKenzie Hi! Thank you for you reply! Yes, it's an alone .blend file, but it seems too big or something blend-exchange.com show errors. So i made a simple demo to show the same problem. You may want to check it out :) $\endgroup$ Aug 11, 2022 at 19:15
  • $\begingroup$ Yeah that is a good question by Duarte. Why do you have numbers after the extension? Did you generate those numbers or were they automatic? Anyhow it is still a bug and should be handled by Blender. I have reported a bug ticket here developer.blender.org/T100361 $\endgroup$ Aug 12, 2022 at 8:06
  • $\begingroup$ @niakouzuki can you give me the link where you downloaded the blend file with the packed base color.png.XXX files? $\endgroup$ Aug 17, 2022 at 16:32

0

You must log in to answer this question.

Browse other questions tagged .