RAPT - Ren'Py Android Packaging Tool
- tiya_nofurita
- Miko-Class Veteran
- Posts: 669
- Joined: Fri Jun 22, 2012 7:23 pm
- Completed: ALLBLACK Phase 1, Heart's Blight, Last Rx., EDDA Cafe, Kohana, Half Moon
- Projects: ALLBLACK Phase 2
- Organization: VN Project Indonesia
- Deviantart: SECONDARY-TARGET
- itch: NSAID
- Location: I can be everywhere
- Discord: 3,4-Methylendioxymethamphetamine#4886
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Excuse me, I'm building into Android .apk file for my current project with the newest version of Ren'Py (I think it's 6.17.7)
The building itself is fine and work on Android device, but my customized icon and presplash won't work (still appear as Ren'Py default)
What did I do wrong? I placed them on base directory as the instruction/manual written.
I've successfully replace them on my previous project with the old version of Ren'Py and RAPT, why it won't work now?
The building itself is fine and work on Android device, but my customized icon and presplash won't work (still appear as Ren'Py default)
What did I do wrong? I placed them on base directory as the instruction/manual written.
I've successfully replace them on my previous project with the old version of Ren'Py and RAPT, why it won't work now?
- badspeler
- Regular
- Posts: 46
- Joined: Fri Jun 17, 2011 9:06 am
- Completed: Aris High Visual Novel, PQRS the Game
- Projects: Aris High Visual Novel
- Organization: Sotong Games
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
I'm facing this problem too. How did you resolve it?tiya_nofurita wrote:Excuse me, I'm building into Android .apk file for my current project with the newest version of Ren'Py (I think it's 6.17.7)
The building itself is fine and work on Android device, but my customized icon and presplash won't work (still appear as Ren'Py default)
What did I do wrong? I placed them on base directory as the instruction/manual written.
I've successfully replace them on my previous project with the old version of Ren'Py and RAPT, why it won't work now?
EDIT: For whatever reason, I switched to Renpy 6.18 and it seems to work. I may have changed the configuration though.
Games: Aris High Visual Novel (for Android), PQRS
- tiya_nofurita
- Miko-Class Veteran
- Posts: 669
- Joined: Fri Jun 22, 2012 7:23 pm
- Completed: ALLBLACK Phase 1, Heart's Blight, Last Rx., EDDA Cafe, Kohana, Half Moon
- Projects: ALLBLACK Phase 2
- Organization: VN Project Indonesia
- Deviantart: SECONDARY-TARGET
- itch: NSAID
- Location: I can be everywhere
- Discord: 3,4-Methylendioxymethamphetamine#4886
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
I haven't resolved this until nowbadspeler wrote:I'm facing this problem too. How did you resolve it?tiya_nofurita wrote:Excuse me, I'm building into Android .apk file for my current project with the newest version of Ren'Py (I think it's 6.17.7)
The building itself is fine and work on Android device, but my customized icon and presplash won't work (still appear as Ren'Py default)
What did I do wrong? I placed them on base directory as the instruction/manual written.
I've successfully replace them on my previous project with the old version of Ren'Py and RAPT, why it won't work now?
EDIT: For whatever reason, I switched to Renpy 6.18 and it seems to work. I may have changed the configuration though.
Eh? Really? Do you need to update to Ren'Py 6.18 (pre-release), RAPT 6.18, or both of them?
- sapiboonggames
- Veteran
- Posts: 299
- Joined: Thu Jan 05, 2012 8:53 am
- Completed: I Love You, Brother [BxB]
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
PyTom, how do we import .py file for Android?
I tried importing this to android: (because I would like to try making similar ones)
http://lemmasoft.renai.us/forums/viewto ... 11&t=19128
But it fails during the "import py file"
I tried putting the entire file into an init python block but it also fails...
I'm not really good at programming so forgive me for being so noob
I tried importing this to android: (because I would like to try making similar ones)
http://lemmasoft.renai.us/forums/viewto ... 11&t=19128
But it fails during the "import py file"
I tried putting the entire file into an init python block but it also fails...
I'm not really good at programming so forgive me for being so noob
Visit my website: http://www.sapiboong.com
- PyTom
- Ren'Py Creator
- Posts: 16093
- 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: RAPT - Ren'Py Android Packaging Tool
sapiboong>>> I'll look into this and get back to you.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- sapiboonggames
- Veteran
- Posts: 299
- Joined: Thu Jan 05, 2012 8:53 am
- Completed: I Love You, Brother [BxB]
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Nevermind. I was being stupidPyTom wrote:sapiboong>>> I'll look into this and get back to you.
Init python block works fine (I accidentally erased some lines which caused it to display error)
The only problem now is with the renpy.input
But looking around the forum, it is still an unimplemented feature.
Visit my website: http://www.sapiboong.com
- KeyboardSan
- Regular
- Posts: 26
- Joined: Sun Oct 05, 2014 5:38 am
- Completed: A Sweet Meeting, SRZ, Flower Field
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Hey I am getting this error while trying to install Android SDK
the engine installed the Apache Ant as well as the Android SDK but after that this error pops up. Please help.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "launcher/game/android.rpy", line 569, in script
python:
File "launcher/game/android.rpy", line 571, in <module>
rapt.install_sdk.install_sdk(AndroidInterface())
File "launcher/game/android.rpy", line 258, in call
if yes and self.yes_thread:
AttributeError: 'AndroidInterface' object has no attribute 'yes_thread'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/android.rpy", line 569, in script
python:
File "C:\Users\ayush\Downloads\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\ast.py", line 778, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\ayush\Downloads\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\python.py", line 1382, in py_exec_bytecode
exec bytecode in globals, locals
File "launcher/game/android.rpy", line 571, in <module>
rapt.install_sdk.install_sdk(AndroidInterface())
File "C:\Users\ayush\Downloads\renpy-6.18.1-sdk\renpy-6.18.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 254, in install_sdk
get_packages(interface)
File "C:\Users\ayush\Downloads\renpy-6.18.1-sdk\renpy-6.18.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 172, in get_packages
if not run_slow(interface, plat.android, "update", "sdk", "-u", "-f", "-a", "-t", ",".join(packages), yes=True):
File "C:\Users\ayush\Downloads\renpy-6.18.1-sdk\renpy-6.18.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 33, in run_slow
interface.call(args, cancel=True, **kwargs)
File "launcher/game/android.rpy", line 258, in call
if yes and self.yes_thread:
AttributeError: 'AndroidInterface' object has no attribute 'yes_thread'
Windows-7-6.1.7600
Ren'Py 6.18.1.670
Ren'Py Launcher 6.18.1.670
the engine installed the Apache Ant as well as the Android SDK but after that this error pops up. Please help.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "launcher/game/android.rpy", line 569, in script
python:
File "launcher/game/android.rpy", line 571, in <module>
rapt.install_sdk.install_sdk(AndroidInterface())
File "launcher/game/android.rpy", line 258, in call
if yes and self.yes_thread:
AttributeError: 'AndroidInterface' object has no attribute 'yes_thread'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/android.rpy", line 569, in script
python:
File "C:\Users\ayush\Downloads\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\ast.py", line 778, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\ayush\Downloads\renpy-6.18.1-sdk\renpy-6.18.1-sdk\renpy\python.py", line 1382, in py_exec_bytecode
exec bytecode in globals, locals
File "launcher/game/android.rpy", line 571, in <module>
rapt.install_sdk.install_sdk(AndroidInterface())
File "C:\Users\ayush\Downloads\renpy-6.18.1-sdk\renpy-6.18.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 254, in install_sdk
get_packages(interface)
File "C:\Users\ayush\Downloads\renpy-6.18.1-sdk\renpy-6.18.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 172, in get_packages
if not run_slow(interface, plat.android, "update", "sdk", "-u", "-f", "-a", "-t", ",".join(packages), yes=True):
File "C:\Users\ayush\Downloads\renpy-6.18.1-sdk\renpy-6.18.1-sdk\rapt\buildlib\rapt\install_sdk.py", line 33, in run_slow
interface.call(args, cancel=True, **kwargs)
File "launcher/game/android.rpy", line 258, in call
if yes and self.yes_thread:
AttributeError: 'AndroidInterface' object has no attribute 'yes_thread'
Windows-7-6.1.7600
Ren'Py 6.18.1.670
Ren'Py Launcher 6.18.1.670
Re: RAPT - Ren'Py Android Packaging Tool
I am getting the same errors.. line 569, 571, and 258. No need to post I get the exact same ones. Windows 7, new version of Ren 'Py..looks like I have Python 3.0 ..searched and there are a lot of Python directories. I am trying a test game with a imagemap with 4 large images, like comic book panels. Only the first one (upper right) works. The screen is 800 x 600. So I tried to install the Android Packages, can't get it to work. Just got the Java.. it is brand new, just now downloaded it. I have a X86 machine.
- PyTom
- Ren'Py Creator
- Posts: 16093
- 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: RAPT - Ren'Py Android Packaging Tool
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: RAPT - Ren'Py Android Packaging Tool
Hseo wrote:for this you can watch this video for full explaining how to play games with apk and obb filestiya_nofurita wrote:Hseo : Same problem with you and I deleted google play licensing library and google play APK expansion library, then re-downloaded them again. Successfully build but haven't tried it on my device. I wonder if my Android can recognize .obb file? (totally noob, I use file expansion by the way). Where should I put .apk file and .obb file on my device? Do I have to rename .obb file into the same as .apk file?
[youtube]http://www.youtube.com/watch?v=cPaBxSViTYY[/youtube]
+
you can put *.apk and *.obb files anywhere you want
-> for me I just put them in "root -> download"
(I:\download or I:\device_name\download )
also, it look like the game will crush in android if we usedthough it look like downloading last API version + add simple code will fix itCode: Select all
init python: config.rtl = True
->>>>>>>downloading API 19 right now
Adding
Code: Select all
config.rtl = True
"C:\Users\***\renpy-6.18.1-sdk\renpy\text\text.py", line 935, in rtl_paragraph
NameError: global name 'ON' is not defined"
This is my first post, so I should say thanks for the nice efforts to create this software. I was thinking to make one from scratch. However, I found this which saved a lot of my time .
Re: RAPT - Ren'Py Android Packaging Tool
Umm.. so what does this mean? I am a novice. What do I do to get it working, could you spell it out or is it too extremely detailed? I'd appreciate it.
- PyTom
- Ren'Py Creator
- Posts: 16093
- 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: RAPT - Ren'Py Android Packaging Tool
We don't support RTL languages on Android, yet.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: RAPT - Ren'Py Android Packaging Tool
Thanks for your quick reply. I was trying to get it working (assuming it was a bug) but once I've read these lines, I stopped:PyTom wrote:We don't support RTL languages on Android, yet.
Code: Select all
# Modules directory.
cython(
"_renpy",
[ "IMG_savepng.c", "core.c", "subpixel.c"],
sdl + [ 'png', 'z', 'm' ])
if has_fribidi and not android:
cython(
"_renpybidi",
[ "renpybidicore.c" ],
['fribidi'], define_macros=[ ("FRIBIDI_ENTRY", "") ])
- PyTom
- Ren'Py Creator
- Posts: 16093
- 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: RAPT - Ren'Py Android Packaging Tool
The answer is that I was unable to get the underlying fribidi library to compile on Android, so I couldn't connect my stuff to it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: RAPT - Ren'Py Android Packaging Tool
I am on the edge of my seat waiting to find out how to fix this, how to compile to Android.
Who is online
Users browsing this forum: No registered users