A how-to/demonstration of Moonlight on the Miyoo Mini Plus by Handheld Gaming!
https://github.com/Nonary/ResolutionAutomation - Change the screen resolution automatically on connection
Moonlight for the Miyoo Mini Plus is currently at v1.5.1
This project is in its early stages and has bugs. This is not restricted to Nvidia, you can use AMD etc with Sunshine.
- Discord Contact: @XK user: _xk_
- Packaged for Onion (Porting to other UIs is welcome)
- Latest 4.2 of Onion
- Recent firmware
Press START to exit mouse mode. Currently A is left click, B is right click.
Note: Moonlight on the Miyoo will only pass keyboard commands to the host, meaning no mouse and no gamepad input for now.
Follow the steps below to get Moonlight running on your Miyoo MMP:
-
Install Sunshine on your machine: Download Sunshine from here.
-
Local Dashboard: Open your browser and navigate to
https://localhost:47990/
. Create a local account, log in, and then open the Pin page. -
Copy the Moonlight App Folder: Move the Moonlight app folder to
/mnt/SDCARD/App/moonlight
on your MMP. -
Restart MainUI: Relaunch the MainUI on your Miyoo device or simply reboot it.
-
Launch the Moonlight App: Navigate to "Pair" and press A. Type in your computer's IP address and press Enter.
-
Enter the Pair Screen: Once again, type in your computer's IP address and press Enter.
-
Input the PIN: Your Miyoo device will provide a pin; input this pin on the Sunshine dashboard.
-
Confirmation Page: You'll receive a notification on your MMP confirming that the pairing was successful, or an error if it was not.
-
Start Streaming: Head back to the main menu, click "Stream" and then select an app to stream!.
To set up your custom keybinds, you'll currently need to open the file /mnt/SDCARD/App/moonlight/config/settings.json
The file will contain:
{
"customkeys": {
"A": "SPACE",
"B": "BACKSPACE",
"X": "X",
"Y": "Y",
"L1": "E",
"L2": "Q",
"R1": "T",
"R2": "P",
"LeftDpad": "LEFT",
"RightDpad": "RIGHT",
"UpDpad": "UP",
"DownDpad": "DOWN",
"Start": "RETURN",
"Select": "M",
"Menu": "ESCAPE"
},
"cpuclock": "1900",
"mouse": {
"scaleFactor": 2,
"acceleration": 2.0,
"accelerationRate": 2.5,
"maxAcceleration": 10.0
}
}
- Keybind values will have to be set based on their SDLK value, you can find the full list here: SDLK Common names
- For example; SDLK_BACKSPACE will become BACKSPACE, SDLK_RCTRL will become RCTRL.
- CPUclock is ranged between 1000 -> 1950, defaulting at 1400.
- Add settings menu
- Go back to menu after quitting a game/stream
- Add options menu hotkey while streaming
- Gamepad etc
- FIX APP STARTUP/QUITTING
- Steward for SDL2
- Moonlight Upstream GitHub Repository
- I think i know why, just haven't had time to look into why the GS (gs_quit_app) function is failing.
- If you used filezilla to transfer the files to the card, delete them and use Samba/HTTP instead. IF this doesn't resolve it, check the line endings on the script files are UNIX. not Windows.
- If this doesn't resolve it. Contact me
- Close the keyboard with the X button on the MMP, then select the menu item with the A button
- Not yet, but soon.
- Don't stream at 4k/2k resolutions. Remove any higher resolutions from Sunshine under the General tab.
- Set your desktop resolution to a 4:3 aspect ratio, such as 1400x1050 or 1280x960. If you're launching directly into a game, set the game's aspect ratio to 4:3 as well.
- The stream takes time to fully terminate. Give it a few seconds before trying to reconnect.
- Use the menu option to "Unpair" and then restart the app.
- Yes, this is a known issue with the MMP in general, it's totally "normal" with how the HW is configured.
- This is a known issue, and i'm looking into it.
- Move to minor versioning
- Add new banner logo
- Add new app logo
- Resource caching
- Other minor refactors
- Remove some libraries that aren't required.
- Fix audio crackle
- Fix audio delay
- UI overhaul
- Refactored most functions
- Removed some reliance on the SDL lib
- Added more settings for upcoming settings menu (overclocking etc)
- Removed splash
- Removed binaries that are no longer required
- Updated FAQS
- Convert all memcpy calls to neon_memcpy
- Build libgamestream and libmoonlightcommon as stripped/arm optimised
- Added mouse emulation
- Added cpuclock settings.json object
- Added correction for volume level when entering moonlight
- Fixed exit method in moonlight to close correctly.
- Fixed a double free segfault
- Added custom keybinds file
settings.json
that uses SDLK keycodes (https://www.libsdl.org/release/SDL-1.2.15/docs/html/sdlkey.html) - Follow example file.
- Fix bad util.sh - #1
- New terminal w/ font by eggs
- Better displays
- Some error checking
- Footer messages for help knowing which keys to press
- Fixed black screen issue
- Fixed input spam at end of session
- Added new key shortcut: Select + Menu to exit
- Handles SIGINT/SIGTERM sent from term to cleanup mi_gfx/mi_sys
- Remove pressmenu2Kill from launch.sh
- Fixed app list loop (Thank you for checking, vitty85
- Added ability to swap screens with
Select + Bumpers
- Added pair check
- Changes in
launch.sh
andpair.sh
- Added
util.sh
- Added exit menu item
- Added selection menu for the app to launch
- Added Gamestream support (Nvidia Geforce)
- Added
Unpair
menu selection to start screen
- Download Older Version
- Fixed Controls: L2 now works, control scheme changed
- Changed how moonlight is launched in
launch.sh
- Added an animated splash to the launching stage (after pairing)
Note: Source of gif unknown, if it’s yours, I can remove it or credit you
- Initial build (buggy and unreleased)
- Added functional Moonlight and wrapper
launch.sh
/pair.sh
- Added functional Moonlight and wrapper