RAPT - Ren'Py Android Packaging Tool

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Message
Author
Atlantis
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

#46 Post by Atlantis »

YES !!
It seems.
With .2, the project build and transfer into my galaxy Tab correctly and not in .0 and .3

edit :
but, only one time, I try to rebuild, and the assets path error message is return. :(
There are 10 sorts of people, those who understand the binary and the others..

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: RAPT - Ren'Py Android Packaging Tool

#47 Post by PyTom »

Is there more of a traceback with the FilePath error?
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

Atlantis
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

#48 Post by Atlantis »

Image

WindowsErrors : [Error 3] Specified FilePath not found : 'assets/*.*'

I tried to reinstall Python 2.7.2 but no change.

Build again and again but no change either..

I'am lost in the desert... :cry:
Last edited by Atlantis on Fri Mar 23, 2012 1:37 pm, edited 1 time in total.
There are 10 sorts of people, those who understand the binary and the others..

Atlantis
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

#49 Post by Atlantis »

I try another way.
- Install again SDK in .0
- configure again mygame
- Build again

Image

And I get that. And if I build again I got the PathError describe in the previous post. :-(
There are 10 sorts of people, those who understand the binary and the others..

Atlantis
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

#50 Post by Atlantis »

It's seems that there is a problem with Python 2.7.
In lib/os.py with the mkdir command in line 157.

The assets directory isn't create correctly..
Strange..

I search yet..
There are 10 sorts of people, those who understand the binary and the others..

Atlantis
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

#51 Post by Atlantis »

I need help.. :?
There are 10 sorts of people, those who understand the binary and the others..

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4085
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

#52 Post by jack_norton »

I think is better if you wait for next version, I have lots of strange problems too (I went past your point, but still the games randomly crash/don't load/can't find files) but I don't think much can be done right now.
follow me on Image Image Image
computer games

Atlantis
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

#53 Post by Atlantis »

Ok Jack, It's probably the only solution right now..
But I stay very impatient to see my program running on my GalaxyTab !! :P

Thank you for your interest.
There are 10 sorts of people, those who understand the binary and the others..

Atlantis
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

#54 Post by Atlantis »

Pytom, Is there any chance that you build a new version of RAPT soon ?
(And solve my problem at the same time :wink:
There are 10 sorts of people, those who understand the binary and the others..

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: RAPT - Ren'Py Android Packaging Tool

#55 Post by PyTom »

I will try to get to it soon, but no promises.
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

tentacle
Newbie
Posts: 20
Joined: Thu Feb 24, 2011 6:37 am
Contact:

Re: RAPT - Ren'Py Android Packaging Tool

#56 Post by tentacle »

Hi all.
If it helps debug, with the latest version, my first tries resulted in the 'giving up' error above. I had not created an android signing key.
After re-doing the installsdk and this time creating the key, I get:
Traceback (most recent call last):
File "C:\Users\freddie\Documents\renpy\Snatcher 2.0\rapt\android.py", line 66,
in <module>
main()
File "C:\Users\freddie\Documents\renpy\Snatcher 2.0\rapt\android.py", line 44,
in main
configure.configure(iface, directory)
File "buildlib\configure.py", line 108, in configure
config.save(directory)
File "buildlib\configure.py", line 30, in save
with file(os.path.join(directory, ".android.json"), "w") as f:
IOError: [Errno 2] No such file or directory: 'snatcher\\.android.json'

This is the same error I ended up with when trying on Linux, too.

With 6.13.9.2, building without a key also fails (but no coherent error, it just says it cant find the game-1-release.apk in the dir. the latest file there is game-1-release-unsigned.apk).
After creating a key it builds ok.

When actually trying to run it though, I get ScriptError: could not find label 'start'.

I'm not concerned with this and happy to wait for future updates, but if there's anything I can do to help debug, I'm happy to oblige.

Atlantis
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

#57 Post by Atlantis »

tentacle wrote:
When actually trying to run it though, I get ScriptError: could not find label 'start'.
I also had this message the only time I build successfully the .apk file on my galaxy Tab.

I'am waiting too for the next version.. :D
There are 10 sorts of people, those who understand the binary and the others..

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: RAPT - Ren'Py Android Packaging Tool

#58 Post by PyTom »

I've uploaded RAPT-6.13.11.0 to:

http://www.renpy.org/dl/android/

This should fix the build issues people have been having, hopefully. It also updates the version of Ren'Py included with RAPT to the latest version.
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

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4085
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

#59 Post by jack_norton »

Tried it, had trouble copying the files (had to do it manually) but could be because I updated the firmware.
Remember Me started, but then couldn't find the converted PNG to JPG files :) I am going to try converting all the files to normal PNGs!
follow me on Image Image Image
computer games

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4085
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

#60 Post by jack_norton »

Ok, Remember Me works perfectly! That's quite impressive, great job!! 8)
Lol spoke too early, I got a strange message:

Code: Select all

error:JPEG loading error
I clicked Ignore several times and the game resumed working, I checked the lines in sources:

Code: Select all

    scene cg 01:
        xalign 0.5 yalign 1.0
        linear 2.5 zoom 1.25
        linear 10.0 xalign 0.5 yalign 0.3 zoom 1.0
    with dissolve
it's a big image, not sure if that can be the reason? is 2048x1442
follow me on Image Image Image
computer games

Post Reply

Who is online

Users browsing this forum: No registered users