Skip to content

Comments

Pull Request: Add native Windows (AmpleWin) and Linux (AmpleLinux) ports#46

Open
anomixer wants to merge 31 commits intoksherlock:masterfrom
anomixer:master
Open

Pull Request: Add native Windows (AmpleWin) and Linux (AmpleLinux) ports#46
anomixer wants to merge 31 commits intoksherlock:masterfrom
anomixer:master

Conversation

@anomixer
Copy link

@anomixer anomixer commented Feb 16, 2026

This PR introduces full support for Windows and Linux platforms, expanding Ample from a macOS-exclusive tool to a cross-platform frontend.

To ensure stability and avoid conflicts with the existing macOS codebase, the new ports are contained in their own dedicated directories (AmpleWin/ and AmpleLinux/) while keeping the root structure clean.

� Isolation & Safety

I have NOT touched any of your original macOS code. The only file modified in the root directory is README.md, simply to add links to the new Windows/Linux ports.

You can freely modify these links to point to your own repository structure if you choose to merge this.

�🚀 Key Features

🪟 Windows Port (AmpleWin/)

  • Launcher: AmpleWin.bat script for easy startup.
  • Portable: Designed to work as a portable app without complex installation.
  • Docs: Includes detailed installation and usage instructions (English + Traditional Chinese).

🐧 Linux Port (AmpleLinux/)

  • One-Click Setup: AmpleLinux.sh automatically creates a virtual environment (venv) and installs dependencies (PySide6, etc.) on the first run.
  • Desktop Integration: Includes a build_elf.sh script using PyInstaller to create a standalone binary. It also generates and installs a .desktop file for proper application menu integration.
  • Smart Detection:
    • Auto-detects system dark/light mode (GNOME/KDE).
    • Detects if MAME is missing and offers snap install mame on Ubuntu.
    • Checks for and installs missing build tools (binutils/objcopy) required by PyInstaller.
    • Fixes common audio permission issues (ALSA group check).

📝 Documentation

  • Updated the root README.md to reference the new ports.
  • Added comprehensive README.md and README_tw.md inside each port directory.

✅ Verification

I have tested these changes on:

  • Windows 10/11: Confirmed launch and ROM management.
  • Ubuntu 22.04 / 24.04: Verified AmpleLinux.sh setup, build_elf.sh binary generation, and icon integration.

Hope this helps expand the user base for Ample! Thanks for the great original work.

anomixer and others added 30 commits January 19, 2026 11:09
…ptive UI, optimized engine, and internationalized documentation
- Ported from AmpleWin with ~20 Linux-specific adaptations
- Replaced winreg with gsettings/KDE dark mode detection
- Replaced os.startfile with xdg-open
- Removed MAME auto-download (users install via package manager)
- Added system-wide MAME detection (PATH, /usr/bin, /usr/games)
- Removed all .exe suffixes from binary references
- Created AmpleLinux.sh launcher script
- Dual-language READMEs (English + Traditional Chinese)
Updated user guidance for Windows and Linux users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant