02. Preparing the PSD artwork for importing

With the PSD import feature, you can make a quick Live2D model from a PSD of the character artwork.
This section describes how to create the PSD to use with the PSD import feature.

    How to Create a PSD fit for Importing

Models are separated into parts according to the way the character artwork was layered, so each part of the model you intend to move individually should have it's own layer.
By creating one layer for each part, you will have more control over the parts of your model.
Layer names will remain the same when imported into Modeler.

Some Layer information will not be carried over into Modeler
  • Layer Mode (Normal)
        Other Layer modes such as [multiply] or [overlay] will cause an undesirable effect on the artwork.
  • Opacity is imported at 100%
        The transparency of the layer will be importer as 100% in Modeler, so care must be taken to have soft-brush parts (such as cheek blush) to be transparent at 100% by using the brush settings and not the layer settings.  (it is possible to change the opacity of parts in Modeler after importing is done)
  • Clipping Masks must be flattened
        1 layer, 1 object. If your line art, coloring, shadows, and effects are on separate layers, you must flatten them into a single layer for the artwork to be imported beautifully into Modeler.
  • Layered effects must be flattened
       If the artwork has several layers with combined effects and masks, they must be flattened into a single layer.

  Using the Photoshop Action Script

Live2D_Preprocess(Group Creation Script)
                If you want to merge the layers in PhotoShop, we recommend that you use the ready-made action script for Photoshop.
   The script can be found on this page.

You will need to copy and paste the script file into photoshop's default action's folder, or add it to the available actions from the [Actions] palette window. 
Click on [File]→ [scripts] → [Live2D_Preprocess_v1.1], the groups will be created automatically.

TIPS : Excluding items from Group Creation
When you run the script, the group will automatically merge into one layer to fit onto the texture file.
For example, related parts of the face will fall into a group called "face"
This saves a lot of time and effort if the artwork file has a lot of layers for each part.
What you will end up with is a lot of parts all in single layers ready to be imported into Modeler.

It is also possible to exclude parts from this automated action and flatten them manually.
「*」 using an asterisk at the beginning of the group name will exclude it from the script. 
so writing the name of the layer group  [face] [*face] will exclude it from being flattened automatically.

Live2D_Cleaning(Artifact removal tool)

After using the above tool to flatten the layers in Photoshop, it is recommended that you use the following script to remove stray pixels from the artwork.
The script can be downloaded from the bottom of This page .

You will need to copy and paste the script file into photoshop's default action's folder,
Click on [File] → [scripts] → [Live2D_Cleaning_v1.1], artifact removal will begin.

TIPS : What happens if I don't use the artifact removal tool?
At the time of importing the PSD, the program may detect stray pixels that have appeared as a result of the flattening process of the Group Creation Script, which may take up space on the texture file.
It may also complicate your project if you attempt to move parts around on the texture file using the [Relocate Texture C] command, for example, because it may refuse to overlap the other parts. this takes up more space than necessary.

In order to avoid such a thing, after merging the layers using the [Live2D_Preprocess script], activate the [Live2D_Cleaning script] to clean up.
Applying this script makes it easier to import the PSD to look exactly as you intended in the art program.