fileXio and fio

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
KaylaKaze
Posts: 75
Joined: Wed May 05, 2004 3:25 pm
Location: NC, USA
Contact:

fileXio and fio

Post by KaylaKaze »

Will it ever be possible that these 2 file methods will ever be able to be combined into 1 command that doesn't care if something is on HD or MC/HOST/CDFS, or will HD ever be fio compatible? I was just looking at the stdlib fopen, etc. code and it only handles fio. I'm wondering 'cause I've been looking at some code I want to port but it's neck deep in
fstream. I can work around it, but just thought I'd check.
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

fileXio should be able to access anything, and in a bit more standard way than fileio I've been told, or at least that was the point. So yes, there should only be one that you need that doesn't care what filesystem it is ;)

As for HDD being supported by fileio, no, it won't happen.
Shoot Pixels Not People!
Makeshift Development
KaylaKaze
Posts: 75
Joined: Wed May 05, 2004 3:25 pm
Location: NC, USA
Contact:

Post by KaylaKaze »

That's what I thought too, but as of previous versions, that wasn't the case. I could never get fileXio to access anything but HD. I haven't checked with 1.2 yet. It'd be nice if I could stop using "if (!(strncmp(filename,"pfs",3))) fileXioOpen else fioOpen"
Post Reply