; MiyabiBlossom ; Constants ------------------------- [Constants] global persist $top = 0 global persist $skirt = 0 global persist $right = 0 global persist $left = 0 global persist $shoes = 0 global $active [KeySwap1] condition = $active == 1 key = VK_UP type = cycle $top = 0,1,2,3 [KeySwap2] condition = $active == 1 key = VK_DOWN type = cycle $skirt = 0,1,2 [KeySwap3] condition = $active == 1 key = VK_RIGHT type = cycle $right = 0,1 [KeySwap4] condition = $active == 1 key = VK_LEFT type = cycle $left = 0,1 [KeySwap5] condition = $active == 1 key = h type = cycle $shoes = 0,1 [Present] post $active = 0 ; Overrides ------------------------- [TextureOverrideMiyabiBlossomTorsoBlend] hash = 958db681 handling = skip vb2 = ResourceMiyabiBlossomTorsoBlend if DRAW_TYPE == 1 vb0 = ResourceMiyabiBlossomTorsoPosition draw = 6424, 0 endif $active = 1 [TextureOverrideMiyabiBlossomTorsoTexcoord] hash = 6eb82b02 vb1 = ResourceMiyabiBlossomTorsoTexcoord [TextureOverrideMiyabiBlossomTorsoVertexLimitRaise] hash = 467f402c override_vertex_count = 6424 override_byte_stride = 40 [TextureOverrideMiyabiBlossomLegsBlend] hash = 5121459b handling = skip vb2 = ResourceMiyabiBlossomLegsBlend if DRAW_TYPE == 1 vb0 = ResourceMiyabiBlossomLegsPosition draw = 41274, 0 endif [TextureOverrideMiyabiBlossomLegsTexcoord] hash = 01c36f40 vb1 = ResourceMiyabiBlossomLegsTexcoord [TextureOverrideMiyabiBlossomLegsVertexLimitRaise] hash = a4a705f6 override_vertex_count = 41274 override_byte_stride = 40 [TextureOverrideMiyabiBlossomTorsoIB] hash = fbb18630 handling = skip [TextureOverrideMiyabiBlossomTorsoA] hash = fbb18630 match_first_index = 0 ib = ResourceMiyabiBlossomTorsoAIB if $top == 0 drawindexed = 1197, 0, 0 drawindexed = 1230, 1197, 0 elif $top == 1 drawindexed = 1230, 1197, 0 endif if $top != 3 drawindexed = 19386, 2427, 0 if $skirt == 0 drawindexed = 1671, 21813, 0 drawindexed = 198, 23484, 0 elif $skirt == 1 run = CustomShaderTransparencyCloth1 run = CustomShaderTransparencyCloth2 endif endif [TextureOverrideMiyabiBlossomLegsIB] hash = a913e9a9 handling = skip [TextureOverrideMiyabiBlossomLegsA] hash = a913e9a9 match_first_index = 0 ib = ResourceMiyabiBlossomLegsAIB Resource\ZZMI\Diffuse = ref ResourceMiyabiBlossomLegsADiffuse Resource\ZZMI\NormalMap = ref ResourceMiyabiBlossomLegsANormalMap Resource\ZZMI\LightMap = ref ResourceMiyabiBlossomLegsALightMap Resource\ZZMI\MaterialMap = ref ResourceMiyabiBlossomLegsAMaterialMap run = CommandList\ZZMI\SetTextures drawindexed = 3840, 106548, 0 drawindexed = 1266, 110388, 0 if $top == 3 ; Body.002 (9558) drawindexed = 51786, 51786, 0 drawindexed = 12666, 116694, 0 if $left == 1 drawindexed = 12666, 130665, 0 else drawindexed = 2931, 143331, 0 drawindexed = 8529, 146262, 0 endif else ; Body.001 (9559) drawindexed = 51786, 0, 0 drawindexed = 5040, 111654, 0 if $left == 0 drawindexed = 1305, 129360, 0 drawindexed = 8529, 146262, 0 else drawindexed = 12666, 130665, 0 endif drawindexed = 3105, 170529, 0 drawindexed = 7710, 173634, 0 drawindexed = 1413, 181344, 0 drawindexed = 1404, 182757, 0 drawindexed = 1152, 184161, 0 endif if $top == 0 || $top == 1 drawindexed = 738, 103572, 0 drawindexed = 2238, 104310, 0 drawindexed = 600, 155463, 0 else drawindexed = 516, 156063, 0 endif if $right == 0 drawindexed = 672, 154791, 0 endif if $shoes == 1 drawindexed = 13950, 156579, 0 else drawindexed = 8886, 185313, 0 endif ; CommandList ----------------------- [CustomShaderTransparencyCloth1] blend = ADD BLEND_FACTOR INV_BLEND_FACTOR blend_factor[0] = 0.5 blend_factor[1] = 0.5 blend_factor[2] = 0.5 blend_factor[3] = 1 handling = skip drawindexed = 1671, 21813, 0 [CustomShaderTransparencyCloth2] blend = ADD BLEND_FACTOR INV_BLEND_FACTOR blend_factor[0] = 0.5 blend_factor[1] = 0.5 blend_factor[2] = 0.5 blend_factor[3] = 1 handling = skip drawindexed = 198, 23484, 0 ; Resources ------------------------- [ResourceMiyabiBlossomTorsoPosition] type = Buffer stride = 40 filename = MiyabiBlossomTorsoPosition.buf [ResourceMiyabiBlossomTorsoBlend] type = Buffer stride = 32 filename = MiyabiBlossomTorsoBlend.buf [ResourceMiyabiBlossomTorsoTexcoord] type = Buffer stride = 20 filename = MiyabiBlossomTorsoTexcoord.buf [ResourceMiyabiBlossomTorsoAIB] type = Buffer format = DXGI_FORMAT_R32_UINT filename = MiyabiBlossomTorsoA.ib [ResourceMiyabiBlossomLegsPosition] type = Buffer stride = 40 filename = MiyabiBlossomLegsPosition.buf [ResourceMiyabiBlossomLegsBlend] type = Buffer stride = 32 filename = MiyabiBlossomLegsBlend.buf [ResourceMiyabiBlossomLegsTexcoord] type = Buffer stride = 20 filename = MiyabiBlossomLegsTexcoord.buf [ResourceMiyabiBlossomLegsAIB] type = Buffer format = DXGI_FORMAT_R32_UINT filename = MiyabiBlossomLegsA.ib [ResourceMiyabiBlossomLegsADiffuse] filename = MiyabiBlossomLegsADiffuse.dds [ResourceMiyabiBlossomLegsANormalMap] filename = MiyabiBlossomLegsANormalMap.dds [ResourceMiyabiBlossomLegsALightMap] filename = MiyabiBlossomLegsALightMap.dds [ResourceMiyabiBlossomLegsAMaterialMap] filename = MiyabiBlossomLegsAMaterialMap.dds ; .ini generated by XXMI (XX-Model-Importer) v1.6.7 ; If you have any issues or find any bugs, please open a ticket at https://github.com/leotorrez/XXMI-Tools/issues