Page 4 of 19

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Thu Mar 22, 2012 2:43 pm
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. :(

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Thu Mar 22, 2012 6:20 pm
by PyTom
Is there more of a traceback with the FilePath error?

Re: RAPT - Ren'Py Android Packaging Tool

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

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Fri Mar 23, 2012 12:12 pm
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. :-(

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Fri Mar 23, 2012 12:54 pm
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..

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Mon Mar 26, 2012 4:41 am
by Atlantis
I need help.. :?

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Mon Mar 26, 2012 5:46 am
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.

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Mon Mar 26, 2012 6:10 am
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.

Re: RAPT - Ren'Py Android Packaging Tool

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

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Thu Mar 29, 2012 2:40 pm
by PyTom
I will try to get to it soon, but no promises.

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Sat Mar 31, 2012 5:27 pm
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.

Re: RAPT - Ren'Py Android Packaging Tool

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

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Sun Apr 01, 2012 4:38 pm
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.

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Sun Apr 01, 2012 5:43 pm
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!

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Sun Apr 01, 2012 5:48 pm
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