Ah, is the convention basically the same as it would be for non pnd apps -h --help to show usage and what not?
Huh? I'm not sure I understand.
meandu229 mentioned that you can launch PND files through the use of the pnd_run.sh scripts like shown here:
Code:
pnd_run.sh -p /media/Sdname/pandora/menu/snes9x.pnd -e snes9x -a "/media/Sdname/roms/snes/game.smc"
This is required as PND files are not executables but ISO or squashfs images containing both data and executables.
pnd_run.sh is located in /usr/pandora/scripts and requires the parameter -p <full-path-to-pnd> and -e <executable-to-launch> other parameters such as -a <parameters-to-pass-to-executable> are optional. pnd_run.sh prints usage info whenever its input is incorrect. It does not recognize -h or --help.
My remark was basically that you cannot easily guess the <executable-to-launch>.
For example, vlc requires the following option to be passed to pnd_run.sh:
The value which you need to pass is stored in an xml file in the root of the PND (which is an ISO or squashfs image).
You can mount the image and print the xml file. I have no idea if there is any tool available to automatically extract that info (aside from libpnd, I assume).
Note that there is also a binary pnd_run in /usr/bin which is easier to invoke, e.g.
Code:
pnd_run /media/Sdname/pandora/menu/snes9x.pnd
However, this option does not allow you to pass parameters to the application.