EZ-Flash USA Forum

Forum for the EZ-Flash I, II, III, IV & V Gameboy Advance & Nintendo DS USA Forum (Unofficial) Open since 2004!
It is currently Mon May 20, 2013 4:13 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
Sponsor
 Post subject: Corrupted Gamelist in Loader [SD]V1.720 on GBA
PostPosted: Fri Jul 08, 2011 8:10 pm 
Offline
 Profile

Joined: Fri Jul 08, 2011 7:52 pm
Posts: 3
Hi@all, I used to have an EZ3, now finally switched to EZ4 to play on GBA, not NDS.

Code:
Here's my setup:
Software Revision Loader: [SD]V1.720
EZ-Client Revision: EZ4_20070521
MicroSD: 2GB / FAT
Please see the attached image showing the issue with the gamelist.


There's a weird thing happening when I add games to the SD-Card:
At some point the list just breaks in the middle of a filename and all items below that point don't have names, just folder-icons.
All games AFTER the break don't even work.
I had 96 games on my card, the break always happened at the 80th entry.

Here's what I've tried so far.
  • Adding games with EZ-Client -> same result
  • Adding games directly via Windows Explorer (Vista64bit) -> same result
  • Deleting all games BEFORE the list breaks up -> games show up and work

Another thing that bothers me is that it takes about 17 seconds to write a saver after the GBA is turned on
and about 12 seconds to enter the "EZ-Disk" folder until the list shows up.
My EZ3 was much quicker...

I really hope there's someone who can help...
this is kinda frustrating :?


Attachments:
File comment: Photo showing corrupt gamelist on my GBmicro
2011-07-09 01.23.51.jpg
2011-07-09 01.23.51.jpg [ 251.59 KiB | Viewed 828 times ]
Top
 
Sponsor
 Post subject: Re: Corrupted Gamelist in Loader [SD]V1.720 on GBA
PostPosted: Fri Jul 08, 2011 8:45 pm 
Offline
 Profile

Joined: Fri Jul 08, 2011 7:52 pm
Posts: 3
I just found this post about MicroSD-Adapters causing problems:
viewtopic.php?f=12&t=17228

Could it be that my issue with the gamelist is related to the adapter?
Have you ever had that issue too?

Thanks!


Top
 
 Post subject: Re: Corrupted Gamelist in Loader [SD]V1.720 on GBA
PostPosted: Sat Jul 09, 2011 7:31 am 
Offline
Moderator
 WWW  Profile

Joined: Wed Apr 13, 2005 4:49 am
Posts: 2857
Location: location, location
There is an 80 games per folder limit. I am not sure why it happens but it does- stick some games in another folder and it should go away (obviously do not wander into the saver folder but you should never have to go there anyway).

The saves will probably continue to take that long (GBA speeds and writing do not go hand in hand) but once you lose a few files from the directory it should take less time to parse it and display it.

As for the adapter stuff on rare occasion they do work for people but considerably more often than not they cause troubles so we advise strongly against using them.

_________________
Come and join the EZFlash IRC channel #ezflash on irc.irchighway.net
Java irc client http://sosuke.com/ezflash/irc-ezflash/

DS rom rips, hacking and enhancements
GBA and DS rom hacking guide
Collection of useful threads for the EZ5 (kept updated)


Top
 
 Post subject: Re: Corrupted Gamelist in Loader [SD]V1.720 on GBA
PostPosted: Sat Jul 09, 2011 10:30 am 
Offline
 Profile

Joined: Sun Mar 09, 2008 10:06 pm
Posts: 81
My two cents, from some observation. While it might not be obvious, the EZ-Flash IV sorts a directory listing before displaying it (directories are put at the top, although I don't think in alphabetical order, and files in alphabetical order at the bottom). Presumably the 80 file per folder limit is a consequence of allocating space for a set number of names then doing the sort. Since it doesn't simply cut off at 80 but becomes garbled after that point, I'd presume it's actually overflowing the amount of available space and is luckily not simply hanging. Actually accessing each file name, though, doesn't require a sort, so having a saver folder with lots of files is actually fine, read/write wise. But like FAST6191 said, you probably don't want to actually ever view the folder. :)

As for the saves taking a long time, I think your time measurements give you a partial clue on what's happening: it just takes a long time to read the file names. Presuming the actual sort and display of files takes very little time (say, under a second), it takes about 11-12 seconds to read in 96 file names. For an average search in a linear list, it takes processing about half the list to find the desired item. So, it'd be a good presumption that it takes about an average of 5-6 seconds to find the appropriate save file in the saver folder. That means the average writing to the miniSD card takes about 11-12 seconds. I know on my own cart with ~280 games (and hence ~280 saves), it takes ~30 seconds to do the whole save. Doing the math I just gave, I would presume it would be closer to 43 seconds, so apparently my estimates are a bit off. If you only have one save file and one game on your EZ-Flash IV, you'll probably get a better idea of the other extreme and better narrow down just how long the save file locating vs writing to the miniSD takes (I've done it before, but I figure what the figure was).

So, yea, a slow save on the EZ-Flash IV is just a sad fact of life. :/


Top
 
 Post subject: Re: Corrupted Gamelist in Loader [SD]V1.720 on GBA
PostPosted: Sun Jul 10, 2011 5:49 am 
Offline
 Profile

Joined: Fri Jul 08, 2011 7:52 pm
Posts: 3
thanks for the infos! yes, that makes perfect sense.
so i ordered 2 miniSd cards just to be save.
also i created some subfolders on the card and it's working out well.

thank you all again!


Top
 
Sponsor
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
Design By Poker Bandits