iOS & Android port advance info

Started by josebita, June 09, 2011, 03:51:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

josebita

Quote from: handsource-dyko on December 29, 2012, 02:55:14 PM
Is it possible to uncompress them with a program like 7zip under windows? They seem to use gzip compression. I have created most of the files with smartfpg editor. I expected the possibility of compression as source of the problem. Do bennu's own fpg_save, map_save, fnt_save and pal_save functions apply compression to them or is it possible to save them without compression? Then I could make a small conversion tool.
Yep, you can use 7zip. I don't really know if you can give BennuGD any flag to tell it not to compress files...

handsource-dyko

I figured out why malvado crashed and the menu didn't appear: I removed all the joystick code (and the import for mod_joy) in malvado and replaced it by keyboard code, as a quick test to see whether this was the cause. Now, the menu appears! :) But the keyboard doesn't respond. I used the latest packager, so should I use android scan_codes perhaps?

I need to rewrite my input system anyway because it's kinda ugly and complicated because it had to work with the WIZ / CAANOO and Dreamcast (platforms I never tested, and I remove support for these in favour of android).  With the latest version, my hello world input test program doesn't see the keyboard anymore.



josebita

#122
Quote from: handsource-dyko on January 01, 2013, 05:20:11 PM
I figured out why malvado crashed and the menu didn't appear: I removed all the joystick code (and the import for mod_joy) in malvado and replaced it by keyboard code, as a quick test to see whether this was the cause. Now, the menu appears! :) But the keyboard doesn't respond. I used the latest packager, so should I use android scan_codes perhaps?

I need to rewrite my input system anyway because it's kinda ugly and complicated because it had to work with the WIZ / CAANOO and Dreamcast (platforms I never tested, and I remove support for these in favour of android).  With the latest version, my hello world input test program doesn't see the keyboard anymore.
I'll have to review it because joystick input _should_ be working (at least not crashing) in Android.
Please, replace the "templates/android/libs" with the contents of this:
https://www.dropbox.com/s/ya8idw7kf09zktp/libs.7z


This should -hopefully- give you your keyboard back.


[Edit] Puff, don't bother. I must update the Packager code with a lot of new stuff (including joystick support on Adnroid > 4.1) but it's a bit more complicated than just replacing the libs.
I'll let you know when it's done.

handsource-dyko

Here's an updated build apk without working controls but with the self-playing demo working.
https://www.dropbox.com/s/oy1brekfg4sybi7/malvado-02-01-2013-2.apk

Here's the binary package : https://www.dropbox.com/s/jvl66zkscjwj3rj/malvado2012-binary-distribution-android.tar

Here's the sources: https://www.dropbox.com/s/is2wy8q47liwolc/malvado2012-binary-distribution-android-sources.tar

It can be played on windows with a keyboard, but on android the controls don't do anything. Anyway, you can watch the game play itself. :D


Imerion

I noticed that in the latest version of BennuGD Packager, it isn't possible to package a game without using admob. It says "The AdMob Publisher ID cannot be empty." even though I have not checked the Show AdMob ads option.
Try my games : Neotron Games

handsource-dyko


josebita

Quote from: Imerion on January 09, 2013, 11:23:55 AM
I noticed that in the latest version of BennuGD Packager, it isn't possible to package a game without using admob. It says "The AdMob Publisher ID cannot be empty." even though I have not checked the Show AdMob ads option.
Yep, the latest windows version has that particular issue fixed. I'll update the PPA version ASAP.