Skip to content

Commit

Permalink
Correct ECC errors on disc
Browse files Browse the repository at this point in the history
xstation and MODE use the PS1's original CD-ROM controller which sees the patches as small errors and 'corrects' them back to unpatched unless the ECC errors are patched as well.
  • Loading branch information
cr4zymanz0r committed Nov 23, 2020
1 parent 91b9202 commit 8a63a13
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Patch_PS1_dither.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ EXIT
echo .bat directory "%~dp0"
echo Source File: "%~1"
echo Creating patched file...
"%~dp0sed\sed" -b "s/\x00\xE1\(.\)\x3C\x00\x02/\x00\xE1\1\x3C\x00\x00/g" %1 > "%~dp0PatchedISO.bin"
echo File patched. Please rename with original file extension.
"%~dp0tools\sed.exe" -b "s/\x00\xE1\(.\)\x3C\x00\x02/\x00\xE1\1\x3C\x00\x00/g" %1 > "%~dp0PatchedISO.bin"
echo Hardware dithering patched out (if found).
echo Correcting ECC errors on patched disc image.
"%~dp0tools\ECCScan.exe" -f "%~dp0PatchedISO.bin" > nul
echo All patching complete. Please rename with original file extension.
PAUSE
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ Instructions:

2.) You will now have a patched version called "PatchedISO.bin". Rename it to whatever you like or the same as your original ISO.

a.) This should work with sed in Linux if you 'convert' the main command in the batch file.
### Tools included that make this possible:

* sed - https://www.gnu.org/software/sed/
* ECCScan - https://github.com/Terraonion-dev/ECCScan
Binary file added tools/ECCScan.exe
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8a63a13

Please sign in to comment.