diff --git a/home/bin/executable_linux-add-nonsteam-games b/home/bin/executable_linux-add-nonsteam-games new file mode 100644 index 00000000..c065d2d2 --- /dev/null +++ b/home/bin/executable_linux-add-nonsteam-games @@ -0,0 +1,27 @@ +#!/usr/bin/env bash +# Add non-steam games to steam + +steam_userid="47011563" +shortcuts_vdf="$HOME/.steam/root/userdata/${steam_userid}/config/shortcuts.vdf" +rm $shortcuts_vdf + +apps=( + "/run/current-system/sw/bin/dolphin-emu Dolphin Emulator" + "/run/current-system/sw/bin/yuzu Yuzu Emulator" + "/run/current-system/sw/bin/ppsspp PPSSPP Emulator" + "/run/current-system/sw/bin/ares Ares Emulator" +) + +for app in "${apps[@]}" +do + set -- $app + steamtinkerlaunch addnonsteamgame \ + -ep="$1" -an="$2" \ + --hero="$HOME/.local/share/chezmoi/resources/img/$2/hero.png" \ + --iconpath="$HOME/.local/share/chezmoi/resources/img/$2/icons.png" \ + --logo="$HOME/.local/share/chezmoi/resources/img/$2/logo.png" \ + --boxart="$HOME/.local/share/chezmoi/resources/img/$2/boxart.png" \ + --tenfoot="$HOME/.local/share/chezmoi/resources/img/$2/tenfoot.png" \ + --tags="$3" \ + --copy +done diff --git a/home/dot_local/share/Steam/userdata/47011563/config/shortcuts.vdf b/home/dot_local/share/Steam/userdata/47011563/config/shortcuts.vdf index 4e4706ed..642fc476 100755 Binary files a/home/dot_local/share/Steam/userdata/47011563/config/shortcuts.vdf and b/home/dot_local/share/Steam/userdata/47011563/config/shortcuts.vdf differ diff --git a/provision/modules/gaming/steam.nix b/provision/modules/gaming/steam.nix index 627202fb..8e9b9016 100644 --- a/provision/modules/gaming/steam.nix +++ b/provision/modules/gaming/steam.nix @@ -16,10 +16,12 @@ in { environment.systemPackages = with pkgs; [ steam + steamtinkerlaunch yuzu-early-access dolphin-emu ppsspp mgba + ares sunshine moonlight-qt prismlauncher diff --git a/provision/overlays/steamtinkerlaunch.nix b/provision/overlays/steamtinkerlaunch.nix new file mode 100644 index 00000000..624f04d8 --- /dev/null +++ b/provision/overlays/steamtinkerlaunch.nix @@ -0,0 +1,10 @@ +self: super: { + steamtinkerlaunch = super.steamtinkerlaunch.overrideAttrs (old: { + src = super.fetchFromGitHub { + owner = "sonic2kk"; + repo = "steamtinkerlaunch"; + rev = "6ff8371e9c8f8122ab4b532e4649e76509a38666"; + sha256 = "sha256-DsfUcAqSnrLvIbkIJ52OHlNfxaq+mOjimc9x/tOW1dA="; + }; + }); +} diff --git a/resources/img/Ares/boxart.png b/resources/img/Ares/boxart.png new file mode 100644 index 00000000..6b8afdd7 Binary files /dev/null and b/resources/img/Ares/boxart.png differ diff --git a/resources/img/Ares/hero.png b/resources/img/Ares/hero.png new file mode 100644 index 00000000..3c65b28a Binary files /dev/null and b/resources/img/Ares/hero.png differ diff --git a/resources/img/Ares/icons.png b/resources/img/Ares/icons.png new file mode 100644 index 00000000..7e230396 Binary files /dev/null and b/resources/img/Ares/icons.png differ diff --git a/resources/img/Ares/logo.png b/resources/img/Ares/logo.png new file mode 100644 index 00000000..e2466c50 Binary files /dev/null and b/resources/img/Ares/logo.png differ diff --git a/resources/img/Ares/tenfoot.png b/resources/img/Ares/tenfoot.png new file mode 100644 index 00000000..0a36b3cf Binary files /dev/null and b/resources/img/Ares/tenfoot.png differ diff --git a/resources/img/mGBA/boxart.png b/resources/img/mGBA/boxart.png deleted file mode 100644 index 214725f2..00000000 Binary files a/resources/img/mGBA/boxart.png and /dev/null differ diff --git a/resources/img/mGBA/hero.png b/resources/img/mGBA/hero.png deleted file mode 100644 index b6703a52..00000000 Binary files a/resources/img/mGBA/hero.png and /dev/null differ diff --git a/resources/img/mGBA/icons.png b/resources/img/mGBA/icons.png deleted file mode 100644 index de857e45..00000000 Binary files a/resources/img/mGBA/icons.png and /dev/null differ diff --git a/resources/img/mGBA/logo.png b/resources/img/mGBA/logo.png deleted file mode 100644 index d02640b4..00000000 Binary files a/resources/img/mGBA/logo.png and /dev/null differ diff --git a/resources/img/mGBA/tenfoot.png b/resources/img/mGBA/tenfoot.png deleted file mode 100644 index ea0b4ae7..00000000 Binary files a/resources/img/mGBA/tenfoot.png and /dev/null differ