Generated all the manifest.json and named them $id_manifest.json in this zip: https://cdn.discordapp.com/attachments/1041270464271622234/1163308582591275079/female_manifest_json.zip?ex=653f1a8b&is=652ca58b&hm=6284e176678f846b1649b5a73d4267c842e975bba669491c9145c354d222c2a1&
I also generated 800x1356 thumbnails for each, and put into folders in this zip: https://cdn.discordapp.com/attachments/1041270464271622234/1163309952610357338/thumbnails_female.zip?ex=653f1bd1&is=652ca6d1&hm=a8af77c485562349baa00e99bf31ceac30dbb84ad269bd12753b69cf28e148fa&
the scripts I used are being uploaded here: https://github.com/M3-org/anata/tree/main/vrm/scripts
Need to debug some vertices being glued together in female clothing blend files
I modified the code a bit so it export each glass model with the same armature for each, maybe this scripts is also helpful in your side ๐ - memelotsqui
First go into vrm/male
or vrm/female
and get all the JSON metadata from NFTs into current dir
find ./ -iname "*.json" -exec cp '{}' . \;
Now we need to convert the NFT metadata to a more simpler form. Copy convert_json.py from vrm/scripts
and either the male or female renamed_traits.csv from metadata/csv
in the Anata repo to current dir. It is a CSV that contains two columns, "Original","Rename".
Running convert_json.py will then copy new files to converted_json folder with the metadata matching the project directory / filename structure. I go into this folder then select / rename everything to be *_renamed.json for organization.
Then bring attributes2.sh from vrm/scripts
and run in current directory to get simplified JSON per Anata, like below:
I want to get all the preview images into the VRM folders now for male, I'll fetch them from another place in Anata project repo this way (saved as vrm/scripts/copy_previews.sh
):
I need to crop them a bit for the UI, using this command to make them the same portrait resolution across the app:
I want to move all the *_attribute.json files to each folder in vrm/male
, I mv them from converted_json over to current dir and run this:
I'm starting with priority Anata first, and all these share the same skin texture so I want to copy the skintone texture to each folder.
Now to combine with eyes, this will 2x eyes resolution to match skin then composite. Just have to run against the folder, it will output skin-eyes_$dirname.png in that folder. Just need tattoos next and it's ready to be used.
Can batch convert with this snippet:
Score