Page 3 of 19

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Thu Mar 08, 2012 6:41 pm
by jack_norton
Ok I can confirm this - I installed the old 6.12 and could modify Heileen & Bionic Heart sources and it runs on the android without problems.

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Thu Mar 08, 2012 10:11 pm
by PyTom
Jack, can you send me the files you're using to build the game, so I can start building my own packages? That will help me figure out what's going on.

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Fri Mar 09, 2012 6:09 am
by jack_norton
Sure, will email you :)

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Mon Mar 12, 2012 3:27 am
by jack_norton
I downloaded the latest version (6.13.9.3) but every time I try to build, I get the message:
"Can't compile Python source, and not including python source. Giving up."
this happens even trying to build the_question game. I did android.py test and says it's all OK!

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Mon Mar 12, 2012 7:11 pm
by PyTom
Do you have the right python on your system? You need 2.7.2.

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Tue Mar 13, 2012 3:35 am
by jack_norton
Yes, of course have the 2.7.2 installed (I even tried reinstalling it now just to be sure). The previous raptor version was building fine, even if games weren't running for other problem. With this one I always get that message with any game I try.

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Tue Mar 13, 2012 7:01 am
by jack_norton
I found the lines in build.py and tried commenting them out, since I had both the configuration and also Python installed. Now works!
JCC still doesn't work though :mrgreen:

Spoke too early: even normal PNG can't be loaded. I keep getting the error:
IOError: Couldn't find file "gfx/chars/loren.png"

but it's THERE :shock:

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Tue Mar 13, 2012 8:19 am
by jack_norton
More random bugs. Tried packaging Remember Me and using logcat I get:
I/python (23963): Private directory is /data/data/com.winterwolves.rememberme/f
iles
I/python (23963): Argument is /data/data/com.winterwolves.rememberme/files
I/python (23963): Handing off to main.
I/python (23963): Traceback (most recent call last):
I/python (23963): File "start.pyx", line 52, in start (jni/../jni/application
/src//start.c:1313)
I/python (23963): ImportError: No module named main
I used same identic procedure as Loren, no clue why this one gives me this different error instead.

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Wed Mar 21, 2012 5:49 pm
by cyrus_zuo
Feeling not as insane...

I've been out of town, so I just got into RAPT today.
I downloaded the latest of everything, am also getting:
"Can't compile Python source, and not including python source. Giving up."

Should I get an older version of RAPT to test?
Also, can you still build a 'debug' version (helpful in testing to many devices as we do).

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Wed Mar 21, 2012 6:03 pm
by PyTom
Do you have python 2.7.2 installed?

Yes, you can just do "debug" or "debug install".

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Wed Mar 21, 2012 7:12 pm
by jack_norton
cyrus, I had the same bug, then I realized that somehow python 2.7.2 installation was screwed up, I reinstalled it and worked!
...well, I can't run the games still, but I have no clue why, gives me weird errors :D

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Wed Mar 21, 2012 7:26 pm
by cyrus_zuo
I do have 2.7.2
...I also tried using the previous version of RAPT (6.13.9.2), and it makes a build!
I was able to install it, but it died with a big long traceback as soon as I tried to get into the game from the main menu.
(it ends w/ a error in layout.py line 1580 in render - TypeError: range() integer step argument expected, got float.)
> The line it refers to in my code has a 'fade' tag on it, does that not work anymore (I haven't touched the code since December, when I had it previously running on Android w/just the save issue stopping me from release and the speed issue not stopping me, but making it wish it wasn't there...but the game worked from start to finish...)

Using 6.13.9.3 I have the same error as before.

Will try reinstalling python, though I just updated to 2.7.2 today to do this, so it's very fresh.
>> Just fully uninstalled and then reinstalled python and I get the same error when I try to build through 6.13.9.3

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Thu Mar 22, 2012 10:21 am
by Atlantis
cyrus_zuo wrote: I downloaded the latest of everything, am also getting:
"Can't compile Python source, and not including python source. Giving up."
I have the same bug too, so I downgrade in 6.13.9.0 but I have another filepath problem.
with this message : WindowsError: [Error 3] Specified FilePath not found 'assets/*.*

I've follow point by point :
Building your first package takes four steps:

1 - Download and install RAPT, Python 2.7
2 - Use the android.py installsdk command to install the Android SDK
3 - Use the android.py configure command to configure Android-specific settings in your game.
4 - Use the android.py build command to build a package, and to install the package on your device.

The 1,2 and 3 works fine.
But I have this message (above) when I build the package (android.py build mygame release install)

I probably put my projet in bad place or another ?
Where must put my all sources and assets files ?

All the best and thanks a lot in advance..

Ps : excuse my Frenchy English :D

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Thu Mar 22, 2012 1:57 pm
by cyrus_zuo
Not sure how to fix. I tried doing the installsdk command again, and then installed a second RAPT 6.13.9.3, but I don't seem to be getting anywhere.
I continually get the same error message with version .3

Version .2 does work, but the game immediately has errors when I install it on the device. Since I'd built it for Android before RAPT and had it running and near release ready on the device I'm not sure I should chase those errors as the only change has been RAPT, and as noted I'm not able to get the latest version of it to work (only the older version...?)

Re: RAPT - Ren'Py Android Packaging Tool

Posted: Thu Mar 22, 2012 2:05 pm
by Atlantis
Is there any differences between .0 and .2 for my path problem ?