mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-23 12:56:20 +02:00
--re-decrypt runs pspDecryptPRX() over a file and unpacks the KL4E/KL3E stream behind it. This opens up flash0:/kd/resource/*.img, the images the Media Engine actually runs: they are ordinary tagged containers (tag 862648D1, which PrxDecrypter already has a key for) with the ~PSP signature blanked, so the normal module loader never touches them. --re-raw-base analyzes --re-module as a flat code image at a given address rather than as a PRX. The decrypted ME images are raw MIPS with no ELF around them; the address they were linked for is recoverable from their own jal targets (0x08300000 for meimg.img). Also makes PrxDecrypter.h self-contained - PSP_Header is built from _le types, so it needs Common/Swap.h rather than relying on the includer.