I have noticed that libcdvd.h is included like normal header files, in '$(PS2SDK)/ee/include'. But many projects I've worked with (currently LaunchELF) also require 'cdvd_rpc.h', which they expect to find in some separate project folder for libcdvd, which apparently no longer exists as such... And when I look inside the cdvd folder which is nowdays integrated with PS2SDK, then I find that no cdvd_rpc.h is to be found there anyway...
Searching the CVS repository I can only find this header file in a few project specific modules, such as 'libmp3' and 'neocdps2', etc. So I have to wonder: Is this header somehow no longer valid, or has it merely been neglected in the merging with ps2sdk ?
IMHO this header should be included together with the main cdvd header, and stored in the same folder. Thus using '$(PS2SDK)/ee/include' for the 'binary' distribution and 'ee/rpc/cdvd/include' in the ps2sdk module of the CVS. But 'older and wiser' heads than mine should decide this in any case, I just wanted to bring the problem to their attention.
Edit: Disregard the above. I now realize that the definitions in that header are obsolete, and that modern versions are available in '$(PS2SDK)/iop/include/cdvdman.h'. I also realize that the new prototypes are partly incompatible so I'll need to use the old libcdvd project files (I found v1.13 and v1.15 here at ps2dev.org), until I can modify my sources to use the modern prototypes.
Best regards: dlanor
What is the correct place for cdvd_rpc.h ?
I'm guessing the projects in question refer to a cdfs?
The problem is that there is actually two different libcdvd. There is the libcdvd in ps2sdk, which is basically a set of rpc calls for using the cdrom from the EE, and there is a libcdvd created by hiryu which is a reimplementation of the whole filesystem, supporting both iso9660 and joliet. You can find a copy of it on ps2dev.org.
TBH, I'm surprised those projects in cvs contain that code as they should just be linking to it, not copied the source files..
hmm..
bad coder! no cookie! ;)
The problem is that there is actually two different libcdvd. There is the libcdvd in ps2sdk, which is basically a set of rpc calls for using the cdrom from the EE, and there is a libcdvd created by hiryu which is a reimplementation of the whole filesystem, supporting both iso9660 and joliet. You can find a copy of it on ps2dev.org.
TBH, I'm surprised those projects in cvs contain that code as they should just be linking to it, not copied the source files..
hmm..
bad coder! no cookie! ;)
Shoot Pixels Not People!
Makeshift Development
Makeshift Development
Well, the current project is to add improvements to LaunchELF, based on the source release for v3.41, and it uses libcdvd for browsing CD/DVD discs.Drakonite wrote:I'm guessing the projects in question refer to a cdfs?
The latter is what I needed for LaunchELF, and I've found that it compiles well with v1.15 of that libcdvd.The problem is that there is actually two different libcdvd. There is the libcdvd in ps2sdk, which is basically a set of rpc calls for using the cdrom from the EE, and there is a libcdvd created by hiryu which is a reimplementation of the whole filesystem, supporting both iso9660 and joliet. You can find a copy of it on ps2dev.org.
Agreed, but I think there is some old stuff in CVS which no one has had time for updating, or interest in working on. The project I'm working on now is not from CVS at all, however. Sorry if I misled you on that score.TBH, I'm surprised those projects in cvs contain that code as they should just be linking to it, not copied the source files..
hmm..
bad coder! no cookie! ;)
Best regards: dlanor