Skip to content

Build machine perparations

CJMAXiK edited this page Aug 16, 2024 · 2 revisions

This is required to build GDCubism plugin for Windows. You won't need it to use Melba Toaster from the release tag.

For this guild, we are using Windows 11 dev environment, available via Hyper-V's "Quick Create" function. It has all Visual C++ prerequisites already met.

Follow this article for more information on the build process.

  1. Install Git, Python and SCons:

    winget install Git.Git
    winget install Python.Python.3.12
  2. Install SCons (we're using version 4.7 for now):

    pip install SCons==4.7 
  3. Get the plugin:

    git clone https://github.com/MizunagiKB/gd_cubism.git
    cd gd_cubism
    git submodule update --init
  4. Get the SDK from the Live2D website (latest version), put to thirdparty folder: https://www.live2d.com/en/sdk/download/native/

  5. Get the Cubism Native Framework:

    pushd thirdparty
    git clone https://github.com/Live2D/CubismNativeFramework.git
    popd
  6. Build the plugin:

    python -m SCons platform=windows arch=x86_64 target=template_debug
    python -m SCons platform=windows arch=x86_64 target=template_release
  7. Retrieve the gd_cubism folder fromgd_cubism\demo\addons and put it into addons folder.

  8. You can safely delete cs and example folders, as well as non-DLL files in bin folder.

Clone this wiki locally