title: Creating Texture Atlases with Folder References rather than Groups
body: <p>Many of the resources in my project are located in folder references rather than groups, i.e. blue, not yellow folders. This is for a number of reasons - I considered both solutions, and folder references were the better option (I do things like </p>
  
  <p><code>imagePaths = [[NSBundle mainBundle] pathsForResourcesOfType:@"png" inDirectory:directory];</code></p>
  
  <p>)</p>
  
  <p>According to <a href="https://developer.apple.com/library/ios/recipes/xcode_help-texture_atlas/Recipe.html#//apple_ref/doc/uid/TP40013290-CH1-SW1" rel="nofollow">this guide</a> I just rename the containting folder, however if I rename any of the folders containing the assets to <em>folder</em>.atlas, this is taken literally as part of the path name, and none of the contents are found. </p>
  
  <p>Is the only way to do this to generate the atlases manually using something like TexturePacker? My code is rather heavily dependent on pathnames, so I would have to do a lot of re-writing... </p>