Hi, This might be a rather simple problem, but I am working on this huge binary data that contains nothing but scrambled, random data, except for a large number of "RIFF"-expressions. Something like this:
Now, all this data I would like to split into multiple files, each for one RIFF-string until the beginning of the next one:
...mbfmsndbfRIFFsdfsdfsdfhksjdf
hkjshdfkjshkjknsnmnmbfmsndbfsdfsdfsdfhksjdfhkjshdfkjs
hkjknsnmnmbfmsndbf
sdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfms
ndbf
sdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfmsn
dbfRIFFsdfsdfsdfhksj...
Each string should be saved as incremental numbered "#.at3"-files.
And I should probably mention that some of thse strings go as large as several MB, maybe that's the reason why I had problems creating my own macro if it.
Thanks.
Code: Select all
...sdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfmsndbfRIFFsdfsdfsdfhksjdf
hkjshdfkjshkjknsnmnmbfmsndbfsdfsdfsdfhksjdfhkjshdfkjs
hkjknsnmnmbfmsndbf
sdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfms
ndbf
sdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfmsn
dbfRIFFsdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfmsndbf
sdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfmsndbfsdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfmsndbfsdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfmsndbf
sdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfmsndbfsdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfmsndbf
sdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfmsndbfRIFF...
...mbfmsndbfRIFFsdfsdfsdfhksjdf
hkjshdfkjshkjknsnmnmbfmsndbfsdfsdfsdfhksjdfhkjshdfkjs
hkjknsnmnmbfmsndbf
sdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfms
ndbf
sdfsdfsdfhksjdfhkjshdfkjshkjknsnmnmbfmsn
dbfRIFFsdfsdfsdfhksj...
Each string should be saved as incremental numbered "#.at3"-files.
And I should probably mention that some of thse strings go as large as several MB, maybe that's the reason why I had problems creating my own macro if it.
Thanks.