Include Icon/Image for HBmenu in the app

Post Reply
LorenSonMaker
Posts: 1
Joined: Sat Aug 10, 2024 3:07 pm

Include Icon/Image for HBmenu in the app

Post by LorenSonMaker » Sat Aug 10, 2024 3:20 pm

Hello
I am modifying the example for Switch "sdmc" and I would like to find out how to put an icon/image that is displayed in HBmenu,
I cannot locate the information. If someone would be so kind...
Thank you

WinterMute
Site Admin
Posts: 1902
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Include Icon/Image for HBmenu in the app

Post by WinterMute » Wed Sep 04, 2024 9:45 am

This is documented in the template Makefile at https://github.com/switchbrew/switch-ex ... le#L26-L31 (found in your installation under /opt/devkitpro/examples/switch/templates/application)

Code: Select all

# ICON is the filename of the icon (.jpg), relative to the project folder.
#   If not set, it attempts to use one of the following (in this order):
#     - <Project name>.jpg
#     - icon.jpg
#     - <libnx folder>/default_icon.jpg
#
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests