Repository navigation
Conversation
…olution ASTRO BOT builds paths with %ASOBI_ROOT% tokens and expands them via getenv. Without the variable the title's expansion leaves the literal token, stat calls fail, and the sound config never loads. Set ASOBI_ROOT=app0 in the guest environment at startup. Titles can override it with setenv if needed. The /host/ mount already maps to the run directory, and /host/app0/target/data symlinks to the title's data directory. Tested: ASTRO BOT (PPSA21564) boots without requiring a user-set ASOBI_ROOT environment variable. The sound config loads and the title runs stable for 60+ seconds. Tests: asobi_root_environment verifies getenv returns app0 by default and respects setenv overrides. All tests pass except linux_guest_stack (host quirk) and agc_driver_pixel_interlock (unrelated).
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.
Carries the rework of boykopovar#4274 (
StarMrGamer:fix/astrobot-asobi-root-env@0528bae8), pushed by its author after the verification request in boykopovar#3480, rebased onto current main.What
ASTRO BOT (PPSA21564) reads
ASOBI_ROOTthroughgetenvto build its asset paths; without it the sound configuration never loads and start-up stops at the title's own assertion:(reproduced on Windows in boykopovar#3480; the issue was closed with the author's private stack, none of which is on main). The guest environment starts empty by design (70ef371, docs/dev/debt/libc.md: never reads the host's), so the title has no way to see the variable. This seeds one console-provided default,
ASOBI_ROOT=app0, into the guest environment - the value follows the homebrew payload convention. The host-seeding half of the carried branch was dropped in the rebase: main's empty-environment decision postdates the branch base and takes precedence. The debt entry is updated accordingly.Tested
Windows 11, MinGW-w64 GCC 15.2.0 (WinLibs r7), Ninja, Release,
BUILD_TESTING=ON, full build includinglibs:asobi_root_environment(default value,setenvoverride, absent variable) andguest_environmentpass.python tools/check_conventions.py --base origin/mainpasses;tools/pr_overlap.pywas run against the branch (only closed predecessors boykopovar#4274/boykopovar#3959/boykopovar#4565; no open PR provides this). The title itself was not rerun with this build.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)