Converting from mds to mds, at the request of DIC , is broken. #250

Closed
opened 2026-01-29 15:14:20 +00:00 by claunia · 2 comments
Owner

Originally created by @mrneo240 on GitHub (Feb 8, 2019).

Prerequisites

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

Check and fill as appropiate:

  • [x ] I was running DiscImageChef under Windows [version here]...

Description

Trying to convert from mds to mds results in non-working image

at the behest of DIC trying to convert an image to the same format produces a broken copy.
The Data remains an exact copy but the header is broken and truncated (512 bytes vs 1214 bytes)

Exact command line used:

PS D:\Dev\Dreamcast\Mil-CD\kapitel_6-MIL> ."D:\Games\REDUMP\Disc Image Chef\DiscImageChef.exe"
 convert-image .\dps.mds .\custom.mds
DiscImageChef 4.5.99.1693-6b1aeb6c built by fv-az576 in Debug
Copyright c 2011-2019 Natalia Portillo

Uploading statistics
Input image format identified by Alcohol 120% Media Descriptor Structure.
Incorrect Alcohol 120% image created by an old version of DiscImageChef. Convert image to correct it.
Output image format: Alcohol 120% Media Descriptor Structure.
Converting media tag CD_FullTOC
467717 sectors to convert
Converting sectors 467717 to 467717 in track 2 (100.00% done)
Converting tag CdTrackFlags in track 2 (100.00% done).
Closing output image.

Conversion done.
Uploading statistics
PS D:\Dev\Dreamcast\Mil-CD\kapitel_6-MIL> ."D:\Games\REDUMP\Disc Image Chef\DiscImageChef.exe"
 analyze .\custom.mds
DiscImageChef 4.5.99.1693-6b1aeb6c built by fv-az576 in Debug
Copyright c 2011-2019 Natalia Portillo

Image format identified by Alcohol 120% Media Descriptor Structure.

Error reading file: Sector address not found
Parameter name: sectorAddress
Uploading statistics
PS D:\Dev\Dreamcast\Mil-CD\kapitel_6-MIL>

Expected behavior:

conversion to work correctly

Actual behavior:

conversion is incorrect, data is copied exactly and header is broken/non working

Output of command execution with debug output enabled

DiscImageChef 4.5.99.1693-6b1aeb6c built by fv-az576 in Debug
Copyright c 2011-2019 Natalia Portillo

Image format identified by Alcohol 120% Media Descriptor Structure.

Incorrect Alcohol 120% image created by an old version of DiscImageChef. Convert image to correct it.
Uploading statistics
2 partitions found.

Partition 0:
Partition name: 
Partition type: Audio
Partition start: sector 0, byte 0
Partition length: 16492 sectors, 38789184 bytes
Partition scheme: 
Partition description:
Track 1.
Identifying filesystem on partition
Filesystem not identified

Partition 1:
Partition name: 
Partition type: Mode2F1
Partition start: sector 27892, byte 38789184
Partition length: 439825 sectors, 1034468400 bytes
Partition scheme: 
Partition description:
Track 2.
Identifying filesystem on partition
Identified by ISO9660 Filesystem.
ISO9660 file system
CD-ROM XA extensions present.
This is a Sega Dreamcast disc.
--------------------------------
SEGA IP.BIN INFORMATION:
--------------------------------
Product name: LINKIN PARK IN THE END                                                                                                          
Product version: V1.070
Product CRC: 0x46333143
Producer: SEGA ENTERPRISES
Disc media: MIL CD
Disc number 1 of 1
Release date: 1/29/2019 12:00:00 AM
Disc boots using unknown loader: 1MILSFD.BIN .
Regions supported:
Japanese NTSC.
North America NTSC.
Europe PAL.
Peripherals:
Game supports the VGA Box.
Game supports Puru Puru pack.
Game supports Mike Device.
Game supports Memory Card.
Game requires A + B + Start buttons and D-Pad.
Game requires X button.
Game requires Y button.
Game requires analog R trigger.
Game requires analog L trigger.
Game requires analog horizontal controller.
Game requires analog vertical controller.
Game supports Gun.

