Hello everyone! I’d just like to announce that I’ve begun a new project
for SDL called SDLArchive. Its purpose is to provide an interface to
manipulate packfiles that have SDL-type structs in them. I haven’t done
that much coding on it yet, but I do have a few features right now:
- The only thing the packfiles can store currently is a raw image. It uses
SDL_image to convert any type of image it supports to the raw format. I
also tend to do something like this with the sound, palettes, and true-type
fonts. Also I will include a couple of fundamental things, like a binary
type which you can use for your own purposes, and a text type (with a text
type, you could even make language packfiles). - A console tool that can show (this needs cleaning up), create, and making
a header file for a packfile. The header file is useful because you do not
have to remember which number it was in the list when coding. It just
#defines them. Another idea would be to use an enum, which would be useful
for C++ and namespaces.
Features to come (hopefully):
- Deleting items, adding items, and whatever else.
- A C++ wrapper interface.
- An SDL graphical program to make things easier on the programmer.
- A dynamic plugin-style interface, where users can add their own types for
the packfiles. - Suggestions are welcome.
- GZipping/GUnzipping support.
A lot of my ideas come from the Allegro dat/grabber utilities. ClanLib has
a resource manager too. It seems that SDL is the only one missing this
sort of addon package. However, it isn’t very far along, and I haven’t
even released the 0.1 yet. Right now the only interested people would be
ones willing to submit patches and ideas. With the gz support, you can
compress all the cluttered images your game uses into one convenient file
that you load at startup. This simplifies in programming, and you only
have to worry about locating the packfile instead of a million different
pcx’s. If you like the idea and are willing to help, please contact me
or simply submit a patch. I’ve started a Sourceforge page:
https://sourceforge.net/projects/sdlarchive/
The CVS is working, and I’ve started a mailing list. I am also looking for
other admins, because in a few months I might be extremely busy and I’d
like the project to go on without me. That’s a bit ahead of the
project now. I’ll be happy if I can get v0.1 out the door. Any
encouragement e-mail is welcome too. Thanks for your time, and I
anticipate your feedback of the project general!–
Benjamin Joel Stover
~StoverTech~