imLinguin / nile

Unofficial Amazon Games client
GNU General Public License v3.0
295 stars 15 forks source link
amazon amazon-games gaming linux prime-gaming wine

Logo

stars loicense

Nile

Linux native Amazon Games client, based on this research

Nile aims to be CLI and GUI tool for managing and playing games from Amazon.

Features

Might not work

Purpose

This is my attempt to make Amazon Games useful for Linux users, who want to play titles obtained thanks to Prime membership.

Dependencies

Arch and derivatives (Manjaro, Garuda, EndeavourOS)

sudo pacman -S python-pycryptodome python-zstandard python-requests python-protobuf python-json5

Debian and derivatives (Ubuntu, Pop!_OS)

sudo apt install python3-pycryptodome python3-requests python3-zstandard python3-protobuf python3-json5

With pip

Do this after cloning the repo and cd into the directory Do not install if you installed dependencies through your package manager

This is NOT recommended as it can potentially collide with distribution packages source
new versions of pip will prevent you from doing it outside of virtual environment

pip3 install -r requirements.txt

Building PyInstaller executable

If you wish to test nile in Heroic flatpak you likely need to build the nile executable using pyinstaller

pip install pyinstaller
pyinstaller --onefile --name nile nile/cli.py

Contributing

I'm always open for contributors

black is used for code formatting

Setting up dev environment:

Prior work

This is based on Rodney's work here: https://github.com/derrod/twl.py Some of his code is implemented in nile, since nothing changed since then in terms of downloading and patching