abral Posted May 5, 2012 Report Share Posted May 5, 2012 The work to do the Android port could be also useful to port the game to JavaScript.Emscripten (https://github.com/kripken/emscripten) can translate C++ code to JavaScript using the LLVM compiler, and it can translate OpenGL ES (at least a subset) to WebGL.For example, there's a project about porting Sauerbraten (http://sauerbraten.org/): https://github.com/kripken/BananaBread/ Quote Link to comment Share on other sites More sharing options...
madmax Posted May 13, 2012 Report Share Posted May 13, 2012 (edited) ok I am trying to compile the game on my samsung galaxy S plus: model number GTI9001 on Ubuntu 12.04 running inside virtual box.I am following the instructions here : http://trac.wildfire...ndenciesandgameI get an error at this instruction:Then build SDL and the .apk (the installable application that invokes the external game engine code):cd build/android/sdl-project/makeabhi@abhivb:~/android/0ad-game/build/android/sdl-project/jni/SDL$ cd ../..abhi@abhivb:~/android/0ad-game/build/android/sdl-project$ make/home/abhi/android/android-ndk-r7-crystax-5.beta2/ndk-buildmake: /home/abhi/android/android-ndk-r7-crystax-5.beta2/ndk-build: Command not foundmake: *** [libs/armeabi/libmain.so] Error 127abhi@abhivb:~/android/0ad-game/build/android/sdl-project$So I havent reached the Crystax NDK install stage yet, why is make asking for it now ? Am I not building SDL correctly ? I do have SDL cloned properly but I am not sure how togo ahead with building it and in which folder.----------------------------Well I went ahead and tried to install the dependencies from this instruction:(Dependency checking is probably broken, so run "make clean" if you need to rebuild after changing stuff.)Then install all the dependencies:cd build/android/./setup-libs.shIt got and I guess installed few of the dependencies but then I suddenly got an error :2012-05-12 22:32:36 (1.07 MB/s) - `libpng-1.5.8.tar.xz' saved [701716/701716]--2012-05-12 22:32:36-- ftp://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz => `libxml2-2.7.8.tar.gz'Resolving xmlsoft.org (xmlsoft.org)... 176.31.99.103Connecting to xmlsoft.org (xmlsoft.org)|176.31.99.103|:21... connected.Logging in as anonymous ... Logged in!==> SYST ... done. ==> PWD ... done.==> TYPE I ... done. ==> CWD (1) /libxml2 ... done.==> SIZE libxml2-2.7.8.tar.gz ... 4881808==> PASV ... done. ==> RETR libxml2-2.7.8.tar.gz ... done.Length: 4881808 (4.7M) (unauthoritative)100%[===========================================================>] 4,881,808 937K/s in 6.4s 2012-05-12 22:32:45 (742 KB/s) - `libxml2-2.7.8.tar.gz' saved [4881808]~/android/0ad-game/build/androidrm: cannot remove `/home/abhi/android/toolchain-0ad': No such file or directory./setup-libs.sh: line 68: /home/abhi/android/android-ndk-r7-crystax-5.beta2/build/tools/make-standalone-toolchain.sh: No such file or directoryabhi@abhivb:~/android/0ad-game/build/android$I am familiar with building in Linux, so I think I should be able to complete the steps with a little bit of help regarding the order of things here. Have I messed up mybuild folder already ? Edited May 13, 2012 by madmax Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted May 13, 2012 Report Share Posted May 13, 2012 Looks like I accidentally removed the NDK build instructions. I added that back which will hopefully help Quote Link to comment Share on other sites More sharing options...
madmax Posted May 13, 2012 Report Share Posted May 13, 2012 (edited) ok we are making progress now.Here is the latest :abhi@abhivb:~/android$ cd 0ad-game/abhi@abhivb:~/android/0ad-game$ cd build/android/sdl-project/abhi@abhivb:~/android/0ad-game/build/android/sdl-project$ make/home/abhi/android/android-ndk-r7-crystax-5.beta2/ndk-buildmake[1]: Entering directory `/home/abhi/android/0ad-game/build/android/sdl-project'Gdbserver : [arm-linux-androideabi-4.6.3] libs/armeabi/gdbserverGdbsetup : libs/armeabi/gdb.setupCompile thumb : SDL2 <= SDL_assert.cCompile thumb : SDL2 <= SDL.cCompile thumb : SDL2 <= SDL_error.cCompile thumb : SDL2 <= SDL_fatal.cCompile thumb : SDL2 <= SDL_hints.cCompile thumb : SDL2 <= SDL_log.cCompile thumb : SDL2 <= SDL_audio.cCompile thumb : SDL2 <= SDL_audiocvt.cCompile thumb : SDL2 <= SDL_audiodev.cCompile thumb : SDL2 <= SDL_audiotypecvt.cCompile thumb : SDL2 <= SDL_mixer.cCompile thumb : SDL2 <= SDL_wave.cCompile thumb : SDL2 <= SDL_androidaudio.cCompile thumb : SDL2 <= SDL_dummyaudio.cCompile thumb : SDL2 <= SDL_atomic.cCompile arm : SDL2 <= SDL_spinlock.cCompile++ thumb : SDL2 <= SDL_android.cppCompile thumb : SDL2 <= SDL_cpuinfo.cCompile thumb : SDL2 <= SDL_clipboardevents.cCompile thumb : SDL2 <= SDL_dropevents.cCompile thumb : SDL2 <= SDL_events.cCompile thumb : SDL2 <= SDL_gesture.cCompile thumb : SDL2 <= SDL_keyboard.cCompile thumb : SDL2 <= SDL_mouse.cCompile thumb : SDL2 <= SDL_quit.cCompile thumb : SDL2 <= SDL_touch.cCompile thumb : SDL2 <= SDL_windowevents.cCompile thumb : SDL2 <= SDL_rwops.cCompile thumb : SDL2 <= SDL_haptic.cCompile thumb : SDL2 <= SDL_syshaptic.cCompile thumb : SDL2 <= SDL_joystick.cCompile thumb : SDL2 <= SDL_sysjoystick.cCompile thumb : SDL2 <= SDL_sysloadso.cCompile thumb : SDL2 <= SDL_power.cCompile thumb : SDL2 <= SDL_render.cCompile thumb : SDL2 <= SDL_yuv_mmx.cCompile thumb : SDL2 <= SDL_yuv_sw.cCompile thumb : SDL2 <= SDL_render_d3d.cCompile thumb : SDL2 <= SDL_libgl2D.cCompile thumb : SDL2 <= SDL_ndsrender.cCompile thumb : SDL2 <= SDL_render_gles2.cCompile thumb : SDL2 <= SDL_shaders_gles2.cCompile thumb : SDL2 <= SDL_render_gles.cCompile thumb : SDL2 <= SDL_render_gl.cCompile thumb : SDL2 <= SDL_shaders_gl.cCompile thumb : SDL2 <= SDL_blendfillrect.cCompile thumb : SDL2 <= SDL_blendline.cCompile thumb : SDL2 <= SDL_blendpoint.cCompile thumb : SDL2 <= SDL_drawline.cCompile thumb : SDL2 <= SDL_drawpoint.cCompile thumb : SDL2 <= SDL_render_sw.cCompile thumb : SDL2 <= SDL_getenv.cCompile thumb : SDL2 <= SDL_iconv.cCompile thumb : SDL2 <= SDL_malloc.cCompile thumb : SDL2 <= SDL_qsort.cCompile thumb : SDL2 <= SDL_stdlib.cCompile thumb : SDL2 <= SDL_string.cCompile thumb : SDL2 <= SDL_thread.cCompile thumb : SDL2 <= SDL_syscond.cCompile thumb : SDL2 <= SDL_sysmutex.cCompile thumb : SDL2 <= SDL_syssem.cCompile thumb : SDL2 <= SDL_systhread.cCompile thumb : SDL2 <= SDL_timer.cCompile thumb : SDL2 <= SDL_systimer.cCompile thumb : SDL2 <= SDL_blit_0.cCompile thumb : SDL2 <= SDL_blit_1.cCompile thumb : SDL2 <= SDL_blit_A.cCompile thumb : SDL2 <= SDL_blit_auto.cCompile thumb : SDL2 <= SDL_blit.cCompile thumb : SDL2 <= SDL_blit_copy.cCompile thumb : SDL2 <= SDL_blit_N.cCompile thumb : SDL2 <= SDL_blit_slow.cCompile thumb : SDL2 <= SDL_bmp.cCompile thumb : SDL2 <= SDL_clipboard.cCompile thumb : SDL2 <= SDL_fillrect.cCompile thumb : SDL2 <= SDL_pixels.cCompile thumb : SDL2 <= SDL_rect.cCompile thumb : SDL2 <= SDL_RLEaccel.cCompile thumb : SDL2 <= SDL_shape.cCompile thumb : SDL2 <= SDL_stretch.cCompile thumb : SDL2 <= SDL_surface.cCompile thumb : SDL2 <= SDL_video.cCompile thumb : SDL2 <= SDL_androidevents.cCompile thumb : SDL2 <= SDL_androidgl.cCompile thumb : SDL2 <= SDL_androidkeyboard.cCompile thumb : SDL2 <= SDL_androidtouch.cCompile thumb : SDL2 <= SDL_androidvideo.cCompile thumb : SDL2 <= SDL_androidwindow.cStaticLibrary : libcrystax.aPrebuilt : libcrystax_static.a <= <NDK>/sources/crystax/libs/armeabi/4.6.3/Prebuilt : libgnustl_static.a <= <NDK>/sources/cxx-stl/gnu-libstdc++/libs/armeabi/4.6.3/SharedLibrary : libSDL2.soInstall : libSDL2.so => libs/armeabi/libSDL2.soCompile++ thumb : main <= SDL_android_main.cppCompile++ thumb : main <= pyrogenesis_wrapper.cppSharedLibrary : libmain.soInstall : libmain.so => libs/armeabi/libmain.somake[1]: Leaving directory `/home/abhi/android/0ad-game/build/android/sdl-project'mkdir -p lib/armeabicp libs/armeabi/libmain.so libs/armeabi/libSDL2.so lib/armeabi//home/abhi/android/android-sdk-linux/platform-tools/aapt package -f -F bin/0ad.unaligned.apk -M AndroidManifest.xml -S bin/res -S res -I /home/abhi/android/android-sdk-linux/platforms/android-10/android.jarzip bin/0ad.unaligned.apk -j bin/classes.dex adding: classes.dex (deflated 50%)zip bin/0ad.unaligned.apk -r lib adding: lib/ (stored 0%) adding: lib/armeabi/ (stored 0%) adding: lib/armeabi/libSDL2.so (deflated 69%) adding: lib/armeabi/libmain.so (deflated 44%)jarsigner -keystore /home/abhi/.android/debug.keystore -storepass android bin/0ad.unaligned.apk androiddebugkeyjarsigner error: java.lang.RuntimeException: keystore load: /home/abhi/.android/debug.keystore (No such file or directory)make: *** [bin/0ad.unaligned.apk] Error 1abhi@abhivb:~/android/0ad-game/build/android/sdl-project$-------------------------------------Hmm well anyway, now if I go into ~/android/0ad-game/build/android/sdl-project and tyoe make I get :abhi@abhivb:~/android/0ad-game/build/android/sdl-project$ makemake: Nothing to be done for `all'.abhi@abhivb:~/android/0ad-game/build/android/sdl-project$So the build did succeed !!I did a make clean and tried make again, again I got the same jarsign error thing.This time I run make after I get the error and I get :zip bin/0ad.unaligned.apk -r lib adding: lib/ (stored 0%) adding: lib/armeabi/ (stored 0%) adding: lib/armeabi/libSDL2.so (deflated 69%) adding: lib/armeabi/libmain.so (deflated 44%)jarsigner -keystore /home/abhi/.android/debug.keystore -storepass android bin/0ad.unaligned.apk androiddebugkeyjarsigner error: java.lang.RuntimeException: keystore load: /home/abhi/.android/debug.keystore (No such file or directory)make: *** [bin/0ad.unaligned.apk] Error 1abhi@abhivb:~/android/0ad-game/build/android/sdl-project$ make/home/abhi/android/android-sdk-linux/tools/zipalign 4 bin/0ad.unaligned.apk bin/0ad.apkabhi@abhivb:~/android/0ad-game/build/android/sdl-project$Well watever, moving on.... I am now running the./setup-libs.shscriptPerhaps you can add to the wiki that patch, g++ and libxml2-dev also needs to be installed. Default ubuntu 12.04 doesnt have them.sudo apt-get install patch g++sudo apt-get install libxml2-devWithout libxml2-dev, FCollada build fails.------------------Ok, so the build is done and I have pushed to my phone and I try to run 0ad.apk but it says Application Not Installed, without giving any reason.I am looking at adb logcat now but I dont see any clear reason specified.W/ActivityManager( 178): Trying to launch com.android.packageinstaller/.PackageInstallerActivityI/ApplicationPackageManager( 3003): cscCountry is not German : INUI/ActivityManager( 178): Displayed com.android.packageinstaller/.PackageInstallerActivity: +107msV/[MyFiles]( 2988): AllFile:onStopD/BatteryService( 178): update startD/BatteryService( 178): [NF]shutdownIfNoPowerD/BatteryService( 178): [SendIntent]updateBattery level:100 scale:100 status:5 health:2 present:true voltage: 4131 temperature: 330 technology: Li-ion AC powered:false USB powered:true icon:17302191I/StatusBarPolicy( 258): BAT. S:5 H:2I/WifiService( 178): pre-persistedWifiState is 1I/WifiService( 178): isAirplaneModeOn is 0I/StatusBarPolicy( 258): onSignalStrengthsChangedD/StatusBarPolicy( 258): updateSignalStrength: No SVCI/dhcpcd ( 427): renewing lease of 172.16.3.228D/dhcpcd ( 427): sending DHCP_REQUEST with xid 0x62e688bb, next in 4.29 secondsD/dhcpcd ( 427): handle_dhcp : startedI/dhcpcd ( 427): acknowledged 172.16.3.228 from 172.16.0.1 `soln-sr3696.solutionip.com'I/dhcpcd ( 427): save_listdata 0 : e40310acD/dhcpcd ( 427): Save list ip address. : e40310acI/dhcpcd ( 427): leased 172.16.3.228 for 60 secondsD/dhcpcd ( 427): adding IP address 172.16.3.228/21D/dhcpcd ( 427): adding route to 0.0.0.0/0 via 172.16.0.1D/dhcpcd ( 427): executing `/system/etc/dhcpcd/dhcpcd-run-hooks', reason RENEWD/dhcpcd ( 427): [yiaddr] : old_ip_address=172.16.3.228D/dhcpcd ( 427): [yiaddr] : old_subnet_cidr=21D/dhcpcd ( 427): [yiaddr] : old_network_number=172.16.0.0D/dhcpcd ( 427): [yiaddr] : old_filename=default.cfgD/dhcpcd ( 427): [yiaddr] : old_server_name=soln-sr3696.solutionip.comD/dhcpcd ( 427): [options] : old_subnet_mask=255.255.248.0D/dhcpcd ( 427): [options] : old_routers=172.16.0.1D/dhcpcd ( 427): [options] : old_domain_name_servers=205.171.3.65 205.171.2.65D/dhcpcd ( 427): [options] : old_domain_name=solutionip.comD/dhcpcd ( 427): [options] : old_broadcast_address=172.16.7.255D/dhcpcd ( 427): [options] : old_dhcp_lease_time=60D/dhcpcd ( 427): [options] : old_dhcp_message_type=5D/dhcpcd ( 427): [options] : old_dhcp_server_identifier=172.16.0.1D/dhcpcd ( 427): [options] : old_dhcp_renewal_time=30D/dhcpcd ( 427): [options] : old_dhcp_rebinding_time=52D/dhcpcd ( 427): [yiaddr] : new_ip_address=172.16.3.228D/dhcpcd ( 427): [yiaddr] : new_subnet_cidr=21D/dhcpcd ( 427): [yiaddr] : new_network_number=172.16.0.0D/dhcpcd ( 427): [yiaddr] : new_filename=default.cfgD/dhcpcd ( 427): [yiaddr] : new_server_name=soln-sr3696.solutionip.comD/dhcpcd ( 427): [options] : new_subnet_mask=255.255.248.0D/dhcpcd ( 427): [options] : new_routers=172.16.0.1D/dhcpcd ( 427): [options] : new_domain_name_servers=205.171.3.65 205.171.2.65D/dhcpcd ( 427): [options] : new_domain_name=solutionip.comD/dhcpcd ( 427): [options] : new_broadcast_address=172.16.7.255D/dhcpcd ( 427): [options] : new_dhcp_lease_time=60D/dhcpcd ( 427): [options] : new_dhcp_message_type=5D/dhcpcd ( 427): [options] : new_dhcp_server_identifier=172.16.0.1D/dhcpcd ( 427): [options] : new_dhcp_renewal_time=30D/dhcpcd ( 427): [options] : new_dhcp_rebinding_time=52D/dhcpcd ( 427): renew in 30 secondsI/InputReader( 178): dispatchTouch::touch event's action is 0I/InputReader( 178): dispatchTouch::touch event's action is 1I/ActivityManager( 178): Starting: Intent { dat=file:///mnt/sdcard/0ad.apk cmp=com.android.packageinstaller/.InstallAppProgress (has extras) } from pid 3003W/ActivityManager( 178): Trying to launch com.android.packageinstaller/.InstallAppProgressI/ApplicationPackageManager( 3003): cscCountry is not German : INUI/ActivityManager( 178): Displayed com.android.packageinstaller/.InstallAppProgress: +80msD/VoldCmdListener( 114): volume aseced /mnt/sdcard/external_sdD/MountService( 178): getAsecVolumeState :: result = mountedI/DmAppInfo( 178): getApplicationsList found row counts : 0 For Pkg : org.libsdl.appD/VoldCmdListener( 114): volume aseced /mnt/sdcard/external_sdD/MountService( 178): getAsecVolumeState :: result = mountedW/ActivityManager( 178): No content provider found for:D/PackageParser( 178): Scanning package: /data/app/vmdl-1043091474.tmpE/PackageParser( 178): Package org.libsdl.app has no certificates at entry res/layout/main.xml; ignoring!W/ActivityManager( 178): No content provider found for:I/StatusBarPolicy( 258): onSignalStrengthsChangedD/StatusBarPolicy( 258): updateSignalStrength: No SVCI/InputReader( 178): dispatchTouch::touch event's action is 0I/InputReader( 178): dispatchTouch::touch event's action is 1I/InstallAppProgress( 3003): Finished installing org.libsdl.appD/[MyFiles]( 2988): getCurrentDirectory : /mnt/sdcardD/[MyFiles]( 2988): TextListAdapter.startV/[MyFiles]( 2988): ImageLoader.start() <<<<<<<<<<<<<<<<<<<<<<<<<<<<D/BatteryService( 178): update startD/BatteryService( 178): [NF]shutdownIfNoPowerHow about this line towards the end :E/PackageParser( 178): Package org.libsdl.app has no certificates at entry res/layout/main.xml; ignoring! Edited May 13, 2012 by madmax Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted May 13, 2012 Report Share Posted May 13, 2012 jarsigner -keystore /home/abhi/.android/debug.keystore -storepass android bin/0ad.unaligned.apk androiddebugkeyjarsigner error: java.lang.RuntimeException: keystore load: /home/abhi/.android/debug.keystore (No such file or directory)Hmm, I don't know where that file comes from - some part of the Android SDK generates it (maybe ant), but I have no idea how to trigger it. The .apk won't be created correctly without that - you'll need to run "make clean" then "make" inside sdl-project/ to rebuild properly once the keystore file is in place. (None of the rest of the build process will be affected by that, though.) Quote Link to comment Share on other sites More sharing options...
madmax Posted May 13, 2012 Report Share Posted May 13, 2012 (edited) the debug.keystore seems to be generated on first build. I am downloading eclipse and installing the ADT and then I ll build one of the sdk samples. That should do it.http://stackoverflow...-android-folderSo I created a hello world ap and now I have successfully signed and got 0ad.apk installed on my phone. It doesnt start however because I havent pushed the config stuff and public.zipOnto all that next >>>> Edited May 13, 2012 by madmax Quote Link to comment Share on other sites More sharing options...
madmax Posted May 14, 2012 Report Share Posted May 14, 2012 (edited) I am getting a seg fault with the penultimate step abhi@abhivb:~/android/0ad-game$ binaries/system/pyrogenesis -archivebuild=binaries/data/mods/public -archivebuild-output=temp/public.zip -archivebuild-compressAdding binaries/data/mods/public/art/LICENSE.txtSegmentation fault (core dumped)abhi@abhivb:~/android/0ad-game$Is it possible to generate public.zip on windows, or for someone to post it on the svn ? I suspect it maybe due to me running ubuntu in virtual box, but the game does start up inside ubuntu though its very slow. Edited May 14, 2012 by madmax Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted May 14, 2012 Report Share Posted May 14, 2012 It'd be useful to know where it's crashing (since it shouldn't) - can you start it like "gdb --args binaries/system/pyrogenesis -archivebuild..." then do "r" to run, then it should crash, then do "bt full"?One possibility: Does the "temp" directory exist? (If not, does it work better if it does?) Quote Link to comment Share on other sites More sharing options...
madmax Posted May 14, 2012 Report Share Posted May 14, 2012 It was the temp .Man! you are the best remote debugger I have come across ! 1 Quote Link to comment Share on other sites More sharing options...
fabio Posted May 14, 2012 Report Share Posted May 14, 2012 Now we want photo of 0 A.D. on it Quote Link to comment Share on other sites More sharing options...
madmax Posted May 14, 2012 Report Share Posted May 14, 2012 (edited) yes by evening for sure ----------------So I am trying to launch the app :good news, the engine code does get loadedbad news, the app doesnt show the opengl window due to a wierd error :I/ActivityManager( 2370): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.libsdl.app/.SDLActivity bnds=[245,234][355,372] } from pid 2472I/Launcher( 2472): onPause()I/ActivityManager( 2370): Start proc org.libsdl.app for activity org.libsdl.app/.SDLActivity: pid=3152 uid=10085 gids={1015, 3003}I/WindowManager( 2370): Setting rotation to 1, animFlags=1I/TvOut-Observer( 2370): setTvoutOrientation rotation = 1E/TvOut-Observer( 2370): SetOrientationI/TvOut-Client( 2370): SetOrientation +I/TvOut-Client( 2370): SetOrientation -I/ActivityManager( 2370): Config changed: { scale=1.0 imsi=405/52 loc=en_US touch=3 keys=1/1/2 nav=2/1 orien=2 layout=34 uiMode=17 seq=11 FlipFont=0}V/Mms/HVGALayoutParameters( 2612): HVGALayoutParameters.<init>(11).I/Launcher( 2472): onWindowFocusChanged(false)I/ApplicationPackageManager( 3152): cscCountry is not German : INUD/SensorManager( 3152): ====>>>>>Num Sensor: 1D/SensorManager( 3152): ====>>>>>Num Sensor: 2D/SensorManager( 3152): ====>>>>>Num Sensor: 3D/SensorManager( 3152): ====>>>>>Num Sensor: 4D/SensorManager( 3152): ====>>>>>Num Sensor: 5D/SensorManager( 3152): ====>>>>>Num Sensor: 6D/SensorManager( 3152): ====>>>>>Num Sensor: 7D/SensorManager( 3152): ====>>>>>Num Sensor: 0V/SDL ( 3152): onResume()D/Launcher( 2472): It's image wallpaper. suggestDesiredDimensions(-1,-1)I/ActivityManager( 2370): Displayed org.libsdl.app/.SDLActivity: +141msE/AutoRotationSettingButton( 2446): enV/SDL ( 3152): surfaceCreated()E/SensorManager( 3152): registerListener :: handle = 1 name= BMA222 Acceleration Sensor delay= 20000 Listener= org.libsdl.app.SDLSurface@40522868E/SensorManager( 3152): =======>>>Sensor Thread RUNNING <<<========E/SensorManager( 3152): reg :: handle = 1V/SDL ( 3152): surfaceChanged()V/SDL ( 3152): pixel format RGB_565V/SDL ( 3152): Window size:800x480W/IInputConnectionWrapper( 2472): showStatusIcon on inactive InputConnectionI/SDL ( 3152): SDL_Android_Init()I/SDL ( 3152): SDL_Android_Init() finished!I/pyrogenesis( 3152): Started wrapperI/pyrogenesis( 3152): Opening library /data/local/libpyrogenesis_dbg.soI/pyrogenesis( 3152): Library opened successfullyI/pyrogenesis( 3152): Launching engine codeW/pyrogenesis( 3152): Cache: 64 (total: 352) MiBW/pyrogenesis( 3152): TIMER| InitVfs: 1.58691 msW/pyrogenesis( 3152): TIMER| InitScripting: 8.54492 msW/pyrogenesis( 3152): TIMER| CONFIG_Init: 1.40961 sD/PowerManagerService( 2370): lightSensorChangedLocked 1stD/PowerManagerService( 2370): lightSensorChangedLocked 1000D/PowerManagerService( 2370): lightSensorChangedLocked mHighestLightSensorValue = 1000D/PowerManagerService( 2370): lightSensorChangedLocked mLightSensorValue = 6.0D/PowerManagerService( 2370): lcdValue 50D/PowerManagerService( 2370): buttonValue 0D/PowerManagerService( 2370): keyboardValue 0D/LightsService( 2370): setBrightness 1st : brightness = 0D/LightsService( 2370): [NF]setLightLocked : brightnessMode = 0D/LightsService( 2370): setBrightness 1st : brightness = 0D/LightsService( 2370): [NF]setLightLocked : brightnessMode = 0D/BatteryService( 2370): update startD/BatteryService( 2370): [NF]shutdownIfNoPowerD/BatteryService( 2370): [SendIntent]updateBattery level:75 scale:100 status:2 health:2 present:true voltage: 3988 temperature: 420 technology: Li-ion AC powered:false USB powered:true icon:17302213I/WifiService( 2370): pre-persistedWifiState is 1I/WifiService( 2370): isAirplaneModeOn is 0I/StatusBarPolicy( 2446): BAT. S:2 H:2W/PowerManagerService( 2370): Timer 0x7->0x3|0x0I/PowerManagerService( 2370): Ulight 7->3|0D/PowerManagerService( 2370): setLightBrightness : mButtonLight : 0D/LightsService( 2370): setBrightness 1st : brightness = 0D/LightsService( 2370): [NF]setLightLocked : brightnessMode = 0I/StatusBarPolicy( 2446): onSignalStrengthsChangedD/StatusBarPolicy( 2446): updateSignalStrength: No SVCW/libEGL ( 3152): 0: eglInitialize(0x1) failed (EGL_SUCCESS)E/SDL ( 3152): No EGL config availableW/pyrogenesis( 3152): ERROR: SetVideoMode failed in SDL_GL_CreateContext: 800x480:32 1 ("Couldn't create OpenGL context - see Android log for details")W/pyrogenesis( 3152): ERROR: SetVideoMode failed in SDL_CreateWindow: 800x480:32 1 ("Android only supports one window")I/DEBUG ( 116): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***I/DEBUG ( 116): Build fingerprint: 'samsung/GT-I9001/GT-I9001:2.3.4/GINGERBREAD/XXKPE:user/release-keys'I/DEBUG ( 116): pid: 3152, tid: 3161 >>> org.libsdl.app <<<I/DEBUG ( 116): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaadI/DEBUG ( 116): r0 00000027 r1 deadbaad r2 80000000 r3 00000000I/DEBUG ( 116): r4 00000001 r5 00000000 r6 00000001 r7 afd426d8I/DEBUG ( 116): r8 47afcb40 r9 479fcfb8 10 479fcfa4 fp aca96310I/DEBUG ( 116): ip afd46688 sp 47afb908 lr afd19249 pc afd15d14 cpsr 60000030I/DEBUG ( 116): d0 565f6d6574737953 d1 6c69614665646f6dI/DEBUG ( 116): d2 0000007000000000 d3 0000007200000000I/DEBUG ( 116): d4 0000007300000074 d5 0000006f00000020I/DEBUG ( 116): d6 000000650000006e d7 0000007700000020I/DEBUG ( 116): d8 0000000001312d00 d9 0000000000000000I/DEBUG ( 116): d10 0000000000000000 d11 0000000000000000I/DEBUG ( 116): d12 0000000000000000 d13 0000000000000000I/DEBUG ( 116): d14 0000000000000000 d15 0000000000000000I/DEBUG ( 116): d16 4011e5080021047f d17 4011e5080021047fI/DEBUG ( 116): d18 41bc3b8764000000 d19 3fe00000001df743I/DEBUG ( 116): d20 bf641aadca2c925d d21 be5acaf22c836220I/DEBUG ( 116): d22 3c861b1acd800000 d23 3de5d93a5acfd57cI/DEBUG ( 116): d24 3fc74721cad6b0ed d25 3fc39a09d078c69fI/DEBUG ( 116): d26 0000000000000000 d27 0000000000000000I/DEBUG ( 116): d28 0000000000000000 d29 3ff0000000000000I/DEBUG ( 116): d30 0000000000000000 d31 3ff0000000000000I/DEBUG ( 116): scr 20000012I/DEBUG ( 116):I/DEBUG ( 116): #00 pc 00015d14 /system/lib/libc.soI/DEBUG ( 116): #01 lr afd19249 /system/lib/libc.soI/DEBUG ( 116):I/DEBUG ( 116): code around pc:I/DEBUG ( 116): afd15cf4 2c006824 e028d1fb b13368db c064f8dfI/DEBUG ( 116): afd15d04 44fc2401 4000f8cc 49124798 25002027I/DEBUG ( 116): afd15d14 f7f57008 2106ec64 edd8f7f6 460aa901I/DEBUG ( 116): afd15d24 f04f2006 95015380 95029303 e93ef7f6I/DEBUG ( 116): afd15d34 462aa905 f7f62002 f7f5e94a 2106ec50I/DEBUG ( 116):I/DEBUG ( 116): code around lr:I/DEBUG ( 116): afd19228 4a0e4b0d e92d447b 589c41f0 26004680I/DEBUG ( 116): afd19238 686768a5 f9b5e006 b113300c 47c04628I/DEBUG ( 116): afd19248 35544306 37fff117 6824d5f5 d1ef2c00I/DEBUG ( 116): afd19258 e8bd4630 bf0081f0 000282f4 ffffff88I/DEBUG ( 116): afd19268 b086b570 f602fb01 9004460c a804a901I/DEBUG ( 116):I/DEBUG ( 116): stack:I/DEBUG ( 116): 47afb8c8 afd42684 I/DEBUG ( 116): 47afb8cc 000a04d8 I/DEBUG ( 116): 47afb8d0 0000002b I/DEBUG ( 116): 47afb8d4 afd18311 /system/lib/libc.soI/DEBUG ( 116): 47afb8d8 afd42624 I/DEBUG ( 116): 47afb8dc afd467f8 I/DEBUG ( 116): 47afb8e0 00000000 I/DEBUG ( 116): 47afb8e4 afd19249 /system/lib/libc.soI/DEBUG ( 116): 47afb8e8 00000001 I/DEBUG ( 116): 47afb8ec 47afb91c I/DEBUG ( 116): 47afb8f0 00000001 I/DEBUG ( 116): 47afb8f4 afd426d8 I/DEBUG ( 116): 47afb8f8 47afcb40 I/DEBUG ( 116): 47afb8fc afd1856b /system/lib/libc.soI/DEBUG ( 116): 47afb900 df002777 I/DEBUG ( 116): 47afb904 e3a070ad I/DEBUG ( 116): #00 47afb908 00000001 I/DEBUG ( 116): 47afb90c afd1835d /system/lib/libc.soI/DEBUG ( 116): 47afb910 0000000a I/DEBUG ( 116): 47afb914 afd1c87f /system/lib/libc.soI/DEBUG ( 116): 47afb918 afd42630 I/DEBUG ( 116): 47afb91c fffffbdf I/DEBUG ( 116): 47afb920 479fcfb8 I/DEBUG ( 116): 47afb924 afd42630 I/DEBUG ( 116): 47afb928 82ab9a24 /data/local/libpyrogenesis_dbg.soI/DEBUG ( 116): 47afb92c 811a58d0 /data/data/org.libsdl.app/lib/libSDL2.soI/DEBUG ( 116): 47afb930 00629d80 I/DEBUG ( 116): 47afb934 00000000 I/DEBUG ( 116): 47afb938 00629dd8 I/DEBUG ( 116): 47afb93c 00629d80 I/DEBUG ( 116): 47afb940 82c5b09c I/DEBUG ( 116): 47afb944 00629dd8 I/DEBUG ( 116): 47afb948 47afb978 I/DEBUG ( 116): 47afb94c 811a4dd0 /data/data/org.libsdl.app/lib/libSDL2.soI/BootReceiver( 2370): Copying /data/tombstones/tombstone_08 to DropBox (SYSTEM_TOMBSTONE)I/DEBUG ( 116): dumpstate /data/log/dumpstate_app_native.txtI/StatusBarPolicy( 2446): onSignalStrengthsChangedD/StatusBarPolicy( 2446): updateSignalStrength: No SVCD/BatteryService( 2370): update startD/BatteryService( 2370): [NF]shutdownIfNoPowerI/StatusBarPolicy( 2446): onSignalStrengthsChangedD/StatusBarPolicy( 2446): updateSignalStrength: No SVCD/VoldCmdListener( 114): asec listI/ActivityManager( 2370): Process org.libsdl.app (pid 3152) has died.I/WindowManager( 2370): WIN DEATH: Window{408bfdc0 org.libsdl.app/org.libsdl.app.SDLActivity paused=false}I/WindowManager( 2370): WIN DEATH: Window{408b5018 SurfaceView paused=false}I/WindowManager( 2370): Setting rotation to 0, animFlags=1I/TvOut-Observer( 2370): setTvoutOrientation rotation = 0E/TvOut-Observer( 2370): SetOrientationI/TvOut-Client( 2370): SetOrientation +I/TvOut-Client( 2370): SetOrientation -I/ActivityManager( 2370): Config changed: { scale=1.0 imsi=405/52 loc=en_US touch=3 keys=1/1/2 nav=2/1 orien=1 layout=34 uiMode=17 seq=12 FlipFont=0}V/Mms/HVGALayoutParameters( 2612): HVGALayoutParameters.<init>(11).I/Launcher( 2472): onResume(). mIsNewIntent : falseE/ ( 2472): onResume() check 0E/ ( 2472): onResume() check 1E/AutoRotationSettingButton( 2446): enE/Launcher( 2472): setWindowOpaque()E/ ( 2472): onResume() check 2, mRestoring : falseE/ ( 2472): onResume() check 3E/ ( 2472): AJESH broadcastStkIntentE/ ( 2472): onResume() check 4E/ ( 2472): onResume() check 5I/Launcher( 2472): onResume() endedV/Launcher.Workspace( 2472): onSizeChanged( 480,800,480,762)getWidth() = 480getHeight() = 800I/Launcher( 2472): onWindowFocusChanged(true)D/Launcher( 2472): It's image wallpaper. suggestDesiredDimensions(-1,-1)I/StatusBarPolicy( 2446): onSignalStrengthsChangedD/StatusBarPolicy( 2446): updateSignalStrength: No SVCE/Launcher( 2472): setWindowOpaque()I/TelephonyRegistry( 2370): notifyServiceState: 1 1 home null null 310410 UMTS CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: trueI/StatusBarPolicy( 2446): onServiceStateChanged-S:1 1 home null null 310410 UMTS CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: trueD/StatusBarPolicy( 2446): updateSignalStrength: No SVCI/SML ( 2884): [smlBroadcastReceiver.java Line:165] onReceive [RECEIVER] SML_BROADCAST_SERVICE_STATE_CHANGEDV/Mms/DownloadManager( 2612): Service state changed: Bundle[mParcelledData.dataSize=648]I/StatusBarPolicy( 2446): onDataConnectionStateChanged-S:0 T:3V/Mms/DownloadManager( 2612): roaming ------> falseI/StatusBarPolicy( 2446): updateDataNetType-T:3W/InputManagerService( 2370): Got RemoteException sending setActive(false) notification to pid 3152 uid 10085I/DBG_WSS_DM( 2648): [wssTelephonyData.java Line:153] getInstance PHONE_TYPE_GSMV/Mms/DownloadManager( 2612): auto download without roaming -> trueV/Mms/DownloadManager( 2612): auto download during roaming -> falseV/Mms/DownloadManager( 2612): mAutoDownload ------> trueI/DBG_WSS_DM( 2648): [wssTelephonyData.java Line:153] getInstance PHONE_TYPE_GSMV/Launcher.Workspace( 2472): onSizeChanged( 480,762,480,800)getWidth() = 480getHeight() = 762D/BatteryService( 2370): update startD/BatteryService( 2370): [NF]shutdownIfNoPowerD/BatteryService( 2370): [SendIntent]updateBattery level:75 scale:100 status:2 health:2 present:true voltage: 4000 temperature: 420 technology: Li-ion AC powered:false USB powered:true icon:17302213I/WifiService( 2370): pre-persistedWifiState is 1I/WifiService( 2370): isAirplaneModeOn is 0I/StatusBarPolicy( 2446): BAT. S:2 H:2 Edited May 15, 2012 by madmax Quote Link to comment Share on other sites More sharing options...
madmax Posted May 15, 2012 Report Share Posted May 15, 2012 (edited) Is it related to SDL 1.3 multiple windows capabilties that may not be available on my phone ?where is the android log ? Edited May 15, 2012 by madmax Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted May 15, 2012 Report Share Posted May 15, 2012 The important parts are:E/SDL ( 3152): No EGL config availableW/pyrogenesis( 3152): ERROR: SetVideoMode failed in SDL_GL_CreateContext: 800x480:32 1 ("Couldn't create OpenGL context - see Android log for details")which means it's trying to load an unsupported graphics configuration. See the "int[] configSpec" in build/android/sdl-project/src/org/libsdl/app/SDLActivity.java . Probably the most likely problem is the "EGL10.EGL_SAMPLES, 4," line (which enables 4x MSAA) - comment that out and try again. (Need to do a "make clean" and "make" in sdl-project and then rebuild and reinstall the .apk, I think). If that doesn't help, maybe try changing the RED/GREEN/BLUE_SIZE - currently they're 8,8,8, and it might be happier with 5,6,5. Quote Link to comment Share on other sites More sharing options...
gameboy Posted May 16, 2012 Report Share Posted May 16, 2012 ok, but I still do not know which file to modify, can describe specific?Thank you! Quote Link to comment Share on other sites More sharing options...
madmax Posted May 16, 2012 Report Share Posted May 16, 2012 good news , Some progress, game has started but screen is blank, opngl shader errors:I/TelephonyRegistry( 182): notifyServiceState: 1 1 home null null 000000 GPRS CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: trueI/StatusBarPolicy( 262): onServiceStateChanged-S:1 1 home null null 000000 GPRS CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: trueI/ActivityManager( 182): Start proc com.smlds for broadcast com.smlds/.smlBroadcastReceiver: pid=849 uid=10003 gids={3003}D/StatusBarPolicy( 262): updateSignalStrength: No SVCV/Mms/DownloadManager( 405): Service state changed: Bundle[mParcelledData.dataSize=648]V/Mms/DownloadManager( 405): roaming ------> falseV/Mms/DownloadManager( 405): auto download without roaming -> trueV/Mms/DownloadManager( 405): auto download during roaming -> falseV/Mms/DownloadManager( 405): mAutoDownload ------> trueI/DBG_WSS_DM( 459): [wssTelephonyData.java Line:153] getInstance PHONE_TYPE_GSMI/DBG_WSS_DM( 459): [wssTelephonyData.java Line:153] getInstance PHONE_TYPE_GSMI/SML ( 849): [smlBroadcastReceiver.java Line:165] onReceive [RECEIVER] SML_BROADCAST_SERVICE_STATE_CHANGEDI/ActivityManager( 182): No longer want com.android.mms (pid 405): hidden #16D/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4192 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/StatusBarPolicy( 262): BAT. S:2 H:2I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0I/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCI/InputReader( 182): dispatchTouch::touch event's action is 0I/PowerManagerService( 182): Ulight 3->7|0D/PowerManagerService( 182): setLightBrightness : mButtonLight : 119D/LightsService( 182): setBrightness 1st : brightness = 119D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0I/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCI/InputReader( 182): dispatchTouch::touch event's action is 1I/InputReader( 182): dispatchTouch::touch event's action is 0I/InputReader( 182): dispatchTouch::touch event's action is 1I/InputReader( 182): dispatchTouch::touch event's action is 0I/InputReader( 182): dispatchTouch::touch event's action is 1I/InputReader( 182): dispatchTouch::touch event's action is 0I/InputReader( 182): dispatchTouch::touch event's action is 1D/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4195 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/StatusBarPolicy( 262): BAT. S:2 H:2I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0D/PowerManagerService( 182): onSensorChanged: light value: 1000I/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCD/PowerManagerService( 182): onSensorChanged: light value: 6I/dhcpcd ( 794): renewing lease of 172.16.7.99D/dhcpcd ( 794): sending DHCP_REQUEST with xid 0xbbf93c14, next in 4.35 secondsD/dhcpcd ( 794): handle_dhcp : startedI/dhcpcd ( 794): acknowledged 172.16.7.99 from 172.16.0.1 `soln-sr3696.solutionip.com'I/dhcpcd ( 794): save_listdata 0 : 630710acD/dhcpcd ( 794): Save list ip address. : 630710acI/dhcpcd ( 794): leased 172.16.7.99 for 60 secondsD/dhcpcd ( 794): adding IP address 172.16.7.99/21D/dhcpcd ( 794): adding route to 0.0.0.0/0 via 172.16.0.1D/dhcpcd ( 794): executing `/system/etc/dhcpcd/dhcpcd-run-hooks', reason RENEWD/dhcpcd ( 794): [yiaddr] : old_ip_address=172.16.7.99D/dhcpcd ( 794): [yiaddr] : old_subnet_cidr=21D/dhcpcd ( 794): [yiaddr] : old_network_number=172.16.0.0D/dhcpcd ( 794): [yiaddr] : old_filename=default.cfgD/dhcpcd ( 794): [yiaddr] : old_server_name=soln-sr3696.solutionip.comD/dhcpcd ( 794): [options] : old_subnet_mask=255.255.248.0D/dhcpcd ( 794): [options] : old_routers=172.16.0.1D/dhcpcd ( 794): [options] : old_domain_name_servers=205.171.3.65 205.171.2.65D/dhcpcd ( 794): [options] : old_domain_name=solutionip.comD/dhcpcd ( 794): [options] : old_broadcast_address=172.16.7.255D/dhcpcd ( 794): [options] : old_dhcp_lease_time=60D/dhcpcd ( 794): [options] : old_dhcp_message_type=5D/dhcpcd ( 794): [options] : old_dhcp_server_identifier=172.16.0.1D/dhcpcd ( 794): [options] : old_dhcp_renewal_time=30D/dhcpcd ( 794): [options] : old_dhcp_rebinding_time=52D/dhcpcd ( 794): [yiaddr] : new_ip_address=172.16.7.99D/dhcpcd ( 794): [yiaddr] : new_subnet_cidr=21D/dhcpcd ( 794): [yiaddr] : new_network_number=172.16.0.0D/dhcpcd ( 794): [yiaddr] : new_filename=default.cfgD/dhcpcd ( 794): [yiaddr] : new_server_name=soln-sr3696.solutionip.comD/dhcpcd ( 794): [options] : new_subnet_mask=255.255.248.0D/dhcpcd ( 794): [options] : new_routers=172.16.0.1D/dhcpcd ( 794): [options] : new_domain_name_servers=205.171.3.65 205.171.2.65D/dhcpcd ( 794): [options] : new_domain_name=solutionip.comD/dhcpcd ( 794): [options] : new_broadcast_address=172.16.7.255D/dhcpcd ( 794): [options] : new_dhcp_lease_time=60D/dhcpcd ( 794): [options] : new_dhcp_message_type=5D/dhcpcd ( 794): [options] : new_dhcp_server_identifier=172.16.0.1D/dhcpcd ( 794): [options] : new_dhcp_renewal_time=30D/dhcpcd ( 794): [options] : new_dhcp_rebinding_time=52D/dhcpcd ( 794): renew in 30 secondsW/PowerManagerService( 182): Timer 0x7->0x3|0x0I/PowerManagerService( 182): Ulight 7->3|0D/PowerManagerService( 182): setLightBrightness : mButtonLight : 0D/LightsService( 182): setBrightness 1st : brightness = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0I/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCI/InputReader( 182): dispatchTouch::touch event's action is 0I/PowerManagerService( 182): Ulight 3->7|0D/PowerManagerService( 182): setLightBrightness : mButtonLight : 119D/LightsService( 182): setBrightness 1st : brightness = 119D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0I/InputReader( 182): dispatchTouch::touch event's action is 1I/InputReader( 182): dispatchTouch::touch event's action is 0I/InputReader( 182): dispatchTouch::touch event's action is 1D/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4182 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/InputReader( 182): dispatchTouch::touch event's action is 0I/StatusBarPolicy( 262): BAT. S:2 H:2I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0I/InputReader( 182): dispatchTouch::touch event's action is 1W/PowerManagerService( 182): Timer 0x7->0x3|0x0I/PowerManagerService( 182): Ulight 7->3|0D/PowerManagerService( 182): setLightBrightness : mButtonLight : 0D/LightsService( 182): setBrightness 1st : brightness = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4202 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/StatusBarPolicy( 262): BAT. S:2 H:2I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0D/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4201 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0I/StatusBarPolicy( 262): BAT. S:2 H:2D/PowerManagerService( 182): onSensorChanged: light value: 1000D/PowerManagerService( 182): onSensorChanged: light value: 6D/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4205 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/StatusBarPolicy( 262): BAT. S:2 H:2I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0I/InputReader( 182): dispatchTouch::touch event's action is 0I/PowerManagerService( 182): Ulight 3->7|0D/PowerManagerService( 182): setLightBrightness : mButtonLight : 119D/LightsService( 182): setBrightness 1st : brightness = 119D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0I/InputReader( 182): dispatchTouch::touch event's action is 1I/ActivityManager( 182): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.libsdl.app/.SDLActivity } from pid 288I/Launcher( 288): onPause()I/ActivityManager( 182): Start proc org.libsdl.app for activity org.libsdl.app/.SDLActivity: pid=879 uid=10085 gids={1015, 3003}I/WindowManager( 182): Setting rotation to 1, animFlags=1I/TvOut-Observer( 182): setTvoutOrientation rotation = 1E/TvOut-Observer( 182): SetOrientationI/TvOut-Client( 182): SetOrientation +I/TvOut-Client( 182): SetOrientation -I/ActivityManager( 182): Config changed: { scale=1.0 imsi=405/52 loc=en_US touch=3 keys=1/1/2 nav=2/1 orien=2 layout=34 uiMode=17 seq=5 FlipFont=0}E/AutoRotationSettingButton( 262): enI/Launcher( 288): onWindowFocusChanged(false)D/Launcher( 288): It's image wallpaper. suggestDesiredDimensions(-1,-1)I/ApplicationPackageManager( 879): cscCountry is not German : INUD/SensorManager( 879): ====>>>>>Num Sensor: 1D/SensorManager( 879): ====>>>>>Num Sensor: 2D/SensorManager( 879): ====>>>>>Num Sensor: 3D/SensorManager( 879): ====>>>>>Num Sensor: 4D/SensorManager( 879): ====>>>>>Num Sensor: 5D/SensorManager( 879): ====>>>>>Num Sensor: 6D/SensorManager( 879): ====>>>>>Num Sensor: 7D/SensorManager( 879): ====>>>>>Num Sensor: 0V/SDL ( 879): onResume()I/ActivityManager( 182): Displayed org.libsdl.app/.SDLActivity: +178msV/SDL ( 879): surfaceCreated()E/SensorManager( 879): registerListener :: handle = 1 name= BMA222 Acceleration Sensor delay= 20000 Listener= org.libsdl.app.SDLSurface@40522598E/SensorManager( 879): =======>>>Sensor Thread RUNNING <<<========E/SensorManager( 879): reg :: handle = 1V/SDL ( 879): surfaceChanged()V/SDL ( 879): pixel format RGB_565V/SDL ( 879): Window size:800x480W/IInputConnectionWrapper( 288): showStatusIcon on inactive InputConnectionI/SDL ( 879): SDL_Android_Init()I/SDL ( 879): SDL_Android_Init() finished!I/pyrogenesis( 879): Started wrapperI/pyrogenesis( 879): Opening library /data/local/libpyrogenesis_dbg.soI/pyrogenesis( 879): Library opened successfullyI/pyrogenesis( 879): Launching engine codeW/pyrogenesis( 879): Cache: 64 (total: 352) MiBW/pyrogenesis( 879): TIMER| InitVfs: 280.67 msW/pyrogenesis( 879): TIMER| InitScripting: 17.6697 msD/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4180 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0I/StatusBarPolicy( 262): BAT. S:2 H:2W/pyrogenesis( 879): TIMER| CONFIG_Init: 1.64801 sV/SDL ( 879): Creating new EGL SurfaceE/libEGL ( 879): eglCreateWindowSurface format=1I/SDL ( 879): [STUB] GL_SetSwapIntervalW/pyrogenesis( 879): WARNING: SDL_SetGamma failedW/pyrogenesis( 879): TIMER| RunHardwareDetection: 15.4419 msW/pyrogenesis( 879): TIMER| write_sys_info: 1.7395 msW/pyrogenesis( 879): No SSE available. Slow fallback routines will be used.W/pyrogenesis( 879): TIMER| InitRenderer: 16.6016 msW/PowerManagerService( 182): Timer 0x7->0x3|0x0I/PowerManagerService( 182): Ulight 7->3|0D/PowerManagerService( 182): setLightBrightness : mButtonLight : 0D/LightsService( 182): setBrightness 1st : brightness = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4186 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0I/StatusBarPolicy( 262): BAT. S:2 H:2I/dhcpcd ( 794): renewing lease of 172.16.7.99D/dhcpcd ( 794): sending DHCP_REQUEST with xid 0xb482c418, next in 3.43 secondsD/dhcpcd ( 794): handle_dhcp : startedI/dhcpcd ( 794): acknowledged 172.16.7.99 from 172.16.0.1 `soln-sr3696.solutionip.com'I/dhcpcd ( 794): save_listdata 0 : 630710acD/dhcpcd ( 794): Save list ip address. : 630710acI/dhcpcd ( 794): leased 172.16.7.99 for 60 secondsD/dhcpcd ( 794): adding IP address 172.16.7.99/21D/dhcpcd ( 794): adding route to 0.0.0.0/0 via 172.16.0.1D/dhcpcd ( 794): executing `/system/etc/dhcpcd/dhcpcd-run-hooks', reason RENEWD/dhcpcd ( 794): [yiaddr] : old_ip_address=172.16.7.99D/dhcpcd ( 794): [yiaddr] : old_subnet_cidr=21D/dhcpcd ( 794): [yiaddr] : old_network_number=172.16.0.0D/dhcpcd ( 794): [yiaddr] : old_filename=default.cfgD/dhcpcd ( 794): [yiaddr] : old_server_name=soln-sr3696.solutionip.comD/dhcpcd ( 794): [options] : old_subnet_mask=255.255.248.0D/dhcpcd ( 794): [options] : old_routers=172.16.0.1D/dhcpcd ( 794): [options] : old_domain_name_servers=205.171.3.65 205.171.2.65D/dhcpcd ( 794): [options] : old_domain_name=solutionip.comD/dhcpcd ( 794): [options] : old_broadcast_address=172.16.7.255D/dhcpcd ( 794): [options] : old_dhcp_lease_time=60D/dhcpcd ( 794): [options] : old_dhcp_message_type=5D/dhcpcd ( 794): [options] : old_dhcp_server_identifier=172.16.0.1D/dhcpcd ( 794): [options] : old_dhcp_renewal_time=30D/dhcpcd ( 794): [options] : old_dhcp_rebinding_time=52D/dhcpcd ( 794): [yiaddr] : new_ip_address=172.16.7.99D/dhcpcd ( 794): [yiaddr] : new_subnet_cidr=21D/dhcpcd ( 794): [yiaddr] : new_network_number=172.16.0.0D/dhcpcd ( 794): [yiaddr] : new_filename=default.cfgD/dhcpcd ( 794): [yiaddr] : new_server_name=soln-sr3696.solutionip.comD/dhcpcd ( 794): [options] : new_subnet_mask=255.255.248.0D/dhcpcd ( 794): [options] : new_routers=172.16.0.1D/dhcpcd ( 794): [options] : new_domain_name_servers=205.171.3.65 205.171.2.65D/dhcpcd ( 794): [options] : new_domain_name=solutionip.comD/dhcpcd ( 794): [options] : new_broadcast_address=172.16.7.255D/dhcpcd ( 794): [options] : new_dhcp_lease_time=60D/dhcpcd ( 794): [options] : new_dhcp_message_type=5D/dhcpcd ( 794): [options] : new_dhcp_server_identifier=172.16.0.1D/dhcpcd ( 794): [options] : new_dhcp_renewal_time=30D/dhcpcd ( 794): [options] : new_dhcp_rebinding_time=52D/dhcpcd ( 794): renew in 30 secondsD/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4192 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0I/StatusBarPolicy( 262): BAT. S:2 H:2I/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCW/pyrogenesis( 879): GAME STARTED, ALL INIT COMPLETEW/pyrogenesis( 879): TIMER| ps_console: 14.7095 msW/pyrogenesis( 879): TIMER| ps_lang_hotkeys: 17.1509 msW/pyrogenesis( 879): TIMER| common/setup.xml: 15.8997 msW/pyrogenesis( 879): TIMER| common/styles.xml: 946.045 usW/pyrogenesis( 879): TIMER| common/sprite1.xml: 39.917 msW/pyrogenesis( 879): TIMER| common/icon_sprites.xml: 2.31933 msW/pyrogenesis( 879): TIMER| common/common_sprites.xml: 50.2014 msW/pyrogenesis( 879): TIMER| common/common_styles.xml: 5.00488 msW/pyrogenesis( 879): TIMER| session/sprites.xml: 64.6362 msW/pyrogenesis( 879): TIMER| session/styles.xml: 3.54004 msW/pyrogenesis( 879): TIMER| session/session.xml: 934.998 msW/pyrogenesis( 879): TIMER| common/global.xml: 15.686 msD/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4196 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/StatusBarPolicy( 262): BAT. S:2 H:2I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0I/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCI/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCI/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCI/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCW/pyrogenesis( 879): ERROR: Failed to link program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':W/pyrogenesis( 879): --From Fragment Shader:W/pyrogenesis( 879): Symbol sunColor defined with different precision in vertex and fragment shaders.W/pyrogenesis( 879): --From Vertex Shader:W/pyrogenesis( 879): Symbol sunColor defined with different precision in vertex and fragment shaders.W/pyrogenesis( 879):W/pyrogenesis( 879): ERROR: Failed to link program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':W/pyrogenesis( 879): --From Fragment Shader:W/pyrogenesis( 879): Symbol sunColor defined with different precision in vertex and fragment shaders.W/pyrogenesis( 879): --From Vertex Shader:W/pyrogenesis( 879): Symbol sunColor defined with different precision in vertex and fragment shaders.W/pyrogenesis( 879):D/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4188 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0I/StatusBarPolicy( 262): BAT. S:2 H:2W/pyrogenesis( 879): GL_INVALID_OPERATIONW/pyrogenesis( 879): OpenGL error(s) occurred: 0502W/PowerManagerService( 182): Timer 0x3->0x1|0x0I/PowerManagerService( 182): Ulight 3->1|0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0I/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCD/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0I/PowerManagerService( 182): Light Animator Finished curIntValue=20I/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCI/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCD/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4197 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0I/StatusBarPolicy( 262): BAT. S:2 H:2I/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCI/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCI/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCW/PowerManagerService( 182): Timer 0x1->0x0|0x0I/PowerManagerService( 182): Ulight 1->0|0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0I/PowerManagerService( 182): Light Animator Finished curIntValue=0E/power ( 182): *** set_screen_state 0E/SensorManager( 182): unregisterListener:: all sensors, listener = com.android.server.PowerManagerService$13@4051eae0D/PowerManagerService( 182): enableLightSensor falseD/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0W/PowerManagerService( 182): CurLockF mPS:0 mUS=0W/PowerManagerService( 182): mPokeLocks.size=0:D/PowerManagerService( 182): sendNotificationLocked on=falseD/KeyguardViewMediator( 182): UICORE onScreenTurnedOff(3,false)V/WindowManager( 182): Setting event dispatching to falseD/PhoneWindow( 879): couldn't save which view has focus because the focused view org.libsdl.app.SDLSurface@40522598 has no id.V/SDL ( 879): onPause()I/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVCI/TvOut-Observer( 182): ACTION android.intent.action.SCREEN_OFFI/TvOut-Observer( 182): tvOutSetImageString BroadcastReceiver broadcast receivedI/TvOut-Observer( 182): ACTION_SCREEN_OFFI/TvOut-Client( 182): isTvoutCableConnectedD/LightsService( 182): [NF]setLightLocked : brightnessMode = 0D/LightsService( 182): [NF]setLightLocked : brightnessMode = 0E/TvOut-Observer( 182): isTvoutCableConnected : falseI/TvOut-Observer( 182): updateTVoutOnScreenOnOff tvstatus off isTvoutCableConnected : falseD/FastDormancy( 279): [FD] INTENT ACTION android.intent.action.SCREEN_OFFD/FastDormancy( 279): [FD] mIsScreenOn: falseI/Launcher( 288): ACTION_SCREEN_OFFV/SettingsProvider( 182): system <- value=1 name=phone_lock_statusV/SettingsProvider( 182): property: sys.settings_system_version=7D/PowerManagerService( 182): setScreenBrightnessMode : mode : 0D/PowerManagerService( 182): setScreenBrightnessMode : mAutoBrightessEnabled : false enabled = falseV/SettingsProvider( 182): notifying: content://settings/system/phone_lock_statusD/PowerManagerService( 182): setScreenOffTimeouts mKeylightDelay=3000 mDimDelay=20000 mScreenOffDelay=7000 mDimScreen=trueD/InfoAlarmWidgetWeather( 728): onReceive sub Action => android.intent.action.SCREEN_OFFD/InfoAlarmWidgetFinance( 728): onReceive sub Action => android.intent.action.SCREEN_OFFD/InfoAlarmWidgetNews( 728): onReceive sub Action => android.intent.action.SCREEN_OFFD/SntpClient( 182): request time failed: java.net.SocketTimeoutException: Try againD/BatteryService( 182): update startD/BatteryService( 182): [NF]shutdownIfNoPowerD/BatteryService( 182): [SendIntent]updateBattery level:99 scale:100 status:2 health:2 present:true voltage: 4200 temperature: 370 technology: Li-ion AC powered:false USB powered:true icon:17302213I/WifiService( 182): pre-persistedWifiState is 1I/WifiService( 182): isAirplaneModeOn is 0I/StatusBarPolicy( 262): BAT. S:2 H:2I/StatusBarPolicy( 262): onSignalStrengthsChangedD/StatusBarPolicy( 262): updateSignalStrength: No SVC Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted May 16, 2012 Report Share Posted May 16, 2012 W/pyrogenesis( 879): ERROR: Failed to link program 'shaders/glsl/model_common.vs'+'shaders/glsl/model_common.fs':W/pyrogenesis( 879): --From Fragment Shader:W/pyrogenesis( 879): Symbol sunColor defined with different precision in vertex and fragment shaders.W/pyrogenesis( 879): --From Vertex Shader:W/pyrogenesis( 879): Symbol sunColor defined with different precision in vertex and fragment shaders.You need to edit binaries/data/mods/public/shaders/glsl/model_common.vs and change the line "uniform vec3 sunColor;" to "uniform mediump vec3 sunColor;". (I suppose that to be able to share shaders between desktop GLSL 1.20 and GLSL ES 1.00 properly, we should globally define lowp/mediump/highp to the empty string in desktop GLSL and then the shaders can use them whenever required by ES.) Quote Link to comment Share on other sites More sharing options...
madmax Posted May 17, 2012 Report Share Posted May 17, 2012 Do I need to rebuild the game also ? Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted May 17, 2012 Report Share Posted May 17, 2012 No - for any changes inside binaries/data/ (like this), you need to either rebuild and re-upload public.zip, or else just copy the single modified file into /sdcard/0ad/data/mods/public/shaders/glsl/ (so it'll override the file from the old public.zip). Quote Link to comment Share on other sites More sharing options...
gameboy Posted June 29, 2012 Report Share Posted June 29, 2012 We need a Tablet PC to test it, Android version seems to be forgotten, did not continue to develop it, we hope that the Android version to continue to develop it, thank you! :lol2: Quote Link to comment Share on other sites More sharing options...
Josh Posted June 29, 2012 Report Share Posted June 29, 2012 (edited) We need a Tablet PC to test it, Android version seems to be forgotten, did not continue to develop it, we hope that the Android version to continue to develop it, thank you! :lol2: +1 I think an Android tablet port would be great, but I would rather the interface wasn't changed; Android supports mouse and keyboard and HDMI if anyone forgot. Edited June 29, 2012 by Josh Quote Link to comment Share on other sites More sharing options...
majapahit Posted June 29, 2012 Report Share Posted June 29, 2012 (edited) Screenshot of results please, want to know how it looks.Already see the pictures, still curious about the playability without keyboard n mouse. Edited June 30, 2012 by majapahit Quote Link to comment Share on other sites More sharing options...
Sonarpulse Posted June 29, 2012 Report Share Posted June 29, 2012 Yeah, I don't think a new android interface should be given any priority until part 2. But if somebody tweak the SDL to work with an external keyboard and mouse, a playable android version should be quite trivial. Quote Link to comment Share on other sites More sharing options...
ZajferX Posted December 20, 2012 Report Share Posted December 20, 2012 I have not read all 10 pages of posts in this thread but just but eyeing over the thread it seems like this android deal could actually be happening or am i wrond? .. i know for sure that i love the idea to make 0 A.D. for android as well Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted December 20, 2012 Report Share Posted December 20, 2012 It has been demonstrated as a proof-of-concept that the game can "work" on Android. We don't have any plans to purse it beyond that though. If the community is interested, they can work on it, but judging by the lack of progress/updates, I'd say it's not anyone's priority... Quote Link to comment Share on other sites More sharing options...
MishFTW Posted December 20, 2012 Report Share Posted December 20, 2012 An Android port could bring 0 A.D. to the big screen (console) via the OUYA. As always, the possibilites are endless Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.