This script installs the latest UMU & GE-Proton and 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. Local Saves and Cloud saves are supported, as well as multiplayer/online support (because youre using the launchers). Obviously, certain anticheat games will not work on linux enviroments; this is on a game to game basis.
Automatic installation of the most popular launchers in your Steam Deck ๐ฎ
Handle automatically the download and installation of your chosen launchers and the games, artwork included! โ๏ธ
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!
ProtonTricks is compatible with NonSteamLaunchers default installation (one prefix). This will add a NonSteamLaunchers shorcut in your library...this shortcut doesnt do anything. All you have to do is simply "Hide this Game" in your Library. Right click its properties and choose "Manage" and "Hide this Game". You never have to worry about it again! If you were to open up ProtonTricks to fix any game or launcher it is now accessible!
In case you didnt know, you can also choose to check mark "Separate App Id's" when installing a launcher, this will install all launchers in each of their own prefix. Automatically working with ProtonTricks!
Command Line Ready, you can call it from online, heres an example of installing a launcher /bin/bash -c 'curl -Ls https://raw.githubusercontent.com/moraroy/NonSteamLaunchers-On-Steam-Deck/main/NonSteamLaunchers.sh | nohup /bin/bash -s -- "Epic Games"'
NSL can in fact be installed on many linux distros, feel free to try, here are some examples of some... Ubuntu LTS, ChimeraOS, Nobara and Arch Linux as well as any KDE Environments such as this opensuse - tumbleweed - wayland , if for any reason you find that NonSteamLaunchers installs perfectly or not, let me know!
RemotePlayWhatever is also bundled with NSL to allow for local and co-op play between non steam games, this is created by m4Engi, here is the repo here
Ludusavi is also pre-installed and setup for NSL for your games save backups. Not all games will work with this yet so bare this in mind when deleted or uninstalling games that are arent backed up yet, here is the repo here
UMU Launcher is automatically used and is processed for each game and Launcher. Proton GE will be used where necessary.
Decky Loader Plugin is available here and the pull request for it here and can be installed with this big button
โถ๏ธ YouTube Tutorial ๐กบ๐กบ๐กบ https://youtu.be/sxMmI8I9G_g ๐กธ๐กธ๐กธ โถ๏ธ
๐ Step-by-step Article ๐กบ๐กบ๐กบ here ๐กธ๐กธ๐กธ ๐
"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:
To stop the NSLGameScanner.service, open up NSL and hit "Stop NSLGameScanner" it will then ask you if you want to restart it, click no, and that's it.
The NSL script can be called from online via bash, heres an example of it installing a launcher
/bin/bash -c 'curl -Ls https://raw.githubusercontent.com/moraroy/NonSteamLaunchers-On-Steam-Deck/main/NonSteamLaunchers.sh | nohup /bin/bash -s -- "Epic Games"'
All launchers can be installed by calling their name like this "Epic Games"
"Ubisoft Connect"
etc.
All launchers can be uninstalled by calling their name like this "Uninstall Epic Games"
"Uninstall Ubisoft Connect"
etc.
Here is the list of commands that can also be called
"Start Fresh"
"Update Proton-GE"
"Stop NSLGameScanner"
"Move to SD Card"
The "Move to SD Card" function can only be called in this format
/bin/bash -c 'curl -Ls https://raw.githubusercontent.com/moraroy/NonSteamLaunchers-On-Steam-Deck/main/NonSteamLaunchers.sh | nohup /bin/bash -s -- "Move to SD Card" "EpicGamesLauncher"
/bin/bash -c 'curl -Ls https://raw.githubusercontent.com/moraroy/NonSteamLaunchers-On-Steam-Deck/main/NonSteamLaunchers.sh | nohup /bin/bash -s -- "Move to SD Card" "NonSteamLaunchers"
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
Install Docker. Once installed, a clean dev environment with a Docker container native to VSCode is spun up automatically.
/opt/venv/bin/python
) firstVSCode Extensions (Dev Container)
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
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 are installed via pre-commit
and are run automatically on git commit
.
Most importantly, ruff
is used to lint all python code.
pre-commit install
git commit
git add .
git commit -m "commit message"
--no-verify
flag.
git commit -m "commit message" --no-verify
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.
# 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
TL;DR: The Ruff formatter is an extremely fast Python formatter, written in Rust. Itโs 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
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
asdf install
# install stable python
asdf install python <latest|3.11.4>
asdf global python latest
.shellcheckrc
excludes various bash language rules. Useful to control noise vs. legitimate warnings/errors when using the shellcheck extension.
This project is licensed under the MIT License. See the LICENSE
file for more information.