Skip to main content

pyappxportable

Install Windows Store games as ordinary portable desktop games using Appx Portable.

Give the installer an .appxbundle, .appx, or extracted package folder. It extracts the game, downloads the matching Appx Portable runtime and required Microsoft framework packages, applies supported game patches, and writes a 00_click2startme launcher. Updates preserve saves, settings, and logs.

This package contains no games or Microsoft runtime files. Supply your own game packages. Runtime DLLs and game patches come from yell0wsuit/appx-portable; framework packages come from yell0wsuit/vclibs-appx with pinned SHA-256 checks.

Install

Requires Python 3.8 or later, with pip. Use a Python release compatible with your Windows version; managed XAML games need Windows 10 1903 or later and .NET Framework 4.x. macOS/Wine support is experimental; managed games and games that require the native host need Windows.

python -m pip install pyappxportable
pyappxportable "C:\Downloads\Game.appxbundle"

On Windows, py -m pip and py -m pyappxportable also work. On macOS/Linux, use python3 if that is your Python command. With a Python installation managed by your OS, install into a virtual environment or use pipx install pyappxportable.

Run pyappxportable without arguments for prompts. If the command is not on your PATH, use python -m pyappxportable. After installation, double-click 00_click2startme.bat on Windows or 00_click2startme.command on macOS. Linux uses 00_click2startme.sh with Wine.

Command-line options

pyappxportable Game.appx --dest Games/Game --store none --launcher --yes
python -m pyappxportable --help
Option Purpose
--version Show the installed pyappxportable version
--no-update-check Skip the background PyPI update check
--dest FOLDER Destination; defaults beside the source, using its package name
--dependencies PATH VCLibs or .NET Native package/folder; repeat for several
--build FOLDER Use locally built runtime DLLs
--release TAG Select a runtime release instead of the latest
--store none|trial|iap|both Store overrides; omitted with --yes preserves settings
--launcher, --no-launcher Create or skip the launcher; defaults to creating it
--no-patch Skip known-game patches
--patch-dir FOLDER Use a local Appx Portable patch/ folder
--desktop-copy Make a Windows 8/8.1 desktop executable copy on any Windows
--yes Disable prompts; fail if a required input is missing

For a local runtime checkout:

pyappxportable Game.appx --build ../appx-portable/build/windows-x86 --patch-dir ../appx-portable/patch

Choose an x64 build for an x64 game. Without --patch-dir, known-game patches are downloaded at the selected runtime release tag, including with --build.

Upgrade the installer with python -m pip install --upgrade pyappxportable. Run it again with the original package and the same --dest to update a game. The Python package version and the runtime release version are independent.

The CLI checks PyPI in the background at most once a day and prints an upgrade command when a newer compatible stable release is available. Checks never install updates or delay startup; offline failures stay silent. Use --no-update-check or set PYAPPXPORTABLE_NO_UPDATE_CHECK=1 to disable them. --help, --version, and Python API calls do not check for updates. Use pyappxportable --version to show the installed package version.

On macOS, the installer can set up Wine Devel, Rosetta 2, and GStreamer. Rosetta and GStreamer require administrator authorization; --yes prints instructions for those steps. See the installer guide and game compatibility.

Python API

from pyappxportable import InstallError, InstallOptions, install_game

try:
    install_game(InstallOptions(
        package="Game.appx",
        dest="Games/Game",
        store="none",
    ))
except InstallError as error:
    print(error)

The API runs without prompts by default and returns 0 on success. It raises InstallError for actionable installation problems; filesystem errors can also raise OSError. Set yes=False to enable prompts, optionally supplying an ask callback to install_game. Manifest is also exported for package metadata.

Development

This project uses Hatchling and a src/pyappxportable package with a console entry point. Modules separate manifests/extraction, PE inspection, downloads, framework dependencies, runtime staging, patches, settings, desktop copies, launchers, macOS setup, and installation orchestration.

python -m venv .venv
# Windows: .venv\Scripts\activate
# macOS/Linux: source .venv/bin/activate
python -m pip install -e ".[dev]"
python -m pylint src/pyappxportable
python -m black --check src/pyappxportable
python -m build
python -m twine check dist/*

CI lints, runs the update/release tests, builds wheel/source distributions, checks their metadata, and installs the wheel on Windows and Linux with Python 3.8, and on Windows, macOS, and Linux with the current Python.

Pushes to main automatically publish to PyPI and create a GitHub release when any pushed commit starts with feat:, fix:, perf:, or refactor: (including scopes such as fix(cli):). Any conventional commit with ! or a BREAKING CHANGE: footer also releases. Documentation, test, and chore commits only validate unless they declare a breaking change. A manual workflow run on main always releases. Publication requires the existing PyPI Trusted Publisher for workflow build.yaml and GitHub environment pypi.

Versions use the UTC date, such as 2026.11.1, with a fourth segment for repeat releases that day (2026.11.1.1, 2026.11.1.2). Existing GitHub tags, releases, and PyPI versions are checked to avoid reuse. The workflow chooses and builds the version, publishes the validated distributions, and creates the matching v tag and GitHub release; no manual version bump or tag push is needed. Hatch VCS derives local checkout versions from Git tags, and the published source distribution retains its release version.

License

MIT. Extracted from installappx.py in Appx Portable by yell0wsuit. Games and Microsoft runtime files retain their own licenses.

Metadata

Release files for pyappxportable 2026.11.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyappxportable 2026.11.1
File Size Uploaded Provenance Actions
pyappxportable-2026.11.1.tar.gz 31.4 kB With provenance Details for pyappxportable-2026.11.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyappxportable 2026.11.1
File Interpreter ABI Platform Actions
pyappxportable-2026.11.1-py3-none-any.whl Python 3 none any Details for pyappxportable-2026.11.1-py3-none-any.whl

Total release size: 70.8 kB

Release files / pyappxportable-2026.11.1.tar.gz

Download URL pyappxportable-2026.11.1.tar.gz
Size 31.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2eae2d3b1144773f740d53a5a53878be1a9db86f770883cf8cca2e6890788547
BLAKE2b-256 checksum
How to use checksums
89bb2c46d5175d04a7f0b65eafe0b340afabe778e0311120e4c969d656e7551b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / pyappxportable-2026.11.1-py3-none-any.whl

Download URL pyappxportable-2026.11.1-py3-none-any.whl
Size 39.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed57affbb43e556e5e2b72a458ff3f2388abfa72c2c4d39a33284085b4a1d09f
BLAKE2b-256 checksum
How to use checksums
1f86bf4597a73daf7caa86f22da9aac6e154d8deebd56d86192b4caab02cbb9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Security for pyappxportable 2026.11.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyappxportable-2026.11.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page