From: Alexander L. <moo...@gm...> - 2021-03-09 20:51:30
|
Hi Fuse devs, I'm trying to read a .rzx file using libspectrum and cannot quite get the right way to use the API. Basically what I need is a dump of all input values as one long list of bytes, I don't even need to split them by frames. If there is a ready tool to do that, that would be even better. rzxdump only shows the number of inputs per frame, but not inputs themselves. There is libspectrum_rzx_playback_frame() which seems to want to update some pointer to a snapshot (why?), and libspectrum_rzx_playback() which gets a pointer to the libspectrum_byte, so maybe it would be able to write the inputs?.. But from which frame/block and how does it know the size... There is also a way to iterate over blocks, but doesn't seem to be any way to extract any information except snapshots from the blocks.. Also I'm a bit puzzled by "libspectrum_rzx_playback: more INs during frame %lu than stored in RZX file (%lu)" error message in libspectrum sources, why would it know about number of actual INs, if it's just a library to read a file. Thanks! |