wiki/pages/_ja-JP/twilightmenu/custom-fonts.md
2024-05-19 11:13:14 -07:00

2.1 KiB
Raw Blame History

lang layout section category title description
ja-JP wiki twilightmenu customization カスタムフォント TWiLight Menu++でカスタムフォントを使う方法

TWiLight Menu++では、NFTRNitro FonT Resource形式のカスタムフォントを利用できます。 設定画面、説明書のタイトル、およびニンテンドーDSi、ニンテンドー3DS、セガサターン、Homebrew Launcherのテーマに使われます。

ディレクトリ構造

カスタムフォントはsd:/_nds/TWiLightMenu/extras/fonts/[フォントの名前]/[フォントファイル].nftrから読み込まれます。ここで、[フォントの名前]は任意の名前であり、[フォントファイル].nftrは以下のいずれかです。

  • large.nftr: The larger font used for titles
  • small.nftr: The smaller font used for most other text

スキンフォント

You may add fonts to custom DSi/3DS theme skins, which will override whatever is set in TWiLight Menu++ settings. These fonts go in the font folder, in the skin's root folder.

Custom skins can additionally use override fonts for the date & time using date_time.nftr, and the console username with username.nftr.

カスタムフォントの生成

Pk11のnftr-editorなどのユーティリティを使って独自のフォントを作成できます。 To regenerate one of TWiLight Menu++'s existing fonts using it:

  1. nftr-editorでNFTRファイルを読み込む
  2. Input fontテキストボックスに、優先度の高いフォントから低いフォントへを入力します、カンマで区切っていください
    • 左上のボックスに入力フォントのプレビューが、下のボックスには現在のNFTRが表示されます
  3. Generate from fontをクリックし、既存の文字を再生成するにはOKと言って、特別なボタン文字(例:)を再生成するにキャンセルを選びます
  4. Saveをクリックし、他のサイズについて繰り返します