BennuGD Packager

Started by josebita, August 25, 2012, 09:19:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

josebita

I'm releasing a preview version of my BennuGD Packager.
Right now the idea is that it should allow you to package your games for Android easily although it doesn't -yet- allow you to do much more than the basic. Still, I believe that it includes a few useful features:


Hope it's useful:
http://bennugd-mobile.blogspot.com/2012/08/man-on-moon-packager-release.html

josebita

In case it's of interest to anybody, I'm releasing updated binaries for Android with scaling fixed and scaling support in mod_multi (until now when using scaling the coordinates returned by mod_multi were wrong). Download them here:
https://www.dropbox.com/s/wxhf1wd4bp01p8x/bennugd_android_20120830.tar.bz2

And replace the contents of the templates/android/libs folder with those in this package.

handsource-dyko

So, I have finally installed the android sdk on my mom's computer (a lot of packages need to be installed by googles sdk manager) and created two emulators. I looks pretty nice, but the emulators seem very slow. What do you recommend? Using a virtual device with an intel cpu?
Also, I noticed that the keyboard on the emulator window doesn't fully work. B.t.w I ordered a usb on the go adapter, and from what I've seen on youtube it looks like you can use a usb keyboard out of the box!  :)   

josebita

Quote from: handsource-dyko on August 30, 2012, 07:10:52 AM
So, I have finally installed the android sdk on my mom's computer (a lot of packages need to be installed by googles sdk manager) and created two emulators. I looks pretty nice, but the emulators seem very slow. What do you recommend? Using a virtual device with an intel cpu?
Also, I noticed that the keyboard on the emulator window doesn't fully work. B.t.w I ordered a usb on the go adapter, and from what I've seen on youtube it looks like you can use a usb keyboard out of the box!  :)   
OS?

PS: You don't really need ALL the packages the SDK Manager offers you, just the ones you're interested in :)

handsource-dyko

Windows 7 64 bit. I installed it on my mom's pc because it's faster (core I3) mine is a pentium 4 with XP sp3.

josebita

#5
Quote from: handsource-dyko on August 30, 2012, 09:51:19 AM
Windows 7 64 bit. I installed it on my mom's pc because it's faster (core I3) mine is a pentium 4 with XP sp3.
Ok. The binaries I posted support x86 for situations like this.
Be sure to install and set up the "Intel Hardware Accelerated Execution Manager" from the SDK manager. You can find installation instructions here:
http://developer.android.com/tools/devices/emulator.html
Section "Configuring VM Acceleration on Windows".
Then download (if you haven't done so yet) an Android 4.0.3* Intel Atom x86 image and create an AVD for that. In the AVD options, "Hardware" section, add a field for "GPU emulation" and set it to "yes". Also, add keyboard support there.

That AVD should run pretty fast.

* x86 images for 4.1 don't seem to be available yet.

josebita

I've updated the win32 build of the packager, in case it's useful to anybody.
You can get it from here:
http://code.google.com/p/bennugd-monolithic/downloads/detail?name=BennuGD_Packager-win32_20121118.7z

josebita

I've updated the PPA version and now you can add AdMob ads to your games. Right now support is limited but it's working.
You should have packages available for Ubuntu Precise and Quantal in my PPA.

You can expect win32 binaries tomorrow.

josebita

Updated windows binaries are here:
http://code.google.com/p/bennugd-monolithic/downloads/detail?name=BennuGD_Packager-win32_20121214.7z

You now need the android-13 SDK as that's what the AdMob SDK requires.

josebita

Windows packager binaries updated. There's some bugfixing and compatibility with the latest official BennuGD release (after Splinter added the CD->CHDIR alias). There's some more stuff in the mix, but I'll comment when it's finished.

https://code.google.com/p/bennugd-monolithic/downloads/detail?name=BennuGD_Packager-win32_20121229.7z

josebita

#10
Uploaded new version of the Packager for Ubuntu to my PPA, some changes:
* Added support for XHDPI icons
* Check that "main.dcb" is present in the given directory, don't assume it. If it's not present, refuse to accept the directory.
* Try to find the AdMob Ads SDK Jar, don't just assume it's the same version as mine (future-proof the packager a bit for those of you where the packager was failing because you had a more recent version of the SDK than expected).
* Only try to find the AdMob Ads SDK if you actually asked for AdMob Ads
* (Possible) Adreno GPU fix

I'm gonna create an updated version of the packager for windows, JDK and all, wish me luck.

[Edit] Binary version for Windows available here:
https://code.google.com/p/bennugd-packager/ (Please note that the packager has moved from its previous location to a new project page separate from bennugd-monolithic)

It includes binaries for ANT and Java JDK for windows but not the Android SDK because of licensing issues. You shouldn't need to install the JDK separately anymore, just run the included BAT file.
If you have any doubts, please have a look here:
https://code.google.com/p/bennugd-packager/wiki/WinSettingUpPackager
And then ask any remaining questions here.

Let me know if this works at all for you.

josebita

I have updated the packager to support earlier versions of Android (2.3 seems to be working, now).
https://code.google.com/p/bennugd-packager/downloads/detail?name=packager-win32-20130826.7z

Remember to unpack it to a path without spaces and run the included ".bat" file. You'll still need to install the Android SDK separately.

The BennuGD port is not newer than the one found in the previous build. If you want to use the latest code, you must compile my code manually.

BlackCurtain

Is this new update working for OUYA as well?

josebita

Quote from: BlackCurtain on August 27, 2013, 09:33:26 PM
Is this new update working for OUYA as well?
Nope.*

The code for OUYA has some small issues. If you want to create things for OUYA you have to directly compile the source code:
https://code.google.com/p/bennugd-monolithic/source/browse/#svn%2Fbranches%2Fmy_monolithic


* The code does work, but joystick support is not there and pressing any button in the controllers will make your app quit.

BlackCurtain

I see. Will you be continuing working on OUYA support later?
Seems pointless for me trying to compile it myself if controller input doesn't work.
Thanks for the update!