Does Ren'Py support Live 2D?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
Georgel
Newbie
Posts: 23
Joined: Tue Mar 22, 2016 8:03 am
Organization: Seventh Heart Sudios
Location: Romania, Bucharest
Contact:

Re: Does Ren'Py support Live 2D?

#76 Post by Georgel » Sat Jan 14, 2017 2:33 pm

One thing that might come in handy with adding a plugin / module for live2d is voice sync.

Exporting movies is good, but live2d should also have an auto voice sync feature which doesn't appear to be as simply to use without it's native module.

User avatar
renoa-heartilly
Regular
Posts: 113
Joined: Sat Jul 17, 2010 2:37 am
Completed: مقهى الضائعون, Arabic Translations for Ren'py, Pretty Please
Projects: حور, BB project, dentist drama
Organization: stanza studio (creative circle)
Contact:

Re: Does Ren'Py support Live 2D?

#77 Post by renoa-heartilly » Sat May 20, 2017 7:21 pm

hello friends :D
so a while ago Live2D Cubism was updated and they announced that the SDKs for "native development" are now on Github , i'm not sure what that means exactly, so maybe someone who knows more can take a look at their page and tell us if we can now develop something to bridge Live2D with Ren'py?
their main download page is here(the free version seems like it's gonna drop next year, but for now there's about 40 days of free trial)
their github page is here, i don't understand most of what is happening there :shock:

User avatar
SeventhHeart
Newbie
Posts: 16
Joined: Mon May 08, 2017 8:01 pm
Projects: Eternal Hour, Quantum Magica
Organization: Seventh Heart Studios
Soundcloud: seventh-heart-studio
Location: Romania
Contact:

Re: Does Ren'Py support Live 2D?

#78 Post by SeventhHeart » Sat May 20, 2017 7:30 pm

Woah

If there is a chance that Ren;py could support live2d natively, that would be quite awesome!

User avatar
PyTom
Ren'Py Creator
Posts: 15200
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Does Ren'Py support Live 2D?

#79 Post by PyTom » Sat May 20, 2017 8:02 pm

It looks like while I couldn't distribute this with Ren'Py, I could probably make it available as a separate download. I need to look at this code closer, to make sure - but yeah, it looks like this is the path to get Live2D in Ren'Py.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
renoa-heartilly
Regular
Posts: 113
Joined: Sat Jul 17, 2010 2:37 am
Completed: مقهى الضائعون, Arabic Translations for Ren'py, Pretty Please
Projects: حور, BB project, dentist drama
Organization: stanza studio (creative circle)
Contact:

Re: Does Ren'Py support Live 2D?

#80 Post by renoa-heartilly » Sat May 20, 2017 8:32 pm

PyTom wrote:It looks like while I couldn't distribute this with Ren'Py, I could probably make it available as a separate download. I need to look at this code closer, to make sure - but yeah, it looks like this is the path to get Live2D in Ren'Py.
Image

User avatar
shakeyss
Newbie
Posts: 17
Joined: Sun Jun 11, 2017 10:58 am
Projects: Moonlit Tears
Organization: Digilikha Studios
Soundcloud: shakeyss
itch: digilikha
Location: Philippines
Contact:

Re: Does Ren'Py support Live 2D?

#81 Post by shakeyss » Fri Jun 16, 2017 5:05 am

PyTom wrote:It looks like while I couldn't distribute this with Ren'Py, I could probably make it available as a separate download. I need to look at this code closer, to make sure - but yeah, it looks like this is the path to get Live2D in Ren'Py.
NOW I'M GETTING HYPED

User avatar
Pearchy
Newbie
Posts: 1
Joined: Wed Jul 19, 2017 9:28 pm
Deviantart: Pearchy
Github: Pearchy
Soundcloud: Pearchy_anime_music
itch: Pearchy
Contact:

Re: Does Ren'Py support Live 2D?

#82 Post by Pearchy » Thu Jul 20, 2017 10:52 am

PyTom wrote:It looks like while I couldn't distribute this with Ren'Py, I could probably make it available as a separate download. I need to look at this code closer, to make sure - but yeah, it looks like this is the path to get Live2D in Ren'Py.
I know that TyranoBuilder supports Live2D but isn't there components/plugin for Live2D that maybe we can add to Ren'py? I'm still not sure if we can do that but add components from this page maybe?

User avatar
The Monkey Ninja
Regular
Posts: 33
Joined: Mon Jul 05, 2010 5:06 pm
Projects: 3^07, OneTimeValentine, OtomeDesign
Organization: MooseCake Productions
Deviantart: the-monkey-ninja
Location: South Africa
Contact:

Re: Does Ren'Py support Live 2D?

#83 Post by The Monkey Ninja » Wed Oct 11, 2017 9:37 am

PyTom wrote:
Sat May 20, 2017 8:02 pm
It looks like while I couldn't distribute this with Ren'Py, I could probably make it available as a separate download. I need to look at this code closer, to make sure - but yeah, it looks like this is the path to get Live2D in Ren'Py.
Hello! I wanted to ask, is there any update on this?
I've been looking around everywhere to see if Ren'py supports Live2D yet or if there is a separate plugin that can be downloaded (or code that could be implemented into a script) but haven't been able to find one... so just in case there is and I've just missed it... is there a plugin? XD If not, would it be possible to contact Live2D themselves to allow support for Renpy?
--
Cloaks are wonderful things~ <3

My DA page for all my art:
http://the-monkey-ninja.deviantart.com/

Ex-Nanoreno2017 game One Time Valentine has a (very rough) demo out now!
viewtopic.php?f=43&t=43314

