RAPT - Ren'Py Android Packaging Tool
- 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
It's possible that's it. I'd expect it's more the size of the image, rather than the ATL that's doing it. It's also possible there's some other problem - a bigger traceback would be better. Does logcat say anything else?
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
- jack_norton
- Lemma-Class Veteran
- Posts: 4084
- 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
Will try again today (early morning here), since I updated the firmware (bad idea perhaps...) the android.py doesn't recognize the device anymore (so logcat doesn't work). Strange because I can copy the file manually, so windows recognize the device...
- 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
That's not necessarily true. You may need to update the android driver - the adb driver is different from the mass storage support driver.
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
- jack_norton
- Lemma-Class Veteran
- Posts: 4084
- 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
Correct, there was an update to the USB driver
Full log:
Full log:
Code: Select all
I/python ( 1560): Full traceback:
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/execution.
py", line 265, in run
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/ast.py", l
ine 1008, in execute
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/exports.py
", line 887, in with_statement
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/co
re.py", line 1498, in do_with
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/co
re.py", line 1799, in interact
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/co
re.py", line 2104, in interact_core
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/co
re.py", line 1388, in draw_screen
I/python ( 1560): File "render.pyx", line 366, in renpy.display.render.render
_screen (gen/renpy.display.render.c:4567)
I/python ( 1560): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/la
yout.py", line 511, in render
I/python ( 1560): File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python ( 1560): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/tr
ansition.py", line 362, in render
I/python ( 1560): File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python ( 1560): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/la
yout.py", line 511, in render
I/python ( 1560): File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python ( 1560): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/la
yout.py", line 511, in render
I/python ( 1560): File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python ( 1560): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python ( 1560): File "accelerator.pyx", line 75, in renpy.display.accelerat
or.transform_render (gen/renpy.display.accelerator.c:1076)
I/python ( 1560): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/im
age.py", line 164, in render
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/im
age.py", line 54, in wrap_render
I/python ( 1560): File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python ( 1560): File "render.pyx", line 166, in renpy.display.render.render
(gen/renpy.display.render.c:2032)
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/im
.py", line 432, in render
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/im
.py", line 195, in get
I/python ( 1560): File "/home/tom/ab/android-rebuild/private/renpy/display/im
.py", line 482, in load
I/python ( 1560): error: JPEG loading error
I/python ( 1560): While running game code:
I/python ( 1560): File "game/story.rpy", line 114, in script
I/python ( 1560): error: JPEG loading error
- jack_norton
- Lemma-Class Veteran
- Posts: 4084
- 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
Ok managed to make Heileen run fine And the web browser actually seems to work here, I put a button and it opens my webpage just fine! Maybe you changed it now?
-
- Regular
- Posts: 27
- Joined: Wed Mar 07, 2012 7:52 am
- Completed: Tales of Atlantis
- Projects: LDVELH
- Location: France
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
I just download it
Test in progress...
Test in progress...
There are 10 sorts of people, those who understand the binary and the others..
-
- Regular
- Posts: 27
- Joined: Wed Mar 07, 2012 7:52 am
- Completed: Tales of Atlantis
- Projects: LDVELH
- Location: France
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
There are 10 sorts of people, those who understand the binary and the others..
-
- Regular
- Posts: 27
- Joined: Wed Mar 07, 2012 7:52 am
- Completed: Tales of Atlantis
- Projects: LDVELH
- Location: France
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
A sub dir game seems to be missing. So I create one and solve this problem.
But.
The original problem with assets/*.* directory, always not found.
But.
The original problem with assets/*.* directory, always not found.
There are 10 sorts of people, those who understand the binary and the others..
- jack_norton
- Lemma-Class Veteran
- Posts: 4084
- 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
Have you tried creating the assets directory manually? here works fine!
-
- Regular
- Posts: 27
- Joined: Wed Mar 07, 2012 7:52 am
- Completed: Tales of Atlantis
- Projects: LDVELH
- Location: France
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Thanks Jack, works fine too BUT only one time..I need to reboot Windows between each build.
It works randomly.. (Windows 7 - Integrale version SP1)
It works randomly.. (Windows 7 - Integrale version SP1)
There are 10 sorts of people, those who understand the binary and the others..
- jack_norton
- Lemma-Class Veteran
- Posts: 4084
- 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
I think is a file/directory permission problem then, do you run as administrator?
- 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
Jack - could your problem be case-related? The usual Ren'Py is pretty robust against foo.JPG vs foo.jpg. But the android Ren'Py may not be.
Atlantis - try editing buildlib/build.py, and replacing
with
on line 235.
Atlantis - try editing buildlib/build.py, and replacing
Code: Select all
shutil.rmtree("assets")
Code: Select all
if os.path.isdir("assets"):
shutil.rmtree("assets")
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
-
- Regular
- Posts: 27
- Joined: Wed Mar 07, 2012 7:52 am
- Completed: Tales of Atlantis
- Projects: LDVELH
- Location: France
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
Excellent !!
It works fine...
Thank you very much PyTom.
And Jack too for your interest.
It works fine...
Thank you very much PyTom.
And Jack too for your interest.
There are 10 sorts of people, those who understand the binary and the others..
- jack_norton
- Lemma-Class Veteran
- Posts: 4084
- 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
Since I got my first error some years ago I'm very careful with upper/lower case. However, I found out that the image is named:PyTom wrote:Jack - could your problem be case-related? The usual Ren'Py is pretty robust against foo.JPG vs foo.jpg. But the android Ren'Py may not be.
cg 01.jpg
with a space! Might be that? I'll try changing it, I was using the autoimages feature:
Code: Select all
config.automatic_images=[ ' ', '_', '/' ]
config.automatic_images_strip = ["gfx","cgs","bgs","chibi"]
- 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
JCC doesn't work?
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
Who is online
Users browsing this forum: Ahrefs [Bot]