NonSteamLaunchers-On-Steam-.../README.md

240 lines
9.1 KiB
Markdown
Raw Normal View History

2023-05-13 14:23:25 +02:00
<p align="center">
2023-06-01 20:50:43 +02:00
<img src="https://github.com/cchrkk/NSLOSD-DL/raw/main/logo.svg" width=40% height=auto
</p>
<h1 align="center">
NonSteamLaunchers 🚀
2023-06-01 20:50:43 +02:00
</h1>
2024-01-26 21:36:29 +01:00
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.
2023-05-11 16:00:13 +02:00
So you can use them on Desktop or in Game Mode.
<h1 align="center">
Features ✅
</h1>
2023-05-13 13:53:51 +02:00
2023-05-13 14:42:48 +02:00
- Automatic installation of the most popular launchers in your Steam Deck 🎮
2024-01-26 21:36:29 +01:00
- Handle automatically the download and installation of your chosen launchers and the games ⌚️
2023-05-13 14:42:48 +02:00
- 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!
<h1 align="center">
Supported Stores 🛍
</h1>
- Amazon Games Launcher ✔️
2023-05-11 16:00:13 +02:00
- Battle.net ✔️
- EA App ✔️
2023-05-11 16:00:13 +02:00
- Epic Games ✔️
- GOG Galaxy ✔️
- Humble Games Collection ✔️
- IndieGala ✔️
- Itch.io ✔️
- Legacy Games ✔️
2023-05-11 16:00:13 +02:00
- Rockstar Games Launcher ✔️
2023-11-02 22:53:13 +01:00
- Ubisoft Connect ✔️
2023-06-03 01:03:12 +02:00
- Glyph ✔️
2023-06-04 08:20:04 +02:00
- Minecraft ✔️
2023-07-12 14:02:24 +02:00
- Playstation Plus ✔️
2023-12-23 23:40:21 +01:00
- VK Play ✔️
2023-04-27 02:24:01 +02:00
2023-06-25 12:48:42 +02:00
<h1 align="center">
2023-07-12 14:05:31 +02:00
Supported Streaming Sites for games and as well as any website. 🌐
2023-06-25 12:48:42 +02:00
</h1>
2023-07-12 14:05:51 +02:00
2024-01-31 03:45:37 +01:00
- Website Shortcut Creator ✔️
2023-06-25 12:48:42 +02:00
- Xbox Game Pass ✔️
- GeForce Now ✔️
- Amazon Luna ✔️
- Netflix ✔️
- Amazon Prime Video ✔️
- Disney+ ✔️
- Hulu ✔️
- Youtube ✔️
2023-11-02 22:53:55 +01:00
- Twitch ✔️
2024-01-31 03:29:53 +01:00
- movie-web ✔️
2023-06-25 12:48:42 +02:00
2023-06-26 06:19:21 +02:00
<h1 align="left">
2024-02-07 00:02:42 +01:00
Finds Games Automatically
</h1>
"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 🎮
- Ubisoft Connect 🎮
- EA App 🎮
2024-01-26 10:25:16 +01:00
- Gog Galaxy 🎮
2024-02-02 05:52:49 +01:00
- Battle.net 🎮
- Amazon games 🎮
2023-06-26 06:19:21 +02:00
<h1 align="center">
How to Install 🔧
</h1>
2023-05-13 14:45:08 +02:00
<p align="center">
2023-06-01 13:35:41 +02:00
<a name="download button" href="https://github.com/cchrkk/NSLOSD-DL/releases/download/DlLinkFix/NonSteamLaunchers.desktop"><img src="https://user-images.githubusercontent.com/98482469/242361563-33f31d3d-9a69-4fca-a928-207a5d17a98f.png" alt="Download NonSteamLaunchers" width="350px" style="padding-top: 15px;"></a>
</p>
<!--- Thanks https://github.com/Heus-Sueh -->
* 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.
2024-01-22 06:39:35 +01:00
* 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 steam adn the NSLGameScanner.service should add it to your library. Even in gamemode 🥳
2023-05-13 14:45:08 +02:00
<!--- TODO: handful of broken icons (cf. 🡺🡺🡺 ); probably should remove or replace them with more common font to handle unicode-->
2023-05-13 14:45:08 +02:00
<p align="center">
▶️ YouTube Tutorial 🡺🡺🡺 https://www.youtube.com/watch?v=svOj4MTEAVc 🡸🡸🡸 ▶️
</p>
<p align="center">
📖 Step-by-step Article 🡺🡺🡺 <a href="https://steamdeckhq.com/news/nonsteamlaunchers-adds-scan-support-launchers">here</a> 🡸🡸🡸 📖
2023-05-13 14:45:08 +02:00
</p>
2023-04-29 04:35:06 +02:00
<h1 align="center">
How to Uninstall 🗑
</h1>
2024-02-03 03:31:12 +01:00
+ Just run the script, and hit "Uninstall". Alternatively, if you want to totally wipe evrything from NonSteamLaunchers click "Start Fresh".
2023-05-18 15:13:38 +02:00
+ That's it.
2023-05-18 14:02:08 +02:00
<h1 align="center">
Currently Working On 👷‍♂️
</h1>
2023-04-29 04:35:06 +02:00
2024-02-03 03:26:20 +01:00
* Decky Loader Plugin is available [here](https://github.com/moraroy/NonSteamLaunchersDecky)
* Integrate better with [BoilR](https://github.com/PhilipK/BoilR) ❌
2023-04-27 02:24:01 +02:00
<h1 align="center">
Contributing 🤝
</h1>
2023-05-10 10:30:30 +02:00
2023-05-11 16:00:13 +02:00
If you have any suggestions or improvements for this script, feel free to open an issue or submit a pull request.
2024-01-22 06:41:52 +01:00
You can donate to me on [ko-fi](https://ko-fi.com/moraroy), [liberapay](https://liberapay.com/moraroy), or [sponsor me on github](https://github.com/sponsors/moraroy) or [patreon](https://patreon.com/moraroy)
## Development Environment
### Dev Container
Install [Docker](https://docs.docker.com/compose/install/). Once installed, a clean dev environment with a Docker container [native to VSCode](https://code.visualstudio.com/docs/devcontainers/create-dev-container#_dockerfile) is spun up automatically.
* [Command palette](https://code.visualstudio.com/docs/getstarted/userinterface#_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)**
* [Atom Keymap](https://marketplace.visualstudio.com/items?itemName=ms-vscode.atom-keybindings)
* [Bash IDE](https://marketplace.visualstudio.com/items?itemName=mads-hartmann.bash-ide-vscode)
* [Better Comments](https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments)
* [Docker](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker)
* [EditorConfig](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)
* [GitHub Copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot)
* [GitHub Copilot Chat](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat)
* [gitignore](https://marketplace.visualstudio.com/items?itemName=codezombiech.gitignore)
* [GitLens](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens)
* [Markdown All in One](https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one)
* [MS Visual Studio Live Share](https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare)
* [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
* [Shellcheck](https://marketplace.visualstudio.com/items?itemName=timonwong.shellcheck)
### 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`.
```bash
# 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](#dev-container) portion that covers the core shell script.
```bash
# create virtual environment
python -m venv .venv
# activate virtual environment
source .venv/bin/activate
# install dependencies
python -m pip install -r requirements.txt
```
2024-02-21 07:49:12 +01:00
### 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](https://pre-commit.com/#install)
* Install pre-commit hooks
```bash
pre-commit install
```
* Trigger pre-commit hooks automatically on `git commit`
```bash
git add .
git commit -m "commit message"
```
### Formatting
> **TL;DR**: The [Ruff formatter](https://astral.sh/blog/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
```bash
# check for errors
ruff check .
# fix (some) errors automatically
ruff check . --fix
```
### Additional tooling
Additional tooling includes but is not limited to:
#### asdf
* Install [asdf](https://asdf-vm.com/guide/getting-started.html#_2-download-asdf)
* Usage
```bash
# add python plugin
asdf plugin-add python
# install stable python
asdf install python <latest|3.11.4>
# set stable to system python
asdf global python latest
# add poetry asdf plugin
asdf plugin-add poetry https://github.com/asdf-community/asdf-poetry.git
# install latest version via asdf
asdf install poetry <latest|1.5.1>
# set latest version as default
asdf global poetry latest
```
#### shellcheck
`.shellcheckrc` excludes various [bash language rules](https://github.com/koalaman/shellcheck/wiki/Ignore#ignoring-one-or-more-types-of-errors-forever). Useful to control noise vs. legitimate warnings/errors when using the shellcheck extension.
<h1 align="center">
2023-06-01 23:27:26 +02:00
License 📝
</h1>
2023-05-02 15:03:17 +02:00
2023-05-11 16:00:13 +02:00
This project is licensed under the MIT License. See the `LICENSE` file for more information.