Skip to main content

Bridgehead question

1 reply [Last post]
annex
Offline
Joined: 2009-11-03
Points: 0

Hi all,

I've been browsing the source and tools for the BridgeheadDiscImage app and was wondering if someone could help me understand a few things:

1. What all is required in the downloaded VFS image to launch an app from a sepecific jar? My understanding is the following (example is 00001 basedir):

JAR/00001.jar
BDJO/00001.bdjo

and then of course the VFS manifest and signing file.

2. Once the VFS image is downloaded and bound to the BUDA, how does one launch the app? I noticed in the Bridgehead example, the use of the BDLocator, here's a code snip:

BDLocator loc = new BDLocator("bd://1");

Does that mean title 1, if so where is that set, in the index.bdmv? I'm assuming one can overload the index.bdmv, so then I would need to include that in the VFS.

Thank you for any help!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
billf
Offline
Joined: 2004-02-13
Points: 0

Hi Annex,

Yes, right on all counts.

Often, the optical disc will already have an index.bdmv that associates the given title number with a .bdjo file. You could even put the .bdjo file on the optical disc, and just use the VFS update to swap in a new .jar file with the updated application; in this case a minimal VFS update would just be the one JAR file.

Often it's a good idea to plan ahead for at least the index.bdmv file, since overriding that with a new file carries a slight risk that you'll mess up one of the other titles, if you're not disciplined about versioning the index.bdmv.