Converting BWT image to ISO results in a broken ISO #535

Closed
opened 2026-01-29 15:21:47 +00:00 by claunia · 0 comments
Owner

Originally created by @TheRogueArchivist on GitHub (Nov 16, 2020).

Prerequisites

  • Are you running the latest version?
  • Can you reproduce the problem in the debug version?

Check and fill as appropriate:

  • I was running Aaru under Windows 10...
  • ...in 64-bit
  • ...using an Intel / AMD processor
  • ...using an ARM or Apple Silicon processor
    • Image format: BWT
    • Application that created the image: BlindWrite 4
  • I was converting the image...
    • ...Destination image format: ISO
  • I was listing the filesystem contents...
  • I was extracting the filesystem contents...
    • ...Filesystem:
    • Analyze command recognizes the filesystem
  • I was creating a metadata sidecar
  • I was checksumming the image
  • I was verifying the image

Description

Trying to convert a BWT file to ISO results in an ISO that the verify command reports unknown sectors on. Aaru is also unable to find a partition to extract in the original BWT, but I'm not sure if this is a bug in Aaru or in BlindWrite 4. Converting to an Aaruf image creates a seemingly working image that verify doesn't find unknown sectors in.

Exact command line used:

aaru i convert .\BWT-BlindWrite45.BWT .\BWT-BlindWrite45.iso -f

Output of command execution with debug output enabled

From "aaru -d i verify .\BWT-BlindWrite45.iso":

aaru 5.1.99.3216+1423df1d built by DESKTOP-TUVQ3CV in Debug, modified
Copyright c 2011-2020 Natalia Portillo

DEBUG (Verify command): --debug=True
DEBUG (Verify command): --input=.\BWT-BlindWrite45.iso
DEBUG (Verify command): --verbose=False
DEBUG (Verify command): --verify-disc=True
DEBUG (Verify command): --verify-sectors=True
DEBUG (Format detection): Trying plugin Aaru Format
DEBUG (Format detection): Trying plugin ACT Apricot Disk Image
DEBUG (Format detection): Trying plugin Alcohol 120% Media Descriptor Structure
DEBUG (Format detection): Trying plugin Anex86 Disk Image
DEBUG (Anex86 plugin): fdihdr.unknown = 0
DEBUG (Anex86 plugin): fdihdr.hddtype = 0
DEBUG (Anex86 plugin): fdihdr.hdrSize = 0
DEBUG (Anex86 plugin): fdihdr.dskSize = 0
DEBUG (Anex86 plugin): fdihdr.bps = 0
DEBUG (Anex86 plugin): fdihdr.spt = 0
DEBUG (Anex86 plugin): fdihdr.heads = 0
DEBUG (Anex86 plugin): fdihdr.cylinders = 0
DEBUG (Format detection): Trying plugin Apple ][ Interleaved Disk Image
DEBUG (Format detection): Trying plugin Apple 2IMG
DEBUG (Format detection): Trying plugin Apple Disk Archival/Retrieval Tool
DEBUG (Format detection): Trying plugin Apple DiskCopy 4.2
DEBUG (DC42 plugin): tmp_header.diskName = ""
DEBUG (DC42 plugin): tmp_header.dataSize = 0 bytes
DEBUG (DC42 plugin): tmp_header.tagSize = 0 bytes
DEBUG (DC42 plugin): tmp_header.dataChecksum = 0x00000000
DEBUG (DC42 plugin): tmp_header.tagChecksum = 0x00000000
DEBUG (DC42 plugin): tmp_header.format = 0x00
DEBUG (DC42 plugin): tmp_header.fmtByte = 0x00
DEBUG (DC42 plugin): tmp_header.valid = 0
DEBUG (DC42 plugin): tmp_header.reserved = 0
DEBUG (Format detection): Trying plugin Apple New Disk Image Format
DEBUG (Format detection): Trying plugin Apple NIB
DEBUG (Format detection): Trying plugin Apple Universal Disk Image Format
DEBUG (Format detection): Trying plugin Basic Lisa Utility
DEBUG (Format detection): Trying plugin BlindWrite 4
DEBUG (Format detection): Trying plugin BlindWrite 5
DEBUG (Format detection): Trying plugin CDRDAO tocfile
DEBUG (Format detection): Trying plugin CDRWin cuesheet
DEBUG (Format detection): Trying plugin CisCopy Disk Image (DC-File)
DEBUG (Format detection): Trying plugin CloneCD
DEBUG (Format detection): Trying plugin CopyTape
DEBUG (Format detection): Trying plugin CPCEMU Disk-File and Extended CPC Disk-File
DEBUG (CPCDSK plugin): header.magic = ""
DEBUG (Format detection): Trying plugin d2f disk image
DEBUG (Format detection): Trying plugin D88 Disk Image
DEBUG (D88 plugin): d88hdr.name = ""
DEBUG (D88 plugin): d88hdr.reserved is empty? = True
DEBUG (D88 plugin): d88hdr.write_protect = 0x00
DEBUG (D88 plugin): d88hdr.disk_type = D2 (0)
DEBUG (D88 plugin): d88hdr.disk_size = 0
DEBUG (Format detection): Trying plugin Digital Research DiskCopy
DEBUG (Format detection): Trying plugin DIM Disk Image
DEBUG (Format detection): Trying plugin DiscFerret
DEBUG (Format detection): Trying plugin DiscJuggler
DEBUG (DiscJuggler plugin): dscLen = 0
DEBUG (Format detection): Trying plugin Dreamcast GDI image
DEBUG (Format detection): Trying plugin Dunfield's IMD
DEBUG (Format detection): Trying plugin HD-Copy disk image
DEBUG (Format detection): Trying plugin IBM SaveDskF
DEBUG (Format detection): Trying plugin KryoFlux STREAM
DEBUG (Format detection): Trying plugin MAME Compressed Hunks of Data
DEBUG (Format detection): Trying plugin MAXI Disk image
DEBUG (MAXI Disk plugin): tmp_header.unknown = 0
DEBUG (MAXI Disk plugin): tmp_header.diskType = 0
DEBUG (MAXI Disk plugin): tmp_header.heads = 0
DEBUG (MAXI Disk plugin): tmp_header.cylinders = 0
DEBUG (MAXI Disk plugin): tmp_header.bytesPerSector = 0
DEBUG (MAXI Disk plugin): tmp_header.sectorsPerTrack = 0
DEBUG (MAXI Disk plugin): tmp_header.unknown2 = 0
DEBUG (MAXI Disk plugin): tmp_header.unknown3 = 0
DEBUG (Format detection): Trying plugin Microsoft VHDX
DEBUG (Format detection): Trying plugin Nero Burning ROM image
DEBUG (Nero plugin): imageStream.Length = 2156544
DEBUG (Nero plugin): footerV1.ChunkID = 0x00000000
DEBUG (Nero plugin): footerV1.FirstChunkOffset = 0
DEBUG (Nero plugin): footerV2.ChunkID = 0x00000000
DEBUG (Nero plugin): footerV2.FirstChunkOffset = 0
DEBUG (Format detection): Trying plugin Parallels disk image
DEBUG (Format detection): Trying plugin PartClone disk image
DEBUG (Format detection): Trying plugin Partimage disk image
DEBUG (Format detection): Trying plugin QEMU Copy-On-Write disk image
DEBUG (Format detection): Trying plugin QEMU Copy-On-Write disk image v2
DEBUG (QCOW plugin): qHdr.magic = 0x00000000
DEBUG (QCOW plugin): qHdr.version = 0
DEBUG (Format detection): Trying plugin QEMU Enhanced Disk image
DEBUG (Format detection): Trying plugin Ray Arachelian's Disk IMage
DEBUG (Ray Arachelian's Disk IMage plugin): header.signature =
DEBUG (Ray Arachelian's Disk IMage plugin): header.diskType = 0
DEBUG (Ray Arachelian's Disk IMage plugin): header.heads = 0
DEBUG (Ray Arachelian's Disk IMage plugin): header.cylinders = 0
DEBUG (Ray Arachelian's Disk IMage plugin): header.sectorsPerTrack = 0
DEBUG (Ray Arachelian's Disk IMage plugin): header.signature matches? = False
DEBUG (Format detection): Trying plugin RS-IDE Hard Disk Image
DEBUG (Format detection): Trying plugin Spectrum Floppy Disk Image
DEBUG (Format detection): Trying plugin SuperCardPro
DEBUG (Format detection): Trying plugin Sydex CopyQM
DEBUG (Format detection): Trying plugin Sydex TeleDisk
DEBUG (Format detection): Trying plugin T98 Hard Disk Image
DEBUG (T98 plugin): cylinders = 0
DEBUG (Format detection): Trying plugin T98-Next NHD r0 Disk Image
DEBUG (Format detection): Trying plugin Virtual98 Disk Image
DEBUG (Format detection): Trying plugin VirtualBox Disk Image
DEBUG (Format detection): Trying plugin VirtualPC
DEBUG (Format detection): Trying plugin VMware disk image
DEBUG (Format detection): Trying plugin Raw Disk Image
All sector checksums are correct
Total sectors........... 1053
Total errors............ 0
Total unknowns.......... 1052
Total errors+unknowns... 1052

Image

447.zip

Originally created by @TheRogueArchivist on GitHub (Nov 16, 2020). ### Prerequisites * [X] Are you running the latest version? * [X] Can you reproduce the problem in the debug version? ### Check and fill as appropriate: * [X] I was running Aaru under Windows 10... * [X] ...in 64-bit * [ ] ...using an Intel / AMD processor * [ ] ...using an ARM or Apple Silicon processor * **Image format**: BWT * **Application that created the image**: BlindWrite 4 * [X] I was converting the image... * ...**Destination image format**: ISO * [ ] I was listing the filesystem contents... * [ ] I was extracting the filesystem contents... * ...**Filesystem**: * [ ] Analyze command recognizes the filesystem * [ ] I was creating a metadata sidecar * [ ] I was checksumming the image * [ ] I was verifying the image ### Description <!-- Description of the bug --> Trying to convert a BWT file to ISO results in an ISO that the verify command reports unknown sectors on. Aaru is also unable to find a partition to extract in the original BWT, but I'm not sure if this is a bug in Aaru or in BlindWrite 4. Converting to an Aaruf image creates a seemingly working image that verify doesn't find unknown sectors in. ### Exact command line used: `aaru i convert .\BWT-BlindWrite45.BWT .\BWT-BlindWrite45.iso -f` ### Output of command execution with debug output enabled From "aaru -d i verify .\BWT-BlindWrite45.iso": ``` aaru 5.1.99.3216+1423df1d built by DESKTOP-TUVQ3CV in Debug, modified Copyright c 2011-2020 Natalia Portillo DEBUG (Verify command): --debug=True DEBUG (Verify command): --input=.\BWT-BlindWrite45.iso DEBUG (Verify command): --verbose=False DEBUG (Verify command): --verify-disc=True DEBUG (Verify command): --verify-sectors=True DEBUG (Format detection): Trying plugin Aaru Format DEBUG (Format detection): Trying plugin ACT Apricot Disk Image DEBUG (Format detection): Trying plugin Alcohol 120% Media Descriptor Structure DEBUG (Format detection): Trying plugin Anex86 Disk Image DEBUG (Anex86 plugin): fdihdr.unknown = 0 DEBUG (Anex86 plugin): fdihdr.hddtype = 0 DEBUG (Anex86 plugin): fdihdr.hdrSize = 0 DEBUG (Anex86 plugin): fdihdr.dskSize = 0 DEBUG (Anex86 plugin): fdihdr.bps = 0 DEBUG (Anex86 plugin): fdihdr.spt = 0 DEBUG (Anex86 plugin): fdihdr.heads = 0 DEBUG (Anex86 plugin): fdihdr.cylinders = 0 DEBUG (Format detection): Trying plugin Apple ][ Interleaved Disk Image DEBUG (Format detection): Trying plugin Apple 2IMG DEBUG (Format detection): Trying plugin Apple Disk Archival/Retrieval Tool DEBUG (Format detection): Trying plugin Apple DiskCopy 4.2 DEBUG (DC42 plugin): tmp_header.diskName = "" DEBUG (DC42 plugin): tmp_header.dataSize = 0 bytes DEBUG (DC42 plugin): tmp_header.tagSize = 0 bytes DEBUG (DC42 plugin): tmp_header.dataChecksum = 0x00000000 DEBUG (DC42 plugin): tmp_header.tagChecksum = 0x00000000 DEBUG (DC42 plugin): tmp_header.format = 0x00 DEBUG (DC42 plugin): tmp_header.fmtByte = 0x00 DEBUG (DC42 plugin): tmp_header.valid = 0 DEBUG (DC42 plugin): tmp_header.reserved = 0 DEBUG (Format detection): Trying plugin Apple New Disk Image Format DEBUG (Format detection): Trying plugin Apple NIB DEBUG (Format detection): Trying plugin Apple Universal Disk Image Format DEBUG (Format detection): Trying plugin Basic Lisa Utility DEBUG (Format detection): Trying plugin BlindWrite 4 DEBUG (Format detection): Trying plugin BlindWrite 5 DEBUG (Format detection): Trying plugin CDRDAO tocfile DEBUG (Format detection): Trying plugin CDRWin cuesheet DEBUG (Format detection): Trying plugin CisCopy Disk Image (DC-File) DEBUG (Format detection): Trying plugin CloneCD DEBUG (Format detection): Trying plugin CopyTape DEBUG (Format detection): Trying plugin CPCEMU Disk-File and Extended CPC Disk-File DEBUG (CPCDSK plugin): header.magic = "" DEBUG (Format detection): Trying plugin d2f disk image DEBUG (Format detection): Trying plugin D88 Disk Image DEBUG (D88 plugin): d88hdr.name = "" DEBUG (D88 plugin): d88hdr.reserved is empty? = True DEBUG (D88 plugin): d88hdr.write_protect = 0x00 DEBUG (D88 plugin): d88hdr.disk_type = D2 (0) DEBUG (D88 plugin): d88hdr.disk_size = 0 DEBUG (Format detection): Trying plugin Digital Research DiskCopy DEBUG (Format detection): Trying plugin DIM Disk Image DEBUG (Format detection): Trying plugin DiscFerret DEBUG (Format detection): Trying plugin DiscJuggler DEBUG (DiscJuggler plugin): dscLen = 0 DEBUG (Format detection): Trying plugin Dreamcast GDI image DEBUG (Format detection): Trying plugin Dunfield's IMD DEBUG (Format detection): Trying plugin HD-Copy disk image DEBUG (Format detection): Trying plugin IBM SaveDskF DEBUG (Format detection): Trying plugin KryoFlux STREAM DEBUG (Format detection): Trying plugin MAME Compressed Hunks of Data DEBUG (Format detection): Trying plugin MAXI Disk image DEBUG (MAXI Disk plugin): tmp_header.unknown = 0 DEBUG (MAXI Disk plugin): tmp_header.diskType = 0 DEBUG (MAXI Disk plugin): tmp_header.heads = 0 DEBUG (MAXI Disk plugin): tmp_header.cylinders = 0 DEBUG (MAXI Disk plugin): tmp_header.bytesPerSector = 0 DEBUG (MAXI Disk plugin): tmp_header.sectorsPerTrack = 0 DEBUG (MAXI Disk plugin): tmp_header.unknown2 = 0 DEBUG (MAXI Disk plugin): tmp_header.unknown3 = 0 DEBUG (Format detection): Trying plugin Microsoft VHDX DEBUG (Format detection): Trying plugin Nero Burning ROM image DEBUG (Nero plugin): imageStream.Length = 2156544 DEBUG (Nero plugin): footerV1.ChunkID = 0x00000000 DEBUG (Nero plugin): footerV1.FirstChunkOffset = 0 DEBUG (Nero plugin): footerV2.ChunkID = 0x00000000 DEBUG (Nero plugin): footerV2.FirstChunkOffset = 0 DEBUG (Format detection): Trying plugin Parallels disk image DEBUG (Format detection): Trying plugin PartClone disk image DEBUG (Format detection): Trying plugin Partimage disk image DEBUG (Format detection): Trying plugin QEMU Copy-On-Write disk image DEBUG (Format detection): Trying plugin QEMU Copy-On-Write disk image v2 DEBUG (QCOW plugin): qHdr.magic = 0x00000000 DEBUG (QCOW plugin): qHdr.version = 0 DEBUG (Format detection): Trying plugin QEMU Enhanced Disk image DEBUG (Format detection): Trying plugin Ray Arachelian's Disk IMage DEBUG (Ray Arachelian's Disk IMage plugin): header.signature = DEBUG (Ray Arachelian's Disk IMage plugin): header.diskType = 0 DEBUG (Ray Arachelian's Disk IMage plugin): header.heads = 0 DEBUG (Ray Arachelian's Disk IMage plugin): header.cylinders = 0 DEBUG (Ray Arachelian's Disk IMage plugin): header.sectorsPerTrack = 0 DEBUG (Ray Arachelian's Disk IMage plugin): header.signature matches? = False DEBUG (Format detection): Trying plugin RS-IDE Hard Disk Image DEBUG (Format detection): Trying plugin Spectrum Floppy Disk Image DEBUG (Format detection): Trying plugin SuperCardPro DEBUG (Format detection): Trying plugin Sydex CopyQM DEBUG (Format detection): Trying plugin Sydex TeleDisk DEBUG (Format detection): Trying plugin T98 Hard Disk Image DEBUG (T98 plugin): cylinders = 0 DEBUG (Format detection): Trying plugin T98-Next NHD r0 Disk Image DEBUG (Format detection): Trying plugin Virtual98 Disk Image DEBUG (Format detection): Trying plugin VirtualBox Disk Image DEBUG (Format detection): Trying plugin VirtualPC DEBUG (Format detection): Trying plugin VMware disk image DEBUG (Format detection): Trying plugin Raw Disk Image All sector checksums are correct Total sectors........... 1053 Total errors............ 0 Total unknowns.......... 1052 Total errors+unknowns... 1052 ``` ### Image <!-- Upload the image, compressed and with the number of this issue. --> <!--- If the image contains personal data contact the project lead, and the image contents will be handled confidentially under the GDPR requirements. --> [447.zip](https://github.com/aaru-dps/Aaru/files/5543567/447.zip)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#535