Difference between revisions of "Categorii"
(bugs) |
Gamewizard71 (talk | contribs) m (→Wut?) |
||
Line 10: | Line 10: | ||
}} | }} | ||
Do you have too many apps listed in your HBC? Do you rarely play apps starting with "W" anymore because it takes too long to scroll all the way down to there? Have you ever installed an app but never played it because it got lost in the clutter? Your misery ends now. Introducing, [[Categorii]]! | Do you have too many apps listed in your HBC? Do you rarely play apps starting with "W" anymore because it takes too long to scroll all the way down to there? Have you ever installed an app but never played it because it got lost in the clutter? Your misery ends now. Introducing, [[Categorii]]! | ||
− | == | + | == What? == |
This app, when used effectively, will give the impression that the [[HBC]] has categories. How? By renaming your apps/ directory.<br /> | This app, when used effectively, will give the impression that the [[HBC]] has categories. How? By renaming your apps/ directory.<br /> | ||
It will appear just like a regular app. When you run it, it will do it's thing with no input from you, and exit. When HBC comes up again, the apps in the destination category show up. | It will appear just like a regular app. When you run it, it will do it's thing with no input from you, and exit. When HBC comes up again, the apps in the destination category show up. | ||
+ | |||
== Setup == | == Setup == | ||
* Open up your SD card and create a directory in the root for each category you want to have (apps_utitlites/, apps_games/, etc.). | * Open up your SD card and create a directory in the root for each category you want to have (apps_utitlites/, apps_games/, etc.). |
Revision as of 01:38, 9 September 2009
Categorii | |
![]() | |
General | |
---|---|
Author(s) | Yossi |
Type | Utility |
Version | 1.0 |
Links | |
Download | |
Source | |
Peripherals | |
![]() ![]() ![]() |
Do you have too many apps listed in your HBC? Do you rarely play apps starting with "W" anymore because it takes too long to scroll all the way down to there? Have you ever installed an app but never played it because it got lost in the clutter? Your misery ends now. Introducing, Categorii!
What?
This app, when used effectively, will give the impression that the HBC has categories. How? By renaming your apps/ directory.
It will appear just like a regular app. When you run it, it will do it's thing with no input from you, and exit. When HBC comes up again, the apps in the destination category show up.
Setup
- Open up your SD card and create a directory in the root for each category you want to have (apps_utitlites/, apps_games/, etc.).
- Sort your homebrew from the apps/ directory to the correct category directories.
- Put a copy of Categorii into each category for each link out of that category (more on this later). Be sure to give each one a unique directory name (categorii1, categorii2, etc. or link_utilities, link_games, whatever).
- For each link, edit some files.
- Required: Edit config.xml
- Highly Recommended: Edit meta.xml
- Recommended: Create an icon.png
- Don't forget to rename one of the categories back to apps/ so that HBC can find it.
The included config.xml and meta.xml are preconfigured for a link from apps_games/ to apps_utilites/. You will want to change these as needed for each link. The files are quite straight-forward, and if you can't figure them out you probably should not be using this.
<location from> is what to rename the current apps/ to when we leave, and <location to> is where we are going to.
You may want to make the <name> of each link start with a space so the HBC lists it first.
A simple icon.png with the name of the destination would be a nice finishing touch.
Use
There are several different ways you could set this up.
- You could have each category link to the next category in a big loop (games->utilities->demos etc. back around to games) (linked list).
- You could have the same thing but have a link back every time as well (games->utilities->demos etc. while at the same time demos->utilities->games etc.) (double linked list).
- You could have one category (lets call it apps_root) that consists only of links to all the other categories, and all the other categories would have a link back to apps_root (tree).
- You could have every category linked to every other category (web).
- Or you could have random links to wherever, and end up stuck in some category you forgot to link out of, or out of some category you forgot to link in to.
HBB
As it stands now, this will not work so well with the homebrew browser. Perhaps if a standard naming convention for categories is developed (apps_[hbb category], maybe?) teknecal would add support for it to the browser.
Bugs
These will be addressed when I get my computer back together.
- If the destination directory does not exists (or is entered in config.xml wrong) but the origin directory is found, you can end up in a limbo state with no directory named apps/ at all.
- There is a usleep(500000); at the end of the program. It should be reduced or removed.
Libs
I used libmxml and Libfat for this. I totally would have used libELM, but I wasn't able to get it to work. SquidMan blames my dkp setup. I blame his ISP :P
I also feel the need to complain about libmxml only being able to read attributes but not element values. What's up with that Beardface?
Disclaimer
All the usual blah blah blah. If your filesystem on the card gets messed up, this is NOT my fault. It's Libfat's fault.