Resource icon
After extracting about 1000 presets from the scenes, it seems that this script handles only around 40% of them. In 40% of cases it does not transfer character morphs from json to vap file. It does not matter if there are 1 or 3 characters in the scene. I wish it would be corrected.
EDIT: I found out that if I delete 4 lines - 195 to 199, all morphs are transfered successfully to the VAP file. strange. Could the author look what happens?
cartitolaire
cartitolaire
Can you send an example of a problematic scene? Those lines are meant to filter out properties that are irrelevant to the pose, which helps with filesizes and deduplication, but it could somehow be catching something significant.
Upvote 0
Question: If you run it twice will it skip ones already created?
Upvote 1
Extra points for properly shaming look creators who don't package appearance presets in their .vars
Upvote 1
I have no basic python knowledge, but I did it using your explanation and chatgpt

It works well and has been very successful

thank you so much bro!
Upvote 0
It did a good job, just kept crashing with any version of ascorad's Heads Will Roll scene. Suggest to look into why it did that.
cartitolaire
cartitolaire
Crashing? Hanging, or crashing with a stacktrace?
Upvote 0
Thank you so much, i hate all those "scenes" that only shows the look and nothing more.
cartitolaire
cartitolaire
I hate that pattern so much.
Upvote 1
Amazing
Upvote 0
Ok, call me impressed. This script plowed through 1300 vars in a few minutes. It's sooo much faster than "Var Looks Scanner plugin". Thank you for this incredible timesaver. You might consider compiling this with cx_freeze and releasing it as an executable. Kudos!
Upvote 0
Very handy utility
Upvote 0
I was getting some errors, so I had to put "encoding='utf8'" in some places in the code, but now it is working fine. Although I still work on legacy 'appearances' and I will have to manually convert all files to that format, your script is going to save a lot of my time.

I still get "json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes" errors on some scenes, but I think those are just corrupted JSON files and it has nothing to do with your code.
cartitolaire
cartitolaire
Interesting. I didn’t encounter that with any of my scenes but I’ll add the explicit encoding, that’s probably best practice anyway.
Upvote 0
You're a god !
Upvote 0
saves a lot of time!
Upvote 0
Back
Top Bottom