Author Topic: Neo Myth Menu v1.1  (Read 12088 times)

0 Members and 1 Guest are viewing this topic.

Offline Nintendud

  • Jr. Member
  • **
  • Posts: 84
Re: Neo Myth Menu v1.1
« Reply #75 on: January 28, 2010, 10:16:10 AM »
Wow, I didn't even know that directories were supported. I just assumed they weren't. I haven't had the time to put in extra research.

Excellent! Thanks, madmonkey.

Offline ChillyWilly

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1491
  • Just a coding machine.
Re: Neo Myth Menu v1.1
« Reply #76 on: January 28, 2010, 11:49:49 AM »
magic number is 401 per directory.
you can organize your roms so there are no more than 401 roms in any given directory, then it will be fine.

401 only in the root directory - 400 in subdirectories as the first entry of a subdirectory will always be the link to the parent directory. This number varies for the revision as I think about memory usage and try things. I could probably push it up a bit, but not too much.

Entries include directories, so if you had 10 subdirectories in the root, you could only see 391 other files. Note that you can have more files/directories, but only the first 401 entries will show. The routines stops when it reaches the magic number.

Offline Nintendud

  • Jr. Member
  • **
  • Posts: 84
Re: Neo Myth Menu v1.1
« Reply #77 on: January 28, 2010, 02:05:01 PM »
Understandable. Directories make this number work very well. A cheap solution is to have a directory for every letter of the alphabet.

It also allows me to separate SMS, 32X, and Genesis games, and BIOS files. I'm excited to work on the folder layout of my giant SDHC card now. :)

Offline Solo

  • Newbie
  • *
  • Posts: 7
Re: Neo Myth Menu v1.1
« Reply #78 on: January 28, 2010, 06:03:13 PM »
Yeah, directory support is awesome! You need approximatively
-200 mb for SMS
-800 mb for Genesis
-100 mb for 32x

I have all the Sega Genesis roms twice:
-Alphabetically: one folder per letter
-By categories: I used Gamefaqs to classify each roms in specific category. Ideal to discover new game in a genre you love.
http://www.gamefaqs.com/console/genesis/cat_54.html

So... I think a 4 gb SD is more than enough.

Chillywilly, your menu made the Neo Myth worth the price! Thank again!

One request: do you think you can show the game name instead of the file name in the menu?

Offline Nintendud

  • Jr. Member
  • **
  • Posts: 84
Re: Neo Myth Menu v1.1
« Reply #79 on: January 28, 2010, 06:52:50 PM »
Yeah, directory support is awesome! You need approximatively
-200 mb for SMS
-800 mb for Genesis
-100 mb for 32x

I have all the Sega Genesis roms twice:
-Alphabetically: one folder per letter
-By categories: I used Gamefaqs to classify each roms in specific category. Ideal to discover new game in a genre you love.
http://www.gamefaqs.com/console/genesis/cat_54.html

So... I think a 4 gb SD is more than enough.

Chillywilly, your menu made the Neo Myth worth the price! Thank again!

One request: do you think you can show the game name instead of the file name in the menu?

It would probably slow down the directory reading process by a lot if it had to open all of the files to read the game name. I think one way to overcome this would to generate a metadata file in each directory that would have the text to print and the list of ROMs.

I would be more happy if it could read the full filename instead of the abbreviated version... oh well!

Offline Nintendud

  • Jr. Member
  • **
  • Posts: 84
Re: Neo Myth Menu v1.1
« Reply #80 on: January 28, 2010, 11:09:33 PM »
Oh, and your comment about your folder setup makes me think of how awesome it would be if it had support for a filesystem that supported symbolic links...

Hehe. :)

Offline Nintendud

  • Jr. Member
  • **
  • Posts: 84
Re: Neo Myth Menu v1.1
« Reply #81 on: January 29, 2010, 02:52:00 PM »
I know I've been spamming this thread, but I have a question.

I just set up my SD card with all of the ROMs I'll ever need, but it takes forever to scroll through them because the header information at the bottom is read when a game is selected.

Is there any way to disable this behavior, or fix it? It takes a LONG time to get to any game, because it takes a full 10 seconds to display this information.

I'm using a 8GB AData SDHC card formatted with FAT32. No folder has over 200 ROMs in it.

Offline ChillyWilly

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1491
  • Just a coding machine.
Re: Neo Myth Menu v1.1
« Reply #82 on: January 30, 2010, 11:46:41 AM »
The size of the menu prevents me from using long filenames (the filesystem code I use handles only the short names). It also has no internal caching, reading all the data from the root outward for every single operation (although I improved the speed by adding my own cache for filesystem data). The more entries per directory, the slower it will go. The deeper the directories, the slower it will go.

I think maybe what I'll do is put a count down on the rom info, so that you have to pause a moment to see the info, otherwise it will just keep scrolling through the entries. That would make it quicker to go through long lists of files. Also remember that you can scroll a page at a time (15 entries per page) using left/right rather than up/down. Use that for long lists right now.

Offline Nintendud

  • Jr. Member
  • **
  • Posts: 84
Re: Neo Myth Menu v1.1
« Reply #83 on: January 30, 2010, 02:16:40 PM »
The size of the menu prevents me from using long filenames (the filesystem code I use handles only the short names). It also has no internal caching, reading all the data from the root outward for every single operation (although I improved the speed by adding my own cache for filesystem data). The more entries per directory, the slower it will go. The deeper the directories, the slower it will go.

I think maybe what I'll do is put a count down on the rom info, so that you have to pause a moment to see the info, otherwise it will just keep scrolling through the entries. That would make it quicker to go through long lists of files. Also remember that you can scroll a page at a time (15 entries per page) using left/right rather than up/down. Use that for long lists right now.


Yup, I'm using that, but it takes me a good 5 mins to get to the ROM I want.

Right. 10 secs to load that ROM's header... Repeat for each page.

Then I need to scroll down, in the worst case, half a page to get to the ROM I want, which takes 10 seconds*half the number of displayed ROMs.

madmonkey compiled a version of the menu for me without the header bit, so I'm going to try that later. Should be a big improvement for my setup. :)

(In regards to FAT32 long filename support) Yeah, I had a feeling that the menu size was getting in the way again. Oh well!