Exporting Incbin files
BlitzMax Forums/BlitzMax Programming/Exporting Incbin files
| ||
| Is it possible to copy files that have been included with Incbin to a destination on a hard disk? |
| ||
| Of course :D You should see the IncBinPtr command, and the IncBinLen command in the BlitzMax documentation. |
| ||
In a single line:SaveBank CreateStaticBank(IncbinPtr("MyIncbinFile.dat"),IncbinLen("MyIncbinFile.dat")), "SavedIncbinFile.dat"Et voila! |
| ||
| thanks! |
| ||
| Putting so much stuff on a single line is cryptic to me. I like to have stuff separated out fairly much. |
| ||
| Me too, I was just showing off. |