[Dreamcast] Can't read DiscJuggler cdi file list using fs ls. #986

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

Originally created by @Whovian9369 on GitHub (Mar 15, 2024).

Version

5.3.0

Commit hash

4825d41460

Tested debug version?

  • Yes

Which operating systems have you used?

  • Windows
  • Linux
  • macOS
  • Other

What is the architectural bit size you're using?

  • 32-bit
  • 64-bit
  • Unsure or unknown

What processor are you using?

  • An Intel or AMD
  • An ARM or Apple Silicon
  • Unsure or unknown

Image format

cdi

Application that created the image

Redump2CDI

What were you doing when it failed?

  • I was converting the image to another format...
  • I was retrieving image information...
  • I was retrieving filesystem information...
  • I was listing the filesystem contents...
  • I was extracting the filesystem contents...
  • I was creating a metadata sidecar...
  • I was checksumming the image...
  • I was verifying the image...
  • I was calculating the image entropy...

Destination image format

No response

Filesystem

DiscJuggler

Description

I'm trying to use aaru fs ls on a Redump Mil-CD converted to CDI via Redump2CDI (If that link doesn't work, here is a mirror), and getting an error when trying to do so.
Though, aaru fs info appears to work fine.

So to clarify, I ran fs ls and fs info on the cdi output by Redump2CDI, and not the source cue/bin.

Exact command line used

aaru fs ls "Karat DC-you - Pro Action Replay (Japan) (Unl).cdi"

Expected behavior

List of files on filesystem to be listed.

Actual behavior

A single file gets listed, but then the error Error reading file: Object reference not set to an instance of an object. is thrown.

Output of command execution with debug output enabled

Attached log file with full debug output enabled.

Affected image

Source image: https://archive.org/download/Nova_KaratDC-PAR_JPN/Karat%20DC-you%20-%20Pro%20Action%20Replay%20%28Japan%29%20%28Unl%29.7z
Converted output: Karat DC-you - Pro Action Replay (Japan) (Unl) - GH 839.cdi.zip

Additional Notes

After submitting issue, I opened the cue/bin and cdi in ISObuster. It appears that the filesystem has a file called CAST. (where I know that Windows doesn't like filenames that end in a period) and another(?) called . - I feel like that may possibly may be part of the issue? Attached screenshot of ISOBuster.
image

Originally created by @Whovian9369 on GitHub (Mar 15, 2024). ### Version 5.3.0 ### Commit hash 4825d414604fe30e23ceabc169be94f1b0dcd781 ### Tested debug version? - [X] Yes ### Which operating systems have you used? - [ ] Windows - [X] Linux - [ ] macOS - [ ] Other ### What is the architectural bit size you're using? - [ ] 32-bit - [X] 64-bit - [ ] Unsure or unknown ### What processor are you using? - [X] An Intel or AMD - [ ] An ARM or Apple Silicon - [ ] Unsure or unknown ### Image format `cdi` ### Application that created the image Redump2CDI ### What were you doing when it failed? - [ ] I was converting the image to another format... - [ ] I was retrieving image information... - [ ] I was retrieving filesystem information... - [X] I was listing the filesystem contents... - [ ] I was extracting the filesystem contents... - [ ] I was creating a metadata sidecar... - [ ] I was checksumming the image... - [ ] I was verifying the image... - [ ] I was calculating the image entropy... ### Destination image format _No response_ ### Filesystem DiscJuggler ### Description I'm trying to use `aaru fs ls` on [a Redump Mil-CD](http://redump.org/disc/112853/) converted to CDI via [Redump2CDI](https://dreamcast.wiki/Redump2CDI) (If that link doesn't work, [here is a mirror](https://web.archive.org/web/20240313190133/https://dreamcast.wiki/Redump2CDI)), and getting an error when trying to do so. Though, `aaru fs info` appears to work fine. So to clarify, I ran `fs ls` and `fs info` on the `cdi` output by Redump2CDI, and *not* the source `cue`/`bin`. ### Exact command line used `aaru fs ls "Karat DC-you - Pro Action Replay (Japan) (Unl).cdi"` ### Expected behavior List of files on filesystem to be listed. ### Actual behavior A single file gets listed, but then the error `Error reading file: Object reference not set to an instance of an object.` is thrown. ### Output of command execution with debug output enabled [Attached log file with full debug output enabled.](https://github.com/aaru-dps/Aaru/files/14610829/Karat.DC-you.-.Pro.Action.Replay.Japan.Unl.aaru_fs_ls_debug.log) ### Affected image Source image: https://archive.org/download/Nova_KaratDC-PAR_JPN/Karat%20DC-you%20-%20Pro%20Action%20Replay%20%28Japan%29%20%28Unl%29.7z Converted output: [Karat DC-you - Pro Action Replay (Japan) (Unl) - GH 839.cdi.zip](https://github.com/aaru-dps/Aaru/files/14610840/Karat.DC-you.-.Pro.Action.Replay.Japan.Unl.-.GH.839.cdi.zip) ### Additional Notes After submitting issue, I opened the `cue`/`bin` and `cdi` in ISObuster. It appears that the filesystem has a file called `CAST.` (where I know that Windows doesn't like filenames that end in a period) and another(?) called `.` - I feel like that may possibly *may* be part of the issue? Attached screenshot of ISOBuster. ![image](https://github.com/aaru-dps/Aaru/assets/5240754/9f59be32-a9d9-48bf-95f9-07e32f44b008)
claunia added the bugdump image formatneeds triage labels 2026-01-29 15:36:13 +00:00
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#986