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.
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 music/song.mod
If you don't like to pass all the files to be converted via the commandline, or when it gets rather long (remember: windows has a commandline size-limit about 14KB afaik), you can create a filelist instead. See --input-filelist for more info on that.