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

Quote from: BlackCurtain on August 28, 2013, 11:01:03 AM
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!
Yes, I've got some -unreleased yet- code that is working beautifully in the Ouya.
It's got joysticks and GPU scaling.

As I said, it's unfinished yet but as soon as it's working fine I'll release the code.

tmoney


cmunoz

Awesome, I finally got past all the confusion about java paths!
Now I can see my app on the phone!
Well, mostly. Images from the fpg are not there, and sound is missing too. Also, touching the screen doesn't work. What am I missing?

cmunoz


UPDATE:Ok I was able to figure out the touch thing using mod_multi. So now the touch works!
But no sound or images. I tried pulling in loose png files, in case the fpg was causing the problem, but no success there either.
I also read somewhere that using more than one sound could cause the sounds to crash, but I couldn't even get one sound working. Any advice? I'll update if I can figure anything out....

josebita

Please, make sure that your FPG files are not compressed. Compressed FPG files are not supported.

Also, please user Pixel's Pixplantilla, which includes a much newer version of BennuGD for Android which works much better.

Kind regards,

http://www.pixjuegos.com/descargas/pixplantilla.rar

cmunoz

Thank you so much, I can't wait to try it out! We are living in exciting times!

cmunoz


Hello, sorry to bother everyone again. I'm just really trying to figure this out. If there's a better place to ask about this, or if anyone knows some documentation to point me to, I would appreciate it very much.

I couldn't find much advice on how to use plantilla, except for this:
http://www.bennugd.fr/index.php?mod=forum&ac=voir&id=512\

I didn't understand what to do about the keystore, but I tried it anyway.
I tried following the instructions, but I think I'm missing something.


compilar.bat ran my program in bgdi
exportar-android.bat ran a command window and then opened up a temp folder with nothing in it.
The window mentioned a missing file: *release.apk
I'm not sure if that's important. I tried creating that file manually and putting it in a few different locations but the compiler never picked it up.
Here's the entire window message:



Compilando ...
BGDC 1.0.0 (Dec 9 2012 03:53:41)
Bennu Game Development Compiler

Copyright ⌐ 2006-2012 SplinterGU (Fenix/BennuGD)
Copyright ⌐ 2002-2006 Team Fenix ​​(Fenix)
Copyright ⌐ 1999-2002 JosΘ Luis Cebrißn his page and ⁿ (Fenix)


File plantilla.dcb compiled (69282 bytes):

  Processes                    13
  Global data                 360 bytes
  Local data                  220 bytes
  Private data                 48 bytes
  Public data                   0 bytes
  Code                      11300 bytes
  System processes            240
  Globals vars 45
  Local vars 28
  Private vars 12
  Publics vars 0
  Identifiers                 682
  Structs                       6
  Strings                      41 (402 bytes)

        1 file(s) moved.
CREANDO FPGS...
-Fnt1-
-Template-

gzip: moneygfx.fpg.gz: not in gzip format
Exporting ...
Copying base Bennu-android ...
'xcopy' is not recognized as an internal or external command,
operable program or batch file.
Creating folders ...
Copying resources from android ...
The system cannot find the path specified.
        0 file(s) copied.
The system cannot find the path specified.
        0 file(s) copied.
The system cannot find the path specified.
        0 file(s) copied.
The system cannot find the path specified.
        0 file(s) copied.
The system cannot find the path specified.
        0 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
'xcopy' is not recognized as an internal or external command,
operable program or batch file.
Copying the game ...
The system cannot find the file specified.
fpg\fnt1.fpg
fpg\moneygfx.fpg
FPG \ plantilla.fpg
        3 file(s) copied.
ogg\*.ogg
The system cannot find the file specified.
        0 file(s) copied.
wav\1_r.wav
wav\1_r_old.wav
wav\2_l.wav
wav\3_l.wav
wav\4_r.wav
wav\5_l.wav
wav\6_r.wav
wav\7_l.wav
wav\intro.wav
        9 file(s) copied.
        1 file(s) copied.
Exported correctly. Now instalarß in ≤ m vil ...
'cmd' is not recognized as an internal or external command,
operable program or batch file.
'cmd' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
*release.apk
The system cannot find the file specified.
        0 file(s) copied.
'taskkill' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .

Odif

Check the "export/bin" folder in your game folder, there you should find  the file "yourgame"-debug.apk, which you can then copy to your android device/emulator and try it!  ;)
That "temp" one always comes up empty, as far as I know. Just ignore it.

cmunoz

Hmm, thanks for the tip. I couldn't find the folder or file you referred to. Is it in the pixplantilla folder?

handsource-dyko

Strange that you get an error message with xcopy. What windows version are you using?

cmunoz

Hello, sorry for the slow reply =)
I'm on Windows 7 - 64 bit.