Jump to content

CodeLok / CopyLok: Difference between revisions

From wiki.redump.info Wiki
GameFreak 1.0 (talk | contribs)
No edit summary
Morlit (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
CopyLok and CodeLok was names used interchangeably during the life of the DRM. Its sometimes also known as CopyLock but this more commonly refers to [https://en.wikipedia.org/wiki/Rob_Northen_copylock a different DRM].
[[File:CopyLok.png|256px|thumb|right|CopyLok Logo]]


Comes both with or without rings. A bug in the Plextor firmware means any dump of either version made using a Plextor and any tool is likely to be bad. Incorrectly reporting the total number of errors.
==General Information==
 
CopyLok/CodeLok (both names were used) was a DRM made by the British company Pan Technologies Limited/PanLok Limited (again, both names were used). It was used by a few different publishers in the early 2000s though by far the biggest user was Take-Two Interactive and their various subsidiaries. 
 
==Identification==
 
CopyLok can be hard to detect as the relevant files (".icd1", ".icd2" and ".icd0") are hidden inside the main executable of the game. DRM itself comes in two versions, with or without rings and both makes use of unreadable sectors that results in between 255-1868 C2 errors.  
 
==Dumping==
 
==="Standard" Copylok===
 
Is very similar to dumping Safedisc protected games though unlike it, Plextors cannot sync properly through the errors and will damage the header of the following one. Resulting in twice the number of errors than what there should be.  


For example, when dumping https://redump.info/disc/53929/ with ringless Copylok using either DIC or redumper and a Plextor drive, the error count is incorrectly reported as 1516, exactly double the correct 758 errors.
For example, when dumping https://redump.info/disc/53929/ with ringless Copylok using either DIC or redumper and a Plextor drive, the error count is incorrectly reported as 1516, exactly double the correct 758 errors.
Line 15: Line 27:
LBA[002322, 0x00912] Detected C2 error 300 bit</code>
LBA[002322, 0x00912] Detected C2 error 300 bit</code>


These discs can be correctly dumped using a non-Plextor drive and any of the following tools:
In addition. Redumper currently does not detect Copylok and will try and refine the C2. At the moment one has to dump it using the --retries=0 and --force-split parameters as well as either a drive running Omnidrive firmware or a TS-H353C
* DIC (using an ASUS or compatible firmware drive)
 
* redumper (Same as above)
==="Ringed" Copylok===


Ringed Copylok meanwhile is supposed to have double errors (for example https://redump.info/disc/107930/). A correct Redumper dump of these will look like this.
Despite the name and physically looking like disc carries some, Copylok rings are not "true" rings as its possibly for a drive to track through them. They manifest as two errors with different C2 count following one another and a correct Redumper dump of these will look like this.
<code><br/>
<code><br/>
[LBA:  2316] C2 error (bits: 1354)<br/>
[LBA:  2316] C2 error (bits: 1354)<br/>
[LBA:  2317] C2 error (bits: 1022)</code>
[LBA:  2317] C2 error (bits: 1022)</code>


Only a handfull of drives are known to be able of handling this variation of the DRM. Most, including Plextor and Redump compatible Asus drives will instead have these kind of errors in their logs.
Only a handfull of drives are known to be able of handling this variation of the DRM. Most, including Plextor and Omnnidrive compatible drives will be totally unable to track and logs will instead look like this:
<code><br/>
<code><br/>
LBA:  2315] subcode desync (shift: -1)<br/>
LBA:  2315] subcode desync (shift: -1)<br/>
Line 37: Line 49:
[LBA:  2342] C2 error (bits:  608)</code>
[LBA:  2342] C2 error (bits:  608)</code>


Currently, These discs have to be dumped using:
Currently, These discs have to be dumped a TS-H353C/SH-D163C drive running [[Optical_Disc_Drive_Compatibility:_CD|custom ZZ00 firmware]] or a TS-H353B/SH-D163B running [[Optical_Disc_Drive_Compatibility:_Xbox_(original)_%26_Xbox_360|modified Kreon firmware]]. Same Redumper parameters as standard Copylok will have to be used here aswell.
* Redumper using the <code>--force-split</code> parameter and a TS-H353C/SH-D163C drive running [[Optical_Disc_Drive_Compatibility:_CD|custom ZZ00 firmware]] or a TS-H353B/SH-D163B running [[Optical_Disc_Drive_Compatibility:_Xbox_(original)_%26_Xbox_360|modified Kreon firmware]].
 
==Additional Information==
 
DRM is sometimes also known as CopyLock, but this more commonly refers to [https://en.wikipedia.org/wiki/Rob_Northen_copylock a different DRM] used by floppies.  


[[Category:Copy Protection Guides| ]]
[[Category:Copy Protection Guides| ]]

Latest revision as of 11:59, 4 August 2026

CopyLok Logo

General Information

CopyLok/CodeLok (both names were used) was a DRM made by the British company Pan Technologies Limited/PanLok Limited (again, both names were used). It was used by a few different publishers in the early 2000s though by far the biggest user was Take-Two Interactive and their various subsidiaries.

Identification

CopyLok can be hard to detect as the relevant files (".icd1", ".icd2" and ".icd0") are hidden inside the main executable of the game. DRM itself comes in two versions, with or without rings and both makes use of unreadable sectors that results in between 255-1868 C2 errors.

Dumping

"Standard" Copylok

Is very similar to dumping Safedisc protected games though unlike it, Plextors cannot sync properly through the errors and will damage the header of the following one. Resulting in twice the number of errors than what there should be.

For example, when dumping https://redump.info/disc/53929/ with ringless Copylok using either DIC or redumper and a Plextor drive, the error count is incorrectly reported as 1516, exactly double the correct 758 errors.

An incorrect _c2Error log looks as follows:
LBA[002312, 0x00908] Detected C2 error 380 bit
LBA[002313, 0x00909] Detected C2 error 20 bit

A correct _c2Error log looks as follows:
LBA[002312, 0x00908] Detected C2 error 300 bit
LBA[002322, 0x00912] Detected C2 error 300 bit

In addition. Redumper currently does not detect Copylok and will try and refine the C2. At the moment one has to dump it using the --retries=0 and --force-split parameters as well as either a drive running Omnidrive firmware or a TS-H353C

"Ringed" Copylok

Despite the name and physically looking like disc carries some, Copylok rings are not "true" rings as its possibly for a drive to track through them. They manifest as two errors with different C2 count following one another and a correct Redumper dump of these will look like this.
[LBA: 2316] C2 error (bits: 1354)
[LBA: 2317] C2 error (bits: 1022)

Only a handfull of drives are known to be able of handling this variation of the DRM. Most, including Plextor and Omnnidrive compatible drives will be totally unable to track and logs will instead look like this:
LBA: 2315] subcode desync (shift: -1)
[LBA: 2316] C2 error (bits: 440)
[LBA: 2317] C2 error (bits: 2088)
[LBA: 2326] C2 error (bits: 15
[LBA: 2327] C2 error (bits: 1481
[LBA: 2328] C2 error (bits: 1956
[LBA: 2342] C2 error (bits: 1022
[LBA: 2329] C2 error (bits: 308
[LBA: 2331] subcode desync (shift: -2)
[LBA: 2342] C2 error (bits: 608)

Currently, These discs have to be dumped a TS-H353C/SH-D163C drive running custom ZZ00 firmware or a TS-H353B/SH-D163B running modified Kreon firmware. Same Redumper parameters as standard Copylok will have to be used here aswell.

Additional Information

DRM is sometimes also known as CopyLock, but this more commonly refers to a different DRM used by floppies.