carts:sony:vita

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
carts:sony:vita [2021/10/12 01:32]
jonasrosland
carts:sony:vita [2022/06/05 21:11]
hiccup [Method 1 - Vita console]
Line 1: Line 1:
 ====== PlayStation Vita ====== ====== PlayStation Vita ======
 +{{wst>see_hardware_page}}
 +
 +{{wst>vgpc_help}}
  
 ===== Introduction ===== ===== Introduction =====
- +{{wst>factory_save}}
-**//[copied from No-Intro wiki - needs polishing]//** +
- +
-The PlayStation Vita is a powerful dumping machine for Vita carts, but it might take a few tries for someone setting up their homebrew-enabled console the first time to be able to get the tools working. This page is a work in progress, and will soon include more step-by-step instructions on how to set up a "standardized" PlayStation Vita for dumping purposes. +
- +
-Highly recommend reading [[https://gist.github.com/yifanlu/bcc8ebb102704ae136c650a912c6f70c|this great comparison between available tools]] written by [[https://twitter.com/yifanlu|Yifan Lu]].+
  
 ===== Methods ===== ===== Methods =====
  
-  - [[#Method 1 - PSVgameSD + PSVStrip Method|PSVgameSD + PSVStrip Method]] +  - [[#Method 1 - Vita console|Vita console]]
-  - [[#Method 2 - NoNpDrm Method|NoNpDrm Method]]+
  
-==== Method 1 - PSVgameSD + PSVStrip Method ====+==== Method 1 - Vita console ====
  
-=== History about the tools ===+This method involves creating a dump of the cart after the block-level encryption has been "removed" and unique data stripped from the file. It also involves creating a generic (aka "fake") licence file for the cart.
  
-This dumping method is based on [[https://github.com/motoharu-gosuto/psvgamesd|PSVgameSD]], created by [[https://github.com/motoharu-gosuto|Motoharu Gosuto]]. The PSVgameSD application acts as a **dumping tool** as well as a **virtual drive** for the dumps it creates. It allow us to create a 1:1 dump from the game cartridge, which then can be virtually mounted on a PlayStation Vita, emulating the exact same behavior as we inserted the original game cartridge on the device. This leads to a perfect dump for preservation archival purpose. +Technical Note: There are some game cards that have a writeable partition called "grw0"PSVGameSD can probably dump that partition fine (todo: confirm this), but it cannot mount dumps with that partition, so the only way to play these dumps is to convert them to NoNpDrm format first (todo: confirm this works)Also each time a cart is usedthe partition data and therefore the dump will be differentPSVStrip does not have support for stripping/emptying this partition.
- +
-This method of dumping was approved in No-Intro in 2019, once user **iCEQB** provided a solution for the "unique license file" problem (as the license file generated inside each game cartridge is different, two dumps from different game cartridge of the same game will never match). This solution then grew into a tool called [[https://github.com/Kippykip/PSVStrip|PSVStrip]]. +
- +
-PSVStrip is a tool that allow us to strip all data introduced by PSVgameSD and null all unique bytes within a PlayStation Vita dump. This makes sure that we only preserve all common bytes across multiple cartridges of the same game, while at the same time staying as close as possible to the original media as it can get. +
- +
-This modified version is useful for preservation according to No-Intro standards, but will leave the dump unplayable. An option in PSVStrip was developed in order to re-add the licensing data and header info back to a stripped dump and make it playable. +
- +
-Note: The dumps generated by PSVgameSD has a ".psv" extension, however this method and its results are totally unrelated to the "BlackFin" project. For more information, [[https://github.com/motoharu-gosuto/psvgamesd/blob/master/README.md#relation-to-cobra-blackfin|see this explanation]]. +
- +
-=== NOTE: Compatibility with game cards that have grw0: partition === +
- +
-There are some game cards that have a writeable partition called "grw0"Its been confirmed that this partition allows to write save data and updates files on the game card itself. +
- +
-Currently, those types of game cards can be dumped, but the "grw0" partition won't get dumped. +
-Due to the partition being used by the game, if the a dump is mounted with the PSVgameSD app, bad behavior is expected to happen, at least when trying to save or updating the game. //Further research on this is needed.// +
- +
-Due to this, dumps coming from game cartridge with a "grw0" partition will be accepted in No-Intro but marked as "Bad Dump" in order to identify them. In the same way, we advice dumping these with NoNpDRM method as well, as dumps with that method do not need the "grw0" partition to work properly. +
- +
-You can easily confirm if game cartridge has "grw0" partition by looking at the cart contents through [[https://github.com/TheOfficialFloW/VitaShell|VitaShell]]. Once the game cartridge is insertedyou should see "Gro0" partition (this rute belongs to the game cartridge). If "Grw0" exists, it should be just next to it. +
- +
-Please, even if are not interested in dumping, helping us identifying these kind of game cartridge would be really useful. +
- +
-**Games confirmed to have "grw0" partition:** +
- +
-<code> +
-Epic Mickey 2 +
-Persona 4 Golden (Japanese version, at least) +
-Muramasa Rebirth +
-</code> +
-<code> +
-[PCSB-00050] Army Corps of Hell [EU] +
-[PCSB-00135] LEGO Batman 2 - DC Super Heroes [EU] +
-[PCSB-00304] LEGO Legends of Chima - Laval's Journey [EU] +
-[PCSE-00237] LEGO Legends of Chima - Laval's Journey [US] +
-[PCSB-00103] LEGO Harry Potter - Years 5-7 [EU] +
-[PCSB-00071] Michael Jackson - The Experience HD [EU] +
-[PCSE-00119] Ragnarok Ace [USA] +
-[VCAS-32024] Ragnarok Ace [Asia] +
-[PCSE-00015] Shinobido 2: Revenge of Zen [USA] +
-[PCSB-00166] Spy Hunter [EU] +
-[PCSE-00012] Supremacy MMA [USA] +
-[PCSB-00065] Super Monkey Ball: Banana Splits [EU] +
-[PCSE-00017] Super Monkey Ball: Banana Splits [USA] +
-[PCSF-00247] The Jak and Daxter Trilogy [EU] +
-[PCSB-00047] Touch My Katamari [EU] +
-[PCSB-00031] Virtua Tennis 4 [EU] +
-</code>+
  
 ===Tools=== ===Tools===
  
   * A PlayStation Vita (1000 original model or 2000 revision model)   * A PlayStation Vita (1000 original model or 2000 revision model)
-  * At least, a 4GB Vita Memory Card+  * At Vita Memory Card (minimum 4GB)
   * [[https://enso.henkaku.xyz/|Henkaku]] software installed (able to load homebrew, [[https://vita.hacks.guide/|https://vita.hacks.guide/]])   * [[https://enso.henkaku.xyz/|Henkaku]] software installed (able to load homebrew, [[https://vita.hacks.guide/|https://vita.hacks.guide/]])
   * [[https://github.com/TheOfficialFloW/VitaShell|VitaShell]] homebrew installed (to be able to navigate through the Vita's file system, as well as enabling access to it by USB on PC)   * [[https://github.com/TheOfficialFloW/VitaShell|VitaShell]] homebrew installed (to be able to navigate through the Vita's file system, as well as enabling access to it by USB on PC)
   * [[https://github.com/motoharu-gosuto/psvgamesd|PSVgameSD plugin and app installed]]   * [[https://github.com/motoharu-gosuto/psvgamesd|PSVgameSD plugin and app installed]]
 +  * [[https://github.com/TheOfficialFloW/NoNpDrm|NoNpDrm plugin installed]]
  
 === Dumping === === Dumping ===
Line 88: Line 38:
  5. Process should start automatically, displaying the "Dump progress" and indicating the sectors still to be dumped. The process can take long to finish (30-45 minutes), so just leave the device to do it's thing.   5. Process should start automatically, displaying the "Dump progress" and indicating the sectors still to be dumped. The process can take long to finish (30-45 minutes), so just leave the device to do it's thing. 
    
- 6. If the dump was successful, a FILENAME.psv dump file will be stored in the "ux0:iso" folder.+ 6. If the dump was successful, a .psv dump file will be stored in the "ux0:iso" folder.
    
  7. In order to transfer it to a PC, enter VitaShell and then connect your PS Vita to the PC using a USB cable. Open the VitaShell settings menu by pressing the START button of your PlayStation Vita. Once opened, go to the "USB device" option and select "Memory Card". Press START once again to close the settings menu.  Then, press the "SELECT" button of your PlayStation Vita to enable the USB connection. Your PC should now automatically detect the Memory Card as a new USB device.  7. In order to transfer it to a PC, enter VitaShell and then connect your PS Vita to the PC using a USB cable. Open the VitaShell settings menu by pressing the START button of your PlayStation Vita. Once opened, go to the "USB device" option and select "Memory Card". Press START once again to close the settings menu.  Then, press the "SELECT" button of your PlayStation Vita to enable the USB connection. Your PC should now automatically detect the Memory Card as a new USB device.
Line 97: Line 47:
 ===PSVStrip treatment=== ===PSVStrip treatment===
  
-To be able to compare your dump to other dumps for verification purposes you have to remove the license information using PSVStrip:+To be able to compare your dump to other dumps for verification purposes you have to remove the license information using [[https://github.com/Kippykip/PSVStrip|PSVStrip]] (or alternatively for Linux/Mac, this docker image: [[https://github.com/jonasrosland/psvstrip-docker/|GitHub]], [[https://hub.docker.com/r/jonasrosland/psvstrip-docker|Docker]]):
 <code>PSVStrip.exe -psvstrip source.psv destination.psv</code> <code>PSVStrip.exe -psvstrip source.psv destination.psv</code>
  
-Once that's complete, you can continue to [[#Gathering and Submitting Dump Info]] +=== Applying a Fake License ===
- +
- +
-===Submitting Info to No-Intro=== +
- +
-In case you want to submit the data to our forums, follow these steps. Otherwise, you can always contact us in private and we will make sure your dump makes its way to the database.+
  
-<code> +To finish the dump we must generate a fake license file. For this, you need to launch the game (original cart or unstripped .psv) in your Vita as you were going to play itwith the NoNpDrm plugin enabled. As soon as you start itexit the game and enter VitaShell.
- - Write the game's name and its Serial ID (PCSG-XXXXXPCSB-XXXXXPCSE-XXXXX....)+
    
- - Make picture of your cartshowing proof the dump came from it+The license to be faked will be ".rif" file with a long namewhich should be stored at "ux0:nonpdrm/license/app/TITLE_ID/6488b73b912a753a492e2714e9b38bc7.rif". While you are in VitaShell, please check if the grw0 partition is present (it will be beside the gro0 partition), and note that down so you can provide this info in your dump submission.
    
- - Use any Hash tool to obtain hashes from the ".psvfile generated by PSVStrip. Needed hashes are MD5SHA-1, CRC and Size. +Copy this file from the Vita to the PCRename it to match your psv file, but with a ".rif" extension.
-  +
- - (OPTIONAL) Provide Barcode, Serial ID writen on the game cover, mould codes writen in the game cart (front and back). +
-  +
- - (OPTIONAL) Provide scans for the artwork cover and the game cart (front and back) +
-</code>+
  
-If you have datter rights you can submit the dumpinfo using the "Submit" form in [http://datomatic.no-intro.org/ DAT-o-MATIC]. +Once that'completeyou can continue to [[#Gathering and Submitting Dump Info]]
- +
-Otherwise post the info in the New Dumps & Redumps section of the [http://forum.no-intro.org forum]. +
- +
- +
-==== Method 2 - NoNpDrm Method ==== +
- +
-With this method, what we are actually going to do is just to extract the encrypted game files from the Game Card as they are and generate a fake license in order to make them usable. These will not be perfect dumps from the game cartridges, but still all the original game related files inside the game cartridge will be kept without being modified or patched, and it will let us preserve the "Grw0 partition" games till the problem around these cartridges is fixed. +
- +
-Tools +
- +
-*A PS Vita (1000 original model or 2000 revision model) +
-*At least, a 4GB Vita Memory Card (optional, this method can be used with "psvsd" mod, that uses the 3G module on 1000 3G Vita models as a MicroSd port) +
-*Henkaku software installed (able to load homebrew). [https://henkaku.xyz/+
-*VitaShell homebrew installed (able to navigate through the Vita'file systemas well as enabling access to it by USB on PC) [https://github.com/TheOfficialFloW/VitaShell] +
-*NoNpDrm plugin installed [https://github.com/TheOfficialFloW/NoNpDrm] +
- +
-For the tools installation, follow the instructions inside their Github profiles. The following steps are exactly basedin the same ones you can find on "NoNpDrm" Github page made by TheFlow, so all gratitute to him. We advice to read it, including the "Troubleshooting" point in case you want to test your dump and something goes wrong. +
- +
-===Dumping=== +
- +
- 1. Having the game cart inserted in the Vita, use VitaShell to navigate through the Vita's file system and look for "gro0" path. This path corresponds to the Game Cart.   +
-  +
- 2. The game files are stored on "gro0:app/TITLE_ID" where TITLE_ID corresponds to the game Serial ID. Example: Uncharted - Golden Abyss (Europe) is "PCSF-00001", so "TITLE_ID" folder should be called "PCSF00001"   +
-  +
- 3. You now have to options:   +
-  +
- 3.1 Fast PC transfer: You can mount the Game Card over USB. To do so, open VitaShell settings menu by pressing the START button of your PS Vita. Once opened, go to the "USB device" option and select "Game Card". Press START once again to close the settings menu. Connect the PS Vita to your PC by USB. Then, press the "SELECT" button of your PS Vita and it will enable USB connection. Your PC should detect automatically the unit and give you access to the it. Just enter the "app" folder in the unit, and copy "TITLE_ID" to your desktop.   +
-  +
- 3.2 Copying files to the Memory Card and then, transfering these to PC: The first method sometimes doesnt work (Windows can throw an error when connecting "Game cart" unit, not recognizing it correctly). In this case, just use VitaShell to copy "gro0:app/TITLE_ID" folder and to "ux0". Then, select "Memory Card" on "USB device". Press "START" to close the menu and press "SELECT" afterwards, to active the USB connection from your Vita to the PC (make sure you connected both with the USB). The Memory Card unit should be correctly detected, allowing you to copy the "TITLE_ID" folder to the desktop. +
- +
-=== Applying Fake License=== +
- +
- To finish our dump, we must generate a fake license file for it. For this, you just need to launch the game in your Vita as you were going to play it, with the NoNpDrm plugin enabled. As soon as you start it, just get out and enter VitaShell. +
-  +
- The fake license will be a ".rif" file with a really long name, that should be stored at "ux0:nonpdrm/license/app/TITLE_ID/6488b73b912a753a492e2714e9b38bc7.rif"+
-  +
- This file must be copied from your Vita to the PC. Rename it as "work.bin" and copy the file to "TITLE_ID/sce_sys/package/", so you have "TITLE_ID/sce_sys/package/work.bin". With this step, the "NoNpDrm" dump is now completed. +
- +
-===Submitting Info to No-Intro=== +
- +
-In case you want to submit the data to our forums, follow these steps. Otherwise, you can always contact us in private and we will make sure your dump makes its way to the database. +
-<code> +
- - Write the game's name and its Serial ID (PCSG-XXXXX, PCSB-XXXXX, PCSE-XXXXX....) +
-  +
- - Make a picture of your cart, showing proof the dump came from it +
-  +
- - Download "GameHeader v0.4.2.0": [http://www.no-intro.org/gbadat/tools/GameHeader_0.4.2.0.zip]. Open GameHeader.exe and select "File", "Open Directory... (Recursive)". Search and select the "TITLE_ID" folder. This will analyze and hash all the files inside the folder. Once is over, just use "Save... To File" and save it as an .txt. Example "Uncharted - Golden Abyss (PCSF-00001).txt" +
-  +
- - (OPTIONAL) Provide Barcode, Serial ID writen on the game cover, mould codes writen in the game cart (front and back). +
-  +
- - (OPTIONAL) Provide scans for the artwork cover and the game cart (front and back) +
-</code> +
- +
-If you have datter rights you can submit the dumpinfo using the "Submit" form in [http://datomatic.no-intro.org/ DAT-o-MATIC]+
- +
-Otherwise post the info in the New Dumps & Redumps section of the [http://forum.no-intro.org forum]. +
- +
- +
- +
-===== Verification ===== +
-Description of how to verify that is a dump is correct.+
  
 ===== Gathering and Submitting Dump Info ===== ===== Gathering and Submitting Dump Info =====
  
-<code -> +See [[submission:general|Gathering and Submitting Dump Info (Basic)]]
-Dumping tool +
-Dumper:  +
-Affiliation:  +
-Dump creation date:  +
-Dump release date:  +
- +
-Title:  +
-Region:  +
-Edition:  +
-Languages:  +
-Language Select:  +
-WikiData ID: +
- +
-Size:  +
-CRC32:  +
-MD5:  +
-SHA-1:  +
-SHA-256:  +
-</code> +
- +
-  * General Note: If you are submitting this info to a person/group in order for them to add it to a database, you can skip the transcription of some things, and leave it to them. But it can make the process smoother if you do the transcription yourself. +
-===== Submitting Dump Info ===== +
-Point to external submission information for No-Intro/Redump. +
  • carts/sony/vita.txt
  • Last modified: 2022/09/28 22:07
  • by hiccup