There is no way to port my project to Android platform?

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.
Post Reply
Message
Author
User avatar
Yahu
Newbie
Posts: 6
Joined: Thu Feb 26, 2015 3:45 am
Contact:

There is no way to port my project to Android platform?

#1 Post by Yahu »

Hello Everyboy!

Recently I meet a big problem when I try to port my project to Android.
In my project, I add new c library to renpy to support 2D skeleton animation(by spine)
then I compiled c file into pyd file just like renpy did, and I also modified the gltexture, gldraw,
regenerated them and recompile them throught cython and msvc compiler.
I work 6 months for it and it works well on windows platform now.

But when I try to port they to Android.
problem comes.

I find all of the ".so" files are turn into 0KB size, just as empty files, including pygame modules.
I only find some "so" files in rapt/libs directory.
but none of them is "gldraw" or "gltexture"
where are these two files?
Are they all combined into libpython2.7.so?
How can I port my project with new dynamic library and modified dynamic library?

I have tried to track the code for 3 days but I still don't know how it works....
I feel so sad.
I 【do do do】 need your help!

Thank you very much

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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: There is no way to port my project to Android platform?

#2 Post by PyTom »

They actually go into libpythonmodules.so, and if you put them on android, they should load properly at runtime.

Can I see what your spine library can do, and how everything is licensed? I could see merging this sort of thing with Ren'Py.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Bing [Bot]