Autor Tema: iOS & Android port advance info  (Leído 39389 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4038
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #120 en: Diciembre 29, 2012, 07:19:06 am »
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...

Desconectado handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • Sexo: Masculino
  • I'm the eye in the sky.
    • Ver Perfil
    • dyko designs
Re:iOS & Android port advance info
« Respuesta #121 en: Enero 01, 2013, 09:20:11 am »
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.



Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4038
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #122 en: Enero 01, 2013, 09:26:52 am »
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.
« última modificación: Enero 01, 2013, 09:32:53 am por josebita »

Desconectado handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • Sexo: Masculino
  • I'm the eye in the sky.
    • Ver Perfil
    • dyko designs
Re:iOS & Android port advance info
« Respuesta #123 en: Enero 02, 2013, 07:51:38 am »
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


Desconectado Imerion

  • Jr. Member
  • **
  • Mensajes: 69
  • Karma: 3
    • Ver Perfil
Re:iOS & Android port advance info
« Respuesta #124 en: Enero 09, 2013, 03: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.
Try my games : Neotron Games

Desconectado handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • Sexo: Masculino
  • I'm the eye in the sky.
    • Ver Perfil
    • dyko designs
Re:iOS & Android port advance info
« Respuesta #125 en: Enero 09, 2013, 06:50:57 am »
I noticed it as well.

Desconectado josebita

  • Administrator
  • Hero Member
  • *****
  • Mensajes: 4038
  • Karma: 257
  • Sexo: Masculino
    • Ver Perfil
    • BennuGD Mobile Worklog
Re:iOS & Android port advance info
« Respuesta #126 en: Enero 09, 2013, 09:34:39 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.