Enigma: a person or thing that is mysterious, puzzling, or difficult to understand. Paradox: a seemingly absurd or self-contradictory statement or proposition that when investigated or explained may prove to be well founded or true.
This is a C library that can be used in your program to:
Note: these are also compiled for multiple operating systems on the releases page under assets.
This is a C library that can be used in your program to:
- Ensure validity of a PlayStation 1 or 2 CD disc image in MODE2/2352 format.
- Get the boot file name (i.e. SLUS_XXX.XX) of the disc image. PSX.EXE games are supported (some still need to be identified by the library but many already are). When a PSX.EXE game is identified, the serial/product code on the original CD case of the game is returned in the same manner as a proper boot file game. See example 1 and example 2.
- Identify different disc images that share the same boot file name by checking revision differences.
- Identify if a bin file will fit on a 71 minute, 74 minute, or 80 minute CD-R.
- Apply PARADOX PPF v1, PPF v2, and PPF v3 patches from unsigned char arrays. You can convert your PPF patch file into an unsigned char array, use the library to apply the patch, and create a standalone single executable patcher for your project/tool that requires no external files.
- Advanced, lossy find and replace method for byte patterns with options for skipping certain bytes for more verbosity and accuracy to elimate false positive patterns. Fully sector boundary aware.
- Read sectors as raw data.
- Read sector user data only (the real data).
- Read sector edc.
- Read sector ecc data.
Note: these are also compiled for multiple operating systems on the releases page under assets.
- Example 1: Prints out boot file of psx game bin file, with support for early PSX.EXE games.
- Example 2: Single executable that uses no external files, applies english translation patch w/save fix for the game King's Field (Japan).
- Example 3: Patches LibCrypt v1 if it detects the game MediEvil (Europe) using 'lossy' patching without hardcoded offsets. If any other game is given as input it will patch APv2 protection if it is detected. This patch for APv2 protection allows the game to work with a soft-mod correctly, if their is not a non-stealth mod-chip in the console.
- Example 4: View a sector's worth of data.