Repository navigation
๐ง v2.9.0: Linux Support & Cross-Platform Architecture
This is a landmark release that brings full Linux support to Smart Replay Mover! Huge thanks to @zxsleebu for the massive Pull Request (#19) that laid the foundation for this work.
โจ What's New
- ๐ง Linux Support โ Smart Replay Mover now works natively on Linux (KDE Plasma, X11, and Wayland via XWayland).
- ๐ Linux Game Detection โ Uses
xprop(X11) andgdbus(KWin/Wayland) to identify active windows instead of Win32 APIs. - ๐ฅ Linux OBS Sources โ Recognizes Linux-specific capture types like
xcomposite_input,pipewire-window-capture-source, andxshm_input. - ๐ Linux Notifications โ Uses
notify-sendfor visual popups andpaplay(PulseAudio) orpw-play(PipeWire) for notification audio. - ๐ Quiet Sound on Linux โ The quiet sound toggle works natively, letting you switch between
notification_sound.wavandnotification_sound_silent.wav. - ๐ฅ๏ธ OS Mode Selector โ New dropdown in script properties: Auto-Detect, Windows, or Linux.
Auto-Detectdetermines your OS automatically. - ๐ก๏ธ Crash Prevention โ Every platform-specific code path is wrapped in
pcall(). The script never crashes regardless of mismatched settings (e.g. running Linux commands on Windows fails silently). - ๐ง FFI Consolidation โ All Windows API definitions merged into a single guarded block for maximum stability.
๐ง Technical Changes
- ๐ ๏ธ Cross-Platform Helpers โ Added
join_path(),quote_shell_arg(), andrun_shell_command()for safe, OS-aware execution. - ๐ File Operations โ
get_existing_folder(),delete_file(), andget_file_size()now automatically fallback to standard Lua I/O on Linux. - ๐ฌ FFmpeg on Linux โ Runs via shell commands directly (no
.batfiles). Supports bothffmpeg.exeandffmpegwith proper shell quoting and error logging. - ๐ฎ Steam Compatibility โ
is_generic_steam_app_identifier()correctly ignores genericsteam_app_12345folder names on Linux, falling back to window title detection.
๐ฅ๏ธ Adaptive UI
- ๐๏ธ Smart Settings Menu โ Windows-only settings (Scan All Processes, Notification Scale/Position, Update Checker) auto-hide when Linux mode is active.
- ๐ Dynamic FFmpeg Path โ FFmpeg path description adapts contextually (
ffmpeg.exeon Windows โ/usr/bin/ffmpegon Linux). - ๐๏ธ Reorganized Tools โ OS Mode Selector moved to Tools & Debug group so it doesn't displace update buttons.
๐ก For Linux Users:
- Install OBS Studio via your package manager.
- Add the script in OBS โ Tools โ Scripts.
- The script auto-detects Linux โ no configuration needed!
- Optional dependencies:
notify-send(notifications),paplayorpw-play(sound).- For X11:
xpropshould be installed (usually included withxorg-xprop).- For KDE Plasma:
gdbusis used automatically for window detection on Wayland.