------------------------------
VOLUME DESCRIPTOR INFORMATION:
------------------------------
System identifier: SEGA SEGAKATANA
Volume identifier: KAPITEL_6
Volume set identifier: KAPITEL_6
Publisher identifier: KAPITEL_6
Data preparer identifier: CRI CD CRAFT VER.1. 1
Application identifier:                                                                                                                                              CD-XA001
Volume creation date: 2/3/2019 9:58:27 PM
Volume modification date: 2/3/2019 9:58:27 PM
Volume does not expire.
Volume effective date: 2/3/2019 9:58:27 PM
Volume has 439823 blocks of 2048 bytes each
Uploading statistics

Originally created by @mrneo240 on GitHub (Feb 8, 2019). ### Prerequisites * [x ] Are you running the latest version? * [x ] Can you reproduce the problem in the debug version? ### Check and fill as appropiate: * [x ] I was running DiscImageChef under Windows [version here]... ### Description Trying to convert from mds to mds results in non-working image at the behest of DIC trying to convert an image to the same format produces a broken copy. The Data remains an exact copy but the header is broken and truncated (512 bytes vs 1214 bytes) ### Exact command line used: ``` PS D:\Dev\Dreamcast\Mil-CD\kapitel_6-MIL> ."D:\Games\REDUMP\Disc Image Chef\DiscImageChef.exe" convert-image .\dps.mds .\custom.mds DiscImageChef 4.5.99.1693-6b1aeb6c built by fv-az576 in Debug Copyright c 2011-2019 Natalia Portillo Uploading statistics Input image format identified by Alcohol 120% Media Descriptor Structure. Incorrect Alcohol 120% image created by an old version of DiscImageChef. Convert image to correct it. Output image format: Alcohol 120% Media Descriptor Structure. Converting media tag CD_FullTOC 467717 sectors to convert Converting sectors 467717 to 467717 in track 2 (100.00% done) Converting tag CdTrackFlags in track 2 (100.00% done). Closing output image. Conversion done. Uploading statistics PS D:\Dev\Dreamcast\Mil-CD\kapitel_6-MIL> ."D:\Games\REDUMP\Disc Image Chef\DiscImageChef.exe" analyze .\custom.mds DiscImageChef 4.5.99.1693-6b1aeb6c built by fv-az576 in Debug Copyright c 2011-2019 Natalia Portillo Image format identified by Alcohol 120% Media Descriptor Structure. Error reading file: Sector address not found Parameter name: sectorAddress Uploading statistics PS D:\Dev\Dreamcast\Mil-CD\kapitel_6-MIL> ``` ### Expected behavior: conversion to work correctly ### Actual behavior: conversion is incorrect, data is copied exactly and header is broken/non working ### Output of command execution with debug output enabled ``` DiscImageChef 4.5.99.1693-6b1aeb6c built by fv-az576 in Debug Copyright c 2011-2019 Natalia Portillo Image format identified by Alcohol 120% Media Descriptor Structure. Incorrect Alcohol 120% image created by an old version of DiscImageChef. Convert image to correct it. Uploading statistics 2 partitions found. Partition 0: Partition name: Partition type: Audio Partition start: sector 0, byte 0 Partition length: 16492 sectors, 38789184 bytes Partition scheme: Partition description: Track 1. Identifying filesystem on partition Filesystem not identified Partition 1: Partition name: Partition type: Mode2F1 Partition start: sector 27892, byte 38789184 Partition length: 439825 sectors, 1034468400 bytes Partition scheme: Partition description: Track 2. Identifying filesystem on partition Identified by ISO9660 Filesystem. ISO9660 file system CD-ROM XA extensions present. This is a Sega Dreamcast disc. -------------------------------- SEGA IP.BIN INFORMATION: -------------------------------- Product name: LINKIN PARK IN THE END Product version: V1.070 Product CRC: 0x46333143 Producer: SEGA ENTERPRISES Disc media: MIL CD Disc number 1 of 1 Release date: 1/29/2019 12:00:00 AM Disc boots using unknown loader: 1MILSFD.BIN . Regions supported: Japanese NTSC. North America NTSC. Europe PAL. Peripherals: Game supports the VGA Box. Game supports Puru Puru pack. Game supports Mike Device. Game supports Memory Card. Game requires A + B + Start buttons and D-Pad. Game requires X button. Game requires Y button. Game requires analog R trigger. Game requires analog L trigger. Game requires analog horizontal controller. Game requires analog vertical controller. Game supports Gun. ------------------------------ VOLUME DESCRIPTOR INFORMATION: ------------------------------ System identifier: SEGA SEGAKATANA Volume identifier: KAPITEL_6 Volume set identifier: KAPITEL_6 Publisher identifier: KAPITEL_6 Data preparer identifier: CRI CD CRAFT VER.1. 1 Application identifier: CD-XA001 Volume creation date: 2/3/2019 9:58:27 PM Volume modification date: 2/3/2019 9:58:27 PM Volume does not expire. Volume effective date: 2/3/2019 9:58:27 PM Volume has 439823 blocks of 2048 bytes each Uploading statistics ```
Author
Owner

@mrneo240 commented on GitHub (Feb 8, 2019):

Logs and MDS files attached
kapitel_6-MIL.zip

logs:
info: https://pastebin.com/bHXvN8Y5
convert: https://pastebin.com/n2Pgdqy4

Hashes from original Data file and the one rewritten by DIC

PS D:\Games\REDUMP> .\hash.ps1  -dir D:\Dev\Dreamcast\Mil-CD\kapitel_6-MIL\*.mdf
D:\Dev\Dreamcast\Mil-CD\kapitel_6-MIL\*.mdf
custom.mdf size 1073257584
HashCalc Info:
MD5:    430ab799f76a84bf5e81fc3fed42f444
SHA1:   29604d9444f4415b110c0af118e02c2eec668fc4
CRC32:  41454f89

dps.mdf size 1073257584
HashCalc Info:
MD5:    430ab799f76a84bf5e81fc3fed42f444
SHA1:   29604d9444f4415b110c0af118e02c2eec668fc4
CRC32:  41454f89
@mrneo240 commented on GitHub (Feb 8, 2019): Logs and MDS files attached [kapitel_6-MIL.zip](https://github.com/discimagechef/DiscImageChef/files/2846666/kapitel_6-MIL.zip) logs: info: https://pastebin.com/bHXvN8Y5 convert: https://pastebin.com/n2Pgdqy4 Hashes from original Data file and the one rewritten by DIC ``` PS D:\Games\REDUMP> .\hash.ps1 -dir D:\Dev\Dreamcast\Mil-CD\kapitel_6-MIL\*.mdf D:\Dev\Dreamcast\Mil-CD\kapitel_6-MIL\*.mdf custom.mdf size 1073257584 HashCalc Info: MD5: 430ab799f76a84bf5e81fc3fed42f444 SHA1: 29604d9444f4415b110c0af118e02c2eec668fc4 CRC32: 41454f89 dps.mdf size 1073257584 HashCalc Info: MD5: 430ab799f76a84bf5e81fc3fed42f444 SHA1: 29604d9444f4415b110c0af118e02c2eec668fc4 CRC32: 41454f89 ```
Author
Owner

@claunia commented on GitHub (Dec 7, 2019):

Fixing Alcohol images not working as expected

@claunia commented on GitHub (Dec 7, 2019): ![](https://github.trello.services/images/mini-trello-icon.png) [Fixing Alcohol images not working as expected](https://trello.com/c/Wwuf8esr/16-fixing-alcohol-images-not-working-as-expected)
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#250