forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MC madness

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
tjd



Joined: 27 May 2004
Posts: 23
Location: Austin, TX

PostPosted: Thu Jun 03, 2004 4:38 am    Post subject: MC madness Reply with quote

Is it just me, or do others get wierd results sometimes when reading (::read, ::fioRead etc.) from files on a MC. The opens always seem to work, but some files just return 0 bytes on a read (although the directory has the correct length).

I'm using MCMAN if that makes any difference...
Back to top
View user's profile Send private message Visit poster's website
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Thu Jun 03, 2004 5:02 am    Post subject: Reply with quote

Maybe you should try XMCMAN. I noticed a few differences between the two, which are quite significant. For example, one can open files using MCMAN which filename contains "\", whereas you can't using XMCMAN.
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Thu Jun 03, 2004 6:26 am    Post subject: Reply with quote

I haven't really noticed it so much, but supposedly fio is a bit flakey. Have you tried using MCOpen, etc. ?
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
tjd



Joined: 27 May 2004
Posts: 23
Location: Austin, TX

PostPosted: Thu Jun 03, 2004 9:58 pm    Post subject: Reply with quote

Haven't used mcopen in this instance-- can't easily because of the nature of the code (higher layers don't know where the file may reside so they just issue an open...).

As for XMCMAN, where does one get one (the IRXs I mean).
Back to top
View user's profile Send private message Visit poster's website
KaylaKaze



Joined: 05 May 2004
Posts: 75
Location: NC, USA

PostPosted: Thu Jun 03, 2004 11:17 pm    Post subject: Reply with quote

personally, I like fio better because for some reason, when I have to write a few files consecutively, when I had a routine that used libmc the first file in the group was never closed, even though all necessary mcclose and mc sync calls were made. At least I think that was the problem. It was undeleteable until after reboot and had 0 filesize.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri Jun 04, 2004 4:13 am    Post subject: Reply with quote

tjd wrote:

As for XMCMAN, where does one get one (the IRXs I mean).


SifLoadModule("rom0:XMCMAN", 0, NULL);
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group