Pull Request: Add native Windows (AmpleWin) and Linux (AmpleLinux) ports#46
Pull Request: Add native Windows (AmpleWin) and Linux (AmpleLinux) ports#46anomixer wants to merge 33 commits intoksherlock:masterfrom
Conversation
…ptive UI, optimized engine, and internationalized documentation
…VGM Recording, and Shared Directory Support
…-browse Shared Directory
… ROM search filter
… SCSI sub-slot emulation
- 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.
|
Thanks, I'll go through it and get it merged before the next release. |
|
|
||
| > Windows users might want to check out [AmpleWin](https://github.com/anomixer/ample/tree/master/AmpleWin) | ||
| > Windows users might want to check out [AmpleWin](https://github.com/anomixer/ample/tree/master/AmpleWin). | ||
| > Linux users might want to check out [AmpleLinux](https://github.com/anomixer/ample/tree/master/AmpleLinux). |
There was a problem hiding this comment.
Do you still want these pointing to your repo? (also the open_help_url() functions in main.py)
There was a problem hiding this comment.
Do you still want these pointing to your repo? (also the
open_help_url()functions in main.py)
Hi,
You can point them to your site — I’m just a contributor.
The only part that really needs maintenance in AmpleWin is the download link for the updated mame.exe version (see mame_downloader.py, line 14):
# MAME official self-extracting EXE - Updated to 0.286
self.url = "https://github.com/mamedev/mame/releases/download/mame0286/mame0286b_x64.exe"As for AmpleLinux, it’s automatically synced with Ubuntu’s Snap Store, so no maintenance is needed there.
My fork has just been updated to 0.286 as well, including the Windows executable.
Feel free to merge anytime if you find it helpful. Thanks!
— anomixer
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/andAmpleLinux/) 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/)AmpleWin.batscript for easy startup.🐧 Linux Port (
AmpleLinux/)AmpleLinux.shautomatically creates a virtual environment (venv) and installs dependencies (PySide6, etc.) on the first run.build_elf.shscript using PyInstaller to create a standalone binary. It also generates and installs a.desktopfile for proper application menu integration.snap install mameon Ubuntu.binutils/objcopy) required by PyInstaller.📝 Documentation
README.mdto reference the new ports.README.mdandREADME_tw.mdinside each port directory.✅ Verification
I have tested these changes on:
AmpleLinux.shsetup,build_elf.shbinary generation, and icon integration.Hope this helps expand the user base for Ample! Thanks for the great original work.