Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Fri May 24, 2013 11:41 am

All times are UTC - 5 hours [ DST ]


Forum rules


Ren'Py support questions should go here. This forum is for discussing changes to Ren'Py itself.



Post new topic Reply to topic  [ 138 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9, 10  Next
Author Message
PostPosted: Mon Apr 02, 2012 5:38 pm 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3401
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
No, says that can't find the file. Then if I convert the two .jpgs into a .png (with same filename) it loads them! maybe is just something different about the callback ?

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Tue Apr 03, 2012 7:49 pm 
Regular

Joined: Mon Aug 11, 2008 6:46 pm
Posts: 57
Location: Lake Forest, CA
Projects: Airport Mania: First Flight, Matches & Matrimony
I can build!
...but the game isn't working.
I get an error upon pressing the play button from the main menu.

This is the code on the line it points to:
"scene bg chapter with fade"
That is the scene for the first piece of the game.
The error is:
TypeError: range() integer step argument expected, got float.

I haven't changed the game since it was previously running on Android (in December). I'm not sure what the cause is or where to start on this one.

Any ideas?


Top
 Profile Send private message  
 
PostPosted: Tue Apr 03, 2012 8:04 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10778
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Can I see the traceback?

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Wed Apr 04, 2012 12:25 pm 
Regular

Joined: Mon Aug 11, 2008 6:46 pm
Posts: 57
Location: Lake Forest, CA
Projects: Airport Mania: First Flight, Matches & Matrimony
Is there a way to get it from the device?
I'm not seeing it anywhere...I can hand write it out, but would prefer not to if there is an easier way to get it!


Top
 Profile Send private message  
 
PostPosted: Wed Apr 04, 2012 12:29 pm 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3401
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
Type android.py logcat and will print the traceback (then if you're on PC you can select and copy it) :)

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Thu Apr 05, 2012 12:42 pm 
Regular

Joined: Mon Aug 11, 2008 6:46 pm
Posts: 57
Location: Lake Forest, CA
Projects: Airport Mania: First Flight, Matches & Matrimony
Not working, just getting "- waiting for device - "
I tried 2 devices, 1 of which I know I have the right USB drivers for :(.
Unfortunately, I need to step away from this.
Hopefully in a few months I'll be able to return and give it another go, but for now I can't work on it further :(.
Thanks for the help though!


Top
 Profile Send private message  
 
PostPosted: Fri Apr 06, 2012 1:13 pm 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3401
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
So, first of all: RAPT is AWESOME! Really you did a great job! Heileen 1 is on Google appstore right now, and I'm testing Heileen 2. It has very BIG textures (bigger than 2048x2048) but still on my Asus EEEpad works, albeit a bit slow when loads the new sprites during the prediction.
In Heileen 2 there's also the particle effect , and I got a crash there: though of course I DON'T expect such a thing like a particle effect to work!
Just for your curiosity the traceback:
Code:
I/python  (16782): error: GL_GetAttribute not supported
I/python  (16782): While running game code:
I/python  (16782):   File "game/mainscript.rpy", line 961, in script call
I/python  (16782):   File "game/script.rpy", line 465, in script
I/python  (16782): error: GL_GetAttribute not supported
I/python  (16782): Full traceback:
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/execution.
py", line 265, in run
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/ast.py", l
ine 1008, in execute
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/exports.py
", line 887, in with_statement
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/display/co
re.py", line 1498, in do_with
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/display/co
re.py", line 1799, in interact
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/display/co
re.py", line 2104, in interact_core
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/display/co
re.py", line 1388, in draw_screen
I/python  (16782):   File "render.pyx", line 366, in renpy.display.render.render
_screen (gen/renpy.display.render.c:4567)
I/python  (16782):   File "render.pyx", line 166, in renpy.display.render.render
 (gen/renpy.display.render.c:2032)
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/display/la
yout.py", line 511, in render
I/python  (16782):   File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python  (16782):   File "render.pyx", line 166, in renpy.display.render.render
 (gen/renpy.display.render.c:2032)
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/display/tr
ansition.py", line 361, in render
I/python  (16782):   File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python  (16782):   File "render.pyx", line 166, in renpy.display.render.render
 (gen/renpy.display.render.c:2032)
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/display/la
yout.py", line 511, in render
I/python  (16782):   File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python  (16782):   File "render.pyx", line 166, in renpy.display.render.render
 (gen/renpy.display.render.c:2032)
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/display/la
yout.py", line 511, in render
I/python  (16782):   File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python  (16782):   File "render.pyx", line 166, in renpy.display.render.render
 (gen/renpy.display.render.c:2032)
I/python  (16782):   File "accelerator.pyx", line 75, in renpy.display.accelerat
or.transform_render (gen/renpy.display.accelerator.c:1076)
I/python  (16782):   File "render.pyx", line 166, in renpy.display.render.render
 (gen/renpy.display.render.c:2032)
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/display/pa
rticle.py", line 284, in render
I/python  (16782):   File "render.pyx", line 95, in renpy.display.render.render
(gen/renpy.display.render.c:2290)
I/python  (16782):   File "render.pyx", line 166, in renpy.display.render.render
 (gen/renpy.display.render.c:2032)
I/python  (16782):   File "accelerator.pyx", line 75, in renpy.display.accelerat
or.transform_render (gen/renpy.display.accelerator.c:1076)
I/python  (16782):   File "render.pyx", line 166, in renpy.display.render.render
 (gen/renpy.display.render.c:2032)
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/display/im
.py", line 432, in render
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/display/im
.py", line 195, in get
I/python  (16782):   File "/home/tom/ab/android-rebuild/private/renpy/display/im
.py", line 482, in load

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Mon Apr 09, 2012 7:30 pm 
Veteran
User avatar

Joined: Tue Aug 12, 2008 12:02 pm
Posts: 356
Location: The treacherous Brazilian Rainforest
Projects: Valentine Square (writer) Spiral Destiny (programmer)
Google has just released an updated emulator with GPU and OpenGL ES 2 support. It should be good enough to test Ren'Py projexts now.

_________________
Keep your script in your Dropbox folder.
It allows you to share files with your team, keeps backups of previous versions, and is ridiculously easy to use.


Top
 Profile Send private message  
 
PostPosted: Tue Apr 10, 2012 1:27 am 
Newbie
User avatar

Joined: Tue Apr 10, 2012 12:59 am
Posts: 3
Hi, can you tell me how to use it?I'm new in this T.T


Top
 Profile Send private message  
 
PostPosted: Wed Apr 25, 2012 4:49 pm 
Lemma-Class Veteran

Joined: Tue Aug 01, 2006 12:39 pm
Posts: 4051
t0t0r0 wrote:
Hi, can you tell me how to use it?I'm new in this T.T

Since I'm fresh at this too, here's what happened:

1.) Download/Install python 2.7.2
http://python.org/download/releases/2.7.2/

2.) Download/Install Java JDK (Which is a fuller suite than the runtime you need to run basic renpy editor)
http://www.oracle.com/technetwork/java/ ... index.html

I didn't bother with the complexity of using a live connected test device (you need to download specific USB drivers for your device)... I preferred to just build the apks and transfer them via SDcard.

3.) Download/Install Rapt
http://www.renpy.org/dl/android/

4.) Copy the unobfuscated/unarchived directory e.g. "MyGame" to within the Rapt directory
So it's like.../rapt-6.13.11.0/MyGame/game

5.) Make the icons android-icon.png and android-presplash.jpg and place just above the /game directory

6.) Open the DOS command prompt and CD into the directory that has android.py, type in
android.py test
to make sure everything is fine.

7.) This will take a long time and make sure you have internet... type in
android.py installsdk

and it's a good idea to generate keystore

8.) android.py configure MyGame
-For example, I answered the questions with Sugars Delight, Sugars Delight, com.nekosoft.sugarsdelight, 1, 1, 1

9.) android.py build MyGame release
-it looks like the build succeeded

10.) I grab the apk in the /bin directory and transfer via SDcard for testing.

All the steps I found in the /doc section when I extracted the rapt tool.

Hope it helps and I didn't skip anything.


Last edited by DaFool on Wed Apr 25, 2012 4:58 pm, edited 2 times in total.

Top
 Profile Send private message  
 
PostPosted: Wed Apr 25, 2012 4:54 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10778
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Note that for your own game, you'd want to answer the configure questions differently.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Tue May 29, 2012 2:37 pm 
Regular
User avatar

Joined: Sun Feb 08, 2009 2:00 pm
Posts: 131
Location: Belarus,Minsk
Projects: Restriction
Hi guys! I've got the problem. I've done all the steps, the_question.apk is already installed on my mobile. But it isn't loading :(
Loading screen appears, after a half of minute everything disappears :(.
I have Android 2.3.6 Samsung Galaxy Y
Thanks for any support

---- Added
I'm just installed Moonlight Walks from Google Play, everything works fine.

_________________
Returned


Top
 Profile Send private message  
 
PostPosted: Tue May 29, 2012 5:37 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10778
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
What does logcat say?

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
PostPosted: Wed May 30, 2012 2:24 am 
Regular
User avatar

Joined: Sun Feb 08, 2009 2:00 pm
Posts: 131
Location: Belarus,Minsk
Projects: Restriction
Oh sorry I forgot to put this first time.
Code:
E:\WORKFILES\renpy-6.13.12>python android.py logcat
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
V/python  (31604): Extracting private assets.
{{ A LOT OF EXTRACTING MESSAGES }}
I/python  (31604): Private directory is /data/data/com.android.the_question/file
s
I/python  (31604): Argument is /data/data/com.android.the_question/files
I/python  (31604): Handing off to main.
I/python  (31604): /data/data/com.android.the_question/files/renpy/bootstrap.py:
263: RuntimeWarning: import cdrom: No module named cdrom
I/python  (31604): (ImportError: No module named cdrom)
I/python  (31604): Imported android.sound.
I/python  (31604): Screen diagonal is 3.33333333333 inches.
I/python  (31604): Logging to /data/data/com.android.the_question/files/log.txt


That's all, everything disappears after that. Without of error message or something.

_________________
Returned


Top
 Profile Send private message  
 
PostPosted: Wed May 30, 2012 3:25 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10778
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Can you run an adb logcat, without going through python? I'd like to avoid the filtering.

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 138 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9, 10  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group