Path: chuka.playstation.co.uk!news1.scei.co.jp!scea!greg_labrec@interactive.sony.com From: Jack Copper Newsgroups: scea.yaroze.beginners Subject: Re: Contents of Boot CD Date: Mon, 05 May 1997 20:50:37 -0400 Organization: ArcanaTech Lines: 39 Message-ID: <336E805D.2BFE@earthlink.net> References: <336B62FC.B67@earthlink.net> <336b8d4c.18253753@205.149.189.29> <336BB762.1411@earthlink.net> <336BCC3B.6713@charlie.cns.iit.edu> Reply-To: impmeister@earthlink.net NNTP-Posting-Host: Cust107.Max6.Cleveland.OH.MS.UU.NET Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (Win95; U) Ed Federmeyer wrote (among other things): > > Much easier than writing a program to do this! :-) Although a nice set > of programmer freindly routines to get directory listings could be > useful in the long run. > > EdF I spent some more time trying to access the CD programmatically, to no avail. Either I'm missing something (likely), or there is a bug in firstfile() that prevents it from recognizing the * wildcard when applied to the CD ROM. BTW, I could swear I posted the details yesterday, but I don't see the post anywhere.. so at the risk of duplication: struct DIRENTRY stBaseDirctory; firstfile("cdrom:\\*", &stDirectory ); sends the playstation off into the weeds (reset city...) using simply * as the name parameter causes the playstation to generate an error message to the effect that * is not a valid device, along with a list of valid devices (of which, cdrom: is one!) using UPPER case CDROM: also generated an error message, but the invalid device in the string was CDROM (WITHOUT the : that was used with the name!) Various other names yield similar wierd results; however, using another device from the valid list (i.e., bu10:*) works.. I get a reasonable ASCII string for a "file" on the memory card in slot 2. This is increasingly bothersome- I'd like to know how to reliably get to the drive.. If and when I do (with a little help from my friends...) I'd be happy to post whatever I come up with. Insights?? Jack Copper