PS Vita / Ps TV PSVtrimmer (by pez2k) & PSVtools Suite (by kageurufu) - Contains psvtrim, psvexpand & psverify

STLcardsWS

Administrator




  • PSVTrimmer - shrink .psv card images for archival

    Since the open-source .psv format for storing images of your Vita gamecards was unveiled last week, the main gripe with the format seems to have been that by default it includes all of the blank space on the card as part of the image. Since the algorithm to trim the image down to only the pertinent data is so simple, I've knocked together a quick application that does so.

    This is just a first test version, with room for future QOL updates like a progress bar, and future features like restoring a trimmed image back to its full size. For now though, it just trims, as that seems to be the most demanded option. I'm more interested in whether it works currently than whether it's a friendly, idiot-proofed tool.

    I'll pretty much copy the release notes below for any other details:

    This software has not been extensively tested as I only own two cards, so no warranty is provided. I strongly suggest that it should only be run on copies of your original images initially until you verify that it has worked correctly.

    Currently no progress bar is displayed, so you may have to wait up to several minutes for the process to complete. However, during local testing (with an i7 CPU and mechanical HDD) the tool takes approximately one second per 100 MB of data to be trimmed.

    All credit for the .PSV file format goes to Motoharu Gosuto, Yifan Lu, and devnoname120. I am providing this tool for archival use only. No guarantee is provided that any existing or future implementations of other .PSV tools support the use of trimmed images.

    Requires .NET Framework 4.6.


  • psvtools - Python .psv format manipulator and verification toolset
    I'm officially releasing 0.1.0 of my psvtools suite Its open source, python 2.7 and 3.4+ compatible, unit tested, and I've been using for a few days now for my own backups: https://github.com/kageurufu/psvtools

    There's not a lot there, but that's a good thing in my opinion.

    To install, get python for your operating system. I believe OSX comes with 2.7 as of this writing. Most linux distributions include some form of python.
    pip install psvtools
    You'll get 4 command line utilities from this:
    <code>usage: psvtools [-h] [-t | -e | -v] [-o OUTPUT] file

    positional arguments:
    file psv file to operate on

    optional arguments:
    -h, --help show this help message and exit
    -t, --trim Trim a psv file. This is the default behavior
    -e, --expand Expand a trimmed psv file
    -v, --verify Validate the checksum of a psv file
    -o OUTPUT, --output OUTPUT
    output file to write to

    usage: psvexpand [-h] [-o OUTPUT] file
    usage: psvtrim [-h] [-o OUTPUT] file
    usage: psverify [-h] file
    </code>
    I've rigorously tested these, and trimming and expanding should yield byte-identical output files​


Download:
https://github.com/pez2k/PSVTrimmer/releases
https://github.com/kageurufu/psvtools/releases/tag/0.1.0

Source(s): http://wololo.net/talk/viewtopic.php?p=420155 (PSVtrimmer) / https://www.reddit.com/r/vitahacks/comments/72gtbw/release_psvtools_python_psv_format_manipulator/ (PSVtools Suite)
 

Attachments

  • Compare.png
    Compare.png
    144.8 KB · Views: 389
Back
Top