PS3 Easy way to install packages over 4GB via webserver on PC

Discussion in 'XMB Modifications' started by DeViL303, Mar 8, 2018.

  1. 8,604
    9,689
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,604
    Likes Received:
    9,689
    Trophy Points:
    797
    UPDATE: 16th March, Its now much easier to use this PKG Linker PC tool created by Pink1, it does it all for you.
    SEE HERE

    I decided this was worth a thread. :)



    So here is how this download method works in full if anyone is interested. You need to have already ran HAN installer, that will add support.


    Then, If a package_link.xml does exist in this format on your USB000 port, then the icon will appear: (see attached template)
    Code:
    <XMBML version="1.0">
     <View id="package_link">
     <Attributes>
     <Table key="pkg_main">
     <Pair key="icon"><String>/dev_flash/vsh/resource/explore/icon/fah-xmb.png</String></Pair>
     <Pair key="title"><String>Direct link to package on PC</String></Pair>
     <Pair key="info"><String>Download and Install a Package from PC via Webserver</String></Pair>
     <Pair key="ingame"><String>disable</String></Pair>
     </Table>
     </Attributes>
     <Items>
    <Query
     class="type:x-xmb/folder-pixmap"
     key="pkg_main"
     attr="pkg_main"
     src="#pkg_items"/>
     </Items>
     </View>
     
     <View id="pkg_items">
     <Attributes>
     <Table key="link001">
     <Pair key="info"><String>net_package_install</String></Pair>
     <Pair key="pkg_src"><String>http://192.168.0.100/Large_Package.pkg</String></Pair>
     <Pair key="pkg_src_qa"><String>http://192.168.0.100/Large_Package.pkg</String></Pair>
     <Pair key="content_name"><String>tool_pkg_install_pc</String></Pair>
     <Pair key="content_id"><String>EP0001-CONTENTID_00-0000000000000000</String></Pair>
     <Pair key="prod_pict_path"><String>/dev_flash/vsh/resource/explore/icon/fah-xmb.png</String></Pair>
     </Table>
     </Attributes>
     <Items>
     <Item class="type:x-xmb/xmlnpsignup" key="link001" attr="link001"/>
     </Items>
     </View>
     
    </XMBML>
    So in this example my PC is 192.168.0.100 and my package is called Large_Package.pkg and its content ID is EP0001-CONTENTID_00-0000000000000000 , Note the pkg link needs to be included twice. You could include lots of links in this xml if you wanted.

    Then install a webserver like XAMPP , then put your pkg in the C:\xampp\htdocs folder and start the server:
    [​IMG]


    Thats it, Now your link will work, Easy :D

    Any questions please ask away.

    Oh yeah, the XMB item needs an icon too, so in the video I have the down arrow icon on the USB drive too, but it could be on flash/hdd etc, could also just put in a link to an existing icon like dev_flash\vsh\resource\explore\icon\fah-xmb.png

    BASIC TUTORIAL:
    Note: No spaces allowed in package file names / links.
     

    Attached Files:

    Last edited: Mar 18, 2018
    kusanigi, haznpapo, XVenomX and 20 others like this.
  2. 6
    1
    7
    cin201155

    cin201155 Forum Noob

    Joined:
    Mar 3, 2018
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    7
    Gender:
    Male
    :elf4::elf4:
     
    DeViL303 likes this.
  3. 1,900
    1,202
    297
    Louay

    Louay Senior Member

    Joined:
    Jan 23, 2017
    Messages:
    1,900
    Likes Received:
    1,202
    Trophy Points:
    297
    Gender:
    Male
    Occupation:
    College Student,GAMING,REPAIRING,XMB Modder
    Location:
    Tunisia
    Home Page:
    sure i want to ask about resigng psn game like resident evil 4 HD NPEB00342 i have the rap EP0102-NPEB00342_00-CONTENT0000DLPKG.rap but how can i make it work on ofw hope you answer me and how to start a thread i didn't find a bouton
     
  4. 1,133
    1,980
    297
    habib

    habib Developer

    Joined:
    Oct 13, 2014
    Messages:
    1,133
    Likes Received:
    1,980
    Trophy Points:
    297
    Gender:
    Male
    Awesome work dude.
    The only thing I want now is for a tool to support a pkg over 4gb for HEN style pkgs.
    My tool supports 4gb only until I improve on memory management :(
     
    bitsbubba and DeViL303 like this.
  5. 8,604
    9,689
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,604
    Likes Received:
    9,689
    Trophy Points:
    797
    Cant offer any help on that sorry.
     
  6. 8,604
    9,689
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,604
    Likes Received:
    9,689
    Trophy Points:
    797
    Ok, we still need to test if PS3 will definitely download your resigned pkgs using this method too. Im worried there might be some extra check. Can you test one? I suppose not much point until they can be built over 4GB..
     
    bitsbubba likes this.
  7. 170
    57
    82
    Ulquiorra-Sama

    Ulquiorra-Sama Member

    Joined:
    Dec 18, 2017
    Messages:
    170
    Likes Received:
    57
    Trophy Points:
    82
    Gender:
    Male
    That's very cool!!!
     
    DeViL303 likes this.
  8. 1,133
    1,980
    297
    habib

    habib Developer

    Joined:
    Oct 13, 2014
    Messages:
    1,133
    Likes Received:
    1,980
    Trophy Points:
    297
    Gender:
    Male
    I’m sure there is no other check, don’t worry
    Sony’s shit security made it to this. Their NX protection isn’t implemented properly thus patching the export directly. All plugins that look for ecdsa will return true

    Edit:
    At release their will also be debug pkg installer so there’s that
     
    bitsbubba and DeViL303 like this.
  9. 94
    48
    42
    c.link86

    c.link86 Member

    Joined:
    Feb 18, 2018
    Messages:
    94
    Likes Received:
    48
    Trophy Points:
    42
    Gender:
    Male
    any chance this can be used for Ethenol too or does it require cfw
     
  10. 6
    1
    7
    cin201155

    cin201155 Forum Noob

    Joined:
    Mar 3, 2018
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    7
    Gender:
    Male
  11. 8,604
    9,689
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,604
    Likes Received:
    9,689
    Trophy Points:
    797
    This uses 100% official functions, so will work on OFW with just that one line of xml added to flash.
     
    SurvivalInstinct, bitsbubba and habib like this.
  12. 94
    48
    42
    c.link86

    c.link86 Member

    Joined:
    Feb 18, 2018
    Messages:
    94
    Likes Received:
    48
    Trophy Points:
    42
    Gender:
    Male
    awsome
     
  13. 1,133
    1,980
    297
    habib

    habib Developer

    Joined:
    Oct 13, 2014
    Messages:
    1,133
    Likes Received:
    1,980
    Trophy Points:
    297
    Gender:
    Male
    @DeViL303 verified!
    infact i should add this to cfw as well
     

    Attached Files:

  14. 8,604
    9,689
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,604
    Likes Received:
    9,689
    Trophy Points:
    797
    @habib, yeah, adding it to CFW would be cool too. Actaully, if you wanted you could copy that 1 line of xml a few times so it checks all USBs, like this:
    Code:
    <Query class="type:x-xmb/folder-pixmap" key="pkg_link_000" src="xmb://localhost/dev_usb000/package_link.xml#package_link"/>
     <Query class="type:x-xmb/folder-pixmap" key="pkg_link_001" src="xmb://localhost/dev_usb001/package_link.xml#package_link"/>
     <Query class="type:x-xmb/folder-pixmap" key="pkg_link_002" src="xmb://localhost/dev_usb002/package_link.xml#package_link"/>
     <Query class="type:x-xmb/folder-pixmap" key="pkg_link_003" src="xmb://localhost/dev_usb003/package_link.xml#package_link"/>
     <Query class="type:x-xmb/folder-pixmap" key="pkg_link_004" src="xmb://localhost/dev_usb004/package_link.xml#package_link"/>
     <Query class="type:x-xmb/folder-pixmap" key="pkg_link_005" src="xmb://localhost/dev_usb005/package_link.xml#package_link"/>
     <Query class="type:x-xmb/folder-pixmap" key="pkg_link_006" src="xmb://localhost/dev_usb006/package_link.xml#package_link"/>
     <Query class="type:x-xmb/folder-pixmap" key="pkg_link_007" src="xmb://localhost/dev_usb007/package_link.xml#package_link"/>
     
    Last edited: Mar 8, 2018
    Alexander, bitsbubba and habib like this.
  15. 1,133
    1,980
    297
    habib

    habib Developer

    Joined:
    Oct 13, 2014
    Messages:
    1,133
    Likes Received:
    1,980
    Trophy Points:
    297
    Gender:
    Male
    The only thing I wish wasn’t there is the content Id check
    What happens when you do it with some random id?
     
    DeViL303, esc0rtd3w and bitsbubba like this.
  16. 8,604
    9,689
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,604
    Likes Received:
    9,689
    Trophy Points:
    797
    Well that's why I set it up so it reads off USB, so its easy to change the content ID, I have tried lots of stuff, including patching the reference out of the sprx, it worked for some other fields like the pkg_qa and content name, but not for the content id, it gets passed the first check (normally if ID doesn't match it fails instantly when you start download with 80710092 error), but if I patch out the reference to content ID it downloads fully and then give an error when it goes to install it.


    btw, here is an icon, it would be best if you could have that install with the category_game.xml somewhere like the icon folder on flash. As if you want to add all USB paths then that gets tricky for the icon path if its on USB too. or users can use the fah icon that is already on flash in their package_link.xml. (see my example above)

    Just noticed when it has all usbs added, it takes a few seconds longer to appear when you enter IPF. Just FYI as you might think its not working if you quicky check. .
     

    Attached Files:

    Last edited: Mar 8, 2018
  17. 435
    288
    97
    junaid

    junaid Member

    Joined:
    Dec 30, 2014
    Messages:
    435
    Likes Received:
    288
    Trophy Points:
    97
    Occupation:
    SHOWING DE WAY
    Location:
    Uganda
    One more ticked of. Anyway @habib do guys have a checklist of things you want to be in the exploit?
     
  18. 8,604
    9,689
    797
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    8,604
    Likes Received:
    9,689
    Trophy Points:
    797
    esc0rtd3w likes this.
  19. 1,133
    1,980
    297
    habib

    habib Developer

    Joined:
    Oct 13, 2014
    Messages:
    1,133
    Likes Received:
    1,980
    Trophy Points:
    297
    Gender:
    Male
    DeViL303 and Alexander like this.
  20. 1,133
    1,980
    297
    habib

    habib Developer

    Joined:
    Oct 13, 2014
    Messages:
    1,133
    Likes Received:
    1,980
    Trophy Points:
    297
    Gender:
    Male
    The standard patches include ecdsa disabling externally, SceNpDrmHeader patch to allow license=free for psp(converts etc)
    Another patch to allow custom signing of rif/act.dat

    Seperate patch is only for debug pkg enabler
     
    DeViL303 likes this.

Share This Page