iichan_lolbot
Veteran
Posts: 205
Joined: Tue Dec 30, 2008 9:18 am
Projects: iichan erogame
Contact:

Re: Does Ren'Py support Live 2D?

#84 Post by iichan_lolbot » Mon May 14, 2018 8:21 pm

PyTom wrote:
Sat May 20, 2017 8:02 pm
It looks like while I couldn't distribute this with Ren'Py, I could probably make it available as a separate download. I need to look at this code closer, to make sure - but yeah, it looks like this is the path to get Live2D in Ren'Py.
Are there any news?

asfdfdfd
Newbie
Posts: 9
Joined: Sat Oct 21, 2017 8:13 am
Github: asfdfdfd
Location: Saint Petersburg
Contact:

Re: Does Ren'Py support Live 2D?

#85 Post by asfdfdfd » Sat Jun 30, 2018 2:40 pm

Hi.

I've spent several days and made PoC integration of Live2D with RenPy. It is far from production-ready condition. Just simple draft.

Are there many people who are really interested in Live2D inside RenPy? Is it worth spend more time on this project?


User avatar
Morhighan
Miko-Class Veteran
Posts: 915
Joined: Sun Jun 27, 2010 12:54 pm
Completed: AIdol, When Our Journey Ends
Projects: Connection Pending
Tumblr: MysteryCorgi
Deviantart: MysteryCorgi
Soundcloud: MysteryCorgi
itch: MysteryCorgi
Location: USA
Contact:

Re: Does Ren'Py support Live 2D?

#86 Post by Morhighan » Sat Jun 30, 2018 5:47 pm

asfdfdfd wrote:
Sat Jun 30, 2018 2:40 pm
Are there many people who are really interested in Live2D inside RenPy? Is it worth spend more time on this project?
I for one am very interested in this, and I know that a good number of developers are as well. I really like how it looks so far and I hope to see more from you. :)

User avatar
renoa-heartilly
Regular
Posts: 113
Joined: Sat Jul 17, 2010 2:37 am
Completed: مقهى الضائعون, Arabic Translations for Ren'py, Pretty Please
Projects: حور, BB project, dentist drama
Organization: stanza studio (creative circle)
Contact:

Re: Does Ren'Py support Live 2D?

#87 Post by renoa-heartilly » Sat Jun 30, 2018 9:43 pm

asfdfdfd wrote:
Sat Jun 30, 2018 2:40 pm
Hi.

I've spent several days and made PoC integration of Live2D with RenPy. It is far from production-ready condition. Just simple draft.

Are there many people who are really interested in Live2D inside RenPy? Is it worth spend more time on this project?
count me in as interested!
how did you display the model files? video export? :shock: :!:

asfdfdfd
Newbie
Posts: 9
Joined: Sat Oct 21, 2017 8:13 am
Github: asfdfdfd
Location: Saint Petersburg
Contact:

Re: Does Ren'Py support Live 2D?

#88 Post by asfdfdfd » Sun Jul 01, 2018 1:58 pm

renoa-heartilly wrote:
Sat Jun 30, 2018 9:43 pm
how did you display the model files? video export? :shock: :!:
Nope. This is direct usage of Live2D assets (moc3, motions etc) through official CubismNativeFramework, couple of wrappers and a bit of custom OpenGL code.

User avatar
Andredron
Regular
Posts: 161
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Re: Does Ren'Py support Live 2D?

#89 Post by Andredron » Sun Jul 01, 2018 6:31 pm

asfdfdfd wrote:
Sun Jul 01, 2018 1:58 pm
renoa-heartilly wrote:
Sat Jun 30, 2018 9:43 pm
how did you display the model files? video export? :shock: :!:
Nope. This is direct usage of Live2D assets (moc3, motions etc) through official CubismNativeFramework, couple of wrappers and a bit of custom OpenGL code.
th! cool! it seems that tyranobilder will soon begin to smoke nervously. Can you tell me how you ported that code from the githab? I tried to port it, but because of the low level, I even could not move ....

How I understood there without with с++ did not manage, or you modules used?
I know, I have terrible English
I'm writing a Renpy textbook (in Russian). I would be glad if someone translated into an English or German textbook https://yadi.sk/d/ZX_DonP63USRru Update 22.06.18

asfdfdfd
Newbie
Posts: 9
Joined: Sat Oct 21, 2017 8:13 am
Github: asfdfdfd
Location: Saint Petersburg
Contact:

Re: Does Ren'Py support Live 2D?

#90 Post by asfdfdfd » Mon Jul 02, 2018 6:18 am

Andredron wrote:
Sun Jul 01, 2018 6:31 pm
th! cool! it seems that tyranobilder will soon begin to smoke nervously. Can you tell me how you ported that code from the githab? I tried to port it, but because of the low level, I even could not move ....

How I understood there without with с++ did not manage, or you modules used?
Solution is pretty straightforward but has several bumps on the way. I will opensource it later (no specific date, sorry, still requires a bit of work to be published) so everyone could try and improve.

Short description:
1. Live2D has two official libraries: Core and Framework. Core is closed source pure-C library. Framework is C++ opensource library that built atop of Core.
2. Framework has OpenGL rendering code that renders model on screen.
3. I've used Cython and a bit of custom C++ code to create Framework wrapper that compiles to binary Python module.
4. Next I've wrapped Live2D rendering so it renders to the FBO instead of screen.
5. At last i've wrote code that converts pixels from FBO to the RenPy render surface.

Post Reply

Who is online

Users browsing this forum: No registered users