<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Redump Forum — CDArchive - Improved support for ring based protections]]></title>
		<link>http://forum.redump.org/topic/61089/cdarchive-improved-support-for-ring-based-protections/</link>
		<atom:link href="http://forum.redump.org/feed/rss/topic/61089/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in CDArchive - Improved support for ring based protections.]]></description>
		<lastBuildDate>Mon, 26 May 2025 21:49:57 +0000</lastBuildDate>
		<generator>PunBB 1.4.4</generator>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/127235/#p127235</link>
			<description><![CDATA[<p>Ok, I&#039;m glad it worked.</p>]]></description>
			<author><![CDATA[null@example.com (reentrant)]]></author>
			<pubDate>Mon, 26 May 2025 21:49:57 +0000</pubDate>
			<guid>http://forum.redump.org/post/127235/#p127235</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/127232/#p127232</link>
			<description><![CDATA[<p>This seems to have worked. The sectors are saved with the correct ECC Q data. I&#039;m not having any issues with MSF section of the header that you mentioned.</p><p>I&#039;m not sure what happened when dumping the disc initially, but apparently the drive told redumper that the C2 error was corrected despite the ECC Q parity data being corrupted.</p>]]></description>
			<author><![CDATA[null@example.com (StriderSkorpion)]]></author>
			<pubDate>Mon, 26 May 2025 20:17:49 +0000</pubDate>
			<guid>http://forum.redump.org/post/127232/#p127232</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/127212/#p127212</link>
			<description><![CDATA[<p>Added new command line switch:<br />extrforceecc: 0/1 - this option forces correction of ECC even when EDC is correct. Old version skipped ECC correction when EDC was ok. Default value is 0. </p><p>But... after looking at: <a href="http://forum.redump.org/topic/62503/possible-bug-or-quirk-with-redumper/">http://forum.redump.org/topic/62503/pos … -redumper/</a> @ sector 25701.bad things get complicated. The bad sector internally gets corrected but it zeroes out M/S/F/Track bytes. It looks like ECC is deliberately corrupted. After all even with extrforceecc = 1, repaired sector is not merged into the image.</p><p>So, this version does what you want but not for this specific sector...<br />What do you think about all of this?</p>]]></description>
			<author><![CDATA[null@example.com (reentrant)]]></author>
			<pubDate>Mon, 26 May 2025 19:02:34 +0000</pubDate>
			<guid>http://forum.redump.org/post/127212/#p127212</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/127016/#p127016</link>
			<description><![CDATA[<p>I have been using this version of CDArchive to get some sectors from problematic discs and noticed that it won&#039;t save the sector if the data section matches, but the ECC Q doesn&#039;t. The problem is in the .bin file, as verified by scanning with CDMage. Would it be possible for CDArchive to (force) save the sector in such cases?</p>]]></description>
			<author><![CDATA[null@example.com (StriderSkorpion)]]></author>
			<pubDate>Sat, 24 May 2025 13:57:52 +0000</pubDate>
			<guid>http://forum.redump.org/post/127016/#p127016</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/125356/#p125356</link>
			<description><![CDATA[<p>HandleC2:<br />ERROR_ACCESS_DENIED - error in ECC logic (too many errors)<br />ERROR_INVALID_PARAMETER - error in ECC logic (parameters checking for Python function)<br />ERROR_INVALID_DATA - error in ECC logic (Python function returned not enough data)</p><p>The last two error codes shouldn&#039;t happen - these are sanity checks.</p><p>Under normal circumstances HandleC2 returns either 0 if repair is successful or ERROR_ACCESS_DENIED (5) when it fails.<br />All return values are the same as system error codes.</p>]]></description>
			<author><![CDATA[null@example.com (reentrant)]]></author>
			<pubDate>Sat, 05 Apr 2025 21:36:37 +0000</pubDate>
			<guid>http://forum.redump.org/post/125356/#p125356</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/125351/#p125351</link>
			<description><![CDATA[<div class="quotebox"><cite>reentrant wrote:</cite><blockquote><p>All calls to Python functions are enclosed in try/catch blocks (boost::python::error_already_set) with retVal set to ERROR_ACCESS_DENIED - this value is chosen arbitrarily. What do you mean by &quot;comment-out&quot;?</p></blockquote></div><p>Doxygen style is useful for me.<br /></p><div class="codebox"><pre><code>/**
 * @brief  -&gt; Description of this function
 *
 * @param  -&gt; Description of parameter
 * @return -&gt; Description what value is returned
 */
typedef DWORD (WINAPI *pInitC2)(PC2_CORRECTOR_INIT c2InitBlock);</code></pre></div><div class="quotebox"><cite>reentrant wrote:</cite><blockquote><p>In case sector cannot be repaired (for example because corruption is too big, exception will be thrown, retVal = 5).</p></blockquote></div><p>Is the return value of HandleC2 only 0 and 5? It seems that same as system error code(<a href="https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-">https://learn.microsoft.com/en-us/windo … es--0-499-</a>)</p><div class="quotebox"><cite>reentrant wrote:</cite><blockquote><p>HandleC2 can only handle data sectors (data sectors with ECC blocks, mode 2 sectors without ECC are not supported)...</p></blockquote></div><p>Ok. This dll can repair mode 1 and mode 2 form 1 sector.</p>]]></description>
			<author><![CDATA[null@example.com (sarami)]]></author>
			<pubDate>Sat, 05 Apr 2025 12:39:33 +0000</pubDate>
			<guid>http://forum.redump.org/post/125351/#p125351</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/125349/#p125349</link>
			<description><![CDATA[<p>All calls to Python functions are enclosed in try/catch blocks (boost::python::error_already_set) with retVal set to ERROR_ACCESS_DENIED - this value is chosen arbitrarily. What do you mean by &quot;comment-out&quot;?</p><p>In case sector cannot be repaired (for example because corruption is too big, exception will be thrown, retVal = 5).</p><p>HandleC2 can only handle data sectors (data sectors with ECC blocks, mode 2 sectors without ECC are not supported)...</p>]]></description>
			<author><![CDATA[null@example.com (reentrant)]]></author>
			<pubDate>Fri, 04 Apr 2025 20:41:37 +0000</pubDate>
			<guid>http://forum.redump.org/post/125349/#p125349</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/125318/#p125318</link>
			<description><![CDATA[<div class="quotebox"><cite>reentrant wrote:</cite><blockquote><p>Hmmm. Maybe commit the codes to github branch and I&#039;ll debug it locally? Something is not right...</p></blockquote></div><p>Thanks, but I&#039;ll try to do it myself a little more.</p><p>Could you upload C2.hpp with all return value of InitC2 and HandleC2 in the comment-out? When boost::python::error_already_set occurs, HandleC2 returns 5.</p><p>Edit:<br />Can HandleC2 only handle a data sector? boost::python::error_already_set occurs when audio sector with c2 error is set.</p>]]></description>
			<author><![CDATA[null@example.com (sarami)]]></author>
			<pubDate>Thu, 03 Apr 2025 05:15:19 +0000</pubDate>
			<guid>http://forum.redump.org/post/125318/#p125318</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/125306/#p125306</link>
			<description><![CDATA[<p>Hmmm. Maybe commit the codes to github branch and I&#039;ll debug it locally? Something is not right...</p>]]></description>
			<author><![CDATA[null@example.com (reentrant)]]></author>
			<pubDate>Wed, 02 Apr 2025 20:34:03 +0000</pubDate>
			<guid>http://forum.redump.org/post/125306/#p125306</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/125282/#p125282</link>
			<description><![CDATA[<p>The following was tried in debug mode of Visual Studio.<br /></p><div class="quotebox"><cite>reentrant wrote:</cite><blockquote><p>1) After InitC2 function is called pause the app under debugger. Use tool like ProcessExplorer and view process environment variables. Check how PYTHONHOME looks like.</p></blockquote></div><p>I confirmed that PYTHONHOME is set correctly using ProcessExplorer and HandleC2 func throws the exception in the &quot;boost::python::error_already_set&quot;.<br /></p><div class="quotebox"><cite>reentrant wrote:</cite><blockquote><p>2) In the attachment I put a DLL without a call to SetEnvironmentVariableW. Try to call SetEnvironmentVariableW / SetEnvironmentVariableA with path to your Python install directory (C:\Users\xxx\AppData\Local\Programs\Python\Python312-32) before InitC2 function</p></blockquote></div><p>If &quot;C:\Users\xxx\AppData\Local\Programs\Python\Python312-32&quot; is set using SetEnvironmentVariable, HandleC2 func throws the exception in the &quot;boost::python::error_already_set&quot;.</p><p>If incorrect directory is set, InitC2 func returns the message, &quot;Fatal Python error: failed to get the Python codec of the filesystem encoding&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (sarami)]]></author>
			<pubDate>Tue, 01 Apr 2025 04:55:43 +0000</pubDate>
			<guid>http://forum.redump.org/post/125282/#p125282</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/125276/#p125276</link>
			<description><![CDATA[<p>&gt; Btw, python312.dll and boost_python312-vc143-mt-x32-1_87.dll also need to call using LoadLibrary?</p><p>No, these DLLs are loaded automatically.</p><p>I can trigger this message (Could not find platform independent libraries &lt;prefix&gt;) when PYTHONHOME variable is not set by SetEnvironmentVariableW or when it is set to the wrong path. There are few options left.</p><p>1) After InitC2 function is called pause the app under debugger. Use tool like ProcessExplorer and view process environment variables. Check how PYTHONHOME looks like.</p><p>2) In the attachment I put a DLL without a call to SetEnvironmentVariableW. Try to call SetEnvironmentVariableW / SetEnvironmentVariableA with path to your Python install directory (C:\Users\xxx\AppData\Local\Programs\Python\Python312-32) before InitC2 function. You can also try setting system wide / user wide PYTHONHOME variable and check which case works.</p>]]></description>
			<author><![CDATA[null@example.com (reentrant)]]></author>
			<pubDate>Mon, 31 Mar 2025 19:04:01 +0000</pubDate>
			<guid>http://forum.redump.org/post/125276/#p125276</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/125272/#p125272</link>
			<description><![CDATA[<p>It seems that PYTHONHOME is set.<br /></p><div class="codebox"><pre><code>PYTHONHOME: C:\Users\xxx\AppData\Local\Programs\Python\Python312-32
Could not find platform independent libraries &lt;prefix&gt;
Need to reread sector:  13183LBA: 13183, C2 error count; 0
Need to reread sector:  13201Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 13201, C2 error count; 0
Need to reread sector:  13211Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 13211, C2 error count; 0
Need to reread sector:  13220LBA: 13220, C2 error count; 0
Need to reread sector:  13229Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 13229, C2 error count; 0
Need to reread sector:  13257Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 13257, C2 error count; 0
Need to reread sector:  13266LBA: 13266, C2 error count; 0
Need to reread sector:  13267Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 13267, C2 error count; 0
Need to reread sector:  13276Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 13276, C2 error count; 0
Need to reread sector:  13285Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 13285, C2 error count; 0
Need to reread sector:  13294LBA: 13294, C2 error count; 0
Need to reread sector:  13295Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 13295, C2 error count; 0
Need to reread sector:  13313Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 13313, C2 error count; 0
Need to reread sector:  99785LBA: 99785, C2 error count; 0
Need to reread sector:  99786Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 99786, C2 error count; 0
Need to reread sector:  99880Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 99880, C2 error count; 0
Need to reread sector:  99892LBA: 99892, C2 error count; 0
Need to reread sector:  99893Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 99893, C2 error count; 0
Need to reread sector:  99933Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 99933, C2 error count; 0
Need to reread sector: 100108LBA: 100108, C2 error count; 0
Need to reread sector: 100162Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 100162, C2 error count; 0
Need to reread sector: 100163Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 100163, C2 error count; 0
Need to reread sector: 100175LBA: 100175, C2 error count; 0
Need to reread sector: 100176Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 100176, C2 error count; 0
Need to reread sector: 100189Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 100189, C2 error count; 0
Need to reread sector: 100203LBA: 100203, C2 error count; 0
Need to reread sector: 100215Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 100215, C2 error count; 0
Need to reread sector: 100216Exception ignored in garbage collection:
Traceback (most recent call last):
  File &quot;E:\source\repos\DiscImageCreator\Release_ANSI\Plugins\C2Corrector\reedsolo.py&quot;, line 984, in decode
    total_chunks = int(math.ceil(float(len(data)) / float(chunk_size)))  # need to convert to floats first to get an accurate floating division, or else we assume implicit conversion and it will cause an error on Python 2
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: &lt;class &#039;int&#039;&gt; returned a result with an exception set
LBA: 100216, C2 error count; 0</code></pre></div><div class="quotebox"><cite>reentrant wrote:</cite><blockquote><p> I have also added testing script which invokes functions from reedsolo.py directly.</p></blockquote></div><p>Here.<br /></p><div class="codebox"><pre><code>E:\MyDownloadedApp\RippingTools\redump.org\reentrant&gt;C:\Users\xxx\AppData\Local\Programs\Python\Python312-32\python.exe c2.py
P
0
[2, 0, 78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 167, 233]
bytearray(b&#039;\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00&#039;)
bytearray(b&#039;\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa7\xe9&#039;)
bytearray(b&#039;\x00&#039;)
Q
0
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 239, 8, 78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 184, 152]
bytearray(b&#039;\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x89\xef\x08N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00&#039;)
bytearray(b&#039;\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x89\xef\x08N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb8\x98&#039;)
bytearray(b&#039;&#039;)</code></pre></div><p>Btw, python312.dll and boost_python312-vc143-mt-x32-1_87.dll also need to call using LoadLibrary?</p>]]></description>
			<author><![CDATA[null@example.com (sarami)]]></author>
			<pubDate>Mon, 31 Mar 2025 13:18:38 +0000</pubDate>
			<guid>http://forum.redump.org/post/125272/#p125272</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/125245/#p125245</link>
			<description><![CDATA[<p>Maybe there&#039;s some problem with config file encoding (by default it expects UTF 16-LE with BOM). Added debugprint (C2Corrector.7z). I have also added testing script which invokes functions from reedsolo.py directly.</p><p>Usage:<br /></p><div class="codebox"><pre><code>&quot;c:\Program Files (x86)\Python312-32\python.exe&quot; c2.py</code></pre></div><p>Does it show you any errors?</p>]]></description>
			<author><![CDATA[null@example.com (reentrant)]]></author>
			<pubDate>Sun, 30 Mar 2025 17:14:05 +0000</pubDate>
			<guid>http://forum.redump.org/post/125245/#p125245</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/125208/#p125208</link>
			<description><![CDATA[<div class="quotebox"><cite>reentrant wrote:</cite><blockquote><p>did you adjust the path in C2Corrector.ini?</p></blockquote></div><p>I set it.<br /></p><div class="codebox"><pre><code>PYTHONHOME = C:\Users\xxx\AppData\Local\Programs\Python\Python312-32</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (sarami)]]></author>
			<pubDate>Fri, 28 Mar 2025 14:37:15 +0000</pubDate>
			<guid>http://forum.redump.org/post/125208/#p125208</guid>
		</item>
		<item>
			<title><![CDATA[Re: CDArchive - Improved support for ring based protections]]></title>
			<link>http://forum.redump.org/post/125207/#p125207</link>
			<description><![CDATA[<p>&gt; Could not find platform independent libraries &lt;prefix&gt;</p><p>This is critical problem - I&#039;ll test it over the weekend but in the meantime, did you adjust the path in C2Corrector.ini?</p>]]></description>
			<author><![CDATA[null@example.com (reentrant)]]></author>
			<pubDate>Fri, 28 Mar 2025 14:28:11 +0000</pubDate>
			<guid>http://forum.redump.org/post/125207/#p125207</guid>
		</item>
	</channel>
</rss>
