HashLips / hashlips_art_engine

HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.
MIT License
7.18k stars 4.3k forks source link

I Need Help Combining collection #1095

Open metamacias opened 2 years ago

metamacias commented 2 years ago

I had to run the program 3 separate layer orders. the program wouldn't run the // Alternative Layers & //mask layer order so i ran them separate. I now have 3 different folders with metadata. I also had to go through every single file and removed any images along with their metadata that had impurities or printed wrong. how would I put them together and update the metadata as one?

{ // Original Layers growEditionSizeTo: 8125, layersOrder: [ { name: "Background" }, { name: "Backpack" }, { name: "Skin" }, { name: "Shell" }, { name: "Eyes" }, { name: "Lips" }, { name: "Arms" }, { name: "Accessories" }, { name: "Hairstyles" }, { name: "Headwear" },

],

}, { // Alternative Layers growEditionSizeTo: 3250, layersOrder: [ { name: "Background" }, { name: "Backpack" }, { name: "Skin" }, { name: "Shell" }, { name: "Eyes" }, { name: "Lips" }, { name: "Arms" }, { name: "Hairstyles" }, { name: "Accessorize Plus" }, { name: "Headwear" }, ], }, { //mask growEditionSizeTo: 1625, layersOrder: [ { name: "Background" }, { name: "Backpack" }, { name: "Skin" }, { name: "Shell" }, { name: "Eyes" }, { name: "Lips" }, { name: "Arms" }, { name: "Mask" }, { name: "Headwear" }, ], },

];

bolshoytoster commented 2 years ago

@M3taMacias you won't be able to because the edition numbers will probeably have collisions. You could instead generate with my repo because I think I've fixed this.

metamacias commented 2 years ago

how would I update the meta data. of instance if I had to remove file 3, 10, and 15, and its metadata because they came out bad could I run an update where it renames the files for me. file 4 would become 3 and 11 become 10 and ect, ect...

bolshoytoster commented 2 years ago

@M3taMacias you can't, it would be quite hard.

metamacias commented 2 years ago

ok what if I renamed all of them myself would that cause issues?

bolshoytoster commented 2 years ago

@M3taMacias it shouldn't, but it'll probably take a while and humans tend to make mistakes.

If you're going to do it, it's probably easiest to just edit _metadata.json since you'd just need to delete the bits you don't want then change the edition properties. You can then run node utils/update_info.js to update the individual files.

metamacias commented 2 years ago

can i use the same method if i wanted to update the names of each individual one?

bolshoytoster commented 2 years ago

@M3taMacias yes.

metamacias commented 2 years ago

will this automatically update image file as well?

bolshoytoster commented 2 years ago

@M3taMacias oh, no - you'll have to delete/rename them yourself as well.