gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Help a Noobie's FAT problem!

#106603 - sectionboy - Sat Oct 21, 2006 8:30 am

I've got devkitpro and palib running on my pc. Both are latest version. But the FAT(gba_nds_fat ) example in palib doesn't work on my sc-cf, though it does get compiled. It freezes at the FAT_InitFiles().

I believe it had been throughoutly tested before release, so it must be a problem on my side. Did anyone have the same problem? Any hint? Thanks alot!

#106613 - josath - Sat Oct 21, 2006 10:37 am

sectionboy wrote:
I've got devkitpro and palib running on my pc. Both are latest version. But the FAT(gba_nds_fat ) example in palib doesn't work on my sc-cf, though it does get compiled. It freezes at the FAT_InitFiles().

I believe it had been throughoutly tested before release, so it must be a problem on my side. Did anyone have the same problem? Any hint? Thanks alot!


palib? thoroughly tested before release? lol

#106621 - LiraNuna - Sat Oct 21, 2006 3:37 pm

Quote:
palib? thoroughly tested before release? lol

LOL. PAlib is so buggy that you have to hack lots of code to get something working. Also, FAT_InitFiles() (aka PA_InitMyFileSystemPreetyPreetyPlease(NOW)) is a part of chishm's old fatlib. you might want to update.

p.s. PAlib sucks
_________________
Private property.
Violators will be shot, survivors will be shot again.

#106624 - tepples - Sat Oct 21, 2006 4:29 pm

LiraNuna wrote:
Also, FAT_InitFiles() (aka PA_InitMyFileSystemPreetyPreetyPlease(NOW)) is a part of chishm's old fatlib. you might want to update.

I'll update when wintermute does.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#106930 - Lynx - Tue Oct 24, 2006 10:42 pm

Most of the devers here are anti-palib.. you might want to post on palibs forums.
_________________
NDS Homebrew Roms & Reviews

#106937 - spinal_cord - Tue Oct 24, 2006 11:43 pm

Why is most people anti-palib?
_________________
I'm not a boring person, it's just that boring things keep happening to me.
Homepage

#106946 - josath - Wed Oct 25, 2006 1:27 am

SC:CF is one of the most homebrew-compatible carts, so there's a good chance it's either a bug in PALib or in PALib's version of fatlib. I would suggest trying out the newer libfat alpha. It's on this forum, not too far down, you'll see it. (only downside to is is that directory listing functions are not implemented yet, but not everyone needs though)

#107210 - sectionboy - Fri Oct 27, 2006 5:27 pm

Thanks to everybody for your replies.

It turns out the 2005-11-06 ver of fat lib does work on my sc-cf card in the latest devkitpro and palib environment.

Here is what I've done:
I don't know how to use old fat lib to replace the one come with palib ( I couldn't use the build script to compile the lib). So I just put the old fat lib in my source folder, and change the function name whenever I get "confilict definition" error during compiling and linking. I know it's a crappy way to do so, but at least it works. I am still wondering though which part is the bad guy? the new fat lib? the devkitpro? the compiled fatlib? But one thing for sure is all other homebrews run just fine. Could that just be a problem of my luck?