RAPT - Ren'Py Android Packaging Tool
- jack_norton
- Lemma-Class Veteran
- Posts: 4067
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
No, says that can't find the file. Then if I convert the two .jpgs into a .png (with same filename) it loads them! maybe is just something different about the callback ?
-
cyrus_zuo
- Regular
- Posts: 57
- Joined: Mon Aug 11, 2008 6:46 pm
- Projects: Airport Mania: First Flight, Matches & Matrimony
- Location: Lake Forest, CA
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
I can build!
...but the game isn't working.
I get an error upon pressing the play button from the main menu.
This is the code on the line it points to:
"scene bg chapter with fade"
That is the scene for the first piece of the game.
The error is:
TypeError: range() integer step argument expected, got float.
I haven't changed the game since it was previously running on Android (in December). I'm not sure what the cause is or where to start on this one.
Any ideas?
...but the game isn't working.
I get an error upon pressing the play button from the main menu.
This is the code on the line it points to:
"scene bg chapter with fade"
That is the scene for the first piece of the game.
The error is:
TypeError: range() integer step argument expected, got float.
I haven't changed the game since it was previously running on Android (in December). I'm not sure what the cause is or where to start on this one.
Any ideas?
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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
Can I see the traceback?
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?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
-
cyrus_zuo
- Regular
- Posts: 57
- Joined: Mon Aug 11, 2008 6:46 pm
- Projects: Airport Mania: First Flight, Matches & Matrimony
- Location: Lake Forest, CA
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Is there a way to get it from the device?
I'm not seeing it anywhere...I can hand write it out, but would prefer not to if there is an easier way to get it!
I'm not seeing it anywhere...I can hand write it out, but would prefer not to if there is an easier way to get it!
- jack_norton
- Lemma-Class Veteran
- Posts: 4067
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Type android.py logcat and will print the traceback (then if you're on PC you can select and copy it) 
-
cyrus_zuo
- Regular
- Posts: 57
- Joined: Mon Aug 11, 2008 6:46 pm
- Projects: Airport Mania: First Flight, Matches & Matrimony
- Location: Lake Forest, CA
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Not working, just getting "- waiting for device - "
I tried 2 devices, 1 of which I know I have the right USB drivers for
.
Unfortunately, I need to step away from this.
Hopefully in a few months I'll be able to return and give it another go, but for now I can't work on it further
.
Thanks for the help though!
I tried 2 devices, 1 of which I know I have the right USB drivers for
Unfortunately, I need to step away from this.
Hopefully in a few months I'll be able to return and give it another go, but for now I can't work on it further
Thanks for the help though!
- jack_norton
- Lemma-Class Veteran
- Posts: 4067
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
So, first of all: RAPT is AWESOME! Really you did a great job! Heileen 1 is on Google appstore right now, and I'm testing Heileen 2. It has very BIG textures (bigger than 2048x2048) but still on my Asus EEEpad works, albeit a bit slow when loads the new sprites during the prediction.
In Heileen 2 there's also the particle effect , and I got a crash there: though of course I DON'T expect such a thing like a particle effect to work!
Just for your curiosity the traceback:
In Heileen 2 there's also the particle effect , and I got a crash there: though of course I DON'T expect such a thing like a particle effect to work!
Just for your curiosity the traceback:
Code: Select all
I/python (16782): error: GL_GetAttribute not supported
I/python (16782): While running game code:
I/python (16782): File "game/mainscript.rpy", line 961, in script call
I/python (16782): File "game/script.rpy", line 465, in script
I/python (16782): error: GL_GetAttribute not supported
I/python (16782): Full traceback:
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/execution.
py", line 265, in run
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/ast.py", l
ine 1008, in execute
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/exports.py
", line 887, in with_statement
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/display/co
re.py", line 1498, in do_with
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/display/co
re.py", line 1799, in interact
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/display/co
re.py", line 2104, in interact_core
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/display/co
re.py", line 1388, in draw_screen
I/python (16782): File "render.pyx", line 366, in renpy.display.render.render
_screen (gen/renpy.display.render.c:4567)
I/python (16782): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/display/la
yout.py", line 511, in render
I/python (16782): File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python (16782): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/display/tr
ansition.py", line 361, in render
I/python (16782): File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python (16782): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/display/la
yout.py", line 511, in render
I/python (16782): File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python (16782): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/display/la
yout.py", line 511, in render
I/python (16782): File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python (16782): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python (16782): File "accelerator.pyx", line 75, in renpy.display.accelerat
or.transform_render (gen/renpy.display.accelerator.c:1076)
I/python (16782): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/display/pa
rticle.py", line 284, in render
I/python (16782): File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python (16782): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python (16782): File "accelerator.pyx", line 75, in renpy.display.accelerat
or.transform_render (gen/renpy.display.accelerator.c:1076)
I/python (16782): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/display/im
.py", line 432, in render
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/display/im
.py", line 195, in get
I/python (16782): File "/home/tom/ab/android-rebuild/private/renpy/display/im
.py", line 482, in load- sciencewarrior
- Veteran
- Posts: 356
- Joined: Tue Aug 12, 2008 12:02 pm
- Projects: Valentine Square (writer) Spiral Destiny (programmer)
- Location: The treacherous Brazilian Rainforest
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Google has just released an updated emulator with GPU and OpenGL ES 2 support. It should be good enough to test Ren'Py projexts now.
Keep your script in your Dropbox folder.
It allows you to share files with your team, keeps backups of previous versions, and is ridiculously easy to use.
It allows you to share files with your team, keeps backups of previous versions, and is ridiculously easy to use.
Re: RAPT - Ren'Py Android Packaging Tool
Hi, can you tell me how to use it?I'm new in this T.T
Re: RAPT - Ren'Py Android Packaging Tool
Since I'm fresh at this too, here's what happened:t0t0r0 wrote:Hi, can you tell me how to use it?I'm new in this T.T
1.) Download/Install python 2.7.2
http://python.org/download/releases/2.7.2/
2.) Download/Install Java JDK (Which is a fuller suite than the runtime you need to run basic renpy editor)
http://www.oracle.com/technetwork/java/ ... index.html
I didn't bother with the complexity of using a live connected test device (you need to download specific USB drivers for your device)... I preferred to just build the apks and transfer them via SDcard.
3.) Download/Install Rapt
http://www.renpy.org/dl/android/
4.) Copy the unobfuscated/unarchived directory e.g. "MyGame" to within the Rapt directory
So it's like.../rapt-6.13.11.0/MyGame/game
5.) Make the icons android-icon.png and android-presplash.jpg and place just above the /game directory
6.) Open the DOS command prompt and CD into the directory that has android.py, type in
android.py test
to make sure everything is fine.
7.) This will take a long time and make sure you have internet... type in
android.py installsdk
and it's a good idea to generate keystore
8.) android.py configure MyGame
-For example, I answered the questions with Sugars Delight, Sugars Delight, com.nekosoft.sugarsdelight, 1, 1, 1
9.) android.py build MyGame release
-it looks like the build succeeded
10.) I grab the apk in the /bin directory and transfer via SDcard for testing.
All the steps I found in the /doc section when I extracted the rapt tool.
Hope it helps and I didn't skip anything.
Last edited by DaFool on Wed Apr 25, 2012 4:58 pm, edited 2 times in total.
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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
Note that for your own game, you'd want to answer the configure questions differently.
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?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- georgmay
- Regular
- Posts: 131
- Joined: Sun Feb 08, 2009 2:00 pm
- Projects: Restriction
- Location: Belarus,Minsk
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Hi guys! I've got the problem. I've done all the steps, the_question.apk is already installed on my mobile. But it isn't loading 
Loading screen appears, after a half of minute everything disappears
.
I have Android 2.3.6 Samsung Galaxy Y
Thanks for any support
---- Added
I'm just installed Moonlight Walks from Google Play, everything works fine.
Loading screen appears, after a half of minute everything disappears
I have Android 2.3.6 Samsung Galaxy Y
Thanks for any support
---- Added
I'm just installed Moonlight Walks from Google Play, everything works fine.
Returned
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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
What does logcat say?
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?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- georgmay
- Regular
- Posts: 131
- Joined: Sun Feb 08, 2009 2:00 pm
- Projects: Restriction
- Location: Belarus,Minsk
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Oh sorry I forgot to put this first time.
That's all, everything disappears after that. Without of error message or something.
Code: Select all
E:\WORKFILES\renpy-6.13.12>python android.py logcat
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
V/python (31604): Extracting private assets.
{{ A LOT OF EXTRACTING MESSAGES }}
I/python (31604): Private directory is /data/data/com.android.the_question/file
s
I/python (31604): Argument is /data/data/com.android.the_question/files
I/python (31604): Handing off to main.
I/python (31604): /data/data/com.android.the_question/files/renpy/bootstrap.py:
263: RuntimeWarning: import cdrom: No module named cdrom
I/python (31604): (ImportError: No module named cdrom)
I/python (31604): Imported android.sound.
I/python (31604): Screen diagonal is 3.33333333333 inches.
I/python (31604): Logging to /data/data/com.android.the_question/files/log.txt
Returned
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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
Can you run an adb logcat, without going through python? I'd like to avoid the filtering.
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?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: No registered users

