unfurl

Bonsai

A controlled enviromnent for Unreal Projects to grow

A controlled enviromnent for Unreal Projects to grow

πŸ‘€ Summary

NsBonsai is an editor plugin that keeps asset names in one pattern. When you add or import an asset and save it, NsBonsai puts it in a review window. In the window, you pick the parts of the name, read the final name, and rename or ignore each asset. The default pattern is <Type>_<Domain>_<Category>_<AssetName>_<Variant>, for example SM_Foliage_Tree_Birch_A.

NsBonsai renames an asset only when you confirm it. It writes no metadata into assets and does not move assets to other folders. It does not scan the whole project. It is an editor module and is not part of a packaged game.

NsBonsai Showcase

πŸ“¦ Features

βš™οΈ Requirements

Unreal Engine 5.7+

NsBonsai needs no other plugin.

πŸ› οΈ Installation

  1. Clone or download this repository.
  2. Copy the NsBonsai folder into the Plugins folder of your project.
  3. Generate the project files and enable the plugin.
  4. Restart the editor.

NsBonsai works without code. Add "NsBonsai" to a Build.cs only if an editor module calls its C++ helpers.

πŸš€ Getting Started

  1. Open Edit > Project Settings > Plugins > Ns Bonsai.
  2. In Domains, add a domain token, for example Foliage, with a category, for example Tree.
  3. Import a static mesh and save it.
  4. In the NsBonsai Asset Review window, check the Domain, Category, and Asset Name of the row.
  5. Read the Final Name column, then click the check button to rename the asset.

To review assets that exist already, select them in the Content Browser, right-click, and choose Open with Bonsai. To open the queue at any time, use Tools > NsBonsai Review Queue….

🧩 Name Parts

Part Source
Type The Type Rules entry for the asset class or its nearest parent class
Domain A token from Domains
Category A token from the categories of the domain, or from Global Categories when domains are off
Asset Name Free text. The prefill is the old name without known tokens
Variant The first free letter suffix in the folder: A, B, and so on

Name Format Order sets the order of the parts. Join Separator (default _) goes between them.

πŸ”§ API

🚧 Limits

πŸ“š Documentation


Contact