Test environment for Ren'Py for Android

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
Voight-Kampff
Veteran
Posts: 351
Joined: Sat Sep 05, 2009 8:47 am
Contact:

Test environment for Ren'Py for Android

#1 Post by Voight-Kampff » Tue Feb 15, 2011 1:39 pm

I'll admit, the prospect of being able to port Ren'Py games to Android is alluring.

However, being without an Android-based device, and without any desire to ever get another phone from the cellular oligopoly in the U.S. (which precludes ever getting an Android-based phone), does anyone have any suggestions for a good, cheap platform upon which I could do some testing?

As far as I can tell, two of the more reasonable options would either be something like an Archos 70, or maybe a Nook Color (which would need to be rooted).

Anyone have any other thoughts?

tentacle
Newbie
Posts: 20
Joined: Thu Feb 24, 2011 6:37 am
Contact:

Re: Test environment for Ren'Py for Android

#2 Post by tentacle » Thu Feb 24, 2011 7:00 am

You can get some really cheap unlocked android phones around the 200 dollar range, like the ZTE Blade, HTC Wildfire, Huawei something, etc.
You can also just use the free Android SDK to emulate one on your PC.

And what do you mean "which precludes ever getting an Android-based phone" ? How are android phones treated differently compared to other phones? (honest question, I don't live in the US so Im curious).

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: Test environment for Ren'Py for Android

#3 Post by PyTom » Sat May 07, 2011 2:04 pm

I'll just note that Ren'Py for Android does require a fairly high-end device - OpenGL ES 2, a reasonable amount of ram, and a reasonable CPU. The Nook is probably out, since I don't think it has support for graphics acceleration. The archos might work, but at this point, I'd consider waiting for some of the new Honeycomb tablets to reach a price you think is fair.

That being said, one of the big problems with porting to Android is dealing with small devices, like phones. The physically tiny screens mean you need to make buttons much bigger, pixel-wise, to compensate. I suspect most Ren'Py games would be usable on a tablet without major changes, as long as they don't do anything that requires a keyboard, or precise mousing. (Or some of the other unsupported features.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
EwanG
Miko-Class Veteran
Posts: 711
Joined: Thu Oct 26, 2006 5:37 pm
Location: San Antonio, TX
Contact:

Re: Test environment for Ren'Py for Android

#4 Post by EwanG » Sat May 07, 2011 2:56 pm

You have a few options you could consider. First off, you could put Froyo (haven't tested with Gingerbread) on your PC and run the game in an emulator:
http://a1.blogspot.com/2010/05/putting- ... -your.html

Has the additional advantage that the emulator can be set to different sizes to see how things work without buying a lot of equipment.

Or, you could probably ask folks on here who have Android devices if they'd be willing to beta test in return for a free final copy. For example, I have 2 Viewsonic G-Tablets (10.1" Tegra 2, Froyo), a Motorola Xoom (Wifi only, 10.1" Tegra 2, Honeycomb), and a Nexus One (Gingerbread) and am generally amenable to helping folks out with loading an APK and giving feedback :-)
Working on something... might even be something good :D

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: Test environment for Ren'Py for Android

#5 Post by PyTom » Sat May 07, 2011 3:17 pm

I don't recommend testing in an android emulator, at least for tests where speed might be an issue. The android emulator is much slower than actual hardware.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

iichan_lolbot
Veteran
Posts: 206
Joined: Tue Dec 30, 2008 9:18 am
Projects: iichan erogame
Contact:

Re: Test environment for Ren'Py for Android

#6 Post by iichan_lolbot » Mon May 16, 2011 3:35 pm

Don't want to start a new thread for a stupid question: how do i make my *.apk-archives signed and aligned? It's possible to just open Moonlight Walks and replace /game/ folder with my own, but this won't be a proper apk.

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: Test environment for Ren'Py for Android

#7 Post by PyTom » Mon May 16, 2011 3:51 pm

I don't understand how you can just open MW and replace the game folder.

You can create a key by running the keytool command that's part of java. Use a command like:

Code: Select all

keytool -genkey -v -keystore release.keystore -alias release_key -keyalg RSA -validity 10000
You can then create the file called build.properties, containing:

Code: Select all

key.alias=release_key
key.store.password=qwerty
key.alias.password=qwerty
key.store=/home/tom/ab/keys/release.keystore
Replace qwerty with the passphrase you chose, and set key.store to the path to the keystore file you created. (Keep the keystore file in a safe place - if you lose it, you can't upgrade the app.)

Then run:

Code: Select all

./build.py 1.0.0 release
And you'll have a signed and zipaligned apk.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users