Duration 4:54

[V4] Export your Koikatsu waifu to Blender, Unity and more (Part 2)

16 815 watched
0
163
Published 28 Mar 2021

Series playlist: /playlist/PLhiuav2SCuvd5eAOb3Ct1eovFAlgv-iwe A video series that shows how to export a model from the game Koikatsu to Blender. This part shows the remaining setup that needs to be done before the model can be shaded. Chapters: 0:00 Fix shapekeys and separate meshes 2:43 Remaining setup and KK Material import

Category

Show more

Comments - 188
  • @
    @KoikatsuBlendlet3 years ago If you're using V4.2.0 or higher the KK plugin will try to separate the Bonelyfans and Shadowcast automatically when you click the "3 separate body" button, so you might be able to skip to ... 8
  • @
    @Kikuflare3 years ago I discovered a way to fix the shapekeys that affect accessories/hair without going through the trouble of re-exporting model again in Koikatsu.
    Through some testing, I found that after separating the clothes and hair as described at and onwards in this video, the shapekeys will also become separate. This means you can just click the Clothes or Hair group, go into the shapekeys list and delete all the shapekeys (highlight the shapekey and click the minus icon on the right) for these two groups and it will preserve the shapekeys in the Body group. ...
    3
  • @
    @YEDPG2 years ago Thanks for making this tutorial. I ran into a snag though. When trying to clean armature, I get key error "bpy_collection[key]: key "Armature" not found. All previous steps worked with no issues. Anyone know how to fix this? ...
  • @
    @kamito66273 years ago When I import KK Shader V4.2.blend file in step 6, crash :/
    how can I resolve?
    2
  • @
    @chrisventura30703 years ago After importing textures my model body and other parts turn pink, but the main texture is still the same correct, how can I solve this? 1
  • @
    @ReinholdHarnisch3 years ago TIP: If "Seperate the body" KK Script throws an error:
    - make sure to select "Body" first.
    5
  • @
    @klaiko73013 years ago when i try to import the kk shader pack, it just crashes. 2
  • @
    @enriquealfonzosalazarsalaz47643 years ago help, I have the following problem in import material templates
    Python: Traceback (most recent call last):
    File "C:\Users\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\KK-Blender-Plugin\", line 79, in execute
    body.material_slots['Template General'].material = tongueTemplate
    KeyError: 'bpy_prop_collection[key]: key "Template General" not found'
    location: <unknown location>:-1
    ...
  • @
    @Archwarder233 years ago I am trying to seperate the body and I keep getting this error message:
    "Python: Traceback (most recent call last):
    File "C:\Users\Andrew\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Plugin\", line 21, in execute
    body = bpy.data.objects['Body']
    KeyError: 'bpy_prop_collection[key]: key "Body" not found'
    location: <unknown location>:-1"
    Help? To me it reads like trhe shapekey for the body is missing but I have no idea why that is.
    ...
  • @
    @KanaYakumoCh3 years ago I have problem when i import textures and mouth is open a little bit. i don't know how to fix it 1
  • @
    @Joeynator30002 years ago Decided to try this again...and, yeah...the clean armatures part gives me errors, same with the part right after that. Apparently people are getting similar errors, no idea what to do here...has to do something with Python I guess? :/ ...
  • @
    @joeysson1782 years ago When I try to import the textures, Blender just crashes.
  • @
    @magokill40163 years ago the blender closes when doing this ... is there a solution? :(
    and that too:
    Python: Traceback (most recent call last):
    File "C:\Users\USURIO\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\KK-Blender-Plugin\", line 79, in execute
    body.material_slots['Template General'].material = tongueTemplate
    KeyError: 'bpy_prop_collection[key]: key "Template General" not found'
    location: <unknown location>:-1
    I already solved it xp
    ...
  • @
    @menaoleehoshizora66713 years ago When i import material templates in select the KK shader there is an error and when i try to import textures i click on the textures folder its an error too
  • @
    @galbatorixiv3 years ago I'm having an issue where it wont import the textures it just puts me in the folder the textures are in. I tried selecting all the texture to import but just gives me a python error saying location unknown.
  • @
    @kylekrafter89323 years ago Hey! Thanks so much for putting this together. When I run step 3, the cf_m_hitomi iris parts go into the clothes instead of the body, and that's been giving me a lot of trouble down the line since there's no option for eye position and the like... Wondering if you know what could cause that, as I've already tried re-exporting. Thanks again! ...
  • @
    @cifer33273 years ago When I import the textures, it somehow messes with the form of the hair and makes it impossible to apply shaders correctly... Why could this be happening?
  • @
    @Daemon8fx3 years ago Great Tutorial! I had an issue where the face was transparent, some issue with alpha apparently after i imported the textures, stil trying to fix that particular issue but the rest has been working nicely. 1
  • @
    @gandan13573 years ago In step 4, cleaning armature, I got an error claiming "indefingerL" was not found, and in the next step I got another error saying: "Cf_Pv_root not found" what have I done wrong?
  • @
    @blackbaron33303 years ago blender keeps crashing during the import material templates step.
    i have searched for solutions in the comment section but noone of em works :/
    UPDATE : i tried to reinstall the KK plug in and now it works !
    1
  • @
    @Okralk3 years ago I've been following your tutorial step by step (it's rather good by the way!) and I have encountered a Blender issue where I could not import the textures (7 on KK Panel).
    KeyError: 'bpy_prop_collection[key]: key "Template Body" not found' <-- line 75, in runIt
    KeyError: 'bpy_prop_colelction[key]: key "cm_m_body_AlphaMask.png" not found' <-- line 79, in runIt
    KeyError: 'bpy_prop_collection[key]: key "Template Body" not found' <-- line 309, in execute
    I was wondering if you knew what caused this as I am a complete rookie through blender or modeling of any sort.
    ...
    2
  • @
    @kiyoubi50033 years ago my imported model dont have standard (in material list) does it affect the work flow?
  • @
    @Madefornoone3 years ago i keep getting this error on step six using the latest version of blender and the addon looking through the comment i've doubled checked tried making sure things were named correctly but it still errors every time when it comes to step 6
    line 42, in execute
    bpy.ops.object.material_slot_remove_unused()
    File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\modules\bpy\", line 132, in _call_
    ret = _op_call(self.idname_py(), None, kw)
    RuntimeError: Operator bpy.ops.object.material_slot_remove_unused.poll() failed, context is incorrect
    do you know anyway i can get resolve or get around this
    ...
  • @
    @LLReignhard3 years ago after fix shapekeys, the shapekeys are not working except for the eyebrows, eyes and mouth are not moving, how to fix this
  • @
    @Aelethil3 years ago So upon separating the hair It proceeded to double the mesh and cause a weird static/ screen door effect on me. I am going to attempt to leave them combined with the clothes as it only happens upon separation. Was wondering if there was a knwon fix for this lest I pivot to my old method for this specific step. ...
  • @
    @quintarin51203 years ago I tried using the 4.0.4 Shader pack but when I do it gives me this error:
    Python: Traceback (most recent call last):
    File "C:\Users\rhyfa\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\KK-Blender-Plugin\", line 79, in execute
    body.material_slots['Template General'].material = tongueTemplate
    KeyError: 'bpy_prop_collection[key]: key "Template General" not found'
    location: <unknown location>:-1
    and then when I try to use import textures it gives me this error:
    Python: Traceback (most recent call last):
    File "C:\Users\rhyfa\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\KK-Blender-Plugin\", line 54, in execute
    currentObj.material_slots['Template Body'].material.node_tree.nodes['BodyShader'].node_tree.nodes['BodyTransp'].node_tree.nodes['AlphaBody'].image = bpy.data.images['cf_m_body_AlphaMask.png']
    KeyError: 'bpy_prop_collection[key]: key "cf_m_body_AlphaMask.png" not found'
    location: <unknown location>:-1
    I really don't know what to do but wait for you to respond to help me out aaaaa
    ...
  • @
    @nikolipwn3 years ago Seems that the shape keys are screwing up for me. Whenever I import the textures the mouth opens a noticeable amount rather than staying closed. I've tested it on multiple characters and can't seem to find what's causing this problem. ... 1
  • @
    @ymah21253 years ago I'm stuck 1 minute into this part where I am supposed to select the bonelyfans and standard material, I cannot see them in the list in my Material Properties tab. Could I have missed something or exported something wrong? Maybe I forgot to import something? I'm going really slow, but I'll start from part 1 again just in case. ...
  • @
    @lizzyamaranth41413 years ago Hiya again! I'm having an issue that some of the textures for my character are loading on the wrong clothing. From what I see it seems anything I separated off into groups got their textures alright, but the big bunch of textures in the "clothing" collection seemed to get jumbled up. (Occurs after using the 7th "Import Textures" step). ...
  • @
    @rarecreature48623 years ago I do not know why, but first time I've tried I got to part 7 of the tutorial (the color shading) however I've done some mistakes on the model and thought I'd start from scratch. Now for some reason I'm getting the same error about: "Teeth_i_small_cl" not found. The only change to the model I've done was remove 3 accessories that were attached to the neck for some reason. ... 1
  • @
    @KDenero3 years ago hello, i'm having an issue in the step 7, when I import the textures, my girl looks a messed up (the black and yellow are there, but her face looks horrible, her eyes are not visible and her torso is gone, clothes are okay but her skin is the issue) I also run into two different errors, one of them saying template body outline not found and the other is genMat.material.node_tree.nodes['KKShader'].node_tree.nodes['GeneralOut'].inputs['Alpha'].links[0] index out of range.
    What do you think it could be the issue? I've tried running the latest Blender version and the one you used in this video (2.91.2), I tried two different versions of your KK Shader Pack (latest being 4.1.2 and then the one you use in this video), my HF Patch version is 3.8, and my grey mesh exporter is 1.0.2.
    I sent this comment before but I think it was deleted for containing links, would it be possible to get a different way to contact you and provide images of my issues? Like a discord account or anything, I've been trying different things for hours but I don't know what to do anymore.
    ...
  • @
    @BlitzProGaming13 years ago Is Bonelyfans necessary? Idk why, I've followed the instructions to a tee, but my model doesn't have it. Also whenever I separate the body, the shadowcast clips through portions of the model. any help would be cool
  • @
    @akronhym15863 years ago Hi
    i am kind of stuck in the "Import textures" step, when i hit the button everything goes fine until the following error shows up:
    KeyError: 'bpy_prop_collection[key]: key "Gentex" not found'... Any suggestions?
    ...
  • @
    @ct30003 years ago I get an error when I click import textures, so for some reason my model didn't export textures into separate folder it threw them into the models which was fine for the tutorial so far. Once I hit import textures pointing to that folder though it errored that it wasn't the Textures folder. I tried renaming it "Textures" but then I get an even more scary error... ...
  • @
    @ShinichiMechazawa3 years ago I kept crashing on step 6 using KK Shader Pack 4.3.1. I went out on a limb and tried skipping to step 7, which brought up an error message but didn't crash, at least. Step 6 worked after that, so I reran step 7, causing the model to render in black and yellow, like in the vid. I guess everything's working now? Here hoping I can follow along from here without a hitch.
    Regardless, thanks for the tutorial!
    ...
    2
  • @
    @ashe14513 years ago Info: Removed 18 slots
    material or template wasn't found: cm_m_body / Template Body
    Python: Traceback (most recent call last): />File "C:\Users\xEhrenx\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Plugin\", line 198, in execute
    bpy.context.object.pose.bones["Root"].custom_shape = bpy.data.objects["WidgetRoot"]
    KeyError: 'bpy_prop_collection[key]: key "Root" not found'
    and part of the torso is gone and so the shoulders too, Any help? PLz
    ... 1
  • @
    @vcrlord1413 years ago im getting the error "bpy_prop_collection[key]: key "Body" not found." when trying to hit Fix Key Shapes and Separate Body. Should I be concerned?
  • @
    @kailmanning3 years ago So quick question. I've gone through this entire series multiple times but each character i export into blender comes out with terrible shape keys for the eyes. Any advice? Using Version 4.2.3
  • @
    @cataspade33563 years ago I'm having an error the says bpy_prop_collection[key]: key "Teeth_i_small_cl" not found 1
  • @
    @JayJay-gc3wb3 years ago Hey there. Hit a total roadblock midway through. When I click the import texture folder button, I get an error that says "key cf_m_body_AlphaMask.png not found" and it refuses to import said folder.
    Edit: I created a blank png by that name and NOW it says it can't find "key Template Body"
    ...
    1
  • @
    @electr0monkey3 years ago Hi, I see here that you help the community in comments section, so I have one problem too.
    When I try to import material templates I get this error message:
    "", line 80, in execute body.material_slots['Template General'].material = tongueTemplate
    KeyError: 'bpy_prop_collection[key]: key "Template General" not found'".
    I also get similar error in Import Textures step: "", line 101, in execute newNode = hairMat.material.node_tree.nodes['HairTextures'].node_tree.copy()
    KeyError: 'bpy_prop_collection[key]: key "HairTextures" not found'
    Any idea how to fix it and go beyond that points? Thanks for the awesome tutorial and being so helpful!
    ...
  • @
    @user-yw4xc7sd6p3 years ago Hello
    I followed like above but
    Bone Widgets do not occur.. It becomes similar to the screen as it does the other operation.. The KK version is 4.0.4.. Is there any problem?
  • @
    @ivanshiny_3 years ago Hey, quick question, idk if you can help
    I do everything that's in the videos, but when I go to import the textures to the model, the eyes appear completely black, even after moving to the shaders, and importing textures from there doesn't works.
    Do you know what may be causing this?
    ...
  • @
    @AnimeGirl65613 years ago Whenever I try to fix shapekeys Blender always crashes. I'm using the latest version of Blender and the latest KK plugin V4.2.2 3
  • 3 years ago I got this error message, did I do something wrong? Or what's the problem?
    Or can it have something to do with the fact that I renamed the textures accordingly before I loaded them into Blender?
    KK Panel
    Meldung: Fehler
    Python: TypeError: bad argument type for built-in operation
    The above exception was the direct cause of the following exception:
    Traceback (most recent call last):
    File "C:\Users\----\AppData\Roaming Blender Foundation Blender 2.93\scripts\addons/Plugin\", line 184, in execute
    bpy.context.object.active material index = body.data.materials.find(eyewhiteMats[0])
    SystemError: <built-in method find of bpy_prop_collection object at 0x0000026F5FFB9180> returned a result with an error set
    During handling of the above exception, another exception occurred:
    TypeError: bad argument type for built-in operation
    The above exception was the direct cause of the following exception:
    Traceback (most recent call last):
    File "C:\Users\----\AppData\Roaming Blender Foundation Blender 2.93\scripts\addons/Plugin\", line 202, in execute
    body.data.materials[body.data.materials.find(eyewhiteMats[0])].name = 'cf_m_sirome_00'
    SystemError: <built-in method find of bpy prop_collection object at 0x0000026F5FFB9180> returned a result with an error set
    location: <unknown location>:-1
    ...
  • @
    @azazelsensei37513 years ago At point 6, the program prints this as an error message: Python: Traceback (most recent call last):
    File "Blender Foundation\Blender\2.93\scripts\addons\Plugin\", line 103, in execute
    hair = bpy.data.objects['Hair']
    KeyError: 'bpy_prop_collection[key]: key "Hair" not found'
    location: <unknown location>:-1
    ... 2
  • @
    @gorose98993 years ago Tip for if Blender crashes everytime you load the textures: Selecting generic outline instead of search folder seemed to fix it. 1
  • @
    @MarvayVT3 years ago I have a problem with importing male textures where key "Template Body" is not found. How do I fix this issue?
  • @
    @magokill40163 years ago My model does not appear with numbers like this, I only have the same one as before. please help :(
  • @
    @Emyrryl3 years ago Important note: For some reason and I'm not sure why
    I had to capitalize Each of the separated materials otherwise the script step > 6 Import material textures would throw an error
    (ex: 'hair' would throw an error, whereas 'Hair' would allow the script to come in identically to the video )
    ...
  • @
    @Iota_Delta3 years ago I click Fix shapeKey and Blender crash whyyyy
  • @
    @elsantko3 years ago Edit and resolution: I did not get the Gentex error when I redid this part of the tutorial and separated less objects.
    If there's anybody in this comment section, I've run into an error when attempting to import textures that I didn't get before but I'm unsure what's different this time.
    Python: Traceback (most recent call last):
    File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\KK-Blender-Plugin\", line 126, in execute
    newNode = genMat.material.node_tree.nodes['Gentex'].node_tree.copy()
    KeyError: 'bpy_prop_collection[key]: key "Gentex" not found'
    location: <unknown location>:-1
    I can't seem to figure out how to fix this, I've tried the good ol' restart and changing the version of the KK Pack, could this be the script failing to find mask/maintex files for accessories on my character that do not have any?
    Edit: the accessories without texture masks do disappear entirely with the Gentex error, I think my interpretation of what's happening in the script is sort of correct? Can someone clarify?
    Plus I get all clothes textures a void black half the time but that hopefully gets fixed along with this, could the void be caused by the Bone/Shadow collection?
    Edit: the clothes turning void black is fixed by entirely disabling the Bonelyfans/Shadowcast collection, the Gentex error is still a mystery. Is it safe to continue with the error?
    I'm using Blender 2.91.2, KK Blender Pack 4.0.6, CATS 0.18.0. Thank you...
    ...
  • @
    @MarvayVT3 years ago For others: When importing a male character, the body goes on the clothes layer. You need to separate that from the clothes too and then merge it by selecting the separated layer and "Body" and pressing ctrl + J
  • @
    @gargargar74963 years ago Step 6 key template general not found
    Step 7 key "hair" not found
    Everything was just the same , no black and yellow color showed up. What should I do to fix these issues? Thanks in advance (already spent 4 hours on it yet nothing worked ) ...
  • @
    @obliviousangel16923 years ago when I try to import textures it always crashes... :( help?
  • @
    @name1ess893 years ago After importing textures, almost the entire model turns black
    I do everything as in the video but nothing works
  • @
    @gandan13573 years ago When I try to "seperate the body" I get an error "Python Traceback" and after listing several folder locations it says: "Runtime error, error: Nothing selected" so far everything else has been excellent! <3 ...
  • @
    @Sahfiel133 years ago I want to cry. I want to cry so bad, I tried another tutorial way back and this tutorial was going so well. I thought things would be different this time and stuff would work. Then this stupid error thing pops up when I try to import textures. Everything seems fine until this point. I think it might be that the file browser when I try to select the folder doesn't seem to select the folder like how it does for you. Like, I click the folder and it goes inside instead of selecting it and when I click it seems to wanna run based on whats at the bottom of the screen. It might be selecting the folder correctly but it displays differently than when you selected the folder. This is the error.
    Python: Traceback (most recent call last):
    File "C:\Users\Person\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Plugin\", line 309, in execute
    runIt()
    File "C:\Users\Person\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Plugin\", line 37, in runIt
    print('Getting textures from: ' + self.directory)
    TypeError: can only concatenate str (not "_PropertyDeferred") to str
    location: <unknown location>:-1
    This sucks, I'm almost done and then it does this.
    Update: It was because blender broke everything in 2.9.3. You actually have to install the old version listed in first video I guess.
    ...
  • @
    @Sunmk83 years ago step 7 when loading textures, eyes and face does not load me :c
  • @
    @CubeGuy3 years ago Bluh. I'm losing my mind. It all worked correctly the first time, and then I started over because there was a mistake I found on my model. Now when I get to the "if everything looks black and yellow" bit, my clothing materials are all a black void. No lighting does anything to them. ...
  • @
    @vizzyboi18293 years ago Every time I try to import the KK Shaders, Blender just dies. Help?
  • @
    @dkcsx0063 years ago Error message on step 7.
    Python: Traceback (most recent call last):
    File "C:\Users\....\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Plugin\", line 28, in execute
    print('Getting textures from: ' + self.directory)
    TypeError: can only concatenate str (not "_PropertyDeferred") to str
    location: <unknown location>:-1
    ...
  • @
    @magokill40163 years ago now I get this error xD: "cf_m_body_AlphaMask.png" not found'
  • @
    @hyrulexz87193 years ago for some odd reason my clothes are solid black
  • @
    @spaceghostc2c2043 years ago Blender crashes when I hit the "Fix Shapekeys" button. Help appreciated, but thanks for the tutorial either way 1