Is your feature request related to a problem? Please describe.
I just encountered a problem with the indexing when dumping all/loading all [Pro]designs.
Designs with numbers in front will mess up the loading process and shift the patterns.
Describe the solution you'd like
either an option to turn on indexing on or off or creating a seperate folder for either indexed or indexless files.
Describe alternatives you've considered
deleting the extra files does the trick.
Additional context
here is the issue im talking about btw
could potentially do something like this:
private static void Dump(this DesignPattern dp, string path, int index)
{
var name = dp.DesignName;
if (settings.DumpIndexing) {
// Dump with index
fn = StringUtil.CleanFileName($"{index:00} - {name}.nhpd");
dest = Path.Combine(path, fn);
File.WriteAllBytes(dest, dp.Data);
}
else {
// Dump without index
var fn = StringUtil.CleanFileName($"{name}.nhpd");
var dest = Path.Combine(dest, fn);
File.WriteAllBytes(dest, dp.Data);
}
}
Is your feature request related to a problem? Please describe. I just encountered a problem with the indexing when dumping all/loading all [Pro]designs. Designs with numbers in front will mess up the loading process and shift the patterns.
Describe the solution you'd like either an option to turn on indexing on or off or creating a seperate folder for either indexed or indexless files.
Describe alternatives you've considered deleting the extra files does the trick.
Additional context here is the issue im talking about btw![issue](https://user-images.githubusercontent.com/44379110/137603328-7cee943c-3699-4229-8246-478352d7b7f7.png)
could potentially do something like this: