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 Sat May 18, 2013 5:29 pm

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, 2, 3, 4, 5 ... 10  Next
Author Message
PostPosted: Wed Feb 29, 2012 2:44 pm 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3396
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
Heh, now I understand why most people in mobile space develop on iOS :D
Not blaming Ren'Py, but I know several devs that told me making a game on Android is a total nightmare...!

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Wed Feb 29, 2012 6:50 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10770
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Parkey - try again. The downloads sometime seem to be corrupted, but trying again usually fixes it.

_________________
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: Sat Mar 03, 2012 9:50 am 
Regular

Joined: Thu Feb 02, 2012 11:52 am
Posts: 48
Ok, after try several times, the download works well, but it still gives me the same error than before, that says: "The build seems to have failed". And the java is the lastest version. So... ¿why gives that error? Any idea?

Thanks!


Top
 Profile Send private message  
 
PostPosted: Sat Mar 03, 2012 11:15 am 
Regular

Joined: Thu Feb 02, 2012 11:52 am
Posts: 48
Ok, forget it, that error was because of a wrong usb-drivers, so the packaging didn't end correctly. However, it don't install it to the smartphone or copy it to the sdcard. Or maybe I can't find it... but installing it manually it works! I can believe it! xD. At least a simple game.

Good job PyTom ;) RAPT it's a good working application. Recommended! :P

Just two questions:

-Are functions like imagedissolved still not works on Android? (I don't use it just in case);

-And is it possible to use functions of the mobile phone like vibration? I think so, but how? (I don't mean about the permissions but how to include it to the code).

Thanks!


Top
 Profile Send private message  
 
PostPosted: Sat Mar 03, 2012 12:12 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10770
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
ImageDissolve is still not working, and won't until I make the Android version use OpenGL ES 2.

Call the renpy.vibrate function to enable vibration on Android:

http://www.renpy.org/doc/html/other.html#renpy.vibrate

_________________
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: Thu Mar 08, 2012 8:45 am 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3396
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
Ok, now everything works, but when I run the game on the tablet, a really weird error comes up: can't find label start!!!!!!
Of course, there's the label start in the game rpy :mrgreen:

_________________
follow me on Image Image Image Image
computer games


Last edited by jack_norton on Thu Mar 08, 2012 8:52 am, edited 1 time in total.

Top
 Profile Send private message  
 
PostPosted: Thu Mar 08, 2012 8:52 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10770
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
If you run:

android-sdk/platform-tools/adb devices

by hand, does it find it? Also, do you have debugging turned on in your device?

_________________
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: Thu Mar 08, 2012 8:53 am 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3396
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
Yes I managed to, trying to run Planet Stronghold on it :D but as soon as I launch the game says can't find label start. I copied the whole "game" folder on it. Maybe I'll try with a simpler game now!

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Thu Mar 08, 2012 8:56 am 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3396
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
No, same error even with Remember Me. Maybe the game size is too big? also, I copied the .rpa and not the single files, is that ok?

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Thu Mar 08, 2012 9:01 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10770
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
No, use the single files. Archiving is not supported on Android. (At least not yet.)

_________________
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: Thu Mar 08, 2012 9:07 am 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3396
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
Ah ok. Well, tried again with Remember Me, I see the "renpy loading..." splash screen, but then the app exits. It might be because I'm using other .py files (http functions) ? the debug info is:
Code:
I/python  ( 2172): extracting game/
I/python  ( 2172): Private directory is /data/data/com.winterwolves.rememberme/f
iles
I/python  ( 2172): Argument is /data/data/com.winterwolves.rememberme/files
I/python  ( 2172): Handing off to main.
I/python  ( 2172): /data/data/com.winterwolves.rememberme/files/renpy/bootstrap.
py:263: RuntimeWarning: import cdrom: No module named cdrom
I/python  ( 2172): (ImportError: No module named cdrom)
I/python  ( 2172): Imported android.sound.
I/python  ( 2172): Screen diagonal is 9.27846970141 inches.
I/python  ( 2172): Full traceback:
I/python  ( 2172):   File "/home/tom/ab/android-rebuild/private/renpy/bootstrap.
py", line 291, in bootstrap
I/python  ( 2172):   File "/home/tom/ab/android-rebuild/private/renpy/main.py",
line 226, in main
I/python  ( 2172):   File "/home/tom/ab/android-rebuild/private/renpy/script.py"
, line 173, in load_script
I/python  ( 2172):   File "/home/tom/ab/android-rebuild/private/renpy/script.py"
, line 367, in load_appropriate_file
I/python  ( 2172): Exception: Could not load from archive about..rpyc
I/python  ( 2172): While loading the script.
I/python  ( 2172): Exception: Could not load from archive about..rpyc
I/python  ( 2172): Logging to /data/data/com.winterwolves.rememberme/files/log.t
xt
I/python  ( 2172): Traceback (most recent call last):
I/python  ( 2172):   File "start.pyx", line 55, in start (jni/../jni/application
/src//start.c:1352)
I/python  ( 2172):   File "/data/data/com.winterwolves.rememberme/files/main.py"
, line 141, in main
I/python  ( 2172):     renpy.bootstrap.bootstrap(renpy_base)
I/python  ( 2172):   File "/home/tom/ab/android-rebuild/private/renpy/bootstrap.
py", line 319, in bootstrap
I/python  ( 2172): SystemExit: 0

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Thu Mar 08, 2012 9:54 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10770
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Try it with a simple game like the_question, and work up from there.

_________________
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: Thu Mar 08, 2012 11:18 am 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3396
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
The question works perfectly... so it's something in my games that doesn't like :(
I tried the old Vera Blanc 3 tech demo and worked. The error I get on new games is quite strange though:
"could not load from archive: about..rpyc"
I don't know why it puts two dots instead of "about.rpyc". I mean, with this debug info, it could be anything wrong and is impossible to know the reason why some games works and other don't :mrgreen:

edit: does the android support JCC ? I forgot I use it in my new games, so maybe could be that?

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
PostPosted: Thu Mar 08, 2012 3:27 pm 
Eileen-Class Veteran
User avatar

Joined: Sat Jan 26, 2008 5:58 pm
Posts: 1695
Location: Jacob Whitemoore Academy
Completed: http://www.ayusakata.com/vn.html
Projects: Every Sunrise, Oneiro, Backstage Pass
Organization: sakevisual
Just ported Ripples, and it works beautifully. About to try something a little more intense. >.>
But really, it's lovely. Thank you so much!

_________________

Image Image Image


Top
 Profile Send private message  
 
PostPosted: Thu Mar 08, 2012 5:20 pm 
Lemma-Class Veteran
User avatar

Joined: Mon Jul 21, 2008 5:41 pm
Posts: 3396
Projects: Planet Stronghold: Warzone, Loren The Amazon Princess, Queen Of Thieves, DIM, Undead Lily, and more...
Did some more testing. The OLD games seems to work without problems, I mean just copying the old sources (I noticed it doesn't recompile the .rpy). I can run Heileen fine.
The weird things start to happen even if you modify old games. I am not 100% sure, but I changed only a file on Bionic Heart (was testing how it would look at 1024x600), rebuilt the .rpyc and then wasn't working anymore, throwing out random bugs like the one reported (could not load from archive: about..rpyc).
Hopefully in future updates even recent games will work. I have to say that seeing Heileen work at 1st attempt was pretty cool. Good job 8)

_________________
follow me on Image Image Image Image
computer games


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 138 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 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