https://alex-free.github.io/aprip/
APrip is a portable open source tool capable of bypassing/patching-out the ‘standardized’ additional anti-piracy copy protection found in some later PSX games. APrip can:
Patch The CD Image of a game to remove the additional anti-piracy copy protection.
Generate valid GameShark code(s) to remove the additional anti-piracy copy protection.
Convert an existing GameShark code which bypasses or removes the additional anti-piracy copy protection for one version of a game to a different version (i.e. converts a Rev 0 code to a Rev 1 or Demo version compatible code, or for a different regional release of the same game entirely).
Right now I'm thoroughly testing out every known game with AP measures, I'll report back with the results later.
Post automatically merged:
Note: If your game isn't listed here and that it doesn't work with the patcher, either report an issue to the developer (that being "alexfree") on the APrip GitHub issues page, generate and use GameShark AP codes from a DuckStation RAM dump, or apply an already existing crack.
Here is a list of known tested games with anti-piracy measures that does and doesn't work with binary patching so far as of writing, this is still a work-in-progress:
(updated: 05th November 2022)
Emulator used to check AP (anti-piracy) measures: pSX v1.13 with SCPH-1001 BIOS.
Working:
- Pocket MuuMuu (Japan) | Reason: Works perfectly.
- PoPoRoGue (Japan) (Rev 0, Rev 1) | Reason: Works perfectly.
- Saru! Get You! (Japan) (Rev 0, Rev 1) | Reason: Works perfectly.
- Ape Escape (USA) (Original, Demo) | Reason: Works perfectly.
Not Working:
- Alundra 2: Mashinka no Nazo (Japan) (Original) | Reason: Freezes on a black screen after logos.
- Biohazard 3: Last Escape (Japan) (Rev 0, Rev 1, Taikenban) | Reason: Freezes on game disclaimer instead of the usual AP message.
- Animetic Story Game 1: Card Captor Sakura (Japan) | Reason: Locks up at a black screen.
- Crash Bandicoot Carnival (Japan) | Reason: Softlocks at SCEI presents screen instead of the usual AP message.
- Crash Bandicoot Racing (Japan) | Reason: Either freezes after the introduction sequence or displays the AP message.
- Dance Dance Revolution (Japan) | Reason: Locks up at disclaimer.
- Dance Dance Revolution: Best Hits (Japan) | Reason: Locks up after disclaimer and logos.
- Dance Dance Revolution: Disney's Rave (Japan) | Reason: Locks up at disclaimer.
- Dance Dance Revolution: Extra Mix (Japan) | Reason: Locks up after disclaimer and logos.
- Dino Crisis (Japan) | Reason: Freezes on game disclaimer instead of the usual AP message.
- Doko Demo Issho (Japan) (Rev 0, Rev 1, Calpis Water) | Reason: Locks up at AP message.
- Glint Glitters (Japan)
- Hyper Value 2800: Hanafuda (Japan)
- i-mode Mo Issho - Doko Demo Issho Tsuika Disc (Japan) | Reason: Locks up at AP message.
- Pocket Jiman (Japan) | Reason: Locks up at a black screen.
- Pop'n Music 2 (Japan) | Reason: Locks up at a black screen.
- Pop'n Music 5 (Japan) | Reason: Locks up at the loading screen.
- Pop'n Music 6 (Japan) | Reason: Locks up at the loading screen.
- Shiritsu Justice Gakuen: Nekketsu Seishun Nikki 2 (Japan) | Reason: Displays AP screen when starting a new game.
- TokiMeki Memorial II (Japan) (Rev 0, Rev 1)
- Crash Bash (USA) | Reason: Softlocks on SCEA presents screen instead of the usual AP message.
On real hardware almost all of those games work. The emulator your using doesn't seem like it can handle my APv2 patch which does work.
If you see the text 'got APv1 table match' or 'got APv2 table match' while bin patching its gaurenteed to work. At least it hasn't failed in the many games so far if it does display that text
You can actually test the patch using duckstation if you want. If you use the ap-type-checker script you can see if it sends the test commands and or the readtoc command. As long as the patched version is sending 0 test commands and 0 readtoc commands the patch worked.
On real hardware almost all of those games work. The emulator your using doesn't seem like it can handle my APv2 patch which does work.
If you see the text 'got APv1 table match' or 'got APv2 table match' while bin patching its gaurenteed to work. At least it hasn't failed in the many games so far if it does display that text
You can actually test the patch using duckstation if you want. If you use the ap-type-checker script you can see if it sends the test commands and or the readtoc command. As long as the patched version is sending 0 test commands and 0 readtoc commands the patch worked.
From looking at your list, every game that is locking up and not showing the anti-piracy screen actually works on real hardware IIRC but please do test again if you are able to.
I wanted to include a compatibility list but didn't have time before the initial release. In a future update I'd include such a list.
From looking at your list, every game that is locking up and not showing the anti-piracy screen actually works on real hardware IIRC but please do test again if you are able to.
I wanted to include a compatibility list but didn't have time before the initial release. In a future update I'd include such a list.
@SylverReZ i think there may not need to be a compatibility list after all. I’m going through the games that I thought didn’t work with aprip and it seems they all actually work if you get the memory dump early enough. So besides Spyro year of the dragon (which we now have custom codes for) every apv2 game is by passable with at least GameShark codes that is. I’m going to maybe go through every single known game again to make sure but the readtoc method seems rock solid for every game maybe.
Confirmed... @SylverReZ I'm messing around with this again and the apv2 code seems to just be obfuscated in the ISO/BIN file but not in run time memory.... this is huge. This means aprip gs codes probably work for every apv2 game!
(whispers about libcrypt support)
Post automatically merged:
Just a fun little screenshot of (some of, not all of) the ram dumps used to add apv2 support to Tonyhax International
Confirmed... @SylverReZ I'm messing around with this again and the apv2 code seems to just be obfuscated in the ISO/BIN file but not in run time memory.... this is huge. This means aprip gs codes probably work for every apv2 game!
(whispers about libcrypt support)
Post automatically merged:
Just a fun little screenshot of (some of, not all of) the ram dumps used to add apv2 support to Tonyhax International
Adding all the magic keys to the patcher and the boot files basically. I still need to finish though but I’ll probably push an update to a prop with this support for a few titles at first.
Adding all the magic keys to the patcher and the boot files basically. I still need to finish though but I’ll probably push an update to a prop with this support for a few titles at first.
I think it will be pretty difficult since it’s encrypted. LC3/LC4 make up I think 19 games. LC1 will be easy since it’s only one game and like LC2 it’s not encrypted.
I think it will be pretty difficult since it’s encrypted. LC3/LC4 make up I think 19 games. LC1 will be easy since it’s only one game and like LC2 it’s not encrypted.
I thought it would suck to test a libcrypt v1 patch because the only game which contains libcrypt v1 is MediEvil, and it triggers this screen when you start the 4th level.
However, it turns out there is a debug menu that has built in cheats, like 'complete level'. Literally you can just enable that via button presses in the pause menu: https://tcrf.net/MediEvil
To do:
Document this in more detail.
There is a master cheat code which, when entered, enables new options in the pause menu. These options give you access to a variety of things such as Level Select, Sound Test, individual cheats (money, weapons, energy, etc.), and more. Enter the button combination for the appropriate region to access it. The sound of a groan will confirm activation.
US: Pause the game, hold L2 and press Square, Triangle, Circle, Up, Triangle, Triangle, Right, Circle, Left, Left, Square, Triangle, Right, Circle, Left, Left, Square, Triangle, Circle, Down, Circle, Circle, Right (STOUT TROLL STROLLS TO DOOR).
Europe: Pause the game, hold L2 and press Triangle, Circle, Triangle, Circle, Circle, Triangle, Left, Circle, Up, Down, Right, Circle, Left, Left, Triangle, Right, Circle, Left, Left, Triangle, Circle, Down, Circle, Circle, Right (TOTOOT LOUD ROLL TROLL TO DOOR).
Japan: Pause the game, hold L2 and enter Square, Triangle, Circle, Up, Triangle, Left, Circle, Up, Down, Left, Circle, Right, Down, Square, Left, Circle, Square, Triangle, Left, Circle, Circle, Triangle (STOUT LOUD LORDS LOST LOOT). Note: This version is more like a normal cheat menu. As such, it does not include Restart, Camera, individual Inventory toggle, Just Dan, Go To Level, and the Sound and Speech of the Sound Test. The Super Cheat still grants all items and unlocks all levels.
Once enabled it stays enabled too. So I can just start MediEvil Europe, enable the debug menu via secret pause menu button combo, and skip to the next level. Then enter the second level, pause, skip to level 3, and so on until level 4 when the protection actually kicks in.
Fun fact, I reverse engineered how the TRSIMEDI patch by ICEPICK works to include LibCrypt v1 patch support https://github.com/alex-free/aprip/blob/master/icepick-patch-re.txt and made it an aprip style function. This is pretty cool because you have to have DOS (I used DosBox) to even run TRSIMEDI patcher. Then you need to rename the track 01 bin file of Medievil to MEDIEVIL.BIN and mount the directory as a drive. Insane. https://consolecopyworld.com/psx/psx_medievil.shtml
Now with aprip you can use modern windows (or windows 95), and any x86 or x86_64 Linux computer. Just drag the track 01 bin too (no need to rename, what is this 1998 )
Source is also available as always under the 3-BSD license. No dependencies, straight C.
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
Retro handheld manufacturer Anbernic has revealed its first clamshell device: the Anbernic RG35XXSP. As the suffix indicates, this handheld's design is inspired by...
With the vast success of Super Mario Maker and its Switch sequel Super Mario Maker 2, Nintendo fans have long been calling for "Maker" titles for other iconic genres...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
Another day, another great emulator that makes its way into the Apple Store for more users to enjoy. With Apple opening its store up to videogame emulators earlier...
Palmer Luckey is known for his pursuits into the world of virtual reality, having founded Oculus and designed the Rift VR headset. Prior to the $2 billion dollar...
After a little more than three years of exclusivity with the Epic Games Store, Square Enix has decided to bring their beloved Kingdom Hearts franchise to Steam. The...
Drumming up hype by teasing a new product, with its formal reveal to come next month is Asus, who just announced the latest revision to their ROG Ally handheld...
Continuing with the number of available retro emulators found in the Apple Store, after Apple's decision to finally allow videogame emulators on their store, another...
Palmer Luckey is known for his pursuits into the world of virtual reality, having founded Oculus and designed the Rift VR headset. Prior to the $2 billion dollar...
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
After several months of work, the Harbour Masters 64 team have released their first public build of 2Ship2Harkinian, a feature-rich Majora's Mask PC port. This comes...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
After a little more than three years of exclusivity with the Epic Games Store, Square Enix has decided to bring their beloved Kingdom Hearts franchise to Steam. The...
Another day, another Nintendo DMCA takedown against fan-made content.
Just a few minutes ago, Nintendo issued a DMCA takedown notice against a widely known and...
Sony is once more attempting to reintroduce players to their older library of games by re-releasing classic PlayStation 2 titles onto the PlayStation Store. During...
Retro handheld manufacturer Anbernic has revealed its first clamshell device: the Anbernic RG35XXSP. As the suffix indicates, this handheld's design is inspired by...
With the vast success of Super Mario Maker and its Switch sequel Super Mario Maker 2, Nintendo fans have long been calling for "Maker" titles for other iconic genres...
The latest State of Play is here. This is PlayStation's Summer showcase, providing updates to new updates on upcoming games and brand new reveals. The 35-minute...