[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108947":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":14,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":9,"pushedAt":21,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":15,"starSnapshotCount":15,"syncStatus":25,"lastSyncTime":26,"discoverSource":27},108947,"sms-android","chasem-dev\u002Fsms-android","chasem-dev","Super Mario Sunshine PC port launcher for ARM64 Android handhelds",null,"Java",55,3,1,5,0,39.31,false,"main",true,[],"2026-10-30 13:50:07","2026-11-18 04:41:18","\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002F97sVPsbxsY\">\u003Cimg src=\"https:\u002F\u002Finvidget.switchblade.xyz\u002F97sVPsbxsY\" alt=\"Join the Super Mario Sunshine Discord server\">\u003C\u002Fa>\n  \u003Cbr>\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002F97sVPsbxsY\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-Join%20the%20server-5865F2?style=for-the-badge&logo=discord&logoColor=white\" alt=\"Join our Discord\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fchasem-dev\u002Fsms-launcher\">\u003Cimg src=\"docs\u002Fports\u002Fpc.svg\" width=\"32%\" alt=\"Also on PC: Windows, macOS and Linux. Get SMS Launcher.\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fchasem-dev\u002Fsms-switch\">\u003Cimg src=\"docs\u002Fports\u002Fswitch.svg\" width=\"32%\" alt=\"Also on Switch: homebrew, up to 60 fps. Download the NRO.\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fchasem-dev\u002Fsms-iphone-ipad\">\u003Cimg src=\"docs\u002Fports\u002Fios.svg\" width=\"32%\" alt=\"Also on iPhone and iPad: native port in progress, coming soon.\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n# SMS Launcher for Android\n\nA native Android launcher for the [Super Mario Sunshine PC port](https:\u002F\u002Fgithub.com\u002Fchasem-dev\u002Fsms-pc-port).\nThe APK includes the compiled port and SDL, but no game data: you import a disc\nimage made from your own copy. It targets ARM64 Android 10 or newer, with\nGLES 3.1 or newer, and a controller or the on-screen touch controls. AYN Thor\nand similar modern Android handhelds are the intended hardware. On Windows,\nmacOS and Linux, use the desktop\n[SMS Launcher](https:\u002F\u002Fgithub.com\u002Fchasem-dev\u002Fsms-launcher) instead.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fmain-menu.jpg\" width=\"49%\" alt=\"The launcher's main menu: the seaside artwork with Super Mario Sunshine, Ready when you are, a big yellow Play button, a settings button, and a Discord button in the top bar\">\n  \u003Cimg src=\"docs\u002Fscreenshots\u002Fsettings-gameplay.jpg\" width=\"49%\" alt=\"Settings, Gameplay page: frame rate, volume, language and camera inversion, with pages for Controls, Graphics, Performance, Saves and data, and About\">\n\u003C\u002Fp>\n\n## Download\n\nAPKs are published on this repository's\n[Releases](https:\u002F\u002Fgithub.com\u002Fchasem-dev\u002Fsms-android\u002Freleases) page: full\nreleases, starting with 1.0.0, and tester previews between them as\npre-releases. Each has two: `sms-android-\u003Cversion>-arm64.apk` plays Super Mario\nSunshine, and `sms-android-eclipse-\u003Cversion>-arm64.apk` (SMS Eclipse) plays\n[Super Mario Eclipse](https:\u002F\u002Fgamebanana.com\u002Fmods\u002F536309). They install side\nby side, each with its own disc and saves. Install over the previous release\nor preview to keep your imported disc and saves. Previews 1 to\n17 were published from the desktop launcher's repository as\n`android-pr-107-v*` pre-releases; this repository's builds update them in place.\n[CHANGELOG.md](CHANGELOG.md) lists what changed in each release and preview.\n\n## Status\n\nSee [VALIDATION.txt](VALIDATION.txt) for build and emulator results. Plaza\ngameplay is currently slow in the ARM64-translating emulator; handheld\nperformance has not been measured on AYN Thor. An S24 Ultra tester reports\nnear-60 FPS while recording but lower FPS during ordinary play. Performance\nrequests and faster-core placement did not help in their comparisons. Their\ntiming log identified an avoidable extra refresh wait in our background-work\nfallback; preview 12 replaces it with a short cooperative turn. The tester\nreports that build is much faster and supplies a sustained nominal-60 FPS\n4:3 run, while widescreen still runs around 55–60 FPS. Preview 13 reduces\nCPU work in widescreen layout;\nits device FPS effect needs comparison. The two tester runs were not a\ncontrolled matching-camera benchmark.\n\n## Build\n\nMost players should [download](#download) an APK instead. To build your own,\nyou need a computer running Linux, macOS or Windows (through WSL), about 8 GB\nof free space, and an internet connection. You don't need Android Studio, and\nyou don't install the Android SDK yourself: the first `.\u002Fbuild.sh` downloads\nGoogle's Android SDK tools into `~\u002FAndroid\u002FSdk`, then the SDK packages the\nbuild needs (`platforms;android-35`, `build-tools;36.0.0`,\n`ndk;28.2.13676358`, `cmake;3.22.1` and `platform-tools`). Those are Google's\nSDK packages, not MSYS2 or Linux packages.\n\n### 1. Install the basic tools\n\n**Windows:** build in WSL, a Linux system inside Windows; MSYS2 and Git Bash\naren't supported. Open PowerShell as administrator and run `wsl --install`,\nrestart, then open **Ubuntu** from the Start menu and choose a user name and\npassword. Run every command below in that Ubuntu window, starting with the\nUbuntu ones.\n\n**Ubuntu or Debian** (and WSL):\n\n```sh\nsudo apt update\nsudo apt install openjdk-17-jdk python3 git curl unzip patch\n```\n\n**macOS** (untested): install the Xcode command line tools with\n`xcode-select --install`, and a JDK 17 or newer.\n\n### 2. Download the source\n\n```sh\ncd ~\ngit clone --recurse-submodules https:\u002F\u002Fgithub.com\u002Fchasem-dev\u002Fsms-android.git\ncd sms-android\n```\n\nOn Windows, clone inside Ubuntu's home folder like this, not under `\u002Fmnt\u002Fc`:\nbuilding from the Windows drive is much slower.\n\n### 3. Build\n\n```sh\n.\u002Fbuild.sh\n```\n\nThe first build downloads about 1.5 GB and takes a while; later builds only\nredo what changed. It ends with the APK's location:\n\n- Super Mario Sunshine: `app\u002Fbuild\u002Foutputs\u002Fapk\u002Fsunshine\u002Fdebug\u002Fapp-sunshine-debug.apk`\n- `SMS_ECLIPSE=1 .\u002Fbuild.sh` builds the Super Mario Eclipse app instead:\n  `app\u002Fbuild\u002Foutputs\u002Fapk\u002Feclipse\u002Fdebug\u002Fapp-eclipse-debug.apk`\n\nIf the build runs out of memory, limit it with `.\u002Fbuild.sh --max-workers=2`.\n\n### 4. Install it on your phone\n\nCopy the APK to your phone and open it there; Android asks you to allow\ninstalling apps from your file manager or browser. On Windows, copy it out of\nUbuntu first, for example to your Downloads folder (with your Windows user\nname):\n\n```sh\ncp app\u002Fbuild\u002Foutputs\u002Fapk\u002Fsunshine\u002Fdebug\u002Fapp-sunshine-debug.apk \u002Fmnt\u002Fc\u002FUsers\u002F\u003Cyou>\u002FDownloads\u002F\n```\n\nWith USB debugging on, `~\u002FAndroid\u002FSdk\u002Fplatform-tools\u002Fadb install -r \u003Capk>`\ninstalls it directly.\n\nYour build is signed with your own key, so it can't install over an APK from\nthe Releases page, or the other way round. Back up your save (Settings →\nSaves & data) and uninstall the other one first; uninstalling removes the\nimported disc too.\n\n### Update\n\n```sh\ncd ~\u002Fsms-android\ngit pull\n.\u002Fbuild.sh\n```\n\n### Details for developers\n\n`build.sh` uses the SDK in `ANDROID_HOME` (or `ANDROID_SDK_ROOT`), then the\none named by `local.properties`, then `~\u002FAndroid\u002FSdk`\n(`~\u002FLibrary\u002FAndroid\u002Fsdk` on macOS), installing whichever of the packages\nabove are missing; an Android Studio SDK works. Java comes from `JAVA_HOME`,\n`PATH` or Android Studio. It downloads checksum-verified SDL 2.32.10,\ninitializes the port's decompilation submodule, and uses the checked-in\nGradle wrapper to build only `arm64-v8a`; extra arguments go to Gradle.\nThe game comes from the `sms-port` submodule, pinned to the\n[sms-pc-port](https:\u002F\u002Fgithub.com\u002Fchasem-dev\u002Fsms-pc-port) commit this launcher\nbuilds; set `SMS_PORT_ROOT` to build a different port checkout. The Eclipse\nbuild is the game with the Eclipse mods built in (the port's\n`-DSMS_ECLIPSE=ON`, which fetches their sources at configure time; see the\nport's `docs\u002FECLIPSE.md`), checked against the mods' declarations after\nlinking.\n\n`tests\u002Fcheck-input-monitor.sh`, `tests\u002Fcheck-controller-mapping.sh`,\n`tests\u002Fcheck-texture-pack.sh`, `tests\u002Fcheck-language-pack.sh` and\n`tests\u002Fcheck-update-check.sh` run the input monitor's, controller mapping's,\ntexture pack installer's, language pack installer's and update check's unit\ntests without the Android SDK, and `tests\u002Fcheck-vcdiff.sh` the Eclipse disc\npatcher's.\n\n## Releases\n\nMerging a pull request into `main` publishes a release automatically, through\n`.github\u002Fworkflows\u002Frelease.yml`, when `CHANGELOG.md` has lines under\n`## Unreleased`:\n\n1. It numbers the next preview of `smsAndroidVersion` (`0.2.0-preview.1`,\n   `0.2.0-preview.2`, …) from the existing release tags.\n2. It builds the release APKs, Sunshine's and Eclipse's, with `release.sh`,\n   signed with the keystore in the `ANDROID_KEYSTORE_BASE64` repository secret.\n3. It publishes a GitHub pre-release with the Unreleased lines as its notes,\n   then commits those lines under the new preview's heading in `CHANGELOG.md`.\n\nPull requests with nothing under Unreleased (tests, CI, docs) publish nothing.\nTo start a new release line, raise `smsAndroidVersion` in `gradle.properties`;\npreviews then count from 1 again. Each version allows 99 previews. Pull\nrequests are built by `.github\u002Fworkflows\u002Fbuild.yml`, which uploads the debug\nAPK as an artifact.\n\nTo publish a full release instead of the next preview, set\n`smsAndroidFullRelease=true` and `smsAndroidVersion` to the release's number in\nthe pull request that should publish it. Its version code must be above every\npreview testers have (major × 1000000 + minor × 10000 + patch × 100 + preview),\nso a full release of a version that already has previews needs a higher number\n(0.2.0's previews were followed by 1.0.0). The workflow publishes it as the\nlatest release, with the Unreleased lines and every preview's since the last\nfull release as its notes, then sets `smsAndroidFullRelease=false` and moves\n`smsAndroidVersion` to the next patch, whose previews the following pushes\npublish.\n\nTo move the game, check out the new commit in the submodule\n(`git -C sms-port checkout \u003Ccommit>`), commit it with a changelog line for\neach change testers will notice, and merge.\n\n`.\u002Frelease.sh` builds the same signed APKs locally into `dist\u002F`. It refuses to\nrun with uncommitted changes, so the footer names clean source revisions. It\nsigns with `~\u002F.android\u002Fdebug.keystore` unless `SMS_ANDROID_KEYSTORE` (and\n`SMS_ANDROID_KEYSTORE_PASS`, `SMS_ANDROID_KEY_ALIAS`) name another key, and\nrefuses to sign with a certificate other than the one previous previews used,\nbecause Android won't install an update signed with a different key over an\nexisting install. Never commit or share the keystore.\n\n## Build identification\n\nBoth landscape panels scroll independently, with fixed headings, a swipe hint\nand persistent scrollbars when content overflows. The launcher keeps a two-line\nfooter visible while either panel scrolls.\nIt shows the launcher version, preview number, debug\u002Frelease variant,\nARM64 architecture and the launcher\u002Fgame source revisions actually built.\nTracked local edits add `-modified`; source archives without Git show `unknown`.\nThe same metadata is written to the game log at startup and survives log export.\nThe game revision is the `sms-port` commit that was built.\n\n`smsAndroidVersion` in `gradle.properties` and the preview number set the\nversion name (`0.2.0-preview.1`) and version code (major × 1000000 +\nminor × 10000 + patch × 100 + preview), so each new preview is an\nidentifiable update. Local builds use preview 0 and have no preview suffix.\nInstall over the previous preview to retain data. Export a save backup before\nuninstalling; uninstalling also removes the imported disc.\n\n## Use\n\nInstall the APK and open the landscape SMS Launcher. Its big yellow button\ndoes the next step until the game is ready: first **Import disc image**. Pick a\nUS revision 0 Sunshine ISO or GCM using Android's document picker. Import\ncopies it into private app storage; allow enough free space for that copy.\nThe button then reads **Play**. The gear beside it (or Start on a controller)\nopens Settings: Gameplay, Controls, Graphics, Performance, Saves & data and\nAbout. Changes save as you make them. A controller's D-pad or stick moves\nthrough the launcher, A selects and B goes back. The Discord button in the top\nbar opens an invite to the Discord server.\n**Language** under Gameplay plays the game in English (the default, the\ndisc's own text) or in any language pack the game's\n`tools\u002Fmods\u002Flanguage-packs.json` lists: Deutsch, Español, Français, Italiano\nand Polski. Choosing Play downloads the chosen language's pack (about 1 MB,\nfrom the [HD texture extras](https:\u002F\u002Fgithub.com\u002Fchasem-dev\u002Fsms-hd-texture-extras#language-packs)\nreleases), checks it against its MD5 and installs it in private app storage,\nas the desktop SMS Launcher does. Saves work in every language. The Eclipse\napp has no Language setting: Super Mario Eclipse plays in English.\nAndroid doesn't let the launcher update itself, so it checks this\nrepository's GitHub releases when it opens (at most every six hours) and,\nwhen a newer version is out, shows a **Get update** button in the top bar,\nwhich opens the release page. A full release hears of full releases; a\npreview also hears of newer previews, as the desktop launcher's Stable and\nBeta channels do. The new APK installs over the old one, keeping the disc and\nsaves, because every release is signed with the same key.\n**Picture sharpness** is the internal resolution: Original (1×, the\nGameCube's 640×528, the default), Sharper (2×), Very sharp (3×) or\nSharpest (4×). Higher settings need more of the graphics chip.\n**HD textures** defaults off. **Download HD textures** fetches the\n[Super Mario Sunshine UHD Texture Pack](https:\u002F\u002Fgithub.com\u002Fqashto\u002FSuper_Mario_Sunshine_UHD_Texture_Pack)\nv2.1.1 (about 941 MB, from its authors' release page) and the port's\n[HD texture extras](https:\u002F\u002Fgithub.com\u002Fchasem-dev\u002Fsms-hd-texture-extras)\n(about 61 MB), the releases the game's `tools\u002Fmods\u002Fget.py` pins. Each\ndownload is checked against its MD5 and unpacked into private app storage\n(about 3.1 GB installed; allow 5 GB free during setup, since the archive is\nkept until it is unpacked). A stopped or dropped download continues where it\nleft off. The switch turns on once both are installed, and **Remove HD\ntextures** deletes them. GPUs that sample the pack's BC7 images, such as the\nAdreno 750, get every image at full size: Delfino Plaza's take about 175 MiB.\nOther GPUs get them decoded to RGBA, four times their size, so the launcher\nhalves those with more texels than 1024×1024 and caps texture memory at\n1 GiB; in the emulator, whose GPU takes no BC7, Delfino Plaza then needs\nabout 560 MiB. Loading screens take longer while the pack's images are\nprepared.\nConnect a USB\u002FBluetooth controller or use the handheld's built-in gamepad.\n**Touch screen controls** (off by default) draws a GameCube controller over\nthe game: both sticks are analog, the D-pad takes diagonals, and L and R press\nfully. The game shows GameCube button prompts while it is on. The controls hide\nwhile a real controller is used and come back when the screen is touched.\n**Android performance hints** defaults on and lets supported devices adjust\nCPU scheduling to the frame workload. It does not force clock speeds or\nbypass thermal limits. Toggle it off to compare the same scene and settings,\nthen back on: saved choices carry over between updates, so a comparison left\noff stays off. On a Snapdragon 8 Gen 3 phone, 0.2.0-preview.6 holds 60 FPS with\nhints on or off; low clocks there came from the game stalling mid-frame on\nthe GPU, which Android read as idle time.\n**Use performance CPU cores** defaults on (from 0.2.0-preview.7; players who\nchanged it keep their choice). It restricts the game's\nframe-producing thread and optional renderer worker to a detected group of\nbig\u002Fprime cores. It uses the current thread's allowed CPU mask, prefers\ncomplete scheduler-capacity metadata, and falls back to complete maximum\nfrequency metadata from one source. It never guesses from core numbering,\nnever restricts to one core, and leaves placement unchanged if a distinct\nmulti-core tier cannot be identified. Android still controls clock speeds\nand thermal policy. This works independently of ADPF: compare it on\u002Foff\nwith performance hints, headroom and display matching off, restarting Play\nbetween runs. Game logs report requested\u002Feffective core masks or the reason\nfor falling back. Testers found it smoother on older builds, and on\n0.2.0-preview.6 still a little smoother than without it, so it is now the\ndefault; switch it off to save battery or to compare.\n**Request performance headroom** defaults off and asks ADPF to finish frame\nwork within 80% of the frame interval (about 13.35 ms at nominal 60 FPS),\nleaving a margin for presentation and scheduling variation. It changes the\nrequested deadline, not game speed or reported measurements. Switch it off\nto restore the v8 full-frame target. This is a tuning experiment, not a\nconfirmed fix for a manufacturer's clock policy. The S24 Ultra tester reported\nv9 was slower, so both headroom and display matching are opt-in from v10.\nExisting explicitly saved choices are preserved; turn these two switches off\nwhen comparing with v8. Supported Android 15+\nsessions explicitly disable power-efficiency preference, which is already\nthe platform default; that call alone does not imply a boost.\n**Match display refresh to game FPS** defaults off and sends a Surface frame\nrate hint on Android 11+. Android chooses the actual display refresh rate.\nThe game also reports interruptible gameplay while its activity is resumed\nand no gameplay on pause using Android 13+ Game State. The selected Android\nGame Mode is read on resume; the app cannot select Performance mode for you.\nNo game-mode configuration overrides the manufacturer's interventions.\n**Log performance timings** defaults off. Enable it to export steady frame\nand presentation timing, SDK pacing waits and main-thread CPU time without\nrecording or touching the screen during the sample. A current CPU frequency\nsample is included when Android allows reading it; -1 means unavailable.\nSDK pacing also reports background-handoff average\u002Fmax wall time. These\nlogs include a GX breakdown for vertex decoding, draw submission, textures,\ncopies and peeks to help investigate the extra widescreen cost. These\ntimers add some overhead, and swap\u002Fwait times are CPU wall time,\nnot asynchronous GPU measurements. Startup logs include Game Mode, reported\nGame State, battery saver, current display refresh and the frame rate request.\n**Show performance overlay** reports the port's game\u002Fshown FPS, frame time,\ngame work, GX submission, presentation\u002Fswap and idle time. This helps\nseparate game timing from an external SurfaceFlinger FPS counter.\nAndroid Back returns to the launcher. Each game session uses a fresh process.\n\nPreview 15 fixes the unsafe memory fallback reported by an Adreno 740 tester.\nIf Android occupies the preferred game-arena address, the port reserves another\ncompatible range and updates both SDK and renderer address conversions. It\nfails startup safely if no compatible range is available. The APK remains ARM64;\nsome legacy game data still stores addresses in 32-bit fields. Confirm a\nsuccessful title\u002Fsave\u002Fstage load on the affected device before treating the\nphysical-device crash as resolved.\n\n**Input test** under Settings → Controls opens\na landscape monitor without starting the game. It lists Android input devices\nand USB adapters, and shows live key\u002Fbutton down\u002Fup events, scan codes,\nmodifiers, held keys and stick\u002Ftrigger\u002Fhat axes. Bluetooth\u002Fwireless keyboards\nuse the same monitor. Both panels scroll; Refresh updates device inventory,\nClear resets the sample, and Done returns to the launcher. Controller Back\u002FB\nis captured for testing instead of closing the screen; system Back still exits.\nCapture runs only while the test screen is active, with a bounded event history.\nExport writes `sunshine-input.log` through the document picker, including\nphone\u002Fbuild metadata, connected devices and the last 256 events.\n\nFor a generic adapter with no game input, open Input test, connect it, Refresh,\nand press buttons\u002Fmove sticks. Events here show what Android receives before\nSDL mapping or game bindings. A USB adapter listed without an Android input\ndevice suggests a different problem from a controller producing unmapped keys.\nExport the sample to identify the device IDs and received codes before choosing\na mapping; the monitor itself does not fix or guess unknown controller layouts.\n\n### Super Mario Eclipse\n\nSMS Eclipse, the second APK, plays Super Mario Eclipse v1.1.0 by the Eclipse\nTeam. Choose **Import disc image** and pick the same US revision 0 Sunshine\nISO; it must be the unmodified 1:1 image (MD5\n`0c6d2edae9fdf40dfc410ff1623e4119`), since Eclipse's patch is made for that\ndisc. Then choose **Download Eclipse**: the launcher downloads the\nEclipse Team's release (about 851 MB, from SMS Launcher's mirror of its\nGameBanana release, or GameBanana itself), checks it against its MD5 and\npatches your disc with it, giving the same `GMSE04` image Eclipse's own\npatcher makes. Allow 3 GB of free space besides the imported disc; the\ndownload and your Sunshine copy are deleted once the Eclipse disc is checked.\nA stopped download continues where it left off. Unpacking the release needs\n256 MB of the launcher's memory; on a device that grants less, make the image\nwith Eclipse's patcher on a computer and import that instead (it is checked\nagainst MD5 `caa546309e0443f7b47632b040a250d7`). Its save backups hold the\n`GMSE04_` card files.\n\nSettings → Saves & data has your saves and the game log. **Back up your save**\nwrites a ZIP you can keep or move to the desktop port's\n`card-a` folder. **Restore a backup** accepts a ZIP containing the desktop\nport's `index.txt`, `super_mario_sunshine.dat` and\n`super_mario_sunshine.stat`, at the root or beneath `card-a\u002F`. Import keeps\nthe prior card in a private `saves\u002Fprevious` folder. Use Export before\nuninstalling: uninstalling deletes the disc, saves, settings and caches.\nThe import does not support Dolphin `.gci` or whole memory card images.\n\n**Game log** uses the document picker to save diagnostic output.\nDisc and save import need no broad storage permission, and gameplay is\noffline. The Android launchers supply the base game, Super Mario Eclipse and\nthe optional HD textures.\n\n## Emulator validation\n\nOn an x86 Linux host, the Android 35 Google APIs x86_64 image includes\n`libndk_translation` and advertises `arm64-v8a`. Use the host GPU, KVM,\nand a GLES 3.1\u002F3.2-capable host driver. Software renderers that expose only\nGLES 3.0 cannot run this renderer. Verify the emulator's ABI list and GPU\nbefore installing; a successful x86 APK test would not validate this ARM64 APK.\nThe Android 30 image's older translator crashes on a valid ARM64 floating-point\nconversion instruction emitted by the compiler; use the newer image.\n\n```sh\nadb shell getprop ro.product.cpu.abilist\nadb shell getprop ro.dalvik.vm.native.bridge\nadb shell dumpsys SurfaceFlinger\nadb install -r app\u002Fbuild\u002Foutputs\u002Fapk\u002Fsunshine\u002Fdebug\u002Fapp-sunshine-debug.apk\n```\n\nImport a copy of your disc and exported save, then test the ordinary title\nscreen and file selection, loaded stage gameplay, movie playback, saving,\nBack, and a second Play session. Keep screenshots and game logs with the\nvalidation report. Emulator checks do not measure AYN Thor performance.\n\nDebug APKs also include the native GX graphics self-test. With a disc imported,\nstart the launcher with the diagnostic intent and choose **Play**:\n\n```sh\nadb shell am force-stop dev.chasem.smslauncher\nadb shell am start -W -n dev.chasem.smslauncher\u002F.LauncherActivity \\\n  --ez gxSelftest true --esa testEnvironment SMS_GX_CHECK_ERRORS=1\nadb shell run-as dev.chasem.smslauncher cat files\u002Fgame\u002Fgame.log\n```\n\nWait for `66 passed, 0 failed` and `GX self-test returned 0` in the log\n(`63 passed` if the GLES clipping extension is unavailable).\nExport or copy that log before the next Play session replaces it. Force-stop\nand reopen the launcher without the intent extras to resume ordinary gameplay.\nThe self-test library and diagnostic intent handling are omitted from release\nbuilds. This test exercises the ARM64 renderer through a real Android SDL\nsurface, including depth peeks, pixel metrics, texture sampling and clipping.\n\nFor repeated debug gameplay checks, use `--esa testEnvironment\nSMS_SKIP_MOVIES=1,SMS_OVERLAY=1` on the launcher intent instead of `gxSelftest`.\nThe movie flag skips non-looping prerecorded movies; native 3D camera sequences\nstill render. The overlay reports frame timing. These intent flags apply only\nto debug APKs. Force-stop and reopen without extras to check ordinary playback.\n\n\nPreview 16 fixes J3D texture-image and palette-load commands when Android\nrelocates the game's arena. The v15 tester log confirms compatible allocation\nat 0x40800000, but the original address shortcut in those two writers encoded\nincorrect texture pointers. Android now writes arena-relative addresses;\ndesktop behavior and v15 APK\u002Frelease artifacts are preserved. Host byte-level\nregression tests compile the real writers and show the previous relocation\nfailure followed by correct commands. Device image recovery must be retested.\n\n\nPreview 17 adds a game-controller mapping for the reported legacy USB Gamepad\n0810:0001. Its generic numbered keys reach SDL, but SDL's automatic Android\nmapping requires named face buttons. The native fallback maps the matching\nfour-axis\u002Fnumbered-button layout, preserving existing mappings. No new switch\nis needed: connect it before Play or hotplug during the game. Physical button\nassignments follow SDL's existing desktop profile and require tester checking;\nuse Input test to export key\u002Faxis identities if a button or camera axis is wrong.\n\n\nPreview 0.2.0-preview.2 adds **Game settings → Controller configuration**.\nSelect a connected controller, tap Assign beside a GameCube control and press a button\nor move the requested stick direction. L\u002FR accept a button or calibrated\ntrigger. D-pad accepts keys, hats or an axis direction. Clear disables that\ncontrol; unchanged rows keep their automatic layout. Save applies the selected\ncontroller on the next Play. Restore defaults then Save removes its overrides.\nBoth landscape panels scroll and the build footer stays visible. Capture is\nrestricted to the selected device and stops on focus loss\u002Fpause\u002Fdisconnect.\nUnsaved drafts survive Activity recreation; Done warns before discarding them.\nDisconnected saved devices remain available for clearing\u002Frestoring settings.\n\nProfiles persist by Android device descriptor, not the temporary input ID.\nPlay writes a private bounded profile file matched to SDL by VID\u002FPID and the\nsame descriptor CRC used in SDL's Android GUID. Native mapping merges only\nedited controls into the automatic mapping, supports previously unmapped\ncontrollers and validates raw button\u002Faxis bounds. Configured known VID\u002FPID\npairs use the Android input backend to match captured key\u002Faxis numbering;\ncontroller rumble is unavailable in custom mode. Restore defaults restores\nnormal driver selection on the next Play. USB permissions are unchanged.\nSystem Back still exits the game; a controller Back key explicitly assigned\nto a game control is forwarded as controller input instead.\n\nThe screen covers every GameCube control. Under Triggers, L and R each have a\nFull press row (a button gives the full press with the click; an analog trigger\nkeeps its whole travel) and a Soft press row: a light press without the click,\nas when spraying FLUDD on the move, for controllers without analog triggers.\nThe Control stick and C-stick groups also have Up, Down, Left and Right rows,\nso buttons can push either stick fully in one direction while the stick's own\naxis keeps working. These extra rows start unassigned; Clear removes them.\nSoft presses travel to the game as SDL paddle buttons, which Play binds to the\ngame's `L_SOFT`\u002F`R_SOFT` controls through a private `SMS_BINDINGS` file.\n\nHost checks cover Java Android-to-SDL button\u002Faxis rules, trigger calibration,\ninversion, descriptor CRC and serialization, plus real SDL virtual-controller\nprofile matching\u002Fmerging, malformed\u002Fout-of-range rejection, event conversion,\ncleared controls, untouched defaults, calibrated triggers and inverted axes.\nNo Android container\u002Femulator is run. The actual configuration UI, device\ncapture\u002Fsave\u002Freload and gameplay application need a physical tester.\n","这是一个为ARM64架构Android掌机（如AYN Thor）设计的《超级马里奥阳光》PC移植版专用启动器。它提供原生Android界面，集成SDL库和已编译的PC端移植核心，支持导入用户自有光盘镜像、触屏或外接手柄操作，并具备帧率调节、画质设置、存档管理等完整游戏配置功能。项目专为Android 10+、GLES 3.1+的高性能手持设备优化，不包含游戏数据，需用户自行提供合法备份。适用于在现代Android掌机上本地运行高兼容性任天堂GameCube经典游戏。",2,"2026-11-24 04:35:23","CREATED_QUERY"]