Sponsored Links

Sponsored Links

Page 1 of 3 123 LastLast
Results 1 to 10 of 29



  1. #1
    Member einzwei's Avatar
    Join Date
    Feb 2007
    Posts
    36
    Sponsored Links

    Thumbs Up PS3 PKG building/signing - joint effort

    Sponsored Links
    With recent MFW from Kakarotoks it seems that building and sighning valid PKGs is a good thing to do :^)

    It's obvious that many devs are already working on this subject, but I think also it wouldn't hurt if we continue to share our thoughts on pkg format and may be some how speed things up

    here are some PKG header offsets....
    Code:
    Offset,Length,Value (example),Description
    0x00,0x04,0x7F504B47,Magic
    0x04,0x01,0x80,0x80- retail package
    0x05-0x06,0x02,0x0000
    0x07,0x01,0x01,0x01 - PS3 package
    0x08,0x04,0x000000C0
    0x0C,0x04,0x00000005,05? 08?
    0x10,0x04,0x00000080,size of sub header2
    0x14,0x04,0x0000000B,number of file entries (dirs+files) inside encrypted payload
    0x18,0x08,0x0000000000021570,64 bit integer length of complete pkg file
    0x20,0x08,0x0000000000000140,length of header/ payload start offset
    0x28,0x08,0x00000000000213D0,length of encrypted payload
    0x30,0x30,EP9000-NPEA00004...',PKG ID padded with 0x00's
    0x60,0x10,xxxxxxxxxxxxx
    0x70,0x10,xxxxxxxxxxxxx,pkg key (used encrypted with arbitrary private key)
    0x80,0x40,xxxxxxxxxxxxx
    0xC0,0x00000080,,sub header2 starts here

  2. #2
    Registered User eledu81's Avatar
    Join Date
    Nov 2010
    Posts
    3
    Sponsored Links
    Sponsored Links
    take a look to ungpkg from ps3tools. you will need gpkg-key in $HOME/.ps3

    Code:
    $ hexdump -C  gpkg-key
    00000000  2e 7b 71 d7 c9 c9 a1 4e  a3 22 1f 18 88 28 b8 f8  |.{q....N."...(..|

  3. #3
    Member einzwei's Avatar
    Join Date
    Feb 2007
    Posts
    36
    Sponsored Links
    Sponsored Links
    sure. key needed for decryption. But in order to _build_ pkg you need to ecrypt and sign it properly. Currently it is not known (at least no public info) how to sign...

  4. #4
    Registered User xScoper's Avatar
    Join Date
    Aug 2010
    Posts
    12
    Not true NGU user AlphaDenver has confirmed to have a working signed FTP server. He had a video released but took it down due to it being publicly released.

  5. #5
    Registered User metalheavy's Avatar
    Join Date
    Dec 2009
    Posts
    27
    Yes, signing is possible.

  6. #6
    Registered User geofferey's Avatar
    Join Date
    Jan 2011
    Posts
    4
    So how to you go about signing the .pkg(s) then?

    I tried makepkg from fail0verflows ps3tools, but I don't know what to put in the [key suffix] [version]. Does the tool even sign

    geofferey@ubuntu:~/PS3TOOLS$ ./makepkg
    usage: makepkg [key suffix] [version] filename.pkg dir_with_files
    perror: Success

    Spent some time looking around and there should be some signing tools soon. I would guess within the next two weeks.

    Geohot has a pup and a sample on his site which he just updated sometime yesterday. Obviously he has the ability to sign pkg(s) so it's only a short wait now.
    Last edited by geofferey; 01-09-2011 at 05:18 AM Reason: Automerged Doublepost

  7. #7
    Registered User DVBisOK's Avatar
    Join Date
    Dec 2009
    Posts
    1
    Use like this:

    makepkg retail 341 test.pkg dir_with_files


  8. #8
    Registered User geofferey's Avatar
    Join Date
    Jan 2011
    Posts
    4
    Thanks mate I'm going to try it on some source now and see if it will run. Do you know if it's signing them?

    Also where may I go about finding the edit button on this forum?

  9. #9
    Forum Moderator PS3 News's Avatar
    Join Date
    Apr 2005
    Posts
    27,389
    Quote Originally Posted by geofferey View Post
    Also where may I go about finding the edit button on this forum?
    Users can only edit posts for a few minutes each to fix grammar/spelling errors etc, after that the button disappears basically.

  10. #10
    Junior Member chrrox's Avatar
    Join Date
    Feb 2006
    Posts
    48
    Is it possible to extract game packages that have the .sdat extension?

    In a hex editor they start with NPD.

 

Sponsored Links

Page 1 of 3 123 LastLast
Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News