<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Redump Forum — Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
	<link rel="self" href="http://forum.redump.org/feed/atom/topic/60905/" />
	<updated>2025-03-09T14:34:17Z</updated>
	<generator version="1.4.4">PunBB</generator>
	<id>http://forum.redump.org/topic/60905/need-help-consistent-different-dumps-dic-vs-redumper/</id>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124882/#p124882" />
			<content type="html"><![CDATA[<p>By the way, can anyone upload a sector without sync header of a cdi disc? I want to know if it&#039;s &quot;mode2 form1&quot; or &quot;mode2 form2&quot; or &quot;mode2 no edc&quot;.</p>]]></content>
			<author>
				<name><![CDATA[sarami]]></name>
				<uri>http://forum.redump.org/user/12356/</uri>
			</author>
			<updated>2025-03-09T14:34:17Z</updated>
			<id>http://forum.redump.org/post/124882/#p124882</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124851/#p124851" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>sarami wrote:</cite><blockquote><p>It is nonsense to change behavior depending on CD-i or not.</p></blockquote></div><p>Good luck and all the best!</p>]]></content>
			<author>
				<name><![CDATA[superg]]></name>
				<uri>http://forum.redump.org/user/62921/</uri>
			</author>
			<updated>2025-03-09T00:26:20Z</updated>
			<id>http://forum.redump.org/post/124851/#p124851</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124845/#p124845" />
			<content type="html"><![CDATA[<p>I decided to simply check edc/ecc if sync or mode was irregular. It is nonsense to change behavior depending on CD-i or not.</p><p>If mode bit1 is 0 and bit0 is 1, it deems to the mode1 and calc edc/ecc.<br />If mode bit1 is 1 and bit0 is 0, it deems to the mode2 form1/2 and calc edc/ecc.<br />If edc/ecc is correct, the sector is unscrambled, otherwise is not unscrambled.</p><p>If mode bit1 is 0 and bit0 is 0, it deems to the mode0 and the sector is unscrambled if sync and msf is correct.<br />If mode bit1 is 1 and bit0 is 1, it deems to unknown and the sector is not unscrambled.</p><p>The result would be the same as redumper&#039;s test(01..46), perhaps.</p>]]></content>
			<author>
				<name><![CDATA[sarami]]></name>
				<uri>http://forum.redump.org/user/12356/</uri>
			</author>
			<updated>2025-03-08T17:06:42Z</updated>
			<id>http://forum.redump.org/post/124845/#p124845</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124843/#p124843" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>reentrant wrote:</cite><blockquote><p>I don&#039;t know if such rule (valid for CDi) should be applicable to all systems (especially IBM PC)...</p></blockquote></div><p>This rule is not affecting IBM PC at all. </p><div class="quotebox"><cite>reentrant wrote:</cite><blockquote><p>Small suggestion: is it possible to emit some metadata describing mastering error of a sector - some info describing what&#039;s faulty and how it was corrected - for the purpose of being able to reverse repair operation (to have a possibility of creating unmodified dump)?</p></blockquote></div><p>It&#039;s possible but I don&#039;t think it&#039;s useful for general public. Descrambling is lossless operation and you can always restore any sector how you want, especially if descrambling algorithm is consistent and easy to understand. <br />If you really care about having unmodified dump, preserve .scram, that will never change.</p>]]></content>
			<author>
				<name><![CDATA[superg]]></name>
				<uri>http://forum.redump.org/user/62921/</uri>
			</author>
			<updated>2025-03-08T12:10:17Z</updated>
			<id>http://forum.redump.org/post/124843/#p124843</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124842/#p124842" />
			<content type="html"><![CDATA[<p>I don&#039;t know if such rule (valid for CDi) should be applicable to all systems (especially IBM PC)...</p><p>Small suggestion: is it possible to emit some metadata describing mastering error of a sector - some info describing what&#039;s faulty and how it was corrected - for the purpose of being able to reverse repair operation (to have a possibility of creating unmodified dump)?</p>]]></content>
			<author>
				<name><![CDATA[reentrant]]></name>
				<uri>http://forum.redump.org/user/62415/</uri>
			</author>
			<updated>2025-03-08T08:09:47Z</updated>
			<id>http://forum.redump.org/post/124842/#p124842</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124833/#p124833" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>sarami wrote:</cite><blockquote><p>To:superg<br />Thanks for the answer. I still have a question.<br />Redumper unscrambles the sector if sync is broken but msf and mode are normal. Why? Optical drive treats the broken sync sector as error, do not unscramble.</p></blockquote></div><p>Yes, this again fixes some bad CDi masterings because they actually store data sectors without sync headers.</p>]]></content>
			<author>
				<name><![CDATA[superg]]></name>
				<uri>http://forum.redump.org/user/62921/</uri>
			</author>
			<updated>2025-03-08T02:19:36Z</updated>
			<id>http://forum.redump.org/post/124833/#p124833</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124823/#p124823" />
			<content type="html"><![CDATA[<p>To:superg<br />Thanks for the answer. I still have a question.<br />Redumper unscrambles the sector if sync is broken but msf and mode are normal. Why? Optical drive treats the broken sync sector as error, do not unscramble.</p>]]></content>
			<author>
				<name><![CDATA[sarami]]></name>
				<uri>http://forum.redump.org/user/12356/</uri>
			</author>
			<updated>2025-03-07T14:49:46Z</updated>
			<id>http://forum.redump.org/post/124823/#p124823</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124819/#p124819" />
			<content type="html"><![CDATA[<p>Unscrambling has always been a problem for me. It&#039;d be great if both tools were 100% correct about this:<br /><a href="https://github.com/superg/redumper/tree/main/tests/unscramble">https://github.com/superg/redumper/tree … unscramble</a></p><p>Sarami: any chance you could adapt your unscramber code to pass all of those tests?</p>]]></content>
			<author>
				<name><![CDATA[reentrant]]></name>
				<uri>http://forum.redump.org/user/62415/</uri>
			</author>
			<updated>2025-03-07T11:53:17Z</updated>
			<id>http://forum.redump.org/post/124819/#p124819</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124817/#p124817" />
			<content type="html"><![CDATA[<p>It&#039;s a match ! Well done !</p><p>Here are the logs if you need to check anything : <a href="https://mega.nz/file/gDIEkYRI#x2jyworhwPWWjALzKMiVWVuOWzE-9AW5mwkAqricv3I">https://mega.nz/file/gDIEkYRI#x2jyworhw … wkAqricv3I</a></p>]]></content>
			<author>
				<name><![CDATA[Urk]]></name>
				<uri>http://forum.redump.org/user/63857/</uri>
			</author>
			<updated>2025-03-07T07:26:52Z</updated>
			<id>http://forum.redump.org/post/124817/#p124817</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124810/#p124810" />
			<content type="html"><![CDATA[<p>redumper build_490 fixes the incorrect split for your Heroes 2, feel free to redump and it should match DIC.</p>]]></content>
			<author>
				<name><![CDATA[superg]]></name>
				<uri>http://forum.redump.org/user/62921/</uri>
			</author>
			<updated>2025-03-07T02:07:11Z</updated>
			<id>http://forum.redump.org/post/124810/#p124810</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124809/#p124809" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>sarami wrote:</cite><blockquote><div class="quotebox"><blockquote><p>01_invalid_sync.0.pass<br />10_invalid_mode_zeroed_intermediate.0.pass<br />11_invalid_mode_non_zeroed_intermediate.0.pass<br />12_invalid_mode_non_zeroed_intermediate_last_byte.0.pass</p></blockquote></div><p>Can you explain from the CD specifications why this sector is unscrambled?</p></blockquote></div><p>The only thing I know of that comes from the CD specification is that if there is sync header and track is data, it needs descramble. Most of these test cases came from bad mastering cases such as early masterings and Philips CDi. </p><div class="quotebox"><cite>sarami wrote:</cite><blockquote><div class="quotebox"><blockquote><p>03_mode0_zeroed_data.0.pass<br />04_mode0_non_zeroed_data.0.pass<br />05_mode0_non_zeroed_data_last_byte.0.pass</p></blockquote></div><p>User area of the mode 0 sector is all zero. It&#039;s CD specifications. But I confirmed that other software also treats as no error sector. I&#039;ll fix this case.</p></blockquote></div><p>Same is about mode0 sectors. Specs say that those should be empty, but in reality I see discs where </p><div class="quotebox"><cite>sarami wrote:</cite><blockquote><div class="quotebox"><blockquote><p>16_msf_mismatch_invalid_sync.42.fail<br /> :<br /> :<br />45_no_msf_invalid_mode_no_intermediate_max.null.fail</p></blockquote></div><p>What is the &quot;msf_mismatch&quot; and what is the &quot;no_msf&quot;? It seems msf of test data is normal (00:02:00).</p></blockquote></div><p>Each filename has a number suffix that indicates the expected LBA. When redumper descrambles, it knows the position of of the sector and if it matches, it&#039;s the strong check for the successful descramble.<br />So .42 means that expected LBA of the sector contents is 42, on the other hand .null means that there is no positional information.<br />For the details see <a href="https://github.com/superg/redumper/blob/main/tests/tests.cc#L187">https://github.com/superg/redumper/blob … ts.cc#L187</a></p><p>The bottom line is, DIC never followed CD specs in the first place (always descramble if there is sync header and it&#039;s data track). Long time ago I&#039;ve been checking your descramble code and you have a lot of logic that checks if padding is empty, if mode is correct and some other things. So the current status quo is to have clean dumps without garbage and redumper is doing exactly that. The test cases were created solely to make sure that any subsequent redumper code change is not affecting whole redump.org database.</p>]]></content>
			<author>
				<name><![CDATA[superg]]></name>
				<uri>http://forum.redump.org/user/62921/</uri>
			</author>
			<updated>2025-03-06T23:29:06Z</updated>
			<id>http://forum.redump.org/post/124809/#p124809</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124794/#p124794" />
			<content type="html"><![CDATA[<p>If you have the time to, submitting logs from both tools is good. But it is not required.</p>]]></content>
			<author>
				<name><![CDATA[Deterous]]></name>
				<uri>http://forum.redump.org/user/63557/</uri>
			</author>
			<updated>2025-03-06T13:11:38Z</updated>
			<id>http://forum.redump.org/post/124794/#p124794</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124793/#p124793" />
			<content type="html"><![CDATA[<p>Ah, ok !</p><p>So, I&#039;ll Keep (And I&#039;ll submit) Redumper dumps of the two others games (iM1A2 Abrams &amp; Take No Prisoners)</p><p>Thanks both of you guys, for your time, informations and advices !</p>]]></content>
			<author>
				<name><![CDATA[Urk]]></name>
				<uri>http://forum.redump.org/user/63857/</uri>
			</author>
			<updated>2025-03-06T12:34:08Z</updated>
			<id>http://forum.redump.org/post/124793/#p124793</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124791/#p124791" />
			<content type="html"><![CDATA[<p>The error count is still 0, as per redump.org rules around what errors get counted (invalid sync sectors are not counted in the error count). The only change is the index 1 position for two tracks.</p>]]></content>
			<author>
				<name><![CDATA[Deterous]]></name>
				<uri>http://forum.redump.org/user/63557/</uri>
			</author>
			<updated>2025-03-06T12:00:51Z</updated>
			<id>http://forum.redump.org/post/124791/#p124791</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Need Help - Consistent Different Dumps - DIC vs ReDumper]]></title>
			<link rel="alternate" href="http://forum.redump.org/post/124790/#p124790" />
			<content type="html"><![CDATA[<p>Deterous, I think you forgot to update the Error Count on the page <a href="http://redump.org/disc/118659/">http://redump.org/disc/118659/</a></p><p>Error Count : 2</p>]]></content>
			<author>
				<name><![CDATA[Urk]]></name>
				<uri>http://forum.redump.org/user/63857/</uri>
			</author>
			<updated>2025-03-06T06:46:31Z</updated>
			<id>http://forum.redump.org/post/124790/#p124790</id>
		</entry>
</feed>
