Jump to content

Body Import/Export Addon for Blender 3.6.4


xxpy02

Recommended Posts

Posted (edited)

Tested only under the 3.64 version of blender.
It only supports importing and exporting bodies (body_subdiv_cageShape) from BS files (eg: only *.bs files).
This addon started as a fork of the io_tkm17_body 2.79b addon, but changed so much that I can't consider it the same addon anymore.

Latest release: 1.4.0

Features supported:

  • Importing and exporting meshes from any body files (original or custom)
  • Simple mesh editing (moving around faces/vertices)
  • Importing Vertex groups
  • Importing Vertex weights
  • Importing Materials (texture shaders)
  • Importing UV maps
  • Importing Shape keys (morphs/blend controls)
  • Exporting vertex weights
  • Exporting UV maps


Planned features:

  • Advanced mesh editing (adding or removing faces/vertices)
  • Exporting Materials
  • Exporting Shape keys (morphs/blend controls)
  • Importing/Exporting armatures/bones


Installation Instructions

 

  • Unzip this file and place the io_tkm17_body folder under the 3.6\scripts\addons folder, relative to your Blender 3.6.4 installation path.
  • Activate it under Edit > Preferences > Addons > io_tkm_body.


General usage

  • To import either a custom or one of the original bodies go to: File -> Import -> TK17 Body File (.bs)

    Materials are imported automatically if they can be found at the images path relative to your addon file:
    1. If your file path is C:/TK17/Addons/Nice Body/Scenes/Shared/Body/body01.bs it will try loading the textures from C:/TK17/Addons/Nice Body/Images/Q=Tex032M/Shared/Body
    2. If your file path is C:/Archive/Nice Body/body01.bs it will try loading the textures from C:/Archive/Nice Body/Images/Q=Tex032M/Shared/Body
    3. If the files are not found then it will use the DefaultColor configured in the ShaderTexture.Texture
     
  • To export your custom body go to: File -> Export -> TK17 Body File (.bs)


Changelog

Release 1.4.0

  • Export of modified UV coordinates
  • Share images between shaders to prevent loading duplicated textures


Release 1.3.0

  • Export of modified vertex weights


Release 1.2.2

  • Properly parse body number from internal BS path


Release 1.2.1

  • Ignore Morph vertices that are out of the range of the Mesh VertexArray


Release 1.2.0

  • Import of materials/texture shaders
  • Import of UV maps
  • Import of blend controls/morphs/shape keys
  • Support for STransform.ScalingPivotTranslation
  • Correctly handles negative zeroes for SPolygonGeometry.NormalArray
  • Inline empty locals during compilation/export
  • Minor fixes and improvements in source code
  • Remove body files from the build process


Release 1.1.0

  • Import of vertex groups
  • Import of vertex weights
  • Major refactor of the source code


Release 1.0.1

  • Support for RenderShader.BlendMode, TGeometry.SortCenter, TGeometry.SortIndex, Texture2D.WrapU and Texture2D.WrapV
  • Handling of unexpected leading/trailing commas on list definitions
  • Swap vertex coordinates order (-z/y) for correct orientation in Blender
  • Extensive code refactoring


Release 1.0.0

  • Support for editing any type of imported body and not only the original ones packed with this addon
  • Store original BS file contents in the .blend file for reference during export
  • Refactor Bionic Script Binary file parsing algorithm

io_tkm17_body-1.2.0.zip

io_tkm17_body-1.2.1.zip io_tkm17_body-1.2.2.zip io_tkm17_body-1.3.0.zip io_tkm17_body-1.4.0.zip

Edited by xxpy02
Version release (1.4.0)
  • 9 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...