Allegro.cc - Online Community

Allegro.cc Forums » Game Design & Concepts » anim GIF to FLIC warez ?

This thread is locked; no one can reply to it. rss feed Print
anim GIF to FLIC warez ?
A J
Member #3,025
December 2002
avatar

how do i convert animated GIFs into usable sprites?
i thought of converting them to FLC/FLI files.

does anyone know any warez to batch convert them?

___________________________
The more you talk, the more AJ is right. - ML

Bob
Free Market Evangelist
September 2000
avatar

Make up your own Allegro program for FLI/FLC. After all, the Allegro FLI routines write to BITMAPs. Try gifalleg or whatever it was called to read in GIFs. Otherwise, try GIMP for extracting the frames manually.

--
- Bob
[ -- All my signature links are 404 -- ]

PyroBoy
Member #725
October 2000
avatar

Bobs got a point search on google and if it aint there make it your selfit can t be that hard.

A J
Member #3,025
December 2002
avatar

dont have the time to do it all manually
i have hundreds of sprites(animGIFs) i wish to convert.

and the comment about GPL'ing whatever i make will give me more users.

that statement is false.

___________________________
The more you talk, the more AJ is right. - ML

spellcaster
Member #1,493
September 2001
avatar

A program doing what you want will be about 20 lines of code. And it will output all frames in a given file.
Just place all the files in a single dir and use for_each_file to call your extraction routine.

If you had started after bob's post, you'd have all the bitmaps in a single dir by now :)

--
There are no stupid questions, but there are a lot of inquisitive idiots.

A J
Member #3,025
December 2002
avatar

i do not have any code that can de-compress animated GIFs.

i do not have any code that can write a FLIC animation.

if i had those 2 pieces of code, yes i would be
writing those 20 lines of glue to make it work.

___________________________
The more you talk, the more AJ is right. - ML

spellcaster
Member #1,493
September 2001
avatar

Quote:

i do not have any code that can de-compress animated GIFs.

Read Bob's post again. He mentions gifalleg. Get it.

Quote:

i do not have any code that can write a FLIC animation.

I'm confused. YOu said:

Quote:

how do i convert animated GIFs into usable sprites?
i thought of converting them to FLC/FLI files.

I thought you want to convert them to FLIs so you can rip the bitmaps out of the FLIs.
if you really want them as FLIs (which would be a bad idea, if you want to use them for sprites), extract them to bitmaps, and the use DTA to create FLCs from the images.

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Ultio
Member #1,336
April 2001

Have you tried bink and smacker? (free).
Website
Direct Download

I'm pretty sure you can make a FLC file using their software. And if you can't do a direct .gif -> flc, you can always use their software to turn your .gif's into an .avi - and then .avi to flc IIRC. :)

Good luck.

---
"It's nice knowing that someday, the software I write will just be pirated by millions of people." :-/
http://loomsoft.net | Zep's Dreamland | Allegro Newbie Tutorials

A J
Member #3,025
December 2002
avatar

spellcaster,

i went to google.
and i tried alleggif
and i tried gifalleg

and google did not find it.

i thought FLC was a good format, coz its fast-ish.
can be used for small and large sprites.
makes the managment of sprites much easier than individual bitmaps.
tends to have one palette for all images, so palette effects can be done on a complete animation, without much concern for individual bitmaps having different palettes.

DTA is great for converting individual images, but i haven't the time to convert hundreds of files into FLCs, i have better things to do with my time.

___________________________
The more you talk, the more AJ is right. - ML

spellcaster
Member #1,493
September 2001
avatar

Quote:

but i haven't the time to convert hundreds of files into FLCs, i have better things to do with my time.

Like rejecting all given suggestions, instead of getting the work done?
Have you used DTA before? Do you have an idea how long it will take to convert the data?
Why do you thing there will be a faster way then using DTA and a gif extraction tool?

And why do you search using google? Try allegro.cc
[url http://allegro.cc/depot/project.php?_id=648]

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Go to: