Grabber utility for Allegro not working

Hello everyone, I'm trying to get into game programming but I'm having a hard time on this certain step in allegro. In a specific allegro tutorial they're asking me to use the grabber utility that you can get at allegro.cc. And turn a bitmap into a datafile so I can output it on to the screen.I already know how to set up the bitmap and everything. However, the problem I'm having with the grabber utility is the fact that whenever I try to save the file from the grabber system it crashes for some odd reason. I don't if I'm suppose to compress the file or save strip or what. I keep trying to save it in different ways but it keeps on crashing does anyone know why this could be?
Hi
You might have more luck with this question on the Allegro forums:
http://www.allegro.cc/forums/
are you using -lallegro_image

with the function al_init_image_addon() function initialized?
You also need a relative path(although absolutes i think can be used) in the working or current directory that the program is launched from.

This file has to have the .bmp extension or others that are supported. If not I think they have subroutines to have supported types that you can make your own on...

Also wth is the grabber utility? I just played around with bitmaps in allegro and I don't even know what you're talking about. I'm just learning it too... but the grabber utility is a mystery. And why would you need to turn the bitmap into a data file? Where is this tutorial and this grabber utility?
I think he's still using Allegro4 - that DID have a grabber utility. black, allegro5 is already out and it's, overall, much more awesome and easy to deal with. Get it. Now.

http://www.allegro.cc/files/
http://wiki.allegro.cc/index.php?title=Allegro_5
Last edited on
@brokenbot


The tutorial where it explains this right here (http://www.loomsoft.net/resources/alltut/alltut_lesson9.htm). I believe that making a bitmap into a datafile is a lot easier or at least that's why I think they want me to do that


@ hanst99
So with allegro5 I wouldn't need to use the grabber utility to store multiple files in a given location? Is that what you're telling me?
You never *had* to use it in the first place. You could have used zlib or something the like.

If you wanted to access archived data in Allegro5 you could just use the file system routines (http://www.allegro.cc/manual/5/fshook.html )
Last edited on
Topic archived. No new replies allowed.