Autor Tema: HELP with BENNU e ConText  (Leído 9380 veces)

equinox

  • Newbie
  • *
  • Mensajes: 19
  • Karma: 0
HELP with BENNU e ConText
« en: Febrero 25, 2010, 04:16:46 pm »
Hi at all,

I installed Bennu and Context: when I compile ->

C: \ context \ hello world program.: Does not exist or is not compatible BCD version 7

any help, please?

DCelso

  • Hero Member
  • *****
  • Mensajes: 3708
  • Karma: 181
Re: HELP with BENNU e ConText
« Respuesta #1 en: Febrero 25, 2010, 04:26:25 pm »
First of all you must create a ".dcb" file with yor ".prg" sourcecode.
In a dos-console or in a terminal you must go to the directory of your ".prg" and execute the next two commands:
Código: [Seleccionar]
bgdc "yournameofsorucecode".prg
bgdi  "yournameofsorucecode".dcb
Monstruos Diabólicos

"A PAck of classic GAMEs For BennuGD" en desarrollo
http://code.google.com/p/apagame4be/

equinox

  • Newbie
  • *
  • Mensajes: 19
  • Karma: 0
Re: HELP with BENNU e ConText
« Respuesta #2 en: Febrero 25, 2010, 04:51:30 pm »
Tanks for your reply. But I have to first experience with Bennu.

How do I create a BCD file?
« última modificación: Febrero 25, 2010, 05:03:14 pm por equinox »

osk

  • Hero Member
  • *****
  • Mensajes: 516
  • Karma: 52
Re: HELP with BENNU e ConText
« Respuesta #3 en: Febrero 25, 2010, 05:02:59 pm »
bgdc creates (from prg file) the dcb file you must use with bgdi.
prg file->source code
dcb file->"bytecode" to execute by bgdi

equinox

  • Newbie
  • *
  • Mensajes: 19
  • Karma: 0
Re: HELP with BENNU e ConText
« Respuesta #4 en: Febrero 25, 2010, 05:09:59 pm »
I have this screen: you tell me how can I, please?



DCelso

  • Hero Member
  • *****
  • Mensajes: 3708
  • Karma: 181
Re: HELP with BENNU e ConText
« Respuesta #5 en: Febrero 25, 2010, 07:18:32 pm »
I don`t know how use those program.
Probably there are a run option in the project or tools menu.
But, may be that you can not have bgdc and bgdi programs in the windows path.
You need add to the windows path the next directories
If you are using bennupack
c:\devbennu\bin
If you ar using the official installation you need add more than one directories:
c:\bennu\bin
c:\bennu\externals
c:\bennu\lib
Monstruos Diabólicos

"A PAck of classic GAMEs For BennuGD" en desarrollo
http://code.google.com/p/apagame4be/

equinox

  • Newbie
  • *
  • Mensajes: 19
  • Karma: 0
Re: HELP with BENNU e ConText
« Respuesta #6 en: Febrero 26, 2010, 11:58:32 am »
What kind of IDE do you use?

 I downloaded it and then helps me to set it?

DCelso

  • Hero Member
  • *****
  • Mensajes: 3708
  • Karma: 181
Re: HELP with BENNU e ConText
« Respuesta #7 en: Febrero 26, 2010, 01:45:30 pm »
I don`t understood your second affirmative or question. :(

For the first answer, I do not use any IDE, I use pspad to edit .prg files and after the command programs "bgdc" and "bgdi" to create ".dcb" files and execute it. There is a pluggin file for pspad to call to bgdc and bgdi automaticaly but I don't generally use it.
But there is a good IDE called flamebird that appears similar to your IDE.
Monstruos Diabólicos

"A PAck of classic GAMEs For BennuGD" en desarrollo
http://code.google.com/p/apagame4be/

Drumpi

  • Hero Member
  • *****
  • Mensajes: 6338
  • Karma: 162
  • Odio el periodo "entre proyectos"
    • La web de Drumpi
Re: HELP with BENNU e ConText
« Respuesta #8 en: Febrero 26, 2010, 02:10:26 pm »
Maybe you need the BennuPack:
Bennupack.blogspot.com
;)
Hala, como con 1001 procesos sólo va a 9 FPS, vamos a meterle 32 veces más, a ver si revienta.
(Drumpi epic moment)

