First release
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -149,3 +149,8 @@ $RECYCLE.BIN/
|
||||
|
||||
# Mac crap
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
|
||||
# GCC files
|
||||
dvdtoimg
|
||||
*.o
|
||||
|
||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "libcdio"]
|
||||
path = libcdio
|
||||
url = git://github.com/claunia/libcdio-osx
|
||||
18
Makefile
Normal file
18
Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
OBJS = dvdtoimg.o
|
||||
CC = g++
|
||||
DEBUG = -g
|
||||
CFLAGS = -Wall -O0 -W -c $(DEBUG)
|
||||
LFLAGS = -Wall $(DEBUG)
|
||||
LIBS = -lm -lcdio
|
||||
|
||||
dvdtoimg : $(OBJS)
|
||||
$(CC) $(LFLAGS) $(LIBS) $(OBJS) -o dvdtoimg
|
||||
|
||||
dvdtoimg.o : dvdtoimg.cpp
|
||||
$(CC) $(CFLAGS) dvdtoimg.cpp
|
||||
|
||||
clean:
|
||||
\rm *.o dvdtoimg
|
||||
|
||||
tar: $(OBJS)
|
||||
tar jcfv dvdtoimg.tbz readme.txt Makefile dvdtoimg
|
||||
1043
dvdtoimg.cpp
Normal file
1043
dvdtoimg.cpp
Normal file
File diff suppressed because it is too large
Load Diff
1
libcdio
Submodule
1
libcdio
Submodule
Submodule libcdio added at c027fff67b
33
readme.txt
Normal file
33
readme.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
DVDToIMG v1.0.
|
||||
21 Oct 2013.
|
||||
Written Natalia Portillo <natalia@claunia.com>
|
||||
Based on Truman's CDToImg
|
||||
|
||||
This little program reads a whole DVD-ROM, dumping Physical Format Information,
|
||||
Copyright Management Information, Disc Manufacturing Information and Burst
|
||||
Cutting Area.
|
||||
|
||||
This writes the user data as an ISO file (a bunch of decoded sectors) and the
|
||||
rest of the DVD information as given by the drive, PMI.BIN, CMI.BIN, DMI.BIN
|
||||
and BCA.BIN respectively.
|
||||
|
||||
In a future version this will calculate the hashes (CRC32, MD5 and SHA1) on-the-fly.
|
||||
|
||||
This code uses:
|
||||
- libcdio as to cross-platform-esque send MMC commands to CD/DVD/BD drives.
|
||||
- The SCSI codes used in this source were taken from MMC6.
|
||||
- SCSI READ (12) and READ CAPACITY commands.
|
||||
- MMC READ DISC STRUCTURE command.
|
||||
- Determine errors, retrieve and decode a few sense data.
|
||||
|
||||
This will not work with CD discs. May work with BD discs, not tested, but shouldn't.
|
||||
|
||||
You need to have libcdio, development headers, to compile, and binary library to use.
|
||||
|
||||
cdtoimg <drive path> <outputfile>
|
||||
|
||||
|
||||
History
|
||||
-------
|
||||
v1.0 - 21 Oct 2013
|
||||
- First release.
|
||||
Reference in New Issue
Block a user