incbin a directory

BlitzMax Forums/BlitzMax Programming/incbin a directory

TaskMaster(Posted 2009) [#1]
Is there way to incbin an entire directory structure, without having to list each file individually?


Brucey(Posted 2009) [#2]
No, but you could always write something to generate the code for it.

Or perhaps incbin a zip of the directory and use something like zipengine to access the files at runtime.


TaskMaster(Posted 2009) [#3]
I figured as much. :(

Thanks.


GfK(Posted 2009) [#4]
I've been asking myself the same question recently, and only arrived at Brucey's solution. It shouldn't be massively difficult to write an app to give a list of folders and say "give me some code to incbin all that", then just include it. I just need to get around to doing it.