[RELEASE] PSVitaStuff - Manage your PSVita NoNpDRM Stuff

Discussion in 'PS Vita - Hacking & Homebrew' started by Rudi Rastelli, Nov 9, 2017.

  1. Rudi Rastelli
    OP

    Rudi Rastelli Advanced Member

    Newcomer
    82
    90
    Sep 15, 2007
    Gambia, The
    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
    ############################################################################################
    
    [​IMG]


    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 ^_^ (... and reading some more won't harm you at all i promise)
    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, Apr 3, 2018
    MasterJ360, AnalogMan, swosho and 5 others like this.
  2. Gnarmagon

    Gnarmagon Noob <3

    Member
    588
    116
    Dec 12, 2016
    Germany
    Source Code won't be avaible ? I guess it's written in C# ? but one Question why aren't you calling a Curl Function to download ? (The .exe isn't needed)
     
  3. Rudi Rastelli
    OP

    Rudi Rastelli Advanced Member

    Newcomer
    82
    90
    Sep 15, 2007
    Gambia, The
    As all of my tools in the past years this is written in PureBasic and i know i can also call curl functions there... but to tell the truth i haven't figured out yet how to do an asyncronous download with the curl function.
    But it's on my to-do list.
     
    B4rtj4h and Gnarmagon like this.
  4. Madobe Ai

    Madobe Ai Member

    Newcomer
    44
    5
    Jan 28, 2016
    Moe
    -snip-
     
  5. Rudi Rastelli
    OP

    Rudi Rastelli Advanced Member

    Newcomer
    82
    90
    Sep 15, 2007
    Gambia, The
    UPDATE PSVitaStuff v1.3

    Get it at post #1

    Regards
    Rudi
     
    klear likes this.
  6. RazorX2014

    RazorX2014 GBAtemp Advanced Fan

    Member
    506
    99
    Mar 18, 2014
    i have no idea how to use this, when i launch it the list is blank and if i try to enter something in the search bar it does nothing.
    i wanted to use this to download updates for my 3ds games (updates prior to 3.61+) so they are updated but still work on cfw.
     
    Last edited by RazorX2014, Nov 12, 2017
  7. Rudi Rastelli
    OP

    Rudi Rastelli Advanced Member

    Newcomer
    82
    90
    Sep 15, 2007
    Gambia, The
    If u only want to update your games then PSvitaStuff is kind of an overkill. Instead u could use "Vita Game Update Checker" to get the update-pkgs and extract them with "pkg_dec" (i guess it's not allowed here to post a link for it because it uses sony keys).
    Place the extracted content in "\patch\[TitleID]\". U'll notice that PSVita still asks your for updating, but in fact the game sees (and uses) the patch only the system doesn't. Afaik u can rebuild your database to make the system also recognize the patch.

    And if u want to use PSVitaStuff u have to edit the "My *.tsv"-files and add the data for your games. How to do this (not so easy) task is described in the READMENOT's section "EDIT TSV-FILES".

    Regards
    Rudi
     
    Last edited by Rudi Rastelli, Nov 13, 2017
  8. RazorX2014

    RazorX2014 GBAtemp Advanced Fan

    Member
    506
    99
    Mar 18, 2014
    thanks, i remember i was using that when it came out but the only issue i had with it was it downloaded the latest update only with no options, meaning if there was a 3.62 update out for the game for example it would only let me download that which wouldnt work.
    what im ideally looking for is a program that will download the latest/last update for the game that works on cfw rather than the very latest update if that makes sense, if you know or could make something that could do that it would be amazing.
     
  9. Rudi Rastelli
    OP

    Rudi Rastelli Advanced Member

    Newcomer
    82
    90
    Sep 15, 2007
    Gambia, The
    When PSVita (and other Sony consoles as well) updates a game it calculates an URL out of game's titleID for obtaining an XML file, which contains the data (version/fw-version/download-url etc) of the available updates. "Vita Game Update Checker" mimics this and PSVitaStuff does this also. From the tests i've made i can tell u that only a few games still have older updates.

    Check out "Freedom Wars [PCSF00446]"... it has 4 updates :
    One cumulative Update (the oldest one) + 2 incremental updates PLUS it has one hybrid update, which combines all 3 older updates. But i can tell this is an unusual case.
    Normaly u have only one update and it's always the latest.

    Regards
    Rudi
     
  10. RazorX2014

    RazorX2014 GBAtemp Advanced Fan

    Member
    506
    99
    Mar 18, 2014
    yeah it's a real shame, i like to have my games as updated as i can and unfortunately for minecraft for example i hadn't updated it in a while and i can't seem to get the last update that came out before the 3.61 version.
     
  11. Rudi Rastelli
    OP

    Rudi Rastelli Advanced Member

    Newcomer
    82
    90
    Sep 15, 2007
    Gambia, The
    Just call Sony and tell them that u can't use updates above 3.60 because... :teach:
    Hey... just kidding... i know what u mean and you're not the only one in this boat. Maybe u can find the need update-pkgs somewhere else.
     
  12. RazorX2014

    RazorX2014 GBAtemp Advanced Fan

    Member
    506
    99
    Mar 18, 2014
    I've looked around and even requested that update on a thread for requesting updates and got nothing XD
     
  13. Gnarmagon

    Gnarmagon Noob <3

    Member
    588
    116
    Dec 12, 2016
    Germany
    https://gist.github.com/Gnarmagon/83ceaa53d7a23a5f88febc66b84affd9

    It's a lot faster than using this gui XD
    (Isn't my work :D but I am not allowed to credit him lol)

    — Posts automatically merged - Please don't double post! —

    Ah btw:

    If you want to remove the update nag from every game you can extract the PKG of the latest Version and just replace the Param.sfo (don't trust me but I think it should work lol)
     
  14. Rudi Rastelli
    OP

    Rudi Rastelli Advanced Member

    Newcomer
    82
    90
    Sep 15, 2007
    Gambia, The
    UPDATE TO PSVitaStuff V1.4

    You'll find changelog and link in Post #1

    Regards
    Rudi
     
    andreiarturo likes this.
  15. andreiarturo

    andreiarturo Member

    Newcomer
    27
    4
    Oct 21, 2011
    Mexico
    gracias
     
    Rudi Rastelli likes this.
  16. kane159

    kane159 GBAtemp Regular

    Member
    166
    32
    May 28, 2013
    Taiwan
    can we also have a linux release please? :)
     
  17. Rudi Rastelli
    OP

    Rudi Rastelli Advanced Member

    Newcomer
    82
    90
    Sep 15, 2007
    Gambia, The
    Sry I've no Linux or Mac plans. Did you try if it works with wine ?
     
  18. Rudi Rastelli
    OP

    Rudi Rastelli Advanced Member

    Newcomer
    82
    90
    Sep 15, 2007
    Gambia, The
    UPDATE TO PSVitaStuff V1.5

    You'll find changelog and link in Post #1

    Regards
    Rudi
     
    TioBrazMii and klear like this.
  19. TioBrazMii

    TioBrazMii Member

    Newcomer
    21
    2
    Nov 6, 2015
    Brazil
    In case you like to host your 'My*.tsv'-files edit 'PSVitaStuff.cfg' and add the URLs for your '*.tsv'-files.

    PSVita-GAME-DB-URL ('*.tsv'-Format)

    How?
     
    Last edited by TioBrazMii, Nov 24, 2017
  20. Rudi Rastelli
    OP

    Rudi Rastelli Advanced Member

    Newcomer
    82
    90
    Sep 15, 2007
    Gambia, The
    Sry mate... but telling you how to host files on a web-server could not be done with a few words... google might be your friend.

    -----------------------------------------------

    UPDATE TO PSVitaStuff V1.6

    You'll find changelog and link in post #1

    Regards
    Rudi
     
    Last edited by Rudi Rastelli, Nov 26, 2017
    klear likes this.
Loading...