mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-02-04 00:54:33 +00:00
Support MDSv2/MDX images #293
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TheRogueArchivist on GitHub (Nov 23, 2019).
Description
Support MDX images, which are images created by Daemon Tools that resembles MDS images, but only use one file instead of two. According to Wikipedia: "The default file format of DAEMON Tools is Media Data eXtended (MDX). MDX is a disc image file format similar to MDS/MDF images. It supports all of MDS/MDF format features except that all data is in one monolithic file only." (https://en.wikipedia.org/wiki/Daemon_Tools#File_format)
Also support MDS version 2.x images also created by Daemon Tools, which are also encrypted like MDX to prevent other software from being able to use the images.
@claunia commented on GitHub (Dec 7, 2019):
@u1735067 commented on GitHub (Jan 30, 2021):
Hi, if it can be useful (I hope), here are some MDSv2 & MDX samples, compressed (not mentioned a lot on the internet) and not, password protected and not: https://s.twb.fr/mds-mdf-mdx_samples/ (I may not keep them here forever so feel free to make a mirror)
I also compiled some documentations for my knowledge:
3b7d0b5466One of the source : https://github.com/86Box/86Box/issues/430
Thank you for making this data preservation software , you may be interested in Kaitai Struct (language neutral file format description) if you don't already know it :)
@claunia commented on GitHub (Jan 30, 2021):
Hi @Alex131089,
I'm afraid that Disc Soft Ltd. (aka Daemon Tools), has modified the Alcohol 120% (aka MDS/MDF pair) so each image is encrypted and obfuscated with a different key/seed.
The exact working of these is unknown.
MDX just joins their modified MDS and the MDF into a single file.
All the documentation you pasted is for original MDS/MDF version, the one from Alcohol, that is, bugs aside, completely supported.
We have more than enough test images, the gesture is nonetheless appreciated.
However we currently lack the manpower to reverse engineer how Disc Soft Ltd. is encrypting the images.
If you look at their forums you'll see they purposedly did this to become the dominant tool, even without the knowledge of most of their users.
libmirage makes the asumption that the image contains a single track. We cannot assume that.
As for Katai Struct, besides my personal dislikes for its YAML based syntax, when I checked it the tools were not as advanced as the one I ended using, 010 Editor, and its template format, for which you can find the templates I created in https://github.com/aaru-dps/010templates including the one for Alcohol 120% original MDS/MDF format in: https://github.com/aaru-dps/010templates/blob/master/Alcohol.bt
However you're more than welcome to take the templates from there and convert them to Katai's format. The templates are themselves purely declarative, not code, so technically they are not copyrighted. I would however nonetheless appreciate attribution of their usage.
Regards,
Natalia Portillo
@TheRogueArchivist commented on GitHub (Jun 30, 2022):
This program (not created by Daemon) claims to support the MDX format specifically, it may be worth a look at some point.
https://www.yubsoft.com/imgdrive/index.htm
@HeroponRikiBestest commented on GitHub (Nov 4, 2025):
Self note for later: they might be seeded based off the length of the mdf.
@HeroponRikiBestest commented on GitHub (Nov 26, 2025):
https://github.com/Marisa-Chan/mdsx this program supports decrypting mdsv2. Atm, not sure how to do it for TAGES ones, since the program says they require a password, but it works for non-TAGES mdsv2 files without needing a password.
Example input:
redump-id-80562_mds_2.0.mds.zip
Example output:
header.out.zip
I'll update this issue once it's clear how to get TAGES mds passwords.