PkgDecrypt, extracting pkg without license? whats the difference?

Discussion in 'PS Vita - Hacking & Homebrew' started by ScarletDreamz, Oct 6, 2017.

  1. ScarletDreamz
    OP

    ScarletDreamz [Debug Mode]

    Member
    2,794
    1,200
    Feb 16, 2015
    United States
    California
    Using the tool mentioned here:
    https://github.com/TheRadziu/PkgDecrypt // https://github.com/weaknespase/PkgDecrypt/releases

    It can extract pkgs, however, it mentions that you need to use --license in order to extract the package, however, excluding the license from the command line, still extract the package.

    Is there something im missing? will something wont work? are the keys inside the app? i mean, there is a keylist.txt that it can be used, but it does extract the package without license input.
     
  2. Billy Acuña

    Billy Acuña GBAtemp Addict

    Member
    2,293
    1,375
    Oct 10, 2015
    Mexico
    I swear, the Vita scene should start building a titlekey's (licence) database like the 3ds/wiiu one.
     
    Naendow likes this.
  3. ScarletDreamz
    OP

    ScarletDreamz [Debug Mode]

    Member
    2,794
    1,200
    Feb 16, 2015
    United States
    California
    That answered NONE of my questions :C

    I got the keys and everything, but the executable can extract the pkg without license. why is this? is this normal? should it work this way?
     
  4. Vitaminer

    Vitaminer GBAtemp Regular

    Member
    245
    21
    Nov 22, 2016
    United States
    lol, if it works, it works! But if you are worry that something would go wrong in the long run, only time will tell.
     
  5. Billy Acuña

    Billy Acuña GBAtemp Addict

    Member
    2,293
    1,375
    Oct 10, 2015
    Mexico
    Does it generate the work.bin under "app/[APP_ID]/sce_sys/package/"?
     
  6. ScarletDreamz
    OP

    ScarletDreamz [Debug Mode]

    Member
    2,794
    1,200
    Feb 16, 2015
    United States
    California
    Im not worry that something goes wrong, i mean, official pkg can be extracted without license, thats pretty weird to me. and that was what i was asking.

    This, using license, does generate the work.bin, and without license it does not, what does that file do, or what is the difference on the methods?
     
  7. Billy Acuña

    Billy Acuña GBAtemp Addict

    Member
    2,293
    1,375
    Oct 10, 2015
    Mexico
    Welp, the work.bin is the fake licence which works with Nonpdrm, without that file the game will not boot.

    That being said, that is why I'm recommending to build a licence database.
     
    Last edited by Billy Acuña, Oct 6, 2017
    ScarletDreamz likes this.
  8. ScarletDreamz
    OP

    ScarletDreamz [Debug Mode]

    Member
    2,794
    1,200
    Feb 16, 2015
    United States
    California
    That will do, Thanks!
     
  9. yeshuachrist

    yeshuachrist GBAtemp Regular

    Member
    259
    75
    Sep 1, 2010
    United States
    PKGDECRYPT support for WINDOWS XP (other releases don't support winxp)
    https://github.com/RikuKH3/unpkg_vita/releases
    ...............................
    unpkg_vita.exe 1.pkg -key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    ...............................
    The above between the dotted lines goes into a .bat file, create a notepad file and then rename the .txt extension to .bat.............place the contents of the package in your "C:" folder you should the windows folder there also.........................rename your .pkg file to "1.pkg"", and replace the "XXXXXXXXXXX" with the .zrif key string so a work.bin is created in the right folder

    (just use "unpkg_vita.exe 1.pkg" in a batch file (.bat), to get the contents without the key string, but it will be worthless without a work.bin file that is created with the zrif key string)

    (the programs are named the same, but they don't all support Windows XP!)
     
    Last edited by yeshuachrist, Oct 6, 2017