Incbin
BlitzMax Forums/BlitzMax Programming/Incbin| 
 | ||
| Is there any way (or possibility it could be made to) include whole folders/wildcards? Its a right pain in the wossnames having to do it manually when you have hundreds and hundreds of files. | 
| 
 | ||
| i think this is the perfect tool for you: http://www.blitzbasic.com/Community/posts.php?topic=80402 | 
| 
 | ||
| "hundreds and hundreds of files" ? ? wow.... | 
| 
 | ||
| What about a small prg which scans the directories and creates a bmx-file which contains the "incbin"-commands? You later just need to include it. Isn't bmx the same as a textfile? Pseudocode: Type TIncbintoBMX filelist:TList Method Adddirectory(dir:String) ' check for all files in this dir ' Put them in a list End Method ' Method CreateBMXfile(file:String) ' go through filelist ' writeline bmxfile,"incbin://"+filename End Method end type | 
| 
 | ||
|  "hundreds and hundreds of files" ? ?What's wrong with that?  Games require assets.  Lots of them. wow....  What about a small prg which scans the directories Thought about that.  Might end up doing it. |