Hi David,
I tried XADMaster implementation and got the same result as libdc42's.
Please send me your WIP code to check.
It is to note, that the exact failure, only appears under certain circumstances.
DART compresses in runs of several sectors. When a big part of that buffer (more or less 2 and a half sectors), contains the same byte, that is where libdc42 generates garbage and destroys the whole run of sectors.
On a disk that's almost empty, this will never be a problem (but the
decompressed image will be incorrect).
On a disk that's almost full, this will never be a problem (not enough
compressable data may be found).
I have created several test DART images, using real hardware, to cause this bug to happen. Also created DC42 of the same disks to be able to compare for correctness.
Regards,
Natalia Portillo
On 16/04/17 23:22, David Ryskalczyk wrote:
> A while back I started writing a DART to DC42 converter to add to The Unarchiver. DART's algorithm is used by another old Mac compression format but I forget which off the top of my head. That said the implementation in The Unarchiver / XADMaster is solid and does not have these bugs and my converter worked but I hadn't finished polishing it up for submission. > > I can post my WIP code somewhere tomorrow. > > David >
-- -- ----- You received this message because you are a member of the LisaList group. The group FAQ is at http://lowendmac.com/lists/lisa.html To post to this group, send email to lisalist_at_email.domain.hidden To leave this group, send email to lisalist+unsubscribe_at_email.domain.hidden For more options, visit this group at http://groups.google.com/group/lisalist --- You received this message because you are subscribed to the Google Groups "LisaList" group. To unsubscribe from this group and stop receiving emails from it, send an email to lisalist+unsubscribe_at_googlegroups.com. For more options, visit https://groups.google.com/d/optout.Received on 2017-04-18 10:26:24
This archive was generated by hypermail 2.4.0 : 2020-01-13 12:15:17 EST