RAPT - Ren'Py Android Packaging Tool
- 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
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.
- 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
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.
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: 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:
- 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
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!
"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!
- 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
Do you have the right python on your system? You need 2.7.2.
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: 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
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.
- 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
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
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
JCC still doesn't work though
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
- 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
More random bugs. Tried packaging Remember Me and using logcat I get:
I used same identic procedure as Loren, no clue why this one gives me this different error instead.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
-
- Regular
- Posts: 57
- Joined: Mon Aug 11, 2008 6:46 pm
- Projects: Airport Mania: First Flight, Matches & Matrimony
- Location: Lake Forest, CA
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
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).
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).
- 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
Do you have python 2.7.2 installed?
Yes, you can just do "debug" or "debug install".
Yes, you can just do "debug" or "debug install".
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: 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
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
...well, I can't run the games still, but I have no clue why, gives me weird errors
-
- Regular
- Posts: 57
- Joined: Mon Aug 11, 2008 6:46 pm
- Projects: Airport Mania: First Flight, Matches & Matrimony
- Location: Lake Forest, CA
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
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
...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
-
- 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 have the same bug too, so I downgrade in 6.13.9.0 but I have another filepath problem.cyrus_zuo wrote: I downloaded the latest of everything, am also getting:
"Can't compile Python source, and not including python source. Giving up."
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
There are 10 sorts of people, those who understand the binary and the others..
-
- Regular
- Posts: 57
- Joined: Mon Aug 11, 2008 6:46 pm
- Projects: Airport Mania: First Flight, Matches & Matrimony
- Location: Lake Forest, CA
- Contact:
Re: RAPT - Ren'Py Android Packaging Tool
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...?)
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...?)
-
- 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
Is there any differences between .0 and .2 for my path problem ?
There are 10 sorts of people, those who understand the binary and the others..
Who is online
Users browsing this forum: No registered users