network sites: arcadespot.com hey | games
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jul 2010
    Posts
    2

    Default how do I package my app to run on the psp?

    Hi..

    I have an app running, I'm using psplink, and it opens data files from "host0:/" (pngs, mesh data, etc).. What's the procedure to "package" it so I can run it on a standalone psp from the psp menu? do I build an iso image with the prx and all my files? I noticed that the examples on the psp sdk create a file called "EBOOT.PBP" that seems to be what the psp loads, does that include more than the prx, or do I just run that and open files from ms0:/ relative to the PBP file?

    Thanks!

  2.    
  3. #2
    Senior Member
    Join Date
    Sep 2008
    Location
    $PWD
    Posts
    251

    Default

    PBP stands for "PSP Binary Package". It contains eight items.
    • DATA.PSP - the executable itself
    • DATA.PSAR - data to be loaded into the firmware, only used by updates
    • PARAM.SFO - information about the EBOOT, like title, parental control, and firmware
    • ICON0.PNG - the icon that appears in the XMB
    • ICON1.PMF - the movie that replaces the icon in the XMB when highlighted
    • PIC0.PNG - an image that lays over the PIC1.PNG, next to the icon
    • PIC1.PNG - the image that replace the background of the XMB when highlighted
    • SND0.AT3 - the audio that plays when highlighted

    The PSP compilation process uses a stripped .elf file or a .prx as a DATA.PSP. A DATA.PSP can be executed standalone, but a PBP file without a PARAM.SFO will appear as "corrupted data" in the XMB. Everything else is just glitter.

  4. #3
    Spam Buster
    Join Date
    Sep 2007
    Location
    Nottingham, Nottinghamshire, UK
    Posts
    722

    Default

    rep up for babcock! :thumbsup:
    Honey Badger don't give a sh*t!

  5. #4
    Senior Member
    Join Date
    Sep 2008
    Location
    $PWD
    Posts
    251

    Default

    Why thank you, spike

  6. #5
    Junior Member
    Join Date
    Jul 2010
    Posts
    2

    Default

    ok, so I put the PBP on the psp along with my data files and then I open files on ms0:/ ? can I use paths relative to the location of the PBP, or do I have to use a full path? (I assume I can get that from argv[0]?)

    thanks

  7. #6
    Senior Member
    Join Date
    Sep 2008
    Location
    $PWD
    Posts
    251

    Default

    Hmm... I never thought of that. I'll have to try that when I get home. Place your PBP in ms0:/PSP/GAME/X/EBOOT.PBP. You can name 'X' anything you want. You can then execute your program from the XMB. I bet your file path will be PBP's directory. That's the PWD in most file browsers.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts