OpenBOR for Android [APK]

Here's a new commit, this time updating a very important lib. Tested compiled and working.

- Android port version 1.3.2: Updated the static library for libpng to 1.6.15. Removed the libz static library because libpng is now set up so it does not need it anymore, (it instead uses the zlib already present in the Android OS)
- Optimized PNGs and resources, making the resulting compiled EXE smaller.
- Fixed build.bat, because I accidentally committed it with the bash setting to '5' (Windows compile only) instead of 'all'.

Installed on my phone, speed is still 55-60 fps. Memory usage is still high on ogg, but nonetheless playable on some mods. Will test heavy mods if needed.

Regarding the PNG optimization, I changed the logo pictures to be similar to my android mod (image by BeasTie), but I retained the menu. I used PNG Gauntlet to optimize the PNGs, which I also tested on my recent project PNGs, they work like a charm. Compiled the windows build, from 2.1 MB, the exe dropped to 1.9 MB. The performance is still the same.

For libpng static lib compilation, reference used is courtesy of LearnOpenGLES.com. (the "Updating the NDK build files" part)
 
Modified the android code in the repo because there's a problem with the previous commit during compiling. I'll upload a new APK for distro.
 
I announce Revision 4100 with the following changes:

Android build 1.3.3
- Updated SDL to SDL2 2.0.1, the last of the SDL2 series to support Android 2.3.3 API out of the box. I also figured out the way to finally disable accelerometer without doing additional code, which I've done already in this release. Tested on the phone and it works perfectly.

I've also uploaded an APK build, see first post. Thanks!

BTW, check if the accelerometer is still detected as controller. Please present your results here too.
 
I'll try to check the code out later, got work here and I hope I get finished early on.

Did you try to enable the joystick detection before you use the controllers? Try to also reset your saves (make a backup first of the saves before you do), then try it again.

You can also just stick on the old version 1.3.2. If I got a fix for it, I'll let you test it first then if it works on you, then it can now be added to the commit.

BTW, you did check out the accelerometer if it's not detected right?

FOR OTHERS: If you also have experienced some problem with the Android build as well for your Android game consoles, please post it so that I can tally if it either works for you or not. THANKS!
 
The reason I put this here is because it's a test version for people who have gamepad buttons for their Android device. For people experiencing problems with this, please download this version and see if it works for you. Be advised that once this version is good, I'll do final adjustments and release a newer version of the APK.

Here it is: Mediafire

I want feedback if it works for you guys. Thanks!
 
CRxTRDude said:
The reason I put this here is because it's a test version for people who have gamepad buttons for their Android device. For people experiencing problems with this, please download this version and see if it works for you. Be advised that once this version is good, I'll do final adjustments and release a newer version of the APK.

Here it is: Mediafire

I want feedback if it works for you guys. Thanks!

That'S Perfect! With this apk could map the buttons and the answers were great ! Congratulations ! :D :D :D
Tested in a JXD s7300B
 
Thanks for the logs. I see that it works for you. I hope that others will also say the same.

For now, I'll commit the fix on the source now.
 
CRxTRDude, have you tried to run OpenBOR in Android 5.0.2 (Lollipop)?
Seams that some .ogg files doesn't plays. Maybe its an Android bug, because the 5.0 version has many issues with sound.
 
Sorry man, but I don't have any access to Lollipop based devices. But if you have one though or know of somebody who does, you or they can be testing that as representative to those devices.

Now, regarding OGG though, there has been some problems in Lollipop regarding file size and/or audio length of OGG files. [1] There was some fix where using their experimental audio player fixes the sound, but I don't think that's the case here. If that fix works, then we can recommend them to do so. This fix requires dev options though. It's in the link that I provided.

BTW, I assume that BOR files work here right?
 
DUDE!!!!! I tried this on my Samsung Galaxy S4 with my Gametel Gamepad and it works like a CHARM!!! I can't believe I'm playing my game/MOD on my phone. Now I should be able to show it to my friends. Thank you so much!!!  :)
 
Is that the recent version that I placed in the first topic? If it does thanks! Although I can't release a more newer version yet, I'm waiting for someone to compile the others.
 
I will release a newer version of OpenBOR APK if the main builds would be released as well. If no one would do it, perhaps I would.
 
Back
Top Bottom