{"id":15014692,"url":"https://github.com/mikuauahdark/live2love","last_synced_at":"2025-10-04T12:51:42.710Z","repository":{"id":133072942,"uuid":"135673958","full_name":"MikuAuahDark/Live2LOVE","owner":"MikuAuahDark","description":"LÖVE library to show Live2D Cubism models (WIP)","archived":false,"fork":false,"pushed_at":"2020-08-08T03:12:30.000Z","size":155,"stargazers_count":24,"open_issues_count":4,"forks_count":4,"subscribers_count":4,"default_branch":"live2dsdk3","last_synced_at":"2025-07-30T01:12:36.416Z","etag":null,"topics":["cubism2","live2d","love2d","love2d-framework","love2d-library","lua"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MikuAuahDark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-01T05:57:54.000Z","updated_at":"2025-07-20T10:05:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"68a00c20-2026-4ee4-9b93-8755f916c615","html_url":"https://github.com/MikuAuahDark/Live2LOVE","commit_stats":{"total_commits":32,"total_committers":1,"mean_commits":32.0,"dds":0.0,"last_synced_commit":"8619b65ff331b139fc55806e687f857b9a1c8777"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/MikuAuahDark/Live2LOVE","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikuAuahDark%2FLive2LOVE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikuAuahDark%2FLive2LOVE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikuAuahDark%2FLive2LOVE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikuAuahDark%2FLive2LOVE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MikuAuahDark","download_url":"https://codeload.github.com/MikuAuahDark/Live2LOVE/tar.gz/refs/heads/live2dsdk3","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MikuAuahDark%2FLive2LOVE/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278315198,"owners_count":25966775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cubism2","live2d","love2d","love2d-framework","love2d-library","lua"],"created_at":"2024-09-24T19:45:58.096Z","updated_at":"2025-10-04T12:51:42.694Z","avatar_url":"https://github.com/MikuAuahDark.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Live2LÖVE\r\n=========\r\n\r\nLÖVE module (or library) for loading \u0026 rendering Live2D models.  \r\nRequire at least LÖVE 11.0 to run.\r\n\r\nLive2D Notice\r\n-------------\r\n\r\nYou need Live2D Cubism 3 SDK for Native to compile this project. This repository doesn't ship it, and you need to retrieve that from Live2D website.\r\nMake sure to grab [Live2D Cubism 3 SDK for Native](https://live2d.github.io/).\r\n\r\nNote that distributing your game which uses this library is subject to Live2D licensing.\r\n\r\nLua\r\n---\r\n\r\nThe Lua include file assume it's built against LuaJIT 2.0.5 (LÖVE for Windows). If not, please modify the include and the lib files accordingly.\r\n\r\nCompiling\r\n---------\r\n\r\nYou need [CMake](https://cmake.org/) to generate the project. Recent version is strongly recommended, CMake 3.6 is minimum.\r\n\r\nYou need the Live2D Cubism 3 SDK for Native as described above. Your downloaded zip should have this structure\r\n\r\n```\r\nCubism3SDKforNative-\u003cversion\u003e\r\n+ Core\r\n\r\n* some are omitted because they're not necessary for Live2LÖVE\r\n```\r\n\r\nThis copying instructions assume the directory exists in Live2LÖVE. If it's not exist, create it!\r\n\r\nCopy the `Core` folder to `live2d/Core` folder in Live2LÖVE (merge).\r\n\r\nOnce all set, you should be able to build the project with CMake:\r\n\r\n### Windows\r\n\r\nBuild Live2LOVE.dll (shared library)\r\n\r\n```\r\ncmake -T v120 -H. -Bbuild -DBUILD_SHARED_LIBS=1\r\ncmake --build build --config Release\r\n```\r\n\r\nBuild Live2LOVE.lib (static library)\r\n\r\n```\r\ncmake -T v120 -H. -Bbuild -DBUILD_SHARED_LIBS=0\r\ncmake --build build --config Release\r\n```\r\n\r\n### Linux\r\n\r\n**Note: Only 64-bit target is supported!**\r\n\r\nBuild libLive2LOVE.so\r\n\r\n```\r\ncmake -Bbuild -H. -DBUILD_SHARED_LIBS=1\r\ncmake --build build --config Release\r\n```\r\n\r\nNote that `libLive2LOVE.so` depends on `libLive2DCubismCore.so`. Linking to `libLive2DCubismCore.a` is currently\r\nunsupported as Live2LOVE requires `-fPIC` but their static library aren't compiled with such option.\r\n\r\n### Android\r\n\r\n#### NDK r18 and below\r\n\r\nNote that this is only tested to work in NDK **r16b**. NDK r17 and r18 may not work!\r\n\r\nExample command-line to build Live2LOVE for Android targetting architecture `armeabi-v7a` with API Level 14:\r\n\r\n```\r\ncmake -Bbuild -H. -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_ARCH_ABI=armeabi-v7a -DCMAKE_SYSTEM_VERSION=14 -DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang -DCMAKE_ANDROID_STL_TYPE=c++_shared\r\ncmake --build build --config RelWithDebInfo\r\n```\r\n\r\n#### NDK r19 and later\r\n\r\nExample command-line to build Live2LOVE for Android targetting architecture `armeabi-v7a` with API Level 16:\r\n\r\n```\r\ncmake -Bbuild -H. -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake -DANDROID_STL=c++_shared -DANDROID_TOOLCHAIN=clang -DANDROID_PLATFORM=android-16 -DANDROID_ABI=armeabi-v7a\r\ncmake --build build --config RelWithDebInfo\r\n```\r\n\r\nRegardless of NDK version, only C++ shared STL is supported. GNUSTL won't work.\r\n\r\nIt will generate libLive2LOVE.a which you can add to LOVE source as prebuit and then you have to patch `src/modules/love/love.cpp`\r\n\r\n```cpp\r\n// put it in place where there are tons of luaopen_*\r\nextern \"C\" int luaopen_Live2LOVE(lua_State *L)\r\n\r\n// put it above `love.nogame` string.\r\n\t{ \"Live2LOVE\", luaopen_Live2LOVE },\r\n```\r\n\r\nDocumentation\r\n-------------\r\n\r\nThe documentation is generated with [LDoc](https://github.com/stevedonovan/LDoc). You can generate the docs with this command\r\n\r\n```\r\nldoc -c ldocConfig.ld -d docs\r\n```\r\n\r\nLicense\r\n-------\r\n\r\nThis LÖVE library is licensed under zLib license, excluding the Live2D include files and libraries.  \r\n**Games/things released with this library is subject to Live2D licensing!**\r\n\r\nPicoJSON is licensed under 2-clause BSD license.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikuauahdark%2Flive2love","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikuauahdark%2Flive2love","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikuauahdark%2Flive2love/lists"}