1exexedat(3) Allegro manual exexedat(3)
2
3
4
6 exexedat - Appending datafiles onto your executable. Allegro game pro‐
7 gramming library.
8
10 #include <allegro.h>
11
12
13 Example exexedat
14
16 This program demonstrates how to access the contents of an Allegro
17 datafile (created by the grabber utility) linked to the executable by
18 the exedat tool. It is basically the exdata example with minor modifi‐
19 cations.
20
21 You may ask: how do you compile, append and exec your program?
22
23 Answer: like this...
24
25 1) Compile your program like normal. Use the magic filenames with '#'
26 to load your data where needed.
27
28 2) Once you compressed your program, run "exedat foo.exe data.dat"
29
30 3) Finally run your program.
31
32 Note that appending data to the end of binaries may not be portable
33 across all platforms supported by Allegro.
34
35
37 DATAFILE(3), END_OF_MAIN(3), allegro_error(3), allegro_init(3), alle‐
38 gro_message(3), blit(3), font(3), install_keyboard(3), line(3),
39 load_datafile(3), makecol(3), readkey(3), screen(3), set_color_conver‐
40 sion(3), set_gfx_mode(3), set_palette(3), textout_ex(3),
41 unload_datafile(3)
42
43
44
45Allegro version 4.2.2 exexedat(3)