Skip to content
TheRadziu edited this page Apr 9, 2018 · 53 revisions

This guide will show you how to mod NoNpDRM rips and purchased games/cart games(mods such as undubs, uncensor or translation patches).

Introduction

Mai dumps in comparison to NoNpDRM rips use decrypted files which made game modding on VITA relatively easy, but they had their flaws such as saving issue or other general problems with certain games. These issues were caused by dumping process itself - eboots were badly dumped from vita memory and then auto-modified(relocation, plugin hooks, DLC patches, DRM removal and so on).

NoNpDRM rips are basically 1:1 unmodified and encrypted files and thanks to that they run and play just as their legally purchased counterparts. Due to their encryption, it was speculated that game modding cannot be done anymore, and yet, just a few hours later I released first NoNpDRM mod - Persona 4 Golden Undub. As for now, 3 days have passed since plugin's release and I successfully applied 5 mods to NoNpDRM rips.

25.03.2018 - Due to a new breakthrough in plugin development, this tutorial has been updated to use /rePatch/ method. It's easier than previous /patch/ method and works on both hacked firmwares (3.60 and 3.65).

Requirements

  • Vita with 3.60 ENSO or 3.65 ENSO installed,
  • RePatch Plugin by Dots.

Rules in modding

  1. There can be ONLY decrypted files in /rePatch/ directory,
  2. Livearea mods are currently not supported (/sce_sys/ directory),
  3. If a file is not called by game, it won't be loaded (example: resources_modded_with_nipples.cpk) so use only original filenames,
  4. 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.
  5. 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
  • /rePatch/GAMEID/addcont/DLCID - Only decrypted and/or modded DLC files.

Using RePatch plugin to mod encrypted games

  1. Download latest RePatch plugin from >>> HERE <<<, transfer it to your vita and add it under *KERNEL section of your config.txt (ur0:tai/repatch.skprx or ux0:tai/repatch.skprx), then reboot your Console,
  2. Make a new directory on your ux0: ux0:/rePatch
  3. In ux0:/rePatch/ make new directory with GAMEID of the game you want to mod,
  4. In the directory you created (example: ux0:/rePatch/PCSE00120/) place decrypted and modded files, remember to exclude sce_sys directory,
  5. That should be it, now run your game and enjoy the mod you just installed!

Using RePatch plugin to use decrypted DLCs or mod encrypted DLCs

  1. Download latest RePatch plugin from >>> HERE <<<, transfer it to your vita and add it under *KERNEL section of your config.txt (ur0:tai/repatch.skprx or ux0:tai/repatch.skprx), then reboot your Console,
    (NOTE: It needs next RePatch update that hasnt been released to the public yet)
  2. Make a new directory on your ux0: ux0:/rePatch
  3. In ux0:/rePatch/ make new directory with GAMEID of a basegame, then inside of that directory make new addcont directory. You should end up with something like ux0:/rePatch/GAMEID/addcont/
  4. Inside of that /addcont/ place your directories with decrypted/mai/vitamin/modded DLCs (full or just modded files) using this scheme: ux0:/rePatch/GAMEID/addcont/DLCID/
  5. Now, depending what DLC mode you gonna use:
  • ENCRYPTED ONLY: That means you have the retail/nonpdrm DLCs installed and you just want to mod them. You can run the game and enjoy modded NoNpDRM/retail DLCs.
  • DECRYPTED ONLY: That means you don't have ANY nonpdrm or retail DLCs installed for this game. You can run the game and enjoy the DLCs.
  • MIXED: That means you have both retail/nonpdrm DLCs installed AND mai/vitamin/decrypted DLCs. This will require you to do one more step that will be described in next wiki update.

Saving memory space while using mods

If you tested the mod and it works without issues, make sure all modded files in ux0:/repatch/GAMEID contain the same amount of data as the original (have similar or bigger file size to the files in /app/GAMEID or /patch/GAMEID). If they do (in case of undubs for example), simply remove files from ux0:/app/GAMEID and/or in ux0:/patch/GAMEID that have their counterparts in ux0:/repatch/GAMEID. Vita will always load files in /repatch/ instead of /app/ or /patch/ if they are present. This applies only to the files that have been modded.
Keep other files and directories like eboot.bin,/sce_modules/ and /sce_sys/ in /app/GAMEID/ and/or /patch/GAMEID/

Eboot modding

Very limited, but possible. To be added.

Obtaining decrypted game assets from NoNpDRM rips THROUGH VITASHELL [decryption on console].

  1. Open VitaShell and update it to latest version possible.
  2. Go to ux0:/app/ [or ux0:/patch/] folder, using dpad select the GAMEID directory of a chosen game you want to obtain assets from and press triangle -> Open decrypted.
  3. Press SELECT to open FTP server (switch it under START key if you have USB connection chosen).
  4. 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.
  5. (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 THROUGH PSVPFSTOOLS [decryption on PC].

  1. Download latest psvpfstools from >>> HERE <<< and unzip it somewhere on your pc,
  2. Obtain encrypted game/patch/DLC or update [either from your cart/vita memory/microsd or extracted from pkg] and copy it somewhere on your pc,
  3. 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
  4. When process is finished you'll be left with new directory ( PCSE00120_decrypted in provided example ) with decrypted files from the game/DLC/update.

How to create your own mod?

Sorry, but I don't want to get into that topic since every game requires different tools to extract/open/edit/repack its files depending on the compression or file type developers used. A good way to start is to google the extension and look through results, you might come across some tool that would allow you to edit that certain file(s). You might also look into paragraph below in case I already linked something useful for you.

Useful tools

Credits and thanks

  • Dots for his RePatch plugin, without it modding wouldn't be possible on 3.65,
  • Whole Vita modding community,
  • s1cp for the /patch/ trick he documented a long time ago.