CD-i filesystem extraction does not include Green Book subheader data #424

Open
opened 2026-01-29 15:18:23 +00:00 by claunia · 0 comments
Owner

Originally created by @ghost on GitHub (Apr 27, 2020).

Prerequisites

  • Are you running the latest version?
  • Can you reproduce the problem in the debug version?
    @claunia said the unstable version is no different in this regard.

Check and fill as appropriate:

  • I was running Aaru under Windows [version here]...
  • I was running Aaru under Linux (Ubuntu 19.10, kernel 5.3.0)...
  • I was running Aaru under FreeBSD [version here]...
  • I was running Aaru under macOS [version here]...
  • ...using .NET Framework [version here]...
  • ...using .NET Core [version here]...
  • ...using Mono [version here]...
  • ...in 32-bit
  • ...in 64-bit

Description

When extracting files from a CD-i disk image, the sector subheader data that is required to be able to interpret most real-time files is not extracted.

Exact command line used:

./aaru fs extract -x /data/cdi/discs/laser-lords/laser-lords-nl/laser-lords-nl.aaru /data/cdi/discs/laser-lords/laser-lords-nl/extracts

Expected behavior:

@claunia said on IRC that the intention is to store this data separately in an xattr directory.

Since these headers represent a pretty significant loss of data (it becomes impossible to decode most realtime files without per-sector channel / record / trigger / coding information info) it might make sense to print a warning if the command is invoked without the -x parameter?

Actual behavior:

No xattr directory is created, and no filesystem xattrs are set.

Originally created by @ghost on GitHub (Apr 27, 2020). ### Prerequisites * [x] Are you running the latest version? * [ ] Can you reproduce the problem in the debug version? @claunia said the unstable version is no different in this regard. ### Check and fill as appropriate: * [ ] I was running Aaru under Windows [version here]... * [x] I was running Aaru under Linux (Ubuntu 19.10, kernel 5.3.0)... * [ ] I was running Aaru under FreeBSD [version here]... * [ ] I was running Aaru under macOS [version here]... * [ ] ...using .NET Framework [version here]... * [ ] ...using .NET Core [version here]... * [ ] ...using Mono [version here]... * [ ] ...in 32-bit * [ ] ...in 64-bit ### Description When extracting files from a CD-i disk image, the sector subheader data that is required to be able to interpret most real-time files is not extracted. ### Exact command line used: `./aaru fs extract -x /data/cdi/discs/laser-lords/laser-lords-nl/laser-lords-nl.aaru /data/cdi/discs/laser-lords/laser-lords-nl/extracts` ### Expected behavior: @claunia said on IRC that the intention is to store this data separately in an xattr directory. Since these headers represent a pretty significant loss of data (it becomes impossible to decode most realtime files without per-sector channel / record / trigger / coding information info) it might make sense to print a warning if the command is invoked without the -x parameter? ### Actual behavior: No xattr directory is created, and no filesystem xattrs are set.
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#424