I took some time today to port my game, Moonlight Walks, to Android. Here's the .apk file:
To run it, you'll need to grab Ren'Py for Android (Beta) from the Android market - at least until the real version of Ren'Py is uploaded. Like Ren'Py, it requires an Android 2 device to run.
If you try this, please let me know if it works for you.
There hasn't been any change to the story, but I did reformat the menus and in-game interface to be be playable on a much smaller screen.
Moonlight Walks - Android Version
- 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:
Moonlight Walks - Android Version
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
-
- Newbie
- Posts: 19
- Joined: Wed Jan 28, 2009 10:02 pm
- Contact:
Re: Moonlight Walks - Android Version
I wasn't able to get it working :(; it's crashing to the home screen when I try to run it. I'm not sure if it helps, but here's the output from Log Collector:
--edit--
I forgot to mention: I have a HTC Desire running Android 2.2
02-06 21:28:51.828 I/ActivityManager( 159): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=us.bishoujo.moonlight/org.renpy.android.Launch }
02-06 21:28:51.878 D/AK8973 ( 139): Compass Start
02-06 21:28:51.878 D/Sensors ( 159): open_akm, fd=125
02-06 21:28:51.888 I/WindowManager( 159): Setting rotation to 1, animFlags=1
02-06 21:28:51.908 I/ActivityManager( 159): Config changed: { scale=1.0 imsi=234/30 loc=en_GB touch=3 keys=1/1/2 nav=3/1 orien=2 layout=34 uiMode=17 seq=202}
02-06 21:28:52.118 D/Tasker ( 4240): 21.28.52#M: lastNewClass: com.htc.launcher.Launcher checks ago: 3 now 1297027732120 freeze 0
02-06 21:28:52.118 D/Tasker ( 4240): 21.28.52#M: see: com.android.phone / com.android.providers.telephony: irc: 0 irpid 0
02-06 21:28:52.118 D/Tasker ( 4240): 21.28.52#M: see: com.android.phone / com.android.phone: irc: 0 irpid 0
02-06 21:28:52.118 D/Tasker ( 4240): 21.28.52#M: see: us.bishoujo.moonlight / us.bishoujo.moonlight: irc: 0 irpid 0
02-06 21:28:52.118 D/Tasker ( 4240): 21.28.52#M: new pkg :us.bishoujo.moonlight: wanted by: null
02-06 21:28:52.128 D/Tasker ( 4240): 21.28.52#M: it's a new app but unwanted
02-06 21:28:52.128 D/Tasker ( 4240): 21.28.52#M: ************ LAST : com.htc.launcher / com.htc.launcher.Launcher
02-06 21:28:52.138 D/Tasker ( 4240): 21.28.52#M: *********** NEW CLASS: alt: us.bishoujo.moonlight / org.renpy.android.Launch
02-06 21:28:52.148 D/Tasker ( 4240): 21.28.52#M: process inbox, startID: -1
02-06 21:28:52.148 D/Tasker ( 4240): 21.28.52#M: extra: eventType: 9997
02-06 21:28:52.148 D/Tasker ( 4240): 21.28.52#M: extra: cls: org.renpy.android.Launch
02-06 21:28:52.178 I/Launch ( 9862): onResume Called
02-06 21:28:52.188 V/Launch ( 9862): No asset extraction required.
02-06 21:28:52.288 I/global ( 9862): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
02-06 21:28:52.328 I/ActivityManager( 159): Starting activity: Intent { act=org.renpy.LAUNCH dat=renpy:%2Fmnt%2Fsdcard%2Fus.bishoujo.moonlight flg=0x10000 cmp=org.renpy.android_beta/org.renpy.android.PythonActivity }
02-06 21:28:52.338 I/Launch ( 9862): onPause Called
02-06 21:28:52.378 I/ActivityManager( 159): Start proc org.renpy.android_beta:python for activity org.renpy.android_beta/org.renpy.android.PythonActivity: pid=9950 uid=10109 gids={1015}
02-06 21:28:52.458 W/Rosie ( 4920): mAddHtcWidgetByOtherActivity = false, mIsOpenSlideWhenLeaveLaunch = true
02-06 21:28:52.638 D/dalvikvm( 9950): GC_EXTERNAL_ALLOC freed 864 objects / 76056 bytes in 53ms
02-06 21:28:52.668 D/dalvikvm( 9950): Trying to load lib /data/data/org.renpy.android_beta/lib/libsdl.so 0x46b36908
02-06 21:28:52.668 D/dalvikvm( 9950): Added shared lib /data/data/org.renpy.android_beta/lib/libsdl.so 0x46b36908
02-06 21:28:52.678 D/dalvikvm( 9950): Trying to load lib /data/data/org.renpy.android_beta/lib/libsdl_image.so 0x46b36908
02-06 21:28:52.678 D/dalvikvm( 9950): Added shared lib /data/data/org.renpy.android_beta/lib/libsdl_image.so 0x46b36908
02-06 21:28:52.678 D/dalvikvm( 9950): No JNI_OnLoad found in /data/data/org.renpy.android_beta/lib/libsdl_image.so 0x46b36908, skipping init
02-06 21:28:52.678 D/dalvikvm( 9950): Trying to load lib /data/data/org.renpy.android_beta/lib/libsdl_ttf.so 0x46b36908
02-06 21:28:52.678 D/dalvikvm( 9950): Added shared lib /data/data/org.renpy.android_beta/lib/libsdl_ttf.so 0x46b36908
02-06 21:28:52.678 D/dalvikvm( 9950): No JNI_OnLoad found in /data/data/org.renpy.android_beta/lib/libsdl_ttf.so 0x46b36908, skipping init
02-06 21:28:52.758 I/ActivityManager( 159): Displayed activity org.renpy.android_beta/org.renpy.android.PythonActivity: 397 ms (total 880 ms)
02-06 21:28:52.778 D/libEGL ( 9950): loaded /system/lib/egl/libGLES_android.so
02-06 21:28:52.808 D/libEGL ( 9950): loaded /system/lib/egl/libEGL_adreno200.so
02-06 21:28:52.828 D/libEGL ( 9950): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
02-06 21:28:52.838 D/libEGL ( 9950): loaded /system/lib/egl/libGLESv2_adreno200.so
02-06 21:28:52.888 I/libSDL ( 9950): Physical screen resolution is 800x480
02-06 21:28:53.648 D/Tasker ( 4240): 21.28.53#M: lastNewClass: org.renpy.android.Launch checks ago: 1 now 1297027733652 freeze 0
02-06 21:28:53.648 D/Tasker ( 4240): 21.28.53#M: see: com.android.phone / com.android.providers.telephony: irc: 0 irpid 0
02-06 21:28:53.648 D/Tasker ( 4240): 21.28.53#M: see: com.android.phone / com.android.phone: irc: 0 irpid 0
02-06 21:28:53.658 D/Tasker ( 4240): 21.28.53#M: copy process name to package name
02-06 21:28:53.658 D/Tasker ( 4240): 21.28.53#M: see: org.renpy.android_beta:python / org.renpy.android_beta:python: irc: 0 irpid 0
02-06 21:28:53.658 D/Tasker ( 4240): 21.28.53#M: new pkg :org.renpy.android_beta:python: wanted by: null
02-06 21:28:53.658 D/Tasker ( 4240): 21.28.53#M: it's a new app but unwanted
02-06 21:28:53.668 D/Tasker ( 4240): 21.28.53#M: ************ LAST : us.bishoujo.moonlight / org.renpy.android.Launch
02-06 21:28:53.668 D/Tasker ( 4240): 21.28.53#M: *********** NEW CLASS: alt: org.renpy.android_beta:python /
02-06 21:28:53.668 D/Tasker ( 4240): 21.28.53#M: process inbox, startID: -1
02-06 21:28:53.668 D/Tasker ( 4240): 21.28.53#M: extra: eventType: 9997
02-06 21:28:53.668 D/Tasker ( 4240): 21.28.53#M: extra: cls:
02-06 21:28:53.888 D/dalvikvm( 9950): Trying to load lib /data/data/org.renpy.android_beta/files/libpython2.6.so 0x46b36908
02-06 21:28:53.888 D/dalvikvm( 9950): Added shared lib /data/data/org.renpy.android_beta/files/libpython2.6.so 0x46b36908
02-06 21:28:53.898 D/dalvikvm( 9950): No JNI_OnLoad found in /data/data/org.renpy.android_beta/files/libpython2.6.so 0x46b36908, skipping init
02-06 21:28:53.898 D/dalvikvm( 9950): Trying to load lib /data/data/org.renpy.android_beta/lib/libapplication.so 0x46b36908
02-06 21:28:53.898 D/dalvikvm( 9950): Added shared lib /data/data/org.renpy.android_beta/lib/libapplication.so 0x46b36908
02-06 21:28:53.898 D/dalvikvm( 9950): No JNI_OnLoad found in /data/data/org.renpy.android_beta/lib/libapplication.so 0x46b36908, skipping init
02-06 21:28:53.908 D/dalvikvm( 9950): Trying to load lib /data/data/org.renpy.android_beta/lib/libsdl_main.so 0x46b36908
02-06 21:28:53.908 D/dalvikvm( 9950): Added shared lib /data/data/org.renpy.android_beta/lib/libsdl_main.so 0x46b36908
02-06 21:28:53.908 D/dalvikvm( 9950): No JNI_OnLoad found in /data/data/org.renpy.android_beta/lib/libsdl_main.so 0x46b36908, skipping init
02-06 21:28:53.948 I/python ( 9950): Private directory is /data/data/org.renpy.android_beta/files
02-06 21:28:53.948 I/python ( 9950): Argument is /mnt/sdcard/us.bishoujo.moonlight
02-06 21:28:53.948 I/python ( 9950): Scheme is renpy
02-06 21:28:53.988 I/python ( 9950): Handing off to main.
02-06 21:28:54.408 I/python ( 9950): /data/data/org.renpy.android_beta/files/renpy/display/pgrender.py:25: RuntimeWarning: import cdrom: No module named cdrom
02-06 21:28:54.428 D/dalvikvm( 159): GC_EXPLICIT freed 2966 objects / 145096 bytes in 133ms
02-06 21:28:54.428 I/python ( 9950): (ImportError: No module named cdrom)
02-06 21:28:54.718 I/python ( 9950): Imported android_sound.
02-06 21:28:55.178 D/Tasker ( 4240): 21.28.55#M: lastNewClass: checks ago: 1 now 1297027735179 freeze 0
02-06 21:28:55.178 D/Tasker ( 4240): 21.28.55#M: see: com.android.phone / com.android.providers.telephony: irc: 0 irpid 0
02-06 21:28:55.178 D/Tasker ( 4240): 21.28.55#M: see: com.android.phone / com.android.phone: irc: 0 irpid 0
02-06 21:28:55.178 D/Tasker ( 4240): 21.28.55#M: copy process name to package name
02-06 21:28:55.188 D/Tasker ( 4240): 21.28.55#M: see: org.renpy.android_beta:python / org.renpy.android_beta:python: irc: 0 irpid 0
02-06 21:28:55.188 D/Tasker ( 4240): 21.28.55#M: still have app org.renpy.android_beta:python in list, ignore new unwanted pkgs
02-06 21:28:56.128 I/MediaPlayer( 9950): MediaPlayer
02-06 21:28:56.128 I/MediaPlayer( 9950): MediaPlayer
02-06 21:28:56.128 I/MediaPlayer( 9950): MediaPlayer
02-06 21:28:56.128 I/MediaPlayer( 9950): MediaPlayer reset()
02-06 21:28:56.128 I/MediaPlayer( 9950): MediaPlayer reset()
02-06 21:28:56.128 I/MediaPlayer( 9950): MediaPlayer reset()
02-06 21:28:56.188 I/libSDL ( 9950): SDL_SetVideoMode(): application requested mode 800x480
02-06 21:28:56.188 I/python ( 9950): File "/home/tom/ab/renpy-mainline/renpy/bootstrap.py", line 279, in bootstrap
02-06 21:28:56.188 I/python ( 9950): File "/home/tom/ab/renpy-mainline/renpy/main.py", line 309, in main
02-06 21:28:56.198 I/python ( 9950): File "/home/tom/ab/renpy-mainline/renpy/display/core.py", line 1149, in __init__
02-06 21:28:56.198 I/python ( 9950): File "/home/tom/ab/renpy-mainline/renpy/display/core.py", line 1311, in set_mode
02-06 21:28:56.198 I/python ( 9950): Exception: Could not set video mode.
02-06 21:28:56.198 I/python ( 9950): After initialization, but before game start.
02-06 21:28:56.568 I/ActivityManager( 159): Process org.renpy.android_beta:python (pid 9950) has died.
02-06 21:28:56.568 I/WindowManager( 159): WIN DEATH: Window{46f80680 org.renpy.android_beta/org.renpy.android.PythonActivity paused=false}
02-06 21:28:56.578 I/WindowManager( 159): WIN DEATH: Window{46faf6b8 SurfaceView paused=false}
02-06 21:28:56.588 E/ActivityManager( 159): fail to set top app changed!
02-06 21:28:56.598 D/Sensors ( 159): close_akm, fd=125
02-06 21:28:56.598 I/WindowManager( 159): Setting rotation to 0, animFlags=1
02-06 21:28:56.618 I/ActivityManager( 159): Config changed: { scale=1.0 imsi=234/30 loc=en_GB touch=3 keys=1/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=203}
02-06 21:28:56.658 I/UsageStats( 159): Unexpected resume of com.htc.launcher while already resumed in org.renpy.android_beta
02-06 21:28:56.688 D/Tasker ( 4240): 21.28.56#M: lastNewClass: checks ago: 2 now 1297027736691 freeze 0
02-06 21:28:56.688 D/Tasker ( 4240): 21.28.56#M: see: com.android.phone / com.android.providers.telephony: irc: 0 irpid 0
02-06 21:28:56.688 D/Tasker ( 4240): 21.28.56#M: see: com.android.phone / com.android.phone: irc: 0 irpid 0
02-06 21:28:56.688 D/Tasker ( 4240): 21.28.56#M: see: com.htc.launcher / com.htc.launcher: irc: 0 irpid 0
02-06 21:28:56.698 D/Tasker ( 4240): 21.28.56#M: new pkg :com.htc.launcher: wanted by: null
02-06 21:28:56.698 D/Tasker ( 4240): 21.28.56#M: it's a new app but unwanted
02-06 21:28:56.698 D/Tasker ( 4240): 21.28.56#M: ************ LAST : org.renpy.android_beta:python /
02-06 21:28:56.708 D/Tasker ( 4240): 21.28.56#M: *********** NEW CLASS: alt: com.htc.launcher / com.htc.launcher.Launcher
--edit--
I forgot to mention: I have a HTC Desire running Android 2.2
- 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: Moonlight Walks - Android Version
vasudaprime - thanks for the feedback.
Would it be possible to send me the log.txt file from us.bishoujo.moonlight directory on your SD card?
Would it be possible to send me the log.txt file from us.bishoujo.moonlight directory on your SD card?
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
-
- Newbie
- Posts: 19
- Joined: Wed Jan 28, 2009 10:02 pm
- Contact:
Re: Moonlight Walks - Android Version
Sorry, I should've checked the game dir for a log file before posting a huge log . Anyways I've attached log.txt and traceback.txt to the post. I hope it helps .
- Attachments
-
- traceback.txt
- (646 Bytes) Downloaded 103 times
-
- log.txt
- (1.81 KiB) Downloaded 98 times
- 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: Moonlight Walks - Android Version
Having too much debug information is far better than having too little. Seriously, this was a great report. Here's an updated Ren'Py APK, that should fix your problem. (Which was an overly-aggressive check that I just took out.)vasudaprime wrote:Sorry, I should've checked the game dir for a log file before posting a huge log . Anyways I've attached log.txt and traceback.txt to the post. I hope it helps .
- Attachments
-
[The extension apk has been deactivated and can no longer be displayed.]
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
-
- Newbie
- Posts: 19
- Joined: Wed Jan 28, 2009 10:02 pm
- Contact:
Re: Moonlight Walks - Android Version
Yep, that worked . I've played through route 4 without any problems, so I'm guessing the others will work correctly as well (I'll post again once I've played through them). One thing I noticed was that on the contributed art page there's a hyperlink (leading to the contributed art thread), which didn't work. I mention it because I'm not sure if hyperlinks aren't supported on Android Ren'Py, or if it's a bug.
- 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: Moonlight Walks - Android Version
They're not supported on Android.
Thanks for helping me resolve this problem.
Thanks for helping me resolve this problem.
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
Who is online
Users browsing this forum: No registered users