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
User avatar
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 » Thu Mar 22, 2012 2:43 pm

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: 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

#47 Post by PyTom » Thu Mar 22, 2012 6:20 pm

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
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
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 » Fri Mar 23, 2012 11:37 am

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..

User avatar
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 » Fri Mar 23, 2012 12:12 pm

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..

User avatar
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 » Fri Mar 23, 2012 12:54 pm

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..

User avatar
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 » Mon Mar 26, 2012 4:41 am

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: 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

#52 Post by jack_norton » Mon Mar 26, 2012 5:46 am

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

User avatar
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 » Mon Mar 26, 2012 6:10 am

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..

User avatar
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 » Thu Mar 29, 2012 1:33 pm

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: 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

#55 Post by PyTom » Thu Mar 29, 2012 2:40 pm

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
"Silly and fun things are important." - Elon Musk
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 » Sat Mar 31, 2012 5:27 pm

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.

User avatar
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 » Sun Apr 01, 2012 10:21 am

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: 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

#58 Post by PyTom » Sun Apr 01, 2012 4:38 pm

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
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
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

#59 Post by jack_norton » Sun Apr 01, 2012 5:43 pm

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: 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

#60 Post by jack_norton » Sun Apr 01, 2012 5:48 pm

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