Skip to content

NeoStation Beta 0.8.4+99

Choose a tag to compare

@github-actions github-actions released this 16 May 04:41

fix(launcher): restore RetroArch ROM access for Downloads/SD-card sources
Three regressions introduced by the May 14 launcher refactor:

  1. cacheContentUriToFile wrote to Android/data//cache/ blocked
    by Android 10+ scoped storage for other apps. Cache now goes to
    the public /storage/emulated/0/NeoStation/rom_import/ directory
    which RetroArch (and any app with storage permissions) can read.

  2. _launchGameAndroid fallback (hit when JSON config throws
    ACTIVITY_NOT_FOUND, e.g. user has com.retroarch not .aarch64)
    sent game.romPath raw without the neostation-realpath: marker.
    The May 14 refactor removed the Kotlin-side per-package content://
    resolver, so RetroArch was receiving a raw content:// URI it
    cannot open. Marker now added when romPath is content://.

  3. getDefaultLibretroDirectory hardcoded /data/user/0/ wrong for
    clone/secondary-user profiles (OxygenOS Clone Phone). Now resolved
    dynamically via PackageManager.getApplicationInfo().dataDir with
    /data/user/0/ as fallback.