Skip to content

PJSK / Unity Blender Asset Importer / PJSK Unity 通用资产导入 Blender 插件

License

Notifications You must be signed in to change notification settings

mos9527/sssekai_blender_io

Repository files navigation

sssekai_blender_io

Code style: black

Blender asset importer for Project SEKAI (JP: プロジェクトセカイ カラフルステージ! feat.初音ミク) asset bundles.

Documentation

Read the wiki page for more!

Supported Languages

PRs are welcome for additions.

  • You can find the translation file here.
  • The script used to generate the translation file is here. Run this in the root of this repo, with any Python 3.8+ interpreter to update the translation file. Existing translations will be preserved.

You can find your language code by entering bpy.app.translations.locale in the Blender Python console.

Currently supported languages and maintainers:

  • English (en_US, mos9527, @Rypie109)
  • 简体中文 (zh_HANS, mos9527)

Installing & Updating

PLEASE NOTE: The updater is still a W.I.P and has bugs! Please report them in the issues tab if you encounter one.

Use the portable version of Blender to avoid any issues with the updater. You can download it here.

Remeber to restart Blender after updating the addon through the Bootstrapper to see the changes.

Attention

To Windows 11 Users

  • If you'd specify the addon source directory - which in turns creates a symlink - you'll have to enable Developer Mode in Windows 11 otherwise it's not going to work.

To ones who have installed Blender to Program Files

  • This would be the case if you'd install Blender through the offical MSI installer, or in some cases when Blender is installed through Steam - whilst using the default Steam Library location
  • Using a non-portable Blender installation makes the updater unable to modify addon files.
  • Either:
    1. Download and use the portable version of Blender instead
    2. Or run Blender as Administrator when using the Bootstrapper.
    • You don't have to run Blender as Administrator when using the addon normally, only when updating the addon through the Bootstrapper.
    1. Setup file permissions for the Blender installation directory to allow the updater to modify files.
    • This is not recommended as it can be a security risk.

Procedure

  • Make sure you have Git installed on your system.
  • Download the addon Bootstrapper
  • Install the Bootstrapper in Blender by going to Edit > Preferences > Add-ons > Install... and selecting the Bootstrapper, which is a .py file.
  • Enable the Bootstrapper in Blender by checking the box next to it.
  • Follow the instructions in the Bootstrapper to install or update the addon.
  • Once done, search for SSSekai and enable SSSekai Blender IO - which is the main addon.
  • You can come back to the Bootstrapper to update the addon at any time.

The addon will be accessible in the sidebar (N key) in the SSSekai tab.

Roadmap

Asset

  • Handle Skinned Mesh with non-Identity Bind Pose
    • Done. Also applies to generic Unity assets
  • Handle Skinned Mesh with non-Identity Rest Pose
    • Done. Also applies to generic Unity assets
  • Custom Animator for animation import
    • Path CRC32 table can now be done through m_Avatar
    • TODO: Implement Animator bindpose

Rendering

Effects

Animation

  • Light animation
  • Effect animation
  • Approximate Unity's IK system
    • Since My Sekai is a thing now and the chibi models are rigged with Unity's IK system.
    • Also would be nice since all Unity games with humanoid characters use this system.
    • This would also make retargeting trivial.

QoL

  • An actual updater
  • Cleanup temp files after importing.
    • Done. Images will be cleaned up after import and packed into the blend file.

License

MIT

References

About

PJSK / Unity Blender Asset Importer / PJSK Unity 通用资产导入 Blender 插件

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages