HELP with BENNU e ConText

Started by equinox, February 25, 2010, 04:16:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

equinox

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

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:

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

#2
Tanks for your reply. But I have to first experience with Bennu.

How do I create a BCD file?

osk

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

I have this screen: you tell me how can I, please?



DCelso

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

What kind of IDE do you use?

I downloaded it and then helps me to set it?

DCelso

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

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

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

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

#11
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.
Monstruos Diabólicos

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

equinox

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

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

#14
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.