BD-J and access to file

Technical discussion on the newly released and hard to find PS3.

Moderators: cheriff, emoon

Post Reply
jmdetiege
Posts: 10
Joined: Thu Jul 17, 2008 12:05 am

BD-J and access to file

Post by jmdetiege »

hello,

First excuse for my poor english, i'm french belgian.

i'm newbie in PS3 dev and i'm try to begin with BD-J dev on PS3

Everywhere, i'm read that is not possible to access file with BD-J but i'm read that BD could have access to local 'optionnal'storage ans system 'mandatory' storage.

Anyone have more explanation about this ?

Somebody could say me if this http://www.java-tips.org/java-me-tips/m ... tio-2.html could help us ?

Tks a lot for your help

Ji-Moutch
User avatar
mc
Posts: 211
Joined: Wed Jan 12, 2005 7:32 am
Location: Linköping

Post by mc »

You can access files just fine as long as they are on the BluRay media (in the
AVCHD directory in the case of BD-J on USB memory). Use System.getProperty("bluray.vfs.root")
to get the base path to use. So to access a file in AUXDATA for example, use

File myfile = new File(System.getProperty("bluray.vfs.root"),
"BDMV"+File.separatorChar+"AUXDATA"+File.separatorChar+"MYFILE.XYZ");

However, I think your .perm file needs to contain one or more of the following

<file value="true"></file>
<bd-vfs value="true"></bd-vfs>

for this to work.
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
jmdetiege
Posts: 10
Joined: Thu Jul 17, 2008 12:05 am

Post by jmdetiege »

Tks, I'm trying that quickly
Post Reply