Repository navigation
Conversation
Reads up to 4 entries ("Name,0x<64-bit title id>") from bootOptions.cfg
next to autoboot.cfg and adds the installed ones to the boot menu. The
title id decides the launch path: 0x0001... titles launch on vWii via
mocha and CMPTLaunchTitle, 0x0005... titles via
_SYSLaunchTitleWithStdArgsInNoSplash after account selection.
A custom autoboot choice is saved by title id, so renaming an entry keeps
it. If the saved title is no longer installed, the menu opens without
overwriting the choice.
Builds on wiiu-env#25 by Romulo Leitão (razor85), which
introduced bootOptions.cfg and the custom entries, and follows the
review there: full title ids, no vWii/Wii U string field, and
fgets/strtoull instead of streams. The installed-title check
now looks for title.tmd, which every installed title has.
Co-authored-by: Romulo Leitão <abra185@gmail.com>
fprintf pulled in about 4.8 KB of formatting code that snprintf, already linked, covers. The branch now builds 4.4 KB larger than main. Formatted with clang-format 13.0.1, which leaves main unchanged.
The menu gets -1 for such an entry, so pressing X left the choice unchanged and nothing was written: the old title came back as the autoboot title once it was reinstalled. X and Y now always save. Also skip mbstowcs's result when it reports a byte it can't convert ((size_t) -1), now that entry names come from a file.
The menu doesn't scroll: with all four built-in entries and four custom ones, the eighth row covered the update status line. Custom entries that don't fit are left out with a log message. System applets (title ids 00050030..., like the Internet Browser) need their own launch calls, so bootOptions.cfg skips them.
A saved Homebrew Launcher or vWii Homebrew Channel that is missing was passed to the menu unchanged, which then read its id as a row number: with a custom entry in that row, A started the custom title and saved it as the autoboot entry. Every saved entry the menu doesn't show now opens the menu with nothing preselected and stays saved, as a custom entry whose title is gone already did.
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds up to four entries of your own to the boot menu, Wii U titles or vWii titles. This picks up #25 with its review addressed: full title ids, no separate vWii/Wii U field, and
fgets/strtoullinstead of streams. Opened as a new PR, as @razor85 suggested in #25. Thanks for the original work; you're credited as co-author on the first commit.Usage
Create
bootOptions.cfgnext toautoboot.cfg(in the[ENVIRONMENT]folder), one entry per line: a name, a comma, and the full 64-bit title id.0x0001…launches on vWii throughCMPTLaunchTitle,0x0005…through_SYSLaunchTitleWithStdArgsInNoSplashafter the usual account selection.title.tmdon slccmpt; Wii U titles withSYSCheckTitleExists.0x00050030…, like the Internet Browser) are skipped with a log message: they need their own launch calls.title_<id>inautoboot.cfg), so renaming the entry keeps the choice.mbstowcs's(size_t) -1result instead of writing before the buffer, now that names come from a file.Tested
Wii U (US), Aroma, used daily since 17 Oct; the final version checked again on 16 Nov: