Is There A "number Of Files" Limit For Directories?


gamefan999

Member
Joined
Jun 14, 2006
Messages
196
I am weeding and pruning roms to get the maximum number of games on my cards (2 GB) without redundancy. For example, I've got Gameboy roms to about 500. So the problem is, the emu is locking up during the scrolling thru all those roms! It seems inevitible. Then again, MAME does very well with over 800, so I suppose it's really just down to the emu? Anyone else having similar issues?
 
I am weeding and pruning roms to get the maximum number of games on my cards (2 GB) without redundancy. For example, I've got Gameboy roms to about 500. So the problem is, the emu is locking up during the scrolling thru all those roms! It seems inevitible. Then again, MAME does very well with over 800, so I suppose it's really just down to the emu? Anyone else having similar issues?

Hm, that's a hell of a lot roms, you must be fairly rich to have bought all those games ;)

Is there a way to script the directory an emulator loads from? It'd be pretty handy if you could just load scripts like;

A F
G K
L T
U Z

and so on. I guess the emulator would need some sort of settings file for that though, but I can't see why it'd be impossible if you could just re-write the setting file before launch via script.
 
Last edited by a moderator:
Linux does have a limit on number of files in a directory, but it all depends on the filesystem used. I have no idea about the version of Linux on the GP2X, but guess it could be that.
 
right ur in luck dude
i had same problem - btw press "right" on the joystick to scroll 12 roms at once on the gameboy emulator
Thanks for the info - I just love all these secrets and easter eggs about emu operation! It's just like the old days, learning how to do "handcuffs" w/ Guile on SF2.... ;^/

The scripts business sounds a little complicated, but I will give it a look.
 
Last edited by a moderator:
I think it's jffs
The SD card is in FAT32, so you're bound by the restrictions of that.

EDIT: The number of files you can store in a directory is 65535.
Thanks for all the replies. My Q though, I think, will ultimately be more centered on emu limitations. The GUI of Gnuboy has terible flicker all the time, and is really sluggish when it is trying to scroll thru hundreds of rom names. Ultimately it locks/crashes from handling all the on-screen data, it seems.

GNGeo/Rage2x has a really solid GUI. Even MAME has a solid, if very slow, GUI. MAME should implement the speedy/slow scrolling ability like RAGE2X.

No solutions here, just more comments. 8^)
 
Last edited by a moderator:
the easy answer would be to make the emu startup script symlink per-letter rom directories to the location the emu is going to search... unfortunately the damn thing doesnt seem to like any sensible* filesystem :(


* sensible - adj. - having symlinks and/or file permissions
 
Back
Top