Skip to content

Blender plugin for League of Legends asset import/export

Notifications You must be signed in to change notification settings

alanpq/lol-blender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2261d81 ยท Mar 13, 2025

History

84 Commits
Mar 13, 2025
Aug 16, 2024
Mar 13, 2025
Mar 13, 2025
Aug 15, 2024
Mar 13, 2025
Jul 13, 2024
Jul 15, 2024
Jul 13, 2024
Mar 13, 2025
Jun 19, 2024
Mar 13, 2025
Mar 13, 2025
Aug 17, 2024
Aug 15, 2024
Mar 13, 2025
Jul 16, 2024
Jun 19, 2024
Jul 13, 2024

Repository files navigation

lol-blender

Blender plugin for League of Legends asset import/export, using league-toolkit.

NOTE: This plugin is extremely early in development, see io_scene_lol for a more developed importer/exporter.

Features

โœ… โš ๏ธ ๐Ÿšจ ๐Ÿ› ๏ธ
Supported Partial support Broken Planned

Scene I/O

Import Export
Skinned Mesh (.skn) โœ…1 โš ๏ธ
Skeleton (.skl) โœ… ๐Ÿšจ
Animation (.anm) ๐Ÿ› ๏ธ ๐Ÿ› ๏ธ
Static mesh (.sco/.scb) ๐Ÿ› ๏ธ ๐Ÿ› ๏ธ
Map geometry (.mapgeo) ๐Ÿ› ๏ธ ๐Ÿ› ๏ธ

How to Install

  1. Download the latest .zip file of the addon (addon-lol-blender-vX.Y.Z.zip)
    • There is no need to download any of the .whl files (unless you are doing manual setup in step 5).
  2. Open Blender and go to Edit > Preferences > Add-ons
  3. Click the Install button in the top right, next to refresh.
  4. Select the zip file you downloaded and click install.
  5. In the preferences for the addon, click Automatically download & install dependencies.
    • This will fetch the correct .whl file for your system and install it.
    • If you want to do this manually - or the automatic download isn't working, download the correct .whl from the releases page, set the Wheel Path in your addon preferences, and click Manually install dependencies.

Development

Prerequisites

  • Python 3
  • Rust
    • Maturin (see their install guide here)

Clone the project with --recurse-submodules or sync the league-toolkit submodule manually:

git submodule init # initialize your local configuration file
git submodule update # fetch submodules

Create and source a python virtual env:

python -m venv venv
source venv/bin/activate

Building/Running

Build the league-toolkit bindings:

cd bindings
maturin develop

Run Blender with addon live updating:

# Path to your blender executable file.
export BLENDER_PATH="/path/to/your/blender/executable"
# Optional, needed if the version can't be detected from BLENDER_PATH
export BLENDER_VERSION="4.3"

# Where to put (dev) addon builds
# Optional, useful for funky setups (e.g. nix)
export __BLENDER_ADDON_PATH="/path/to/blender/addons"

# Path to the wheel for the league-toolkit bindings
# `maturin develop` puts the wheel in target/wheels/*.whl
export __LOL_WHEEL_PATH="/path/to/project/bindings/target/wheels/league_toolkit-x.x.x-etc-etc.whl"
python test.py

Building for Release

After completing the prerequisites, you can build a release .zip of the addon with:

python release.py

Build the league-toolkit bindings, to be distributed separately (for now):

cd bindings
maturin develop

Footnotes

  1. Automatic texture import not yet implemented. (Materials/UV's are imported though, so textures can be manually hooked up) โ†ฉ

About

Blender plugin for League of Legends asset import/export

Resources

Stars

Watchers

Forks

Packages

No packages published