katie [options] file(s)...
Where [options] represents one or more options discussed at the Commandline Options page.
files(s)
... can be a list of relative or absolute filenames, as well as wildcards.
Assume you want to convert all .map, .raw and .pal files, which are located in a directory called gfx
, as well as a file called song.mod
which is in music
. You want to generate an assembler file, saved as source/ResourceData.s
and a C/C++ header file saved as include/ResourceData.h
. Each file inside the concatenated data should be aligned on an 8byte boundary.
Use the following commandline to do this:
katie --output-align 8 --output-asm-arm-filename source/ResourceData.s --output-h-filename include/ResourceData.h gfx/*.map gfx/*.raw gfx/*.pal music/song.mod