Skip to content

Patch a CD image directly to use the Tonyhax International loader as a way to remove some of the limitations of using the CD Player Swap Trick as a boot method.

Notifications You must be signed in to change notification settings

alex-free/tocperfect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TOCPerfect

By Alex Free

The earliest PSX consoles are vulnerable to the CD Player Swap Trick, the only swap trick that does not involve swapping the real PSX game disc while it is being spun by the console. While the CD Player Swap Trick alone is quite powerful (it allows booting imports and backups from the PSX BIOS directly), it comes with limitations. TOCPerfect patching a PSX game fixes the limitations and shows the true potential of the exploit for the first time.

When booting a CD-R or imported PSX game disc with the CD Player Swap Trick, you can experience:

  • Incorrect CD Audio playback. This is caused by incorrect TOC data previously retrieved from the real PSX disc is used while playing the backup or import disc.

  • Additional Anti-Piracy detection found in some later games detects the trick and locks up the game.

  • You are unable to complete some multi-disc games (i.e. Fear Effect) due to the fact that there is no way to insert the next disc during the middle of the game without unblocking the lid sensor.

  • You are unable to boot any import discs or backup CD-Rs that are not japan region games (early SCPH-3000 only is affected by this issue).

When booting a TOCPerfect Patched CD-R with the CD Player Swap Trick, The Tonyhax International Loader starts the main game executable automatically, so you instead experience:

  • Correct CD Audio Playback.

  • Additional Anti-Piracy detection is completely defeated with Tonyhax International for all SCPH-1000 and early SCPH-3000 models. Almost every game will now also work on the early SCPH-1001 and early SCPH-3000 models as well thanks to the Tonyhax International APv2 bypass system.

  • The ability to complete all multi-disc games (on early SCPH-1001 and early SCPH-1002 only).

  • The ability to play non-japan region games (only matters for compatible early SCPH-3000 consoles).

Table Of Contents

Links

Downloads

Version 1.1.3 (9/15/2023)

Changes:

  • Updated MKPSXISO to latest commit (for Linux build).

  • Updated Tonyhax International to version 1.4.1.

About Previous Versions.

Consoles With The CD Player Swap Trick

Only the PSX launch console models manufactured before November 1995 are vulnerable to the exploit. This criteria includes only these console models:

  • All SCPH-1000 consoles.

  • The oldest SCPH-3000 consoles. Compatible SCPH-3000 consoles have System BIOS v1.1J and CDROM Controller VC0B (example serial number: A6956171). Incompatible SCPH-3000 consoles instead have System BIOS v2.1J and CDROM Controller VC1B (example serial number: A7543968).in rebuilding/ripping CD images

  • The oldest SCPH-1001 consoles. Compatible consoles have a serial number lower then U592XXXX (where X can be any number) according to the original Swap Trick Guide from 1996. Such consoles have either System BIOS v2.0A and CDROM Controller VC1A (example serial number: U5361469, July 1995 manufacture date) or System BIOS v2.1A and CDROM Controller VC1A (example serial number: U5860989, October 1995 manufacture date).

  • The oldest SCPH-1002 consoles. No serial number based info is available for this console model at this time. There also appears to be no date of manufacture available (like Japanese consoles), so it is truly a roll of the dice if a specific SCPH-1002 console has the CD Player Swap Trick or not. This is probably the most rare console model to find the trick in due to it's later release date being closer to the manufacture date cutoff of console models with this trick.

How To Do The CD Player Swap Trick

  1. Turn on the compatible PSX console with no disc inserted.

  2. Start the CD player.

  3. Open the PSX CD drive lid, and put in any real PSX game disc (that is the same region as your console).

  4. Find something to block the lid sensor. The real PSX game disc will start and then stop spinning after a few seconds.

  5. Put in your burned TOCPerfect Patched CD-R. Exit the CD Player, and wait for the Tonyhax International loader to start.

ps1 lid sensor

ps1 lid sensor blocked front

ps1 lid sensor blocked side

How To Apply The TOCPerfect Patch

Download and extract the latest release of TOCPerfect.

On Windows

Drag and drop the .cue file of the game you want to patch on top of the tocperf.bat file in the release.

Alternatively you can open cmd.exe manually and execute tocperf.bat with the .cue file as the sole argument.

On Linux

Drag and drop the .cue file of the game you want to patch on top of the tocperf file in the release (works for most Linux distributions).

Alternatively you can open terminal manually and execute tocperf with the .cue file as the sole argument.

tocperf linux 1

tocperf linux 2

tocperf linux 3

Licenses

TOCPerfect Patcher itself is released under the 3-BSD license (licenses/tocperfect.txt). TOCPerfect Patcher uses many other software programs to accomplish it's goals, listed below:

Version: 2.0.3 (Windows), Latest commit as of 9/15/2023 (Linux). License: GNU GPLv2 (licenses/mkpsxiso.txt)

Version: 1.3.8. License: WTFPL (licenses/tonyhax-international.txt)

Version: 1.0.3 License: Unlicense (licenses/pled.txt)

Version: 1.0.4 License: GNU GPLv2 (licenses/edcre.txt)

Version: 1.0.1 License: GNU GPLv2 (licenses/binmerge.txt)

This is where I got GNU Bash and Coreutils for Windows to self-contain the bash script in all it's portable glory.

Versions: Up to date as of 8/22/2023 Licenses: GNU GPLv3

Versions: 3.2 (Linux static build from https://github.com/pts/staticpython/tree/master/release), 3.11.4 (Windows). License: PSF (licenses/python.txt)

MovSec For TOCPerfect Patcher

Version: 1.0 License: 3-BSD (licenses/movsec.txt)

Credits

I originally came up with this idea and released it as TOCPerfect v1.0 on 11/3/2021. MottZilla later made PS1 DemoSwap Patcher which I then built on even more. Thanks to MottZillas improvements and my work on DemoSwap Patcher's TOCPerfect Patching mode I learned alot about how to improve the original TOCPerfect Patcher.

For the loader itself, see the Tonyhax International Credits.

About

Patch a CD image directly to use the Tonyhax International loader as a way to remove some of the limitations of using the CD Player Swap Trick as a boot method.

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published