ValueError: 'Eyes Deformed Tsumuri' is not in list #62
Labels
No milestone
No project
No assignees
6 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kkbp-dev/KKBP_Importer#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
i'm using the vanilla model, straight up after opening the chara maker for female, i just export it, i tried with other model and it still lead to the same error. [ValueError: 'Eyes Deformed Tsumuri' is not in list] what is this actually? why all of the vanilla model somehow can't find it?
The error is related to the new way the shape keys are generated in 9.2.0+. I released a new 9.2.1 version earlier today, could you try that version to see if it fixes it?
And if you're already on that version, what game are you using to export? I only tested this with KK exports and am now wondering if it's only happening on KKS exports
I'm using blender 5.1.1, it's using the latest version (9.2.1), there's nothing wrong when exporting out of koikatsu, but the problem always persist when importing into blender, and i'm using normal koikatsu
@kkbp-dev wrote in #62 (comment):
Hi poi, i wanted to chip in with this issue, i had helped a couple of people with the same issue, one thing i noticed that, is that they all don't have hfpatch installed, so i was wondering if its got something to do with the rx22 pack being outdated or missing plugins from hfpatch, When they have hfpatch installed it works without an issue.
at least that's what i've found out helping out people trying to get kkbp working, let me know if that is the case.
huh, i think that's the problem, i thought i dont really need to update the koikatsu part
@CB29 wrote in #62 (comment):
ya usually you wouldn't need to do hfpatch, in the previous older version of kkbp, i suspect it's got something to do with plugins or being outdated, with rx22
emm, I think replacing "key_blocks.keys().index" with "key_blocks.find" would work when "Eyes Deformed Tsumuri" is missing.
index = c.get_body().data.shape_keys.key_blocks.keys().index(key)if index > -1:bpy.context.object.active_shape_key_index = c.get_body().data.shape_keys.key_blocks.keys().index(key)bpy.ops.object.shape_key_move(type='TOP')list.index() do not return -1 when not found
@Sonogami_Rinne Good catch! Thank you for the correction
@CB29 @SirZealot

That's interesting. Could you possibly upload your KK_BlendShapeInfo.json file? It's in the same folder as the model.pmx file.
Since it isn't working on base KK, I'm wondering if you're missing these names at the bottom of the file
Also does this version of the importer let the import finish?
i checked my side dosen't seem like im missing any of the shapes, i do have hfpatch so, it'll have to be @CB29 to check if there's any issue on his end
Seems that we should "continue" if index == -1, or eyes will be removed somehow.
for key in gag_keys:bpy.context.object.active_shape_key_index = shapekey_block.find(key)@SirZealot wrote in #62 (comment):
ok sorry for the wait, finally i did it by using the HFpatch like you told me to, seems that the betterrepack didnt work even though there's already [DeathWeasel] Character Maker Poses v1.0.zipmod in the mod folder
@CB29
like i mentioned probably something to do with plugin related, T-pose mod shouldn't be the issue.
@kkbp-dev wrote in #62 (comment):
i used this version and the import complete, but it seems that the eye is somehow broke, tried importing in FK armature and rigify and got the same problem
by broken i mean the eye the white part of eye and the pupils is inside the head
blender version 5.0 (don't think this have any correlation)
using koikatsu, in betterrepack
exporter version 5.03
@kkbp-dev wrote in #62 (comment):
I think I might have found the issue. My game(KKS) is set to Chinese text, so the corresponding names in the exported files(KK_BlendShapeInfo) are also in Chinese, which prevents the plugin from recognizing them. When I switched the game text to English, the exported files imported normally. So, I suspect this might be a default language issue.(For “Eyes Circle Eyes 1 is not in list ”problem)
(The text in the top image is the result of exporting Chinese text, while the text in the bottom image is the result of exporting English text.)
@REDBUN wrote in #62 (comment):
I have the same language issue in KK BR-RX22. If using Chinese localiszation(BepinEx method), patternName of blendshapes are Japanese format. After changing game language to English and remove related BepinEx files, I got the same "[ValueError: 'Eyes Deformed Tsumuri' is not in list]" error. Both Dev and 9.2.1 versions were tried.
So the problem and solution is:
“Eyes Circle Eyes 1 is not in list” -> Fixed. Change game language to English to make sure that Blendshape names won't set to other languages. Both KK/KKS have this problem. Seems the code doesn't have any blendshape checks in language formation.
"[ValueError: 'Eyes Deformed Tsumuri' is not in list]" -> Change "Deformed swallow" to "Deformed Tsumuri" fixed.
I don't have HFPatch installed. Just using BR-RX22 and updated plugins with KKManager. If there's a plugin needed in solving this problem, pls point it that I will install it.
Pls read the full article. I have posted my solution. It'd better than backup everything and install HFPatch. I think it just a translate problem between every KK game version :/
@Sayoki @REDBUN
My god will you two stop cluttering the damn reply's with unrelated things, i already stated its got something to do with the plugins or being outdated as it is, Don't ask what's missing or outdated and install hfpatch if you want to resolve the issue.
@Sayoki my guy you just changed swallow to tsumuri that's not a fix you just replaced something else with another, That's unrelated and not a foolproof solution
@SirZealot I have had stop replying old posts.
And the reason why I do the rename is the old poster got a translate problem and I do so.
Every repack version may have its own translate and I checked its place of Json file, it assigned one by one and of course "Swallow" match "Tsumuri" (LOL it works). However, In my opinion it just a problem about translation of game version. I think these two are same blendshape.
After these two solution, my export n import plugin runs well. I ported my model to unity and looks very good. No more issues are found.
After all, It's a good solution before plugin author do some changes about exporting blendshape's name, avoiding that the fault caused by game language.
This should be fixed in the 9.3.0 release