Repository navigation
Releases
Releases · DarkLucario/RetroShark
RetroShark v0.1.1
RetroShark v0.1.1
What's New & Improved
- Single-file non-rooted setup for AYN Thor / Odin (
tools/retroshark-root-bridge.sh):
Non-rooted devices with a built-in Run script as Root setting now only need a single script file (retroshark-root-bridge.sh). It automatically extractsretroshark-memoryfrom the installed RetroShark APK and starts the root bridge. - Faster Root Bridge IPC:
list,maps, andregionsnow run directly inside theretroshark-memorybridge process instead of spawning a new child process on every request.- Upgraded bridge framing to 64 KiB single-syscall writes and 64 KiB buffered socket reads (
BufferedInputStream).
- UI, Controller & Performance Fixes:
- Fixed Compact/Full keyboard layout switching in
ValueKeyboard. - Applied the active theme in
LauncherActivity, updated its theme summary label, and fixedstartOverlay(displayId). - Fixed
WorkspaceWindowportrait cutout/insets flags when switching displays, removed a dialogOnGlobalLayoutListenerleak, and cachedControllerMapbindings instead of reading preferences on every key event. - Moved
LauncherActivitySAF imports/exports andEmulatorToolscode staging off the main UI thread. - Cached
HelperInstallerand ARM32 speed-helper extractions by APK timestamp; pre-allocatedCanvas/Paint/Path/TextPaintobjects inUiToggleButton,UiIcons,ResultRowButton, andMemoryRowButton. - Made
ProcessPickergrid columns responsive to screen width, stripped UTF-8 BOM in.chtprofile parsing, and fixedLiveWorkspacedialog button sizing, freeze comparison forNaN/Infinity, andControllerHotkeyearly-close cleanup.
- Fixed Compact/Full keyboard layout switching in
- Rust Engine & Scripting Fixes:
- Added
Drop(munmap) andEIOdmabuf window refresh inTargetMem(daemonmode now picks up newly mapped/dmabufregions). - Coalesced contiguous
patchwrites and aligneddaemonreadback checks with one-shotpatch. - Replaced per-wave thread spawning in
first_stream_parallelwith a single scoped worker pool, and optimizedprocess_pagemapwithpartition_pointand reusable scratch buffers. - Fixed
gg.dumpMemory/proc/<pid>/mapspathname parsing whenDUMP_SKIP_SYSTEM_LIBSis set.
- Added
Installation
Rooted Devices
- Install
RetroShark.apk(adb install -r RetroShark.apkor open it on your device). - Open RetroShark, grant root access in your root manager, and allow the overlay permission.
Non-Rooted Setup (AYN Thor / Odin — "Run script as Root")
If your device is not rooted but has a built-in Run script as Root option in Settings, you only need one script file (retroshark-root-bridge.sh):
- Install
RetroShark.apkon your device. - Copy
retroshark-root-bridge.sh(fromtools/retroshark-root-bridge.sh) to your device'sDownloadfolder (/sdcard/Download/retroshark-root-bridge.sh), or push it via ADB:adb push .\tools\retroshark-root-bridge.sh /sdcard/Download/
- On your handheld, open Settings → Thor settings (or Odin settings) → Run script as Root.
- Select
/sdcard/Download/retroshark-root-bridge.sh. - Wait for it to print
RetroShark root bridge ready (app UID ...). Open RetroShark now., then open RetroShark and grant the overlay permission. - The bridge stays running in the background across RetroShark launches until you reboot.