Code:
######################
# PSVitaStuff V1.7.3 #
# by Rudi Rastelli #
######################
**************************************************************************
* PLEASE USE THIS TOOL ONLY FOR YOUR LEGALY PURCHASED CONTENT *
* IT IS INTENDED THAT YOU ONLY USE IT FOR BACKUP PURPOSES *
* (So you don't have to re-download your stuff whenever this is needed) *
**************************************************************************
ABOUT
*****
Download, extract and manage PSVita-NoNpDRM-, PSX- and PSP-Titles on PC.
Can also search, download and extract PSVita/PSP-game-patches.
REQUIREMENTS
************
1a. Edit the 'My*.tsv'-files and add data of your games/apps/DLCs/PSMs/themes (see also section 'EDIT TSV-FILES' below)
and/or
1b. In case you like to host your 'My*.tsv'-files replace lines 1-8 in 'PSVitaStuff.cfg' with the appropriate URLs.
HOW-TO
******
1. Start 'PSVitaStuff' and select a 'Base-Folder' where everything will be stored (eg 'F:\PSVitaTitles')
Note: If you don't select your own 'Base-Folder' a 'PSVitaTitles'-folder will be created in programs directory.
2. On 1st use read all tooltips (hoover mouse pointer over elements of the GUI)
3. Titles will be marked
- ORANGE, if *.pkg was not completly downloaded (can be resumed)
- YELLOW, if *.pkg was only downloaded and not extracted
- GREEN, if *.pkg was downloaded and extracted (downloaded patches will be marked DARK GREEN)
SETTINGS
********
- [Base Folder]
Change the 'Base-Folder', you've select at first start
- [Delete PKGs After Extraction]
Deletes PKG-file after extraction to free up some space
- [Get Patches With Title]
Searches for patches when downloading Games/Apps and downloads them if available
- [Hide 3.61+ Titles]
Do not show titles requiering a FW greater 3.60 in title lists
- [Drop 3.61+ Patches]
Patches requiering a FW greater 3.60 will not be downloaded
- [Get Size For All Titles]
If activated for the 1st time please select [Rebuild Local Database] in order to get the size of all titles.
It will take some time, but only for the 1st run
- [PSP ISO Type]
Select ISO(uncompressed) or CSO(compressed ISO) for any type of PSP stuff
- [CSO (Compression Level : x)]
Use the slider to change the compression level for CSOs in the range of 1 to 9
(A level of 1 to 3 is recommended. Bigger values will just increase processing time, but will not significantly decrease size of resulting *.cso-files)
EDIT TSV-FILES
**************
The 1st line of the 'My*.tsv'-files defines the structure of the following data(starting at line 2) and MUST always be present.
It can for example look like this:
"Title ID[TAB]Region[TAB]Type[TAB]Name[TAB]PKG direct link[TAB]zRIF[TAB]Content ID[TAB]Last Modification Date[TAB]File Size[TAB]Required FW"
Enries in 1st line are key words to PSVitaStuff and must be written exactly as given here :
Title ID = ID of the title (9 characters)... (MUST always be 1st... arange the rest however you like)
Region = Region of the title (2 characters). Possible values: EU, US, AS, JP, ANY (optional if 'PKG direct link' is a Sony-Server-URL)
Name = Name of the title
Type = Possible values: Vita GAME, Vita DLC, Vita PSM, Vita THEME, PSX GAME, PSP GAME, PSP DLC, PSP THEME, PSP MINIS, PSP NEOGEO, PSP PCE (partialy optional... see Notes)
PKG direct link = PKG-URL (if not specified the title will not make it to the local database)
zRIF = Can be a zRIF-Key(recommended), Hex-Key(Klicensee) or "NOT REQUIRED" (only needed for PSVita-Titles)
Content ID = ID of the title (36 characters) (optional)
Last Modification Date = Date and time of the last modification to the current entry. Format: "YYYY-MM-DD hh:mm:ss" (optional)
File Size = Download-size of the PKG (optional)
Required FW = Needed firmware version (only needed for PSVita-Titles)
Notes:
- The values must be seperated by a [TAB]-character and the number of [TAB]-characters in each line must be the same as in 1st line.
- If an optional value is not specified a [TAB]-character is still requiered
(Example: '...[TAB]KO5ifR1...[TAB][TAB]2017-01-01 12:24:17[TAB][TAB][TAB]' has no 'Content ID', 'PKG size' and 'Required FW' values)
- 'Type' is only needed for PSP because it has some sub types like PSP MINIS, PSP NEOGEO and PSP PCE
- If 'PKG direct link' is a Sony-Server-URL you can fake the 'Title ID' as long as it has 9 characters.
- Use PSDLE to find PKG Link for your games or host them yourself
- Use 'NoNpDRM'-plugin to create a fake license. Then use 'Tools -> Make zRIF Key' to convert the fake license to a valid zRIF-Key.
Example for a complete entry:
PCSB00975 EU Vita GAME Adventures Of Mana http://zeus.dl.playstation.net/... KO5ifR1dQ+e7Bg... EP0082-PCSB00975_00-ADVENTURESOFMANA 2017-12-24 01:02:03 1234567890 3.61+
OUTPUT-PATHS
************
Vita-Game : [Base-Folder]\[Region]\Vita GAME\[Game-Name]\app\[TitleID]\
Vita-Patch : [Base-Folder]\[Region]\Vita GAME\[Game-Name]\Vita UPDATE [Version][FW-Version]\patch\[TitleID]\
Vita-DLC : [Base-Folder]\[Region]\Vita GAME\[Game-Name]\Vita DLC\[DLC-Name]\addcont\[TitleID]\[The last 16 chars of ContentID]\
Vita-PSM : [Base-Folder]\[Region]\Vita PSM\[PSM-Name]\psm\[TitleID]\
Vita-Theme : [Base-Folder]\[Region]\Vita THEME\[Theme-Name]\theme\[TitleID]\
PSX-Game : [Base-Folder]\[Region]\PSX GAME\[Game-Name]\pspemu\PSP\GAME\[TitleID]\[Title-ID].iso
PSP-Game : [Base-Folder]\[Region]\PSP GAME\[Game-Name]\pspemu\ISO\[Title-ID].iso
PSP-Patch : [Base-Folder]\[Region]\PSP GAME\[Game-Name]\pspemu\PSP\GAME\[TitleID]\
PSP-DLC : [Base-Folder]\[Region]\PSP GAME\[Game-Name]\PSP DLC\[DLC-Name]\pspemu\PSP\GAME\[TitleID]\ (contains pbdata und Param.PBP)
PSP-Theme : [Base-Folder]\[Region]\PSP THEME\[Theme-Name]\pspemu\PSP\THEME\[ContentID].PTF
PSP-Minis : [Base-Folder]\[Region]\PSP MINIS\[Game-Name]\pspemu\ISO\[Title-ID].iso
PSP-NeoGeo : [Base-Folder]\[Region]\PSP NEOGEO\[Game-Name]\pspemu\ISO\[Title-ID].iso
PSP-PCE : [Base-Folder]\[Region]\PSP PCE\[Game-Name]\pspemu\ISO\[Title-ID].iso
+
[Base-Folder]\[Region]\PSP PCE\[Game-Name]\pspemu\PSP/GAME/[TitleID]/ (contains CONTENT.DAT + PSP-KEY.EDAT)
Note : At PSP-PCE you'll see the game, but you'll also see "Corrupt Content". Currently this is necessary to start the game.
TIPS:
*****
- Because of the max path length of windows (260 Chars) you may run into trouble. It's recommended to not put your base folder to deep into the filesystem.
- You can change the download speed while a download is running (Check tooltip to see which inputs are accepted).
Do this by entering a speed value then press the "Set DL-Speed"-button.
- Check title lists context-menu for some useful funktions
- Under Windows 7 PSVitaStuff uses a no-so-nice 'Copy Title(s) To SD Card'-function, which seems to hang on big files (but in fact it doesn't).
Until now i could not determinate why the nicer funktion, which works well on other tested Windows-Versions, leads to a crash of PSVitaStuff.
- If an available Vita/PSP-Game-Update is already downloaded the 'Copy Title(s) To SD Card'-funktion will copy it with the game.
Credits: @TheRadziu, @mmozeiko, @tpunix, @-SiD-, @Jones, @Chihir0_, @MrSandmann, @Timbergrey
############################################################################################

PSVitaStuff v1.7.3
Changelog V1.7.3
- Added filter for some firmware-versions (in Settings)
- New contect menu function "Check Selected"
- Extraction of "Vita Themes" fixed
Notes:
- Users of older versions of PSVS should make a new config file and delete all titles which have a firmware-version tag in title's name from local DB via context menu
Then restart PSVS to re-readthe deleted Titles.
Alternativly u can rebuild the wohle local DB
- To 'select' a title simply click on it's name. U can multiselect with pressed STRG or SHIFT buttons
Changelog V1.7.2
- Entpacken von "Vita Themes" gefixt
Changelog V1.7.1
- Added option "Save Queue On Exit" (Don't use old 'PSVitaStuff.cfg')
- Some bugfixes
Changelog V1.7
- Added PSP-Udates-Support
Changelog V1.6
- Settings moved to seperate window
- "Rebuild Local Database" moved to 'Tools'-menu
- Selection between ISO- or CSO-format for PSP-Titles added
- Slider for setting compression level (CSO-format) added
- Context-Menü: "Check For Vita-Patch(es)" added (will search for available patches without downloading them)
- Already downloaded patches will be marked dark green
Notes V1.6:
- You can still use your local database file ('PSVitaStuff.db') from previous version. Just copy it over.
- Don't use the old config file
Changelog V1.5
- PSVS now uses pkg2zip (modded it a little bit to be able to capture it's output)
- Removed support for 'bgdl'-format for Vita DLCs
Notes V1.5:
- For PSP-stuff PSVS currently creates compressed ISOs with compression level 2... as this seems the best compromise between speed and size (may be i'll make this adjustable in next version)
- You can still use your local database file ('PSVitaStuff.db') from previous version. Just copy it over.
- Resize the name-column if u use your old config-file
Changelog V1.4
- Now fully supports everything (Vita: Games, DLCs, PSM, Themes, Patches / PSX / PSP: Games, DLCs, Minis, NeoGeo, PC Engine, Themes)
- It now uses relativ paths to minimize window's max-path-length-problem
- Some Bug-Fixes and Polishing
Changelog V1.3
- Full support (incl extracting and Copy2SD) for PSP, PSP DLC, PSP MINIS, PSP NEOGEO, PSP PCE
- Some bug fixes and polishing
Start with reading about the requirements in the READMENOT
Be sure to read at least about the "max path length"-problem in the "Tips"-section... seems like most users run into this
(I'm currently trying to find a way to minimize this nasty windows-problem... so stay tune for the next version of PSVS)
Have to admit that i don't have a PSVita ... i've done this only for some coding practise.
So please don't be to harsh if some things don't work the way they are meant to work... just report anything u'll find and i'll have a look if i can fix it.
And as stated in the READMENOT please use it only for your legaly purchased stuff... i won't answer any questions about how to configure it to use it as a piracy tool !
Regards
Rudi
Last edited by Rudi Rastelli,