https://github.com/sdaqo/agent-launcher
Automatically attaches agent to Steam Games under Linux
https://github.com/sdaqo/agent-launcher
Last synced: 5 months ago
JSON representation
Automatically attaches agent to Steam Games under Linux
- Host: GitHub
- URL: https://github.com/sdaqo/agent-launcher
- Owner: sdaqo
- License: gpl-3.0
- Created: 2025-12-29T11:11:28.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-01T00:02:18.000Z (6 months ago)
- Last Synced: 2026-01-05T09:42:58.708Z (5 months ago)
- Language: Shell
- Homepage:
- Size: 40 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# agent-launcher
Automatically download, and attach [Agent](https://github.com/0xDC00/agent) to Steam games on Linux Systems.
This is a private public repo, I will not be answering issues accepting prs etc. You will have to edit the script on your own. This is very specific to my own configuration, please adjust accordingly.
```
usage: [ENV VARS...] agent-launcher.sh %command%
Launches agent + game together + various ulility stuff
Do not end Paths with extra /
Environment Variables:
A_PATH: Path where agent.exe lies. (Default: $GAME_DIR)
A_SCRIPTS_PATH: Path where agent scrips lie. (Default: $GAME_DIR/data/scripts)
A_SCRIPT: Agent script to use (file name) in the A_SCRIPTS_PATH (Default: none, required)
A_DELAY: Delay after which agent hooks the game (ms). (Default: 5000)
A_ONLY: Launch agent without game. (Default: 0)
A_SKIP_HELP: Do not show this help message. (Default: 0)
A_HDR: Enable HDR compat under wayland. (Default: 0)
A_GAMESCOPE: Use gamescope to launch the game. (Default: 0)
A_GAMESCOPE_OPTS: Specify custom gamescope opts, e.g. "-W 3840 -H 2160". (Default: "")
A_DOWNLOAD: Download agent if not in location. (Default: 1)
A_DL_URL: Agent download url. (Default: https://github.com/0xDC00/agent/releases/latest/download/agent-v0.1.4-win32-x64.zip)
A_SCRIPTS_DOWNLOAD: Download agent scripts. (Default: 1)
A_SCRIPTS_DL_URL: Agent scripts download url: (Default: https://github.com/0xDC00/scripts/archive/refs/heads/main.zip)
A_PORT: Agent websocket port. (Default: 6677)
A_IP: Agent websocket host. (Default: 0.0.0.0)
```
## Nix
Use this to add it to your nix config:
```nix
{ pkgs, lib, ... }:
let
agent-launcher = pkgs.stdenv.mkDerivation rec {
version = "x.x"; # Replace with current release version
name = "agent-launcher";
src = pkgs.fetchFromGitHub {
owner = "sdaqo";
repo = "agent-launcher";
rev = "v${version}";
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; # Replace with correct hash
};
nativeBuildInputs = [ pkgs.makeWrapper ];
runtimeInputs = with pkgs; [
wget
bash
unzip
];
installPhase = ''
runHook preInstall
install -Dm755 agent-launcher.sh $out/bin/agent-launcher.sh
wrapProgram $out/bin/agent-launcher.sh \
--prefix PATH : ${lib.makeBinPath runtimeInputs}
runHook postInstall
'';
};
in
{
programs.steam = {
enable = true;
extraPackages = with pkgs; [
agent-launcher # Add it to extra packages
];
};
}
```