bb -> bmx

BlitzMax Forums/BlitzMax Beginners Area/bb -> bmx

blacknite(Posted 2004) [#1]
Awhile back there was talk of a program coming with BlitxMax that would convert your .bb files to .bmx. Is there one included? I don't see one...


BlitzSupport(Posted 2004) [#2]
You have to run it from the terminal at present, calling bmk with the -convertbb option (you'll have to cd into "BlitzMax/bin" first, or add it to your path):

./bmk convertbb blah.bb


This will create a .bmk version (and 2 supporting .bmx files) in the same folder. Call it like this for the other options available:

./bmk


In most cases, the code won't work without changes on first go -- convertbb is to be improved upon gradually.


LeisureSuitLurie(Posted 2004) [#3]
I think you can do it with bmk via the Terminal.


eni(Posted 2004) [#4]
I used it for a large .bb library yesterday and was pleasantly surprise how effective it was. All it required was changes to about 5 lines. Then I simply added a OO interface on top of it - sure it's wasteful but it's only temporary until I find a more permanent solution.