bmp2spin
HHays
Posts: 15
I was having a bit of a problem getting bmp2spin to work. I searched the forums and found 2 threads where both parties appeared to be having difficulties. For me, the problem stemmed from the examples given in the excellent book, Game Programming for the Propeller Powered Hydra. In both examples given, no space is shown between the end of the filename and the beginning of the flags. Example (Page 629): BMP2SPIN pitfall_tiles_work_03.bmp-B-TW16-TH10-FX-XY1,0.
This is incorrect. One must enter a space between the filename and the beginning of the flag list, as in: BMP2SPIN pitfall_tiles_work_03.bmp -B-TW16-TH10-FX-XY1,0.
Without the space, the program returns a 'File open error!'.
Hopefully this will help some others, as this is a fantastic way to gather assets for your program.
HHays
This is incorrect. One must enter a space between the filename and the beginning of the flag list, as in: BMP2SPIN pitfall_tiles_work_03.bmp -B-TW16-TH10-FX-XY1,0.
Without the space, the program returns a 'File open error!'.
Hopefully this will help some others, as this is a fantastic way to gather assets for your program.
HHays
Comments
At any rate, this is sure to save me days of typing. Thanks Andre!
(a) A Linux or DOS programmer is so deeply aware of command line syntax that he would not think in his dreams of such a problem.
(b) When you have a very close look at page 629 you will notice that the dash is a little bit closer to the letters at its right hand side than on its left hand side. Blanks ARE narrow in some fonts!
I would think that the primary issue would be to get the stuff to work.
This is why I haven't joined a forum in the past
Don't let daSilva's comments get you down. Your contribution to the forum is appreciated and your presence welcome.
Post Edited (deSilva) : 8/19/2007 6:14:27 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Andre'