Content on this page may be outdated! Check out shrinefox.com for the latest mods, tools, guides and cheats-- all on one easy to sort page!
Home Guides PSVita rePatch

About rePatch

What's rePatch?

rePatch is a skprx module (or "plugin") that can be used on an exploited PSVita system. It allows you to place modified files in the ux0:rePatch/TITLEID/ directory for any game you have. These files will override the originals when you run the game, effectively allowing you to run mods up to the latest firmware (3.68 at the time this was written). Read this guide first on how to set up h-encore to run homebrew on 3.68.

Why is it needed?

The PSVita uses the ux0:patch directory for game updates. After firmware 3.60, Sony (ironically) patched the functionality of this folder so that it will only use encrypted files. rePatch restores the original usage of this folder by also reading unencrypted contents from a new ux0:rePatch folder, just like how the patch folder worked on 3.60 and before.

If you're on firmware 3.60, you are not required to use rePatch to run mods, seeing as you could still put your modified, unencrypted files in the original patch folder. However, if you want to load mods without messing with your game's updates, you may still use rePatch.

Installing rePatch

Download repatch.skprx from this Github repository's releases page.

With henkaku enabled, run Vitashell and start an FTP server. Connect to your computer and navigate to ux0:tai, which should have a config.txt file. You may either transfer it to your computer, and edit it to add the following line below *KERNEL (and then transfer it back to the Vita replacing the original file), or do so using Vitashell's built-in text editor.

ux0:tai/repatch.skprx
Once the config.txt is edited and/or replaced to include that line, also drop the repatch.skprx into the ux0:tai folder along with it. You'll need to fully reboot your system and run henkaku again for the changes to take place.

Using rePatch

Now that the plugin should be active, we can also use Vitashell to create a new folder in ux0 called rePatch in ux0 (it's case-sensitive, so make sure it's typed exactly like that). Inside that folder, also make a folder using the GAMEID of the game you'll be modding. The ID is the same as the folder in ux0:app where the game is installed. If you don't know the ID, you can look up the name of the game on the PSN store.
For instance, if you look at this url: https://store.playstation.com/ja-jp/product/JP0005-PCSG01030_00-PERSONA5D0000000
The PCSG01030 part is the TITLEID of the game.
Inside the newly created ux0:rePatch/TITLEID folder, you may also want to match the layout of the game's ux0:app/TITLEID/ folder. For instance, in the case of Persona 5 Dancing Star Night, we need to create a data folder to put our modded CPKs in. You must then name the new file exactly the same as the one you're replacing (for instance, a modified data.cpk would have to go in ux0:rePatch/PCSG01030/data/data.cpk).
For more info on modding various Persona games for the Vita, check out the Mod Compendium guides for each game here. They describe the most convenient current methods of getting your mods up and running using rePatch.