equinox

  • Newbie
  • *
  • Mensajes: 19
  • Karma: 0
Re: HELP with BENNU e ConText
« Respuesta #9 en: Febrero 26, 2010, 03:37:55 pm »
Flamebir work,tnk.


now I want to compile for the Wiz. I downloaded "Wiz GP2X version" but I do not understand how to compile.

Does anyone know how?

Tnk1000.

Drumpi

  • Hero Member
  • *****
  • Mensajes: 6338
  • Karma: 162
  • Odio el periodo "entre proyectos"
    • La web de Drumpi
Re: HELP with BENNU e ConText
« Respuesta #10 en: Febrero 26, 2010, 11:38:23 pm »
WIZ version has his own bgdc and bgdi.
Have you seen the two examples includes? you must do the same:
1- Unzip Bennu WIZ in your SD
2- Have you seen Galaxian and Pacman directories? create your own folder.
3- Copy your code files and all other files you use (FPGs, FNTs, OGGs, WAVs...).
4- Copy the bgd-galaxian.gpe (from bgd-galaxian folder) to your folder. Rename it as you wish (but gpe extension).

You are done. Now go to browser icon and search for your .gpe, with it, bennu will compile and run your prg.
Maybe you want to do an ini file for watch it in "game" menu, but i don't know how to do it. Or maybe you don't want to share your prg, so you must open your gpe with an unix compatible text editor (notepad++, for example) and change it. I'm sure you can understand it ;)
Hala, como con 1001 procesos sólo va a 9 FPS, vamos a meterle 32 veces más, a ver si revienta.
(Drumpi epic moment)

DCelso

  • Hero Member
  • *****
  • Mensajes: 3708
  • Karma: 181
Re: HELP with BENNU e ConText
« Respuesta #11 en: Febrero 27, 2010, 02:35:47 am »
The compilling in wiz is not needed, or at least it  should not be.
The same .dcb obtainen in a windows or linux SO should be compatible with the bgdi program of wiz so, it said in words for newbies, you only need pass to the wiz the bgd-runtimes files, your resources files, you ".dcb" file and a script file ".gpe" that sais to the wiz how to run your .dcb with the bgd-runtimes files.
« última modificación: Febrero 27, 2010, 02:46:16 am por DCelso »
Monstruos Diabólicos

"A PAck of classic GAMEs For BennuGD" en desarrollo
http://code.google.com/p/apagame4be/

equinox

  • Newbie
  • *
  • Mensajes: 19
  • Karma: 0
Re: HELP with BENNU e ConText
« Respuesta #12 en: Febrero 28, 2010, 11:46:24 am »
I could not understand, unfortunately. I can not compile.

There is written a tutorial to set Bennu for wiz?

or where I can find who wrote the Bennu?

Drumpi

  • Hero Member
  • *****
  • Mensajes: 6338
  • Karma: 162
  • Odio el periodo "entre proyectos"
    • La web de Drumpi
Re: HELP with BENNU e ConText
« Respuesta #13 en: Febrero 28, 2010, 12:36:17 pm »
Have you follow the steps i said to you? When failed the compilation?
Or else, DCelso give you another method better than mine (compile in your PC and copy to WIZ). DCB is your binary file, and you can use it in every platform, but you will need the BGDI of this platform, and must be THE SAME VERSION AS BGDC (this is why i told you to compile directly on WIZ).
Be carefull, there is a GP2X WIZ version of Bennu (the same of main page) and a GP2X version. GP2X and GP2X WIZ aren't the same handheld.

SplinterGU was the one who wrote Bennu, and he's in this forum.
Hala, como con 1001 procesos sólo va a 9 FPS, vamos a meterle 32 veces más, a ver si revienta.
(Drumpi epic moment)

equinox

  • Newbie
  • *
  • Mensajes: 19
  • Karma: 0
Re: HELP with BENNU e ConText
« Respuesta #14 en: Febrero 28, 2010, 05:34:13 pm »
Getting Started:

 http://www.bennugd.org/?q=node/2

This is the page but there only the version for the Wiz? right?

I download this --> bgd-1.0.0RC11(r131)-openwiz.tar: it correct?

This ie only for wiz.
« última modificación: Febrero 28, 2010, 05:43:30 pm por equinox »