The image format is the following:
data0 | fillerbytes | header | data1 | fillerbytes
The data is of variable length and the information how long it is can be found in the header. The header is at a fixed position so it can be read. I can use the extracted length for data1 but it does not seem to work for data0. Any ideas?
Don't ask why it is like that. I guess the engineers in TW had a good reason for that.