man exexedat () - Appending datafiles onto your executable. Allegro game programming library.
NAME
exexedat - Appending datafiles onto your executable. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
Example exexedat
DESCRIPTION
This program demonstrates how to access the contents of an Allegro datafile (created by the grabber utility) linked to the exe by the exedat tool. It is basically the exdata example with minor modifications.
You may ask: how do you compile, append and exec your program?
Answer: like this...
1) Compile your program like normal. Use the magic filenames with '#' to load your data where needed.
2) Once you compressed your program, run "exedat foo.exe data.dat"
3) Finally run your program.
Note that appending data to the end of binaries may not be portable accross all platforms supported by Allegro.
SEE ALSO
DATAFILE(3alleg), END_OF_MAIN(3alleg), allegro_error(3alleg), allegro_init(3alleg), allegro_message(3alleg), blit(3alleg), font(3alleg), install_keyboard(3alleg), line(3alleg), load_datafile(3alleg), makecol(3alleg), readkey(3alleg), screen(3alleg), set_color_conversion(3alleg), set_gfx_mode(3alleg), set_palette(3alleg), textout_ex(3alleg), unload_datafile(3alleg)