FlailingFog / KK-Blender-Porter-Pack

Plugin pack for exporting Koikatsu characters to Blender.
310 stars 29 forks source link

Missing textures, broken material import. I need help with this #494

Closed Popping3dmodels closed 6 months ago

Popping3dmodels commented 6 months ago

I'm using Blender 3.6.5., KKBP 6.6.2, and PMX Exporter 4.3. I have absolutely no idea what I'm doing wrong, maybe its the card, or something in the files that's messing this up. I would really appreciate the help. All I know is that none of the textures are imported correctly, and most of them don't even have nodes, just basic mmd texture connected to output. Here's the log

====    KKBP Log    ====
Importing pmx files with mmdtools...
Import PMX operation took 0.0 seconds
get_body_material_names operation took 0.012 seconds
separate_rigged_tongue operation took 0.619 seconds
separate_hair operation took 0.003 seconds
Warning:        Nothing was selected when separating materials from: Model.001_mesh
separate_alternate_clothing operation took 0.045 seconds
Warning:        Material wasn't found when separating materials: c_m_shadowcast
Warning:        Material wasn't found when separating materials: Standard
Warning:        Nothing was selected when separating materials from: Body
separate_shad_bone operation took 1.073 seconds
separate_hitboxes operation took 0.002 seconds
delete_mask_quad operation took 0.101 seconds
remove_unused_shapekeys operation took 0.004 seconds
rename_uv_maps operation took 0.0 seconds
translate_shapekeys operation took 0.131 seconds
Warning:        Original shapekeys were not deleted
combine_shapekeys operation took 0.316 seconds
create_tear_shapekeys operation took 5.111 seconds
create_gag_eye_shapekeys operation took 0.931 seconds
add_body_datatransfer operation took 0.0 seconds
remove_body_seams operation took 0.274 seconds
mark_body_freestyle_faces operation took 0.339 seconds
tag_all_objects_for_next_operation operation took 0.0 seconds
reparent_all_objects operation took 0.003 seconds
remove_bone_locks_and_modifiers operation took 0.053 seconds
scale_armature_bones_down operation took 0.037 seconds
reparent_leg_and_body_bone operation took 0.0 seconds
delete_non_height_bones operation took 0.247 seconds
modify_finger_bone_orientations operation took 0.125 seconds
set_bone_roll_data operation took 0.083 seconds
bend_bones_for_iks operation took 0.069 seconds
remove_empty_vertex_groups operation took 1.551 seconds
reorganize_armature_layers operation took 0.14 seconds
move_accessory_bones_to_layer10 operation took 1.139 seconds
create_eye_reference_bone operation took 0.017 seconds
create_eye_controller_bone operation took 0.15 seconds
shorten_kokan_bone operation took 0.06 seconds
scale_skirt_and_face_bones operation took 5.068 seconds
prepare_ik_bones operation took 0.258 seconds
rename_mmd_bones operation took 1.201 seconds
retreive_stored_tags operation took 0.264 seconds
remove_unused_material_slots operation took 0.038 seconds
Warning:        Somehow found a false duplicate material but didn't merge: Bonelyfans.002
Warning:        Somehow found a false duplicate material but didn't merge: Bonelyfans.003
Warning:        Somehow found a false duplicate material but didn't merge: Bonelyfans.004
Moving duplicate material cf_m_sirome_00 in slot 4 to the original slot 3
remap_duplcate_material_slots operation took 0.401 seconds
Warning:        material or template wasn't found when replacing body materials: cf_m_eyeline_kage / KK Eyeline Kage
Warning:        material or template wasn't found when replacing body materials: Eyeline_Over / KK Eyeline Kage
Warning:        material or template wasn't found when replacing body materials: cf_m_sirome_00 / KK Eyewhites (sirome)

Error:          Unknown python error occurred. 
          Make sure the default model imports correctly before troubleshooting on this model!

Traceback (most recent call last):
  File "C:\Users\me\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\KK-Blender-Porter-Pack-V662\importing\modifymaterial.py", line 51, in execute
    self.replace_materials_for_body()
  File "C:\Users\me\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\KK-Blender-Porter-Pack-V662\importing\modifymaterial.py", line 233, in replace_materials_for_body
    swap_body_material([self.body['SMR materials']['cf_O_tooth'][0] + '.001'],'KK Fangs (tooth.001)')
TypeError: only strings are allowed as keys of ID properties

Screenshot 2023-10-27 232418