Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saramibreak/DiscImageCreator

This is the disc (CD, GD, DVD, HD-DVD, BD, GC/Wii, XBOX, XBOX 360) and disk (Floppy, MO, USB etc) image creation tool
https://github.com/saramibreak/DiscImageCreator

disc is the this

Last synced: about 2 months ago
JSON representation

This is the disc (CD, GD, DVD, HD-DVD, BD, GC/Wii, XBOX, XBOX 360) and disk (Floppy, MO, USB etc) image creation tool

Awesome Lists containing this project

README

        

# DiscImageCreator
## Overview
This command-line program dumps a disc (CD, GD, DVD, HD-DVD, BD, GC/Wii, XBOX, XBOX 360) and disk (Floppy, MO, USB etc).
CD and GD, it can dump considering a drive + CD (=combined) offset.
What is the drive offset? Please look [this document](http://dbpoweramp.com/spoons-audio-guide-cd-ripping.htm)

This program works on Windows PC (Windows XP or higher) and Unix based PC (Linux, macOS).

[MPF](https://github.com/SabreTools/MPF) can work this program with GUI.

## Bug report
To: http://forum.redump.org/topic/10483/discimagecreator/
or
To: https://github.com/saramibreak/DiscImageCreator/issues

if you report a bug, try to use the latest test version.
Windows: http://www.mediafire.com/file/eq80y20l9cwf48f/DiscImageCreator_test.7z
Linux: http://www.mediafire.com/file/uw3e03kdkmsmvvq/DiscImageCreator_test.tar.gz

Nevertheless a bug exists, please upload all .txt file the app created.

## Requirement
### Package
Download and install Visual C++ Redistributable Packages. (for Windows PC)
https://aka.ms/vs/16/release/VC_redist.x86.exe
If Windows XP is used, see https://learn.microsoft.com/en-us/cpp/build/configuring-programs-for-windows-xp?view=msvc-170#windows-xp-deployment

### Recommend drive
- CD: (Drives must be able to dump by scrambled mode and read lead-out and read lead-in).
- PLEXTOR (No OEM Drive)
- DVD model: PX-760, PX-755, PX-716, PX-714, PX-712, PX-708, PX-704
- CD model: Premium2, Premium, PX-W5224, PX-4824, PX-4012
- This app needs the latest firmware except PX-708. (PX-708 can use latest and 1.04)
See Doc/Firmware&Tool.md if you want to download above firmware or useful tool
- ASUS
- BC-12D2HT (Combined offset minus disc only), BW-16D1HT (ditto)
- BW-16D1HT Firmware 3.02 supports the combined offset plus disc
See also http://wiki.redump.org/index.php?title=Optical_Disc_Drive_Compatibility#Non-Plextor_ODDs_.28Plextors_are_preferable.2C_as_more_testing_is_needed_for_these.29
- Hitachi-LG
- UH12NS30 (Combined offset minus disc only)
- CD: (Swappable drive) (This is the comfirmed drive list. Actually, many drive perhaps supports to swap)
- Sony Optiarc
- AD-7200 (Combined offset plus disc only)
- TSSTcorp
- TS-H353A (Combined offset plus disc only), TS-H352C (ditto)
- GD:
- TSSTcorp
- TS-H353A, TS-H352C, TS-H192C
- http://forum.redump.org/post/14552/#p14552 <- This drive might be supported too.
- DVD: All supported drive
- DVD (Raw):
- PLEXTOR (No OEM Drive)
- DVD model: PX-760, PX-755, PX-716, PX-714, PX-712, PX-708, PX-704
- LITE ON
- LH-18A1P
- ASUS/LG
- BW-16D1HT, BC-12D2HT etc. (Firmware 3.02 is needed.)
See also http://wiki.redump.org/index.php?title=Optical_Disc_Drive_Compatibility#Non-Plextor_ODDs_.28Plextors_are_preferable.2C_as_more_testing_is_needed_for_these.29
- Other
- See "DVDRawBruteforce - Drive Sheet - Sheet1.tsv" in the Release_ANSI folder
- GC/Wii
- Hitachi-LG
- GDR-8082N, GDR-8083N, GDR-8084N
GDR-8161B, GDR-8162B, GDR-8163B, GDR-8164B
GCC-4160N, GCC-4240N, GCC-4243N, GCC-4244N, GCC-4247N
(GDR-8085N, GDR-8087N and GCC-4246N haven't tested yet, but probably supports to dump.)
(GCC-4241N and GCC-4242N supports to dump but many errors occurred.)
- PLEXTOR (No OEM Drive)
- DVD model: PX-760, PX-755, PX-716, PX-714, PX-712, PX-708, PX-704
- It's extremely slow.
- GC/Wii (Dev disc)
- PLEXTOR (No OEM Drive)
- DVD model: PX-760, PX-755, PX-716, PX-714, PX-712, PX-708, PX-704
- It's extremely slow.
- XBOX, XBOX 360
- TSSTcorp
- TS-H353A, TS-H352C, SH-D162C, SH-D162D, SH-D163A, SH-D163B (needs the firmware hacked by kreon)
- XBOX, XBOX 360: (Swappable drive) (This is the comfirmed drive list. Actually, many drive perhaps supports to swap)
- Hitachi-LG
- GSA-4163B
- HD-DVD: All supported drive
- BD: All supported drive (PS3 is only supported by [some mediatek drive](https://rpcs3.net/quickstart) or PS3 drive)
- You need to get the [3k3y ripper](https://web.archive.org/web/20150212063714/http://www.3k3y.com/) if you want to dump the data1/data2

### Not recommend
- CD: (Because it can't read lead-in and/or lead-out and can't exec 0xd8 opcode)
- PLEXTOR (OEM drive)
PX-8xx/PX-Bxxx(many maker), PX-751A(BenQ DW1670), PX-750A/UF(TEAC DV-W516E),
PX-740A/UF(BenQ DW1640), PX-6xx(Pioneer, Panasonic and so on),
PX-504A/UF(NEC ND-1100A), PX-2xx(Lite-on, BenQ, NEC), PX-1xx(Pioneer and so on),
PX-S2410TU(TEAC CD-W224E), PX-54TA(Mitsumi FX5400), PX-R24CS(RICOH RO-1420C),
- Other vendor
- Protected CD:
- SecuRom 3
- PLEXTOR
PX-4824A (ecc/edc of the 2 sector doesn't match)
- CDS100, CDS200, Label Gate, XCP
- PLEXTOR
PX-4824A (doesn't get the TOC correctly)

## How to use
See [wiki](https://github.com/saramibreak/DiscImageCreator/wiki)

## Supported Media
### Optical disc
CD
- Apple Macintosh
- Atari Jaguar CD
- Audio CD
- Bandai Playdia
- Bandai / Apple Pippin
- Commodore Amiga CD
- Commodore Amiga CD32
- Commodore Amiga CDTV
- Fujitsu FM Towns series
- Hasbro VideoNow
- IBM PC compatible
- Mattel HyperScan
- NEC PC-88 series CD
- NEC PC-98 series CD
- NEC PC-FX
- NEC PC Engine CD - TurboGrafx-CD
- Palm OS
- Panasonic 3DO Interactive Multiplayer
- Philips CD-i
- Photo CD
- Sega Mega-CD
- Sega Saturn
- Sharp X68000 CD
- SNK Neo Geo CD
- Sony PlayStation
- Sony PlayStation 2
- Tandy / Memorex Visual Information System
- Tao iKTV CD
- Tomy Kiss-Site CD
- Video CD
- VTech V.Flash

GD
- Namco / Sega / Nintendo Triforce
- Sega Dreamcast
- Sega Chihiro
- Sega Naomi

PD

DVD
- DVD-Video
- IBM PC compatible
- Sega Lindbergh
- Sony PlayStation 2
- VM Labs NUON DVD

Nintendo Optical Disc
- GameCube
- Wii

XBOX, XBOX 360

HD-DVD

BD
- Microsoft Xbox One
- Sony PlayStation 3
- Sony PlayStation 4
- Sony PlayStation 5

Protected Disc
- Cactus Data Shield 100 [fake TOC]
- Cactus Data Shield 200 [intentional C2 error]
- Cactus Data Shield 300
- CD Lock [characteristic track]
- LaserLock [no signal sector]
- LibCrypt [unique data on subchannel]
- Key2Audio [pregap]
- PhenoProtect [read errors?]
- Proring [no signal sector]
- ProtectCD-VOB [invalid sync]
- SafeDisc [bad(error) sector, intentional C2 error]
- SecuROM(v1 - v3) [unique data on subchannel]
- SmartE [duplicated msf]

### Magnetic storage media
- FD(3.5inch), SparQ, SuperDisk(120MB), ZIP(100MB, 250MB), jaz

### Magneto-Optical disk
- MD(Hi-MD format), MO(128MB, 230MB, 640MB)

### Memory card
- CompactFlash, Memory Stick, Secure Digital(SD) card, USB flash drive

## Probably Unsupported Disc
Protected Disc
- CodeLock [intentional C2 error, invalid sync]
=> Compared with CloneCD or CD Manipulator, plextor detects double errors.

## Unsupported Disc
Protected Disc
- SecuROM(v4.x or higher), StarForce, CD-Cops [recording density]
=> These needs DPM(Data position measurement). cue, ccd doesn't support DPM.
You need to use the [Alcohol 120/52%](http://www.alcohol-soft.com/) to store it,
- Alpha-ROM, ROOT, TAGES [duplicated(double, triple) sector]
=> It can read in reverse, but specifications are not decided in redump.org

Nintendo Wii U
=> This is a BD based disc, but I don't know the details.

## Created files information
- _[BuildDate].txt
command-line argument. "BuildDate" format is [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
- .bin
2352 bytes/sector binary image of the CD. This file is used to a cue file.
- (Track 00).bin / (Track 00)(Session 1).bin / (Track 00)(Session 2).bin
"Lead-in".
- (Track 01)(-LBA).bin
From -150 to -1 sectors of the track 01.
- (Track xx)(Pregap).bin
"Pregap" of the 1st track of the 2nd session.
- (Track AA).bin / (Track AA)(Session 1).bin / (Track AA)(Session 2).bin
"Lead-out".
- (Subs desync) (Track xx).bin
Track is separated with priority given to the subchannel control flag and/or indexes.
- .c2
c2 error binary image of the CD. 1 bit expresses 1 byte.
- .ccd
CD information. Original is [CloneCD](https://web.archive.org/web/20240501024626/https://www.redfox.bz/ja/clonecd.html)
- .cue
CD information. Original is [CDRWIN](https://web.archive.org/web/20111008191852/http://www.goldenhawk.com/cdrwin.htm)
- .dat
crc32/md5/sha1 of the bin/iso/img/scm/raw file(s). Original is [Clrmamepro](http://mamedev.emulab.it/clrmamepro/)
- .img
2352 bytes/sector binary image of the CD. This file is used to a ccd file.
- (Track all).img
a conbined file of the (Track 01)(-LBA).bin, (Track xx).bin and (Track AA).bin (Audio only).
- .iso
2048 bytes/sector binary image of the DVD/BD/GC/Wii/XBOX.
- .raw
2064 or 2384 bytes/sector scrambled binary image of the iso file.
- .scm
2352 bytes/sector scrambled binary image of the img file.
- .sub
subchannel data of the CD. This file is used to a ccd file.
- .toc
table of contents of the disc.
- _CDZ.bin
32,768 bytes binary image of the "Control Data Zone" in the Nintendo Dev disc (NR, RVT-R)
- _DMI.bin
2048 bytes binary image of the "Disc Manufacturing Information" (DMI) in the DVD
- _PFI.bin
2048 bytes binary image of the "Physical Format Information" (PFI) in the DVD
- _PIC.bin
4100 bytes binary image of the "Permanent Information and Control data" (PIC) in the BD
- _SS.bin
2048 bytes binary image of the "Security Sector" (SS) in the xbox/xbox 360
- _c2Error.txt
c2 error information which can be gotten by reading the CD.
- _disc.txt
disc information returned by the SCSI command.
- _drive.txt
drive information returned by the SCSI command.
- _mainError.txt
text data of error message which can be gotten by reading the CD.
- _mainInfo.txt
text data of the main sector. Original is [IsoBuster](https://www.isobuster.com/)
- _subError.txt
text data of the subchannel error.
- _subInfo.txt
text data of the subchannel when the track number changes.
- _subIntention.txt
text data of the subchannel for securom.
- _subReadable.txt
text data of the parsed sub channel file.
- _mdsReadable.txt
text data of the parsed mds file.
- _volDesc.txt
text data of the volume descriptor, path table and directory table.

## Development Tool
- Visual Studio 2022 (Visual C++ 2022)
- Windows build
- [Windows Driver Kit (WDK) 7.1.0](https://www.microsoft.com/en-us/download/details.aspx?id=11800)
- [Visual Leak Detector](https://kinddragon.github.io/vld/) (DEBUG build only)

- Linux build on Windows
- Windows Subsystem for Linux (WSL)
https://devblogs.microsoft.com/cppblog/targeting-windows-subsystem-for-linux-from-visual-studio/
https://docs.microsoft.com/en-us/windows/wsl/install-win10

- Linux
- GCC, make

- macOS
- Clang, make, MacOSX.sdk

## License & Copyright
See LICENSE
- About _external folder
prngcd.cpp
Copyright (c) 2015 Jonathan Gevaryahu. All rights reserved.

aes.cpp, aesni.cpp, platform_util.cpp, mbedtls folder
https://github.com/ARMmbed/mbedtls
Apache License Version 2.0
Copyright (C) 2006-2015, ARM Limited, All Rights Reserved

abgx360.cpp
http://abgx360.cc/
Copyright 2008-2012 by Seacrest

rijndael-alg-fst.cpp/h
Vincent Rijmen
Antoon Bosselaers
Paulo Barreto
This code is hereby placed in the public domain.

crc16
http://oku.edu.mie-u.ac.jp/~okumura/algo/ src\crc16t.c in algo.lzh
Copyright (c) 1991 Haruhiko Okumura

crc32
https://www.rfc-editor.org/info/rfc1952
Copyright (c) 1996 L. Peter Deutsch

md5
https://www.rfc-editor.org/info/rfc1321
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved.

sha1, sha224, sha256, sha384, sha512
https://www.rfc-editor.org/info/rfc6234
Copyright (c) 2011 IETF Trust and the persons identified as authors of the code. All rights reserved.

tinyxml2
https://github.com/leethomason/tinyxml2
zlib license
Original code by Lee Thomason (www.grinninglizard.com)

xxHash
https://github.com/Cyan4973/xxHash
BSD 2-Clause License
Copyright (c) 2012-2021 Yann Collet. All rights reserved.

- About Release_ANSI folder
driveOffset.txt.
http://www.accuraterip.com/driveoffsets.htm
Copyright 2023. All Rights Reserved.

DVDRawBruteforce - Drive Sheet - Sheet1
https://docs.google.com/spreadsheets/d/1pu3oXHRJ_qlyXrsHUyXOzD5mNp7dU8rgrfVuRBLyQFA/edit?pli=1#gid=0
https://github.com/hiddenpalaceorg/DVDRawBruteforce
Author: ehw (Hidden-Palace.org R&D)

E_WISE_W.EXE
http://kannegieser.net/veit/
Copyright (c) 2002. 7. 1 Veit Kannegieser

i6comp.exe
Copyright (c) Jun-16-2000 fOSSiL,Dec-27-2000 Morlac

## Disclaimer
Use this tool at own your risk.
Trouble in regard to the use of this tool, I can not guarantee any.

## Gratitude
Thank's redump.org users.