Scripts for Photoshop
Updated: 09/04/2019
We provide two scripts that can be used to create PSDs for import.
We hope you will find the scripts useful.
Download
Please visit the following page to download the file(s).
“Scripts for Photoshop Download”
Live2D_Preprocess
The following processes are performed on Photoshop’s layer structure to convert it into a layer that can be imported into Live2D.
- Merge groups (prefixing a group name with * prevents merging)
- Merge layer masks
- Combine clipping masks
- Delete path information (*1)
*1 To address the problem of “PSDs saved in PhotoshopCC2019 cannot be imported properly if they contain working paths, etc.,” the path information is removed in advance before merging.
Update history
v1.4 (04/082019)
- Faster processing when merging.
- Fixed a bug that caused drawing results to change depending on the processing steps.
- Fixed a problem in which the Quick Mask mode state was not merging properly.
v1.3 (02/28/2019)
- Fixed to not apply when layer mask is not enabled.
v1.2 (02/25/2019)
- To address the problem of “PSDs saved in PhotoshopCC2019 cannot be imported properly if they contain working paths, etc.,” the path information is removed in advance before merging.
v1.1 (08/23/2014)
- Fixed a problem in which hidden groups would remain hidden after processing.
Live2D_Cleaning
Remove eraser residue and other small dust from Photoshop’s layer structure.
Update history
v1.1 (02/03/2015)
- Fixed a problem in which the Quick Mask would not work properly when the setting is “Color to Mask Range” in the user’s environment.
- Dust in a group layer can also be removed.
Precautions
- Group and layer names should not be the same.
Note: If a group name and layer name is duplicated, the drawing on one of the layers will be deleted. - Please use after applying the Live2D_Preprocess script.
Introduction Method
Extracting the Zip file generates a script file (.jsx).
Open the PSD image file you want to process in Photoshop and begin processing it in one of the following ways.
- Drag and drop the script file into the gap next to the tab with the file name to start the process.
- Select the script file in Photoshop’s “File” > “script” > “Reference” to start the process.
- Put the jsx file into the script folder in Photoshop.
Windows: C:¥Program Files¥Adobe¥Adobe Photoshop CC (64 Bit)¥Presets¥Scripts
Mac: Applications/Adobe Photoshop CC/Presets/Scripts
Once the files are in the folder, restart Photoshop.
It can now be executed from the [File] menu -> [script].