Better category ordering

This commit is contained in:
Pk11 2021-01-09 15:12:49 -06:00
parent 22f15664f5
commit 5ea669e728
28 changed files with 85 additions and 45 deletions

View File

@ -0,0 +1,34 @@
{
"ds-index": [
{
"key": "guides",
"title": "Guides"
},
{
"key": "reference",
"title": "Reference"
}
],
"twilightmenu": [
{
"key": "installing",
"title": "Installing"
},
{
"key": "updating",
"title": "Updating"
},
{
"key": "customization",
"title": "Customization"
},
{
"key": "other",
"title": "Other"
},
{
"key": "uninstalling",
"title": "Uninstalling"
}
]
}

View File

@ -18,15 +18,6 @@ layout: compress
<div class="rounded-3 sidebar-container mb-3 p-3"> <div class="rounded-3 sidebar-container mb-3 p-3">
<!-- get category list --> <!-- get category list -->
{% assign items = site[page.collection] | where: "section", page.section | sort_natural: "title" %} {% assign items = site[page.collection] | where: "section", page.section | sort_natural: "title" %}
{% for item in items %}
{% if item.category.first %}
{% assign list = item.category %}
{% else %}
{% assign list = item.category | split: "don't split, i just want an array. this shouldn't be in a string." %}
{% endif %}
{% assign categories = categories | concat: list %}
{% endfor %}
{% assign categories = categories | uniq | sort_natural %}
<ul class="list-unstyled"> <ul class="list-unstyled">
<!-- First do the index --> <!-- First do the index -->
{% for item in items %} {% for item in items %}
@ -41,13 +32,13 @@ layout: compress
{% endunless %} {% endunless %}
{% endfor %} {% endfor %}
<!-- Finally, the other pages --> <!-- Finally, the other pages -->
{% for cat in categories %} {% for cat in site.data[page.collection].categories[page.section] %}
<li> <li>
<details {% if page.category == cat or page.category.first and page.category contains cat %}open{% endif %}> <details {% if page.category == cat.key or page.category.first and page.category contains cat %}open{% endif %}>
<summary>{{ cat }}</summary> <summary>{{ cat.title }}</summary>
<ul> <ul>
{% for item in items %} {% for item in items %}
{% unless item.category == cat or item.category.first and item.category contains cat %} {% unless item.category == cat.key or item.category.first and item.category contains cat.key %}
{% continue %} {% continue %}
{% endunless %} {% endunless %}
<li class="{% if page.title == item.title %}fw-bold{% endif %}"><a href="{{ item.url | remove: ".html" }}">{{ item.title }}</a></li> <li class="{% if page.title == item.title %}fw-bold{% endif %}"><a href="{{ item.url | remove: ".html" }}">{{ item.title }}</a></li>

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: ds-index section: ds-index
category: guides
title: DS game forwarders (3DS) title: DS game forwarders (3DS)
category: Guides
description: How to create CIA forwarders to have your DS games on your 3DS's home menu description: How to create CIA forwarders to have your DS games on your 3DS's home menu
--- ---

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: ds-index section: ds-index
category: reference
title: Nintendo DSi / Nintendo 3DS TWL_FIRM title: Nintendo DSi / Nintendo 3DS TWL_FIRM
category: Reference
description: An explanation of all things DS modding description: An explanation of all things DS modding
--- ---

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: ds-index section: ds-index
category: guides
title: Hardmod title: Hardmod
category: Guides
description: An explanation of all things DS modding description: An explanation of all things DS modding
--- ---

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: ds-index section: ds-index
category: reference
title: Homebrew title: Homebrew
category: Reference
description: An explanation of all things DS modding description: An explanation of all things DS modding
--- ---

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: ds-index section: ds-index
category: reference
title: Retail ROMs title: Retail ROMs
category: Reference
description: An explanation of all things DS modding description: An explanation of all things DS modding
--- ---

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: ds-index section: ds-index
category: reference
title: Wi-Fi title: Wi-Fi
category: Reference
description: An explanation of all things DS modding description: An explanation of all things DS modding
--- ---

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: other
title: Creating RAM Disks title: Creating RAM Disks
category: Other
--- ---
NOTE: You do not need to follow this if you're using a flashcard. NOTE: You do not need to follow this if you're using a flashcard.

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: customization
title: Custom Boot Splashes title: Custom Boot Splashes
category: Customization
--- ---
You can use custom GIF files to have custom splash screens while booting TWiLight Menu++. They need to be named `splashtop.gif` and `splashbottom.gif` and be in `sd:/_nds/TWiLightMenu/extras`, then set `DSi Splash Screen` to `Custom` in TWiLight Menu++ settings. You can use custom GIF files to have custom splash screens while booting TWiLight Menu++. They need to be named `splashtop.gif` and `splashbottom.gif` and be in `sd:/_nds/TWiLightMenu/extras`, then set `DSi Splash Screen` to `Custom` in TWiLight Menu++ settings.

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: customization
title: DSi / 3DS skins - Custom SFX title: DSi / 3DS skins - Custom SFX
category: Customization
--- ---
TWiLightMenu supports custom sound files in themes. Place your sound files under the `sound` subdirectory in your theme folder, for example for the `white` theme, you would place the files at `themes/white/sound/sfx.bin` and `themes/sound/bgm.pcm.raw` respectively. Both files are optional, if one is missing the default music will be used. You should then also set the music option in settings to "Theme". TWiLightMenu supports custom sound files in themes. Place your sound files under the `sound` subdirectory in your theme folder, for example for the `white` theme, you would place the files at `themes/white/sound/sfx.bin` and `themes/sound/bgm.pcm.raw` respectively. Both files are optional, if one is missing the default music will be used. You should then also set the music option in settings to "Theme".

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: customization
title: How to create DSi / 3DS skins title: How to create DSi / 3DS skins
category: Customization
--- ---
The easiest way of customizing a theme is by editing the png textures in a theme's `ui`, `battery`, and/or `volume` folders. These files can be any png with one minor caveat in that only pixels that are 100% transparent will be rendered transparently, any other opacity will be drawn as fully opaque. Also, any part that is transparent in one of a set (ex. all the battery icons) should be transparent in all since transparent pixels are simply skipped rather than reverted to the background, so any part that is transparent in only some should have the background texture rather than transparency. These textures are allowed to vary in size, but may require tweaking of the theme configuration to render correctly (see below). The easiest way of customizing a theme is by editing the png textures in a theme's `ui`, `battery`, and/or `volume` folders. These files can be any png with one minor caveat in that only pixels that are 100% transparent will be rendered transparently, any other opacity will be drawn as fully opaque. Also, any part that is transparent in one of a set (ex. all the battery icons) should be transparent in all since transparent pixels are simply skipped rather than reverted to the background, so any part that is transparent in only some should have the background texture rather than transparency. These textures are allowed to vary in size, but may require tweaking of the theme configuration to render correctly (see below).
@ -16,6 +16,8 @@ in order to compile your themes into Grit RIFF Format. This will compile your pa
Be aware the paletted textures come with more restrictions than BMP textures, the primary being an absolute maximum of 16 colors per texture. However, some textures may have even tighter default palette restrictions, which can be modified at the risk of running out of palette memory (see below). Be aware the paletted textures come with more restrictions than BMP textures, the primary being an absolute maximum of 16 colors per texture. However, some textures may have even tighter default palette restrictions, which can be modified at the risk of running out of palette memory (see below).
The example themes are in the [`romsel_dsimenutheme/resources/dsimenu_theme_examples` folder](https://github.com/DS-Homebrew/TWiLightMenu/tree/master/romsel_dsimenutheme/resources/dsimenu_theme_examples) in TWiLight Menu++'s repository. To download them, [download the repository](https://github.com/DS-Homebrew/TWiLightMenu/archive/master.zip) or clone it with git, then find that folder.
## Theme file descriptions ## Theme file descriptions
The `volume` and `battery` textures are self explanatory. The `volume` and `battery` textures are self explanatory.
@ -125,4 +127,4 @@ Paletted textures are not checked for validity. An invalid texture should be rar
## Custom background music and sound fonts. ## Custom background music and sound fonts.
The DSi Menu and 3DS themes also support custom music. See [Adding custom music / SFX](Adding-custom-music-sfx) for more details. The DSi Menu and 3DS themes also support custom music. See [DSi / 3DS skins - Custom SFX](custom-dsi-3ds-sfx) for more details.

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: customization
title: Custom Fonts title: Custom Fonts
category: Customization
--- ---
TWiLight Menu++ can use custom fonts in NFTR (Nitro FonT Resource) format. They will be used in Settings, the Manual's titles, and in the Nintendo DSi, Nintendo 3DS, SEGA Saturn, and Homebrew Launcher themes. TWiLight Menu++ can use custom fonts in NFTR (Nitro FonT Resource) format. They will be used in Settings, the Manual's titles, and in the Nintendo DSi, Nintendo 3DS, SEGA Saturn, and Homebrew Launcher themes.

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: customization
title: Custom Unlaunch Backgrounds title: Custom Unlaunch Backgrounds
category: Customization
--- ---
Using TWiLight Menu++ you can patch the Unlaunch installer to have a custom background image. This needs to be a 256 x 192 GIF, with a few restrictions: Using TWiLight Menu++ you can patch the Unlaunch installer to have a custom background image. This needs to be a 256 x 192 GIF, with a few restrictions:

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: other
title: Download Play / Pictochat in DS Classic Menu title: Download Play / Pictochat in DS Classic Menu
category: Other
--- ---
If you're using a DSi console, you should already be able to launch those apps. If you're using a DSi console, you should already be able to launch those apps.

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: other
title: FAQ & Troubleshooting title: FAQ & Troubleshooting
category: Other
--- ---
For more FAQs, please visit the [GBAtemp thread](https://gbatemp.net/threads/ds-i-3ds-twilight-menu-gui-for-ds-i-games-and-ds-i-menu-replacement.472200/). For more FAQs, please visit the [GBAtemp thread](https://gbatemp.net/threads/ds-i-3ds-twilight-menu-gui-for-ds-i-games-and-ds-i-menu-replacement.472200/).
@ -36,7 +36,10 @@ A: A random `.png` image in `sd:/_nds/TWiLightMenu/dsimenu/photos/` will be show
- If you have errors, it's most likely an error with the image size. Please use [tinypng](https://tinypng.com) to reduce the size - If you have errors, it's most likely an error with the image size. Please use [tinypng](https://tinypng.com) to reduce the size
#### Q: How do I get games? #### Q: How do I get games?
A: You can download homebrew games from [Universal-DB](https://db.universal-team.net/ds) and [GameBrew](https://www.gamebrew.org/wiki/List_of_DS_homebrew_applications). You can use [GodMode9i](https://github.com/DS-Homebrew/GodMode9i/releases) to dump GBA games on DS or DS games on DSi, or [GodMode9](https://github.com/d0k3/GodMode9/releases) to dump DS and 3DS games 3DS. A: You can download homebrew games from [Universal-DB](https://db.universal-team.net/ds) and [GameBrew](https://www.gamebrew.org/wiki/List_of_DS_homebrew_applications). To get dumps of your retail games:
- On DS you can use [GodMode9i](https://github.com/DS-Homebrew/GodMode9i/releases) to dump your GBA games and, if you have a Slot-2 flashcard, DS games
- On DSi you can use [GodMode9i](https://github.com/DS-Homebrew/GodMode9i/releases) to dump your DS games and DSiWare
- On 3DS you can use [GodMode9](https://github.com/d0k3/GodMode9/releases) to dump your DS games, DSiWare, and Virtual Console titles
#### Q: Can I get the save files from my cartridges onto my SD card or vise versa? #### Q: Can I get the save files from my cartridges onto my SD card or vise versa?
A: Yes, you can use [GodMode9i](https://github.com/DS-Homebrew/GodMode9i/releases) on DSi and 3DS or [Checkpoint](https://github.com/FlagBrew/Checkpoint/releases) on 3DS. A: Yes, you can use [GodMode9i](https://github.com/DS-Homebrew/GodMode9i/releases) on DSi and 3DS or [Checkpoint](https://github.com/FlagBrew/Checkpoint/releases) on 3DS.

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: other
title: How to Get Box Art title: How to Get Box Art
category: Other
--- ---
### 3DS ### 3DS

View File

@ -2,9 +2,10 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: installing
title: Installing (3DS, Manual) title: Installing (3DS, Manual)
category: Installing
--- ---
### Installing ### Installing
1. Download the latest version of `TWiLightMenu-3DS.7z` from [the releases page](https://github.com/DS-Homebrew/TWiLightMenu/releases) 1. Download the latest version of `TWiLightMenu-3DS.7z` from [the releases page](https://github.com/DS-Homebrew/TWiLightMenu/releases)
1. Extract `TWiLightMenu-3DS.7z` 1. Extract `TWiLightMenu-3DS.7z`

View File

@ -2,14 +2,12 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: installing
title: Installing (3DS) title: Installing (3DS)
category: Installing
--- ---
### Requirements You will first need to have Custom Firmware on your 3DS, follow [3ds.hacks.guide](https://3ds.hacks.guide) to install it
{:.alert .alert-info}
- The latest version of [FBI](https://github.com/Steveice10/FBI/releases)
- The latest version of [Luma3DS](https://github.com/lumateam/luma3ds/releases)
### Installing (Working Camera) ### Installing (Working Camera)
1. Open FBI and select `Remote Install`, then `Scan QR Code` 1. Open FBI and select `Remote Install`, then `Scan QR Code`

View File

@ -2,9 +2,13 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: installing
title: Installing (DSi) title: Installing (DSi)
category: Installing
--- ---
If you do not already have a way to run homebrew on your DSi, follow [dsi.cfw.guide](https://dsi.cfw.guide) to install TWiLight Menu++
{:.alert .alert-info}
### Installing ### Installing
1. Download the latest `TWiLightMenu-DSi.7z` from [the releases page](https://github.com/DS-Homebrew/TWiLightMenu/releases) 1. Download the latest `TWiLightMenu-DSi.7z` from [the releases page](https://github.com/DS-Homebrew/TWiLightMenu/releases)
1. Extract `TWiLightMenu-DSi.7z` 1. Extract `TWiLightMenu-DSi.7z`

View File

@ -2,9 +2,10 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: installing
title: Installing (Flashcard) title: Installing (Flashcard)
category: Installing
--- ---
### Installing ### Installing
1. Download the latest version of `TWiLightMenu-Flashcard.7z` from [the releases page](https://github.com/DS-Homebrew/TWiLightMenu/releases) 1. Download the latest version of `TWiLightMenu-Flashcard.7z` from [the releases page](https://github.com/DS-Homebrew/TWiLightMenu/releases)
1. Extract `TWiLightMenu-Flashcard.7z` 1. Extract `TWiLightMenu-Flashcard.7z`

View File

@ -2,8 +2,8 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: other
title: Playing in Widescreen title: Playing in Widescreen
category: Other
--- ---
Requires an Old/New Nintendo 3DS or 2DS console. Requires an Old/New Nintendo 3DS or 2DS console.

View File

@ -2,9 +2,10 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: uninstalling
title: Uninstalling (3DS) title: Uninstalling (3DS)
category: Uninstalling
--- ---
### Uninstalling ### Uninstalling
1. Open FBI 1. Open FBI
1. Go to `Titles` 1. Go to `Titles`

View File

@ -2,9 +2,10 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: uninstalling
title: Uninstalling (DS & DSi) title: Uninstalling (DS & DSi)
category: Uninstalling
--- ---
### Uninstalling ### Uninstalling
1. Go to either the console's SD card or the flashcard's SD card 1. Go to either the console's SD card or the flashcard's SD card
1. Open `_nds` 1. Open `_nds`

View File

@ -2,9 +2,10 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: updating
title: Updating (3DS, Manual) title: Updating (3DS, Manual)
category: Updating
--- ---
**NOTE:** If updating from a version older than v16.4.0, please move your `.sav` files for DS games to a new folder called `saves`, with the `saves` folder being in the same place as the DS roms. **NOTE:** If updating from a version older than v16.4.0, please move your `.sav` files for DS games to a new folder called `saves`, with the `saves` folder being in the same place as the DS roms.
### Updating ### Updating

View File

@ -2,9 +2,10 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: updating
title: Updating (3DS) title: Updating (3DS)
category: Updating
--- ---
**NOTE:** If updating from a version older than v16.4.0, please move your `.sav` files for DS games to a new folder called `saves`, with the `saves` folder being in the same place as the DS roms. **NOTE:** If updating from a version older than v16.4.0, please move your `.sav` files for DS games to a new folder called `saves`, with the `saves` folder being in the same place as the DS roms.
### Updating ### Updating

View File

@ -2,9 +2,10 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: updating
title: Updating (DSi) title: Updating (DSi)
category: Updating
--- ---
**NOTE:** If updating from a version older than v16.4.0, please move your `.sav` files for DS games to a new folder called `saves`, with the `saves` folder being in the same place as the DS roms. **NOTE:** If updating from a version older than v16.4.0, please move your `.sav` files for DS games to a new folder called `saves`, with the `saves` folder being in the same place as the DS roms.
### Updating ### Updating

View File

@ -2,9 +2,10 @@
lang: en-US lang: en-US
layout: wiki layout: wiki
section: twilightmenu section: twilightmenu
category: updating
title: Updating (Flashcard) title: Updating (Flashcard)
category: Updating
--- ---
**NOTE:** If updating from a version older than v16.4.0, please move your `.sav` files for DS games to a new folder called `saves`, with the `saves` folder being in the same place as the DS roms. **NOTE:** If updating from a version older than v16.4.0, please move your `.sav` files for DS games to a new folder called `saves`, with the `saves` folder being in the same place as the DS roms.
### Updating ### Updating