Possum / LumaLocaleSwitcher

Front end to Luma3DS compatible locale system.
MIT License
130 stars 11 forks source link

Is possible add alphabetical order?? #11

Open RetroMarioBros opened 7 years ago

3096 commented 7 years ago

I think what it really needs is a new “Bookmarked" mode in the main menu. Even alphabetically, scrolling through all installed titles could still be quite a pain. What I propose is that when you make a change to any title, it automatically gets added to the main menu. The title stays there for easier future access even if you reset its locale to default because you might really end up changing it soon (for example, I have a US device, but just the other day I was picking up a EU pokemon distribution. Ofc I would change it back after I get my pokemon, but soon I might need to pick up some other pokemon from JP or something, that's why I need the Pokemon title to stay there.) And you can always remove them from main menu when you're done using it.

Possum commented 7 years ago

I like the "bookmarked" idea. It would be pretty straightforward to have the app could check the titles at the configured path to see which ones are overridden.

Alphabetical won't happen any time soon since it would require rewriting the way that the system loads titles. Some apps (JKSM comes to mind) achieve this by caching the title list in a separate db. This method requires a manual rebuild whenever you add new titles (or delete old ones).

Lavorther commented 6 years ago

Alphabetical won't happen any time soon since it would require rewriting the way that the system loads titles. Some apps (JKSM comes to mind) achieve this by caching the title list in a separate db. This method requires a manual rebuild whenever you add new titles (or delete old ones).

As this app is based on FBI, I'm assuming you didn't write the code for reading and displaying the titles yourself (which is fine, no need to reinvent the wheel). But if that's the case, can't you look at the source code of one of the more recent versions of FBI that do list titles in alphabetical order and see if you can copy the bit that reads titles to replace your current code? I have no idea how hard this would be and if it would be compatible with the rest of your code, but if FBI kept the same structure you might only have to replace a function or two and maybe make some minor adjustments to make sure it works with the rest of your code. Just an idea, but it might be something worth looking into.