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 Misc > Is there such a homebrew?

#155925 - 11X_daemon_X11 - Mon May 05, 2008 8:32 pm

Now, I use my ds for everything I do. I use DS organize as a text editor, Bunjalloo for a web browser, and DS organize for the rest of the stuff I need :)

Im using a 128sd card for this (a 1gb sd card is set aside for my music:)), so, as you could have guessed, I'm very tight on memory. I download alot of stuff using bungalloo, mostly for my deviant art, I get my artwork to show it off to my friends :)

So anyway, I was wondering if there was a homebrew that shows the Total amount of memory on the SD card and how much is used and how much is left over, or something of the sort? like I said, I tend to download things, so I'm always afraid of running out of memory. Just wondering :)
_________________
IRC (please join :D):

http://evilnetirc.ath.cx/

#155931 - Tikker - Mon May 05, 2008 10:20 pm

I'm a little surprised that DSO doesn't have that already

#155933 - 11X_daemon_X11 - Mon May 05, 2008 10:36 pm

Yeah so was I s eeing how it pretty much has everything you need for this kinda stuff :(
_________________
IRC (please join :D):

http://evilnetirc.ath.cx/

#155959 - nsm333 - Tue May 06, 2008 1:56 am

how could you do this? i have no experiance with file acess, so, i'm not the best person to reply to this, but i don't know if there is any way. i need something like this too, though. dso is open source, so we could add stuff. (like i'm doing)

#156006 - Cydrak - Tue May 06, 2008 7:44 am

FAT is ancient, with no real way to do it. To find free clusters, you pretty much have to scan for them. :P

There's been talk of adding the info, in the form of statvfs() support (search boards on "statvfs", if you're curious)... the only other methods that come to mind are hacky at best.

(Actually, FAT32 has a free cluster count, but it's not too reliable, being a frequent Scandisk complaint in my experience! My win98 machine would crash with a mean period of 3-4 Earth days, leaving the FAT in a state of slight but perpetual confusion. o_o *shiver* Man, I miss some things about the '90s but software was NOT one of them.)

#156037 - pepsiman - Tue May 06, 2008 2:27 pm

11X_daemon_X11 wrote:
So anyway, I was wondering if there was a homebrew that shows the Total amount of memory on the SD card and how much is used and how much is left over, or something of the sort?

DSLinux has a 'df' command which does this.

#156123 - 11X_daemon_X11 - Wed May 07, 2008 12:24 am

Sadly DSLinux doesn't work so well on games n music :\ I tried to put in the whole password thingy that it says to use and nothing happens so... :(
_________________
IRC (please join :D):

http://evilnetirc.ath.cx/

#156135 - HyperHacker - Wed May 07, 2008 2:11 am

libFAT (and its predecessor GBA_NDS_FAT that DSO still uses) didn't support this for a long time, I'm not even sure if it does now.
_________________
I'm a PSP hacker now, but I still <3 DS.

#156199 - Lynx - Wed May 07, 2008 5:47 pm

11X_daemon_X11 wrote:
Sadly DSLinux doesn't work so well on games n music :\ I tried to put in the whole password thingy that it says to use and nothing happens so... :(


Only because you are doing something wrong. DSLinux (latest release) works perfectly fine on my GamesNMusic (when patched with DLDI v1 and renamed to bootme.nds).. Only issue I would see is that it is 30MB in size.. which, if you cleaned up that much room.. you wouldn't need to use the 'df -h' command anymore.
_________________
NDS Homebrew Roms & Reviews

#156204 - nsm333 - Wed May 07, 2008 6:39 pm

ha ha. do mean the passwd file thing? that's really only for max media player. write acess is broken. lol.

#156212 - 11X_daemon_X11 - Wed May 07, 2008 8:12 pm

When I downloaded it I got a file with no extension that was 50+mb...
_________________
IRC (please join :D):

http://evilnetirc.ath.cx/

#156459 - HyperHacker - Sat May 10, 2008 2:29 am

Maybe you downloaded the source?
_________________
I'm a PSP hacker now, but I still <3 DS.

#156496 - 11X_daemon_X11 - Sat May 10, 2008 7:51 pm

I have no clue but I cant ever find it and when I found it, it said there was missing files and asked for a password :(

Edit: I found out it was my computer making an error, like the said sometimes happens with winrar when extracting :) when it extracted the file, it thought it was a .tar instead of a .tgz (I think thats what it said), and I got it to extract properly now :)
_________________
IRC (please join :D):

http://evilnetirc.ath.cx/

#156625 - dantheman - Sun May 11, 2008 10:55 pm

DSLinux's df command works, like Pepsiman stated. This is the only way I've ever heard of to check the amount of available space.