Skip to content

Regeneration based off DNA? #268

Answered by nftchef
h0rizons asked this question in Help + Q&A
Discussion options

You must be logged in to vote

The util script rebuildAll is built for this case.

To regenerate/rebuild a collection with "mutations",
Save the original _dna.json file that is output in the build directory (always back up the build directory)

then, change the artwork in your layers directory being sure the filenames remain exactly the same,
then, running the following will create a "mutated" collection

node utils/rebuildAll.js -s path/to/_dna.json

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nftchef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #213 on November 10, 2022 08:00.