… | |
… | |
173 | |
173 | |
174 | (my $base = $stem) =~ s/^.*\///; |
174 | (my $base = $stem) =~ s/^.*\///; |
175 | |
175 | |
176 | my $fi = $FACEINFO{$base}; |
176 | my $fi = $FACEINFO{$base}; |
177 | unless ($fi) { |
177 | unless ($fi) { |
178 | warn "$path: <$base> not referenced by any archetype, skipping.\n"; |
178 | #warn "$path: <$base> not referenced by any archetype, skipping.\n"; |
179 | next; |
179 | #next; |
180 | } |
180 | } |
181 | |
181 | |
182 | my $arc = $FACEINFO{$base}{arc} |
182 | my $arc = $fi->{arc} || { }; |
183 | or die "FATAL: internal error <$base>, cannot continue"; |
|
|
184 | |
183 | |
185 | unless ($path =~ /~$/) { |
184 | unless ($path =~ /~$/) { |
186 | # possibly enlarge |
185 | # possibly enlarge |
187 | if (0 > aio_stat "$stem.64x64.png") { |
186 | if (0 > aio_stat "$stem.64x64.png") { |
188 | my $other = "$stem.64x64.png~"; |
187 | my $other = "$stem.64x64.png~"; |