Commit Graph

3349 Commits

Author SHA1 Message Date
5d3b35e002 Redeclaring ImageInfo inside of every plugin made the struct
hidden, innaccesible and private, leaving the parent one as
	null forever. Corrected.
2014-08-28 19:29:18 +01:00
7b15a709bd Implement "printhex" verb to print a/several sector(s) as
hexadecimal values on console.
2014-08-28 19:27:16 +01:00
3229808c73 All struct members should be public (and removes warning) 2014-08-28 19:03:32 +01:00
94316131d2 Code cleanup. 2014-08-28 19:02:45 +01:00
3ae937ef60 Bump version to 2.2 v2.2 2014-08-28 18:27:44 +01:00
8c358a5084 Workaround when HFS and Apple Partition Map where created on a
512 byte/sector device (like a HDD) but are present on a 2048
	byte/sector device (like a CD). Solves #1. HFS+ should not be
	affected (even if wrapped).
2014-08-28 18:26:14 +01:00
2f894c5461 Correct typo 2014-08-28 18:12:13 +01:00
41fe7bc575 Empty list cannot be called Contains() it seems, appears as
null.
2014-08-28 17:38:41 +01:00
6e563fb135 * DiscImageChef/DiscImageChef.csproj:
* DiscImageChef/Checksums/ReedSolomon.cs:
	  Added ReedSolomon code.

	* DiscImageChef/Checksums/CDChecksums.cs:
	  Detect pack mode+item and if in debug show it.
2014-08-28 15:00:30 +01:00
5089719204 Implement standard CD subchannel packets. 2014-08-25 19:13:25 +01:00
168b22f869 Added static CCITT-CRC16 lookup table.
Subchannel Q is big-endian.
	Detect if a CD-Text pack is really a CD-Text pack to not
	confuse with CD+G packs.
	An audio disc can have subchannel correct but channel null.
	Viceversa can happen. Those should be considered correct and
	not unknown.
2014-08-25 17:20:05 +01:00
3a03e3121e Implements verification on all currently supported disk
images.
	Implements DC42 CRC calculation.
	Calculates TeleDisk CRC for disk sectors.
	Resolves #2 and bumps version to 2.1.
v2.1
2014-08-25 05:00:25 +01:00
fd60149c37 * DiscImageChef/Checksums/CDChecksums.cs:
Implement CD EDC and ECC checks.

	* DiscImageChef/Checksums/CRC16Context.cs:
	  Implements CRC16.

	* DiscImageChef/Checksums/CRC32Context.cs:
	* DiscImageChef/Checksums/CRC64Context.cs:
	  Adds support to calculate custom CRCs on specified buffer.

	* DiscImageChef/DiscImageChef.csproj:
	  DiscImageChef/Checksums/CDChecksums.cs
2014-08-25 04:54:45 +01:00
894d89a02c Corrected typo. 2014-08-24 17:49:16 +01:00
ce8fd47fe6 Converted ImageInfo in public structure, use it to cache and
interchange information about disc image.
2014-08-24 17:46:29 +01:00
64a687e81a Implements support for Nero Burning ROM disc images, resolves
#54
2014-07-09 19:52:00 +01:00
a6c1d75293 Links LICENSE, README.md and TODO files to out-of-project. 2014-07-09 19:51:07 +01:00
902e74c92f Seems that sometimes RootDirectoryLocation is being
incorrectly read, don't jump if value is oversized.
	Added debug information for IP.BIN parsers.
	Corrected Dreamcast IP.BIN parser.
2014-07-09 19:50:16 +01:00
679e8f8070 Checks there is a minimum of sectors. 2014-07-09 19:49:14 +01:00
00b0e6f455 Updated root README v2.0 2014-07-03 18:39:24 +01:00
259821c4b6 Bump to version 2.0 2014-07-03 18:36:43 +01:00
7bc0452eb9 Added options for CRC64, RMD160, SHA256, SHA384 and SHA512
Removed option for fuzzy, not yet implemented
2014-07-03 18:36:14 +01:00
e7b40b4725 Added ImageInfo structure 2014-07-03 18:35:35 +01:00
1e9cd0daec Implemented 'checksum' verb with CRC32, CRC64, RIPEMD160, MD5,
SHA1, SHA256, SHA384, SHA512
2014-07-03 18:35:19 +01:00
4699522a40 Implemented 'compare' verb 2014-07-03 18:34:43 +01:00
74ca0f9f90 Added header
Exit gracefully
2014-07-03 18:34:19 +01:00
7f2637d7cc Added header 2014-07-03 18:33:12 +01:00
b7167adc79 Add support for "--debug" on 'formats' verb 2014-07-03 18:32:58 +01:00
06c327c4e2 Added header 2014-07-03 18:32:34 +01:00
5bf43aad7e Added header 2014-07-03 18:32:03 +01:00
3cbb84be7f Close files, GC can take too long and the OS will trash us. 2014-07-03 18:31:27 +01:00
ded61b9f99 Moved image format detection out of "analyze" verb. 2014-06-16 02:07:23 +01:00
dfbf818cf4 Rewording plugin type names. 2014-06-16 01:51:26 +01:00
c2d5279259 Add verbose mode for "formats" verb. 2014-06-16 01:50:49 +01:00
daf7fbf176 * DiscImageChef/Main.cs:
* DiscImageChef/Commands/Verify.cs:
	* DiscImageChef/Commands/Formats.cs:
	* DiscImageChef/Commands/Analyze.cs:
	* DiscImageChef/Commands/Compare.cs:
	* DiscImageChef/Commands/Commands.cs:
	* DiscImageChef/Commands/Checksum.cs:
	* DiscImageChef/DiscImageChef.csproj:
	  Move all commands to separate classes.

	* DiscImageChef/AssemblyInfo.cs:
	  Let mono create random revision and build.

	* DiscImageChef/Options.cs:
	  Make options public
2014-06-16 01:45:04 +01:00
0d979e4b2f * DiscImageChef/Options.cs:
Added currently implemented and in-process of implementing
	  options.

	* DiscImageChef/AssemblyInfo.cs:
	  Completed AssemblyInfo for command line parser to build help
	  upon it.

	* DiscImageChef/DiscImageChef.csproj:
	  Add gsscoder's Command Line Parser Library 1.9.71.2.

	* DiscImageChef/Main.cs:
	  Moved commands to separete functions, use command line
	  parser
2014-06-16 00:41:47 +01:00
e2843bb0bf Add gsscoder's Command Line Parser Library 1.9.71.2. 2014-06-15 23:49:26 +01:00
ed86f9742b Rename project folder. 2014-06-15 23:41:50 +01:00
4e888f175c Rename project, solution, application, namespace. 2014-06-15 23:39:34 +01:00
2e865dc8ca * Apple_Disk_Image.html: Wikipedia entry for UDIF, documents NDIF
(yes, it's incorrectly named).

* DMG.html: From http://newosxbook.com documents Apple UDIF (aka DMG)
disc image.

* FDISPEC.pdf: Documents FDI disc image.

* NRG_(file_format).html: Wikipedia entry for NRG disc image format,
documents fields.

* Virtual Hard Disk Format Spec_10_18_06.doc: Documents
VirtualPC/Hyper-V vhd and vhdx.

* Windows Imaging File Format.rtf: Documents Microsoft WIM disc image.

* qcow-image-format-version-1.html: Documents QCOW image format.

* qcow-image-format.html: Documents QCOW2 image format.

* vmdk_specs.pdf: Documents VMWare disc images.
2014-06-15 23:10:54 +01:00
d780932a0a Documents Acorn ADFS. 2014-06-08 01:31:21 +01:00
19d7d0b460 * FileSystemIDandChk/Main.cs:
partitionOffset should be the sector, not the byte

	* FileSystemIDandChk/PartPlugins/MBR.cs:
	  Corrected typos on field offsets

	* FileSystemIDandChk/Plugins/FAT.cs:
	* FileSystemIDandChk/Plugins/ISO9660.cs:
	  Corrected typo

	* FileSystemIDandChk/Plugins/ext2FS.cs:
	  Superblock block_size is shift of base block size (1024
	  bytes)
2014-06-08 00:43:49 +01:00
a2f79a3295 * Ecma-119.pdf: ECMA-119 documents ISO9660 filesystems.
* FD-Soft.html: Documents Atari FAT variations.

* File_Manager.pdf: Documents HFS and Apple Partition Map.

* hm2def.h: Documentation for ODS.

* td0notes.txt: TeleDisk format information.

* tn1150.html: Documents HFS+.

* README.md: Information about this folder.
2014-06-07 23:47:48 +01:00
e8cdd9bb5f * docs/floppies.ods:
Added table with known floppy formats and their geometries.

	* FileSystemIDandChk/Plugins/FAT.cs:
	* FileSystemIDandChk/DateHandlers.cs:
	  Prettify debug output.
2014-06-07 23:38:42 +01:00
0024671731 * FileSystemIDandChk/TODO:
* FileSystemIDandChk/Main.cs:
	* FileSystemIDandChk/README.md:
	* FileSystemIDandChk/FileSystemIDandChk.csproj:
	* FileSystemIDandChk/ImagePlugins/ZZZRawImage.cs:
	  Adds support for RAW (sector by sector) disk images.

	* FileSystemIDandChk/ImagePlugins/ImagePlugin.cs:
	  Add definitions for BD-R, BD-RE XL and FDFORMAT disk types.

	* FileSystemIDandChk/ImagePlugins/TeleDisk.cs:
	  Add bounding checks on ReadSectors()
2014-06-07 23:32:59 +01:00
109ea16b7c Hardlink TODO 2014-06-07 17:42:56 +01:00
922c028b12 * FileSystemIDandChk/ImagePlugins/CDRWin.cs:
* FileSystemIDandChk/ImagePlugins/DiskCopy42.cs:
	  No need to call them "handler"s.

	* FileSystemIDandChk/Main.cs:
	  DEBUG lines should only appear while on debug mode

	* FileSystemIDandChk/PartPlugins/MBR.cs:
	  Do not check MBR presence on less than 512 bytes/sector
	  disks

	* FileSystemIDandChk/Plugins/FAT.cs:
	  Get cleaner output, add newline.

	* FileSystemIDandChk/Plugins/ODS.cs:
	  Do not check FILES-11 (ODS) presence on less than 512
	  bytes/sector disks
2014-06-07 17:32:14 +01:00
088a8dd141 * FileSystemIDandChk/Plugins/FAT.cs:
Modified logic to work around FAT12 predating DOS 2.0.
	  Limiting it to disks supported by 86-DOS and DOS 1.x, yet
	  probably it will give false positives.

	* FileSystemIDandChk/PrintHex.cs:
	* FileSystemIDandChk/FileSystemIDandChk.csproj:
	  Added function to print hexadecimal output of sector, useful
	  for debugging with compressed disk images.
2014-06-07 17:21:40 +01:00
e6aeb84122 There can be empty tracks, ignore them. 2014-06-07 15:32:35 +01:00
6874ea8de2 Hardlinked README.md from root to project's 2014-06-07 05:59:25 +01:00