I've not needed to do this with BlitzMax yet, but I did a similar thing in Blitz3D.
I loaded a media file by calling my own loading function ie:
_LoadImage("gfx/background.jpg")
my _loadimage function then checked if gfx/background.jpg was inside my binary data file, and if it was, extracted the file, loaded it, and deleted the extracted file.
If it wasnt in the binary file, it was compressed and added to the binary system.
Then, as I was developing, the binary file just made itself :)
I loaded a media file by calling my own loading function ie:
_LoadImage("gfx/background.jpg")
my _loadimage function then checked if gfx/background.jpg was inside my binary data file, and if it was, extracted the file, loaded it, and deleted the extracted file.
If it wasnt in the binary file, it was compressed and added to the binary system.
Then, as I was developing, the binary file just made itself :)