RePatch reDux0 Vita

From GameBrew
rePatch reDux0:
Repatchredux0vita2.png
General
Authordots-tb, CelesteBlue123, SilicaAndPina
TypePlugins
Version3.0
LicenseMIT License
Last Updated2018/11/19
Links
Download
Website
Source

rePatch reDux0: is a plugin that serves as a substitute for the patch folder when an existing update is present on official cartridges or other encrypted formats. It also has the benefit of loading decrypted content on 3.60+.

This plugin works on 3.60-3.68 on NoNpDrm, official cartridges, and officially downloaded games.

Note: No longer maintained. You may consider updating to rePatch reLoaded which adds Homebrew and ux0:data migration support (allow users to move homebrew game data to storage devices other than ux0).

Installation

How to setup:

  • Create the folder ux0:rePatch (and ux0:reAddcont for DLC related content).
  • Place .skprx in ux0(ur0):tai/ and add the following lines to your config.txt (change to ur0 if you store the plugin there)
*KERNEL
ux0:tai/repatch.skprx

You should have these separate folders:

  • ux0:app/ for the original app. (Minus the ones that are being patched by rePatch).
  • ux0:patch/ that contains the official update/patch files. (Minus the ones that are being patched by rePatch).
  • ux0:rePatch/ which contains modified versions of files that were formally contained in app and patch.
  • ux0:reAddcont/ for DLC mods (similar to normal rePatch mods) or DLC decrypted/dumped by a pre-taihen dumper or Motoharu's tools.

User guide

Note: Be wary of using a Vitamin dumped(or similar) eboot, it will be affected by save issues.

How to use

Using RePatch plugin to mod encrypted games:

  • Create a folder within the rePatch folder with the TITLE ID of the game you wish to patch.
  • Place decrypted contents within this TITLE ID folder. Exclude the sce_sys folder.
  • You may delete overlapping files within the original patch folder or app folder to save space.

Using RePatch plugin to use decrypted DLCs or mod encrypted DLCs:

  • In the reAddcont directory make a new directory with GAMEID of a basegame. You should end up with something like ux0:/reAddcont/GAMEID/.
  • Inside of that GAMEID folder, place your directories with decrypted/mai/vitamin/modded DLCs (full or just modded files) using this scheme ux0:/reAddcont/GAMEID/DLCID/.

Games that has been confirmed to support custom DLCs:

  • Toukiden 2.
  • Hyperdimension Neptunia U - Action Unleashed.
  • Taiko no Tatsujin: V Version.

Rules in modding

General rules:

  • There can be only decrypted files in rePatch directory.
  • Only two LiveArea mods (sce_sys directory) are currently supported: ChangeInfo and Manuals.
  • If mod requires a certain update, update the game to that version. The Game will not detect the rePatch directory as a valid official patch.

For optimal and most stable experience please stick to this scheme:

  • /app/GAMEID - Fully encrypted.
  • /patch/GAMEID - If present, fully encrypted.
  • /rePatch/GAMEID - Only decrypted AND modded files. Avoid using decrypted and unmodded update files, use untouched and encrypted /patch/GAMEID instead.
  • /reAddcont/GAMEID/DLCID - Only decrypted and/or modded DLC files.

You can use either of these partitions to keep RePatch and reAddcont directories:

  • ux0:, uma0:, imc0:, grw0:, xmc0:.
  • Note that it will only load files from one device PER GAME, and this is the priority order.
  • So if ux0:rePatch/GAMEID is missing, it will load uma0:rePatch/GAMEID. A ux0:rePatch/GAMEID will prevent uma0:rePatch/GAMEID.

Obtaining decrypted game assets from NoNpDRM rips via Vita

Open VitaShell and update it to latest version possible.

Go to ux0:app/ (or ux0:patch/) folder, using D-Pad select the GAMEID directory of a chosen game you want to obtain assets from and press Triangle > Open decrypted.

Press Select to open FTP server (switch it under Start key if you have USB connection chosen).

Using FTP client on PC, connect to vita, then guide to ux0:app/GAMEID (or ux0:patch/GAMEID) directory. Make sure you open this folder and download all its contents to PC.

(Optional) After you are done downloading, check if files are indeed decrypted if hex of eboot.bin file, starts with SCE then you decrypted files correctly.

Obtaining decrypted game assets from NoNpDRM rips via PC

Download latest psvpfstools unzip it somewhere on your PC.

Obtain encrypted game/patch/DLC or update (from your cart/vita memory/microsd/extracted from pkg) and copy it somewhere on your PC.

Now run psvpfstools with those parameters: -i location_of_the_encrypted_files -o output_location_where_decrypted_files_will_be -z zRIF_string -f cma.henkaku.xyz

Example (only proper zRIF is not provided because of obvious reasons): psvpfsparser.exe -i PCSE00120 -o PCSE00120_decrypted -z Actual_zRIF_string_here -f cma.henkaku.xyz

When process is finished you'll be left with new directory (PCSE00120_decrypted in provided example) with decrypted files from the game/DLC/update.

Tutorial and resources

Changelog

v3.0

  • Compat pack compatibility [thanks to CelesteBlue and TheFlow (for 3.68 H-encore)]. NOTE: When eboot modding, be sure to include the self_auth.bin, this contains very important information.
  • Manual (with additional pages) and Changeinfo Support.
  • No need for rePatch AIDS.
  • Support for "ux0:", "uma0:", "imc0:", "grw0:", "xmc0:" (Note: it will only load files from one device PER GAME, and this is the priority order. So if no ux0:rePatch/titleid, it will load uma0:rePatch/titleid. A ux0:rePatch/titleid will prevent uma0:rePatch/titleid).
  • Now uses the Sony overlay system, you may now create files that don't exist in both patch and app, however, the game must support this.
  • Mods such as SBXE now take less time to load (1:10 vs 1:16).
  • Addresses: #5 #10 #13 #15 #17 #18 #24 #28
    • Please note that while the crashes are fixed when using DLC in above games, decrypted DLC may not load. This does not prevent OFFICIAL or NoNpDRM DLC from loading.
    • NOTE: DECRYPTED DLC loads for 99% of games.
    • Special thanks to: @AluProductions @froid_san @RealYoti and @waterflame321 for extreme testing.

v2.71 ALPHA

  • Made compatible with compatible packs.
  • Made with the help of @CelesteBlue123.

v2.70

  • Fixed suspend issue for 3.68/3.67.
  • Special thanks to @juliosueiras for lending his time and 3.68 vita.

v2.69

HOT FIX C:

  • Fixed problem with "PCSG00842" (forward slashes error), only update if you want to play this game.
  • Compatibility may have improved also.

HOT FIX B PLEASE RE-DOWNLOAD:

  • Added what it was currently reading
  • Made it read from reAddcont folder, instead of rePatch folder

New path for path issue:

  • ux0:reAddcont/<GAME ID>/<DLC ID>
  • Deemo DLC fix, it might fix other games.
  • Fixed: #2 #3

v2.68

  • Added DLC support along with the creation of rePatch Addcont Injection Deficiency Supplement. The following is an excerpt from the readme.
  • NOTE: For some games, this allows the possibility of custom DLC.

v1.0

  • Fix suspend issue and made more efficient.

Credits

Eboot.bin patching added based of GabyPCgeeK's rePatch.

Developed by @dots_tb & @CelesteBlue123 SilicaAndPina.

External links

Advertising: