Installs the latest GE-Proton and Installs Non Steam Launchers under 1 Proton prefix folder and adds them to your steam library. Installs... Battle.net, Epic Games, Ubisoft, GOG, EA App, Amazon Games, itch.io , Legacy Games, The Humble Games Collection, IndieGala, Rockstar Games Launcher,PS Plus, Glyph, VKPlay & HoYoPlay. SD Card Support and Games.
Go to file
Roy d605ad0f78
fixed battlnet and ea app
~smoother installation
2024-05-08 13:04:09 -07:00
.devcontainer build: move docker to top-level directory 2024-02-21 00:53:32 -06:00
.github ci: add automatic semver 2024-02-21 00:45:59 -06:00
.vscode chore: vscode extension recommendations 2024-02-21 00:46:54 -06:00
Modules Revert "chore: remove modules" 2024-02-21 00:50:22 -06:00
.dockerignore build: move docker to top-level directory 2024-02-21 00:53:32 -06:00
.editorconfig Add tooling 2023-08-11 15:14:23 -05:00
.gitignore ci: add commitizen 2024-02-21 01:08:53 -06:00
.pre-commit-config.yaml ci: add pre-commit hooks 2024-02-21 00:48:48 -06:00
.release-please-manifest.json chore(main): release 3.8.1 2024-02-28 21:57:12 -08:00
.shellcheckrc Error handling and shellcheck additions 2023-09-01 01:33:08 -05:00
.tool-versions ci: add commitizen 2024-02-21 01:08:53 -06:00
CHANGELOG.md chore(main): release 3.8.1 2024-02-28 21:57:12 -08:00
config.env wip 2024-02-20 23:29:48 -06:00
config.py refactor: split config into file 2024-02-21 00:44:29 -06:00
Dockerfile build: move docker to top-level directory 2024-02-21 00:53:32 -06:00
LICENSE Create LICENSE 2023-05-11 16:00:53 +02:00
logo.png added logo 2023-05-13 14:15:56 +02:00
NonSteamLaunchers.desktop changed NonSteamLaunchers.desktop exec (Again) 2023-06-05 18:11:24 +02:00
NonSteamLaunchers.sh fixed battlnet and ea app 2024-05-08 13:04:09 -07:00
NSLGameScanner.py fixed gog for sd card paths 2024-05-08 01:55:55 -07:00
package-lock.json ci: add commitizen 2024-02-21 01:08:53 -06:00
package.json ci: add commitizen 2024-02-21 01:08:53 -06:00
poetry.lock Merge pull request #290 from moraroy/dependabot/pip/ruff-0.4.3 2024-05-04 13:46:03 -07:00
pyproject.toml Bump ruff from 0.3.7 to 0.4.1 2024-04-20 15:56:46 +00:00
README.md Full SD Card Support 2024-05-08 02:00:50 -07:00
release-please-config.json chore: fix eol 2024-02-21 00:56:38 -06:00
requirements.txt build: update deps 2024-02-21 00:39:07 -06:00

NonSteamLaunchers 🚀

This script installs the latest GE-Proton, installs NonSteamLaunchers under one unique Proton prefix folder in your compatdata folder path called "NonSteamLaunchers" and adds them to your Steam Library. It will also add the games automatically on every steam restart. So you can use them on Desktop or in Game Mode.

Features

  • Automatic installation of the most popular launchers in your Steam Deck 🎮
  • Handle automatically the download and installation of your chosen launchers and the games
  • MicroSD Support 💾 This script supports moving the entire prefix to a microSD. The script will install launchers and games to your SD card, and the launchers in Steam will point to the SD card installation. This allows you to save internal storage space on your Steam Deck!

Currently Working On 👷‍♂️

  • Decky Loader Plugin is available here

Supported Stores 🛍

  • Amazon Games Launcher ✔️
  • Battle.net ✔️
  • EA App ✔️
  • Epic Games ✔️
  • GOG Galaxy ✔️
  • Humble Games Collection ✔️
  • IndieGala ✔️
  • Itch.io ✔️
  • Legacy Games ✔️
  • Rockstar Games Launcher ✔️
  • Ubisoft Connect ✔️
  • Glyph ✔️
  • Minecraft ✔️
  • Playstation Plus ✔️
  • VK Play ✔️

Supported Streaming Sites for games and as well as any website. 🌐

  • Website Shortcut Creator ✔️
  • Fortnite ✔️
  • Xbox Game Pass ✔️
  • GeForce Now ✔️
  • Amazon Luna ✔️
  • Netflix ✔️
  • Amazon Prime Video ✔️
  • Disney+ ✔️
  • Hulu ✔️
  • Youtube ✔️
  • Twitch ✔️
  • movie-web ✔️

Finds Games Automatically

"NSLGameScanner.service" is also live when you use this script and continues after the script is closed and even works after your Steam Deck has restarted. This works in the background as a service file to automatically add your games to your library on every Steam restart. Currently adds:

  • Epic Games 🎮 💾 Full SD Card Support
  • Ubisoft Connect 🎮
  • EA App 🎮
  • Gog Galaxy 🎮 💾 Full SD Card Support
  • Battle.net 🎮
  • Amazon Games 🎮 💾 Full SD Card Support
  • Itch.io 🎮

How to Install 🔧

Download NonSteamLaunchers

  • Go to desktop mode, right click the download button above and save the .desktop file to your Steam Deck desktop.
  • Go to your desktop, click the NonSteamLaunchers icon, it will download and run the latest NonSteamLaunchers.sh from this repository and run it.
  • You will simply have to choose which launcher to install and let the script handle the rest. 💻 No files are left in your "Downloads" they are deleted after installation.
  • After running the script, launch Steam on your Steam Deck. You'll find the new launchers in your library under the non-steam tab. Click a launcher to see your installed games from that store, and launch them directly from Steam! If you have downloaded a game inside of your launcher, restart your Deck or quit and reopen Steam and the NSLGameScanner.service should add it to your library, even in gamemode! 🥳

▶️ YouTube Tutorial 🡺🡺🡺 https://www.youtube.com/watch?v=svOj4MTEAVc 🡸🡸🡸 ▶️

📖 Step-by-step Article 🡺🡺🡺 here 🡸🡸🡸 📖

How to Uninstall 🗑

  • Just run the script, and hit "Uninstall". Alternatively, if you want to totally wipe everything from NonSteamLaunchers click "Start Fresh".
  • That's it.

Contributing 🤝

If you have any suggestions or improvements for this script, feel free to open an issue or submit a pull request.

You can donate to me on ko-fi, liberapay, or sponsor me on github or patreon

Development Environment

Dev Container

Install Docker. Once installed, a clean dev environment with a Docker container native to VSCode is spun up automatically.

  • Command palette (⇧⌘P) > Dev Containers: Reopen in Container
  • F5 for debug
    • May need to select interpreter (e.g., /opt/venv/bin/python) first

VSCode Extensions (Dev Container)

Manual Docker Instance

If VSCode isn't present or only the python portion (cf. __init__.py) is being worked on, it's possible to just run a Docker container on its own. The container installs the correct version of python and any dependencies (e.g., ipython, rich) in requirements.txt.

# navigate to directory with Dockerfile
cd .devcontainer/

# build image
docker build -t nonsteamlaunchers .

# run container
docker run -it --rm --name=mynonsteamlaunchers --workdir=/app -v $(pwd):/app nonsteamlaunchers bash

# exit container
exit

Python virtual environment

Useful for the python module(s), but extra compared to the dev container portion that covers the core shell script.

# create virtual environment
python -m venv .venv

# activate virtual environment
source .venv/bin/activate

# install dependencies
python -m pip install -r requirements.txt 

Pre-commit hooks

Pre-commit hooks are installed via pre-commit and are run automatically on git commit.

Most importantly, ruff is used to lint all python code.

  • Install pre-commit
  • Install pre-commit hooks
    pre-commit install
    
  • Trigger pre-commit hooks automatically on git commit
    git add .
    git commit -m "commit message"
    
  • Bypass pre-commit hooks
    • Sometimes, it's necessary to bypass pre-commit hooks. This can be done with the --no-verify flag.
      git commit -m "commit message" --no-verify
      

Conventional Commits

While not currently enforced, by using conventional commits, it's possible to automatically generate changelogs and version numbers via release-please.

To help with that, the commitizen tool can be installed.

Usage

# install cz
npm install -g commitizen cz-conventional-changelog

# make repo cz friendly
commitizen init cz-conventional-changelog --save-dev --save-exact
npm install

# add file to commit
git add .gitignore

# run cz
λ git cz
cz-cli@4.3.0, cz-conventional-changelog@3.3.0

? Select the type of change that you're committing: chore:    Other changes that don't modify src or test files
? What is the scope of this change (e.g. component or file name): (press enter to skip) .gitignore
? Write a short, imperative tense description of the change (max 81 chars):
 (17) update .gitignore
? Provide a longer description of the change: (press enter to skip)

? Are there any breaking changes? No
? Does this change affect any open issues? No
[main 0a9920d] chore(.gitignore): update .gitignore
 1 file changed, 131 insertions(+)

λ git push

Formatting

TL;DR: The Ruff formatter is an extremely fast Python formatter, written in Rust. Its over 30x faster than Black and 100x faster than YAPF, formatting large-scale Python projects in milliseconds — all while achieving >99.9% Black compatibility.

  • While it runs automatically on commits, it can also be run manually
    # check for errors
    ruff check .
    
    # fix (some) errors automatically
    ruff check . --fix
    

Additional tooling

TODO

asdf

  • Install asdf
  • Add plugins
    asdf plugin-add python
    asdf plugin-add poetry https://github.com/asdf-community/asdf-poetry.git
    asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
    
  • Usage
    • Install local plugins in repo
      asdf install
      
    • Install specific plugins
      # install stable python
      asdf install python <latest|3.11.4>
      
      # set stable to system python
      asdf global python latest
      

shellcheck

.shellcheckrc excludes various bash language rules. Useful to control noise vs. legitimate warnings/errors when using the shellcheck extension.

License 📝

This project is licensed under the MIT License. See the LICENSE file for more information.