Commit Graph

487 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 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.
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
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