Compare commits
2 Commits
main
...
init-slipp
| Author | SHA1 | Date | |
|---|---|---|---|
| f3c9ec6a58 | |||
| c339d99d51 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1,5 @@
|
||||
result
|
||||
result-*
|
||||
|
||||
|
||||
slippi-ld-log.*
|
||||
17
flake.nix
17
flake.nix
@@ -19,5 +19,22 @@
|
||||
lib.filterAttrs
|
||||
(_: v: lib.isDerivation v)
|
||||
self.legacyPackages.${system});
|
||||
|
||||
devShells.x86_64-linux.slippi =
|
||||
let
|
||||
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
|
||||
in self.packages.x86_64-linux.slippi-launcher.env.overrideAttrs
|
||||
(final: prev: {
|
||||
shellHook =
|
||||
builtins.replaceStrings
|
||||
["exec \"\${cmd[@]}\""]
|
||||
[''
|
||||
echo "''${cmd[-1]}"
|
||||
unset cmd[-1]
|
||||
cmd+=("$SHELL")
|
||||
exec "''${cmd[@]}"
|
||||
'']
|
||||
prev.shellHook;
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
51
pkgs/slippi-launcher/default.nix
Normal file
51
pkgs/slippi-launcher/default.nix
Normal file
@@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, appimageTools
|
||||
, fetchurl
|
||||
, fuse
|
||||
, bash
|
||||
, breakpointHook
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
appimageTools.wrapType2 rec {
|
||||
pname = "slippi-launcher";
|
||||
version = "2.11.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/project-slippi/slippi-launcher/releases/download/v${version}/Slippi-Launcher-${version}-x86_64.AppImage";
|
||||
hash = "sha256-OrWd0jVqe6CzNbVRNlm2alt2NZ8uBYeHiASaB74ouW4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
breakpointHook
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
extraPkgs = pkgs: [
|
||||
pkgs.fuse
|
||||
pkgs.bintools
|
||||
pkgs.patchelf
|
||||
((pkgs.curl.override {
|
||||
opensslSupport = true;
|
||||
gnutlsSupport = false;
|
||||
}).overrideAttrs (final: prev: {
|
||||
meta.prio = lib.highPrio;
|
||||
}))
|
||||
pkgs.openssl
|
||||
];
|
||||
|
||||
extraInstallCommands = ''
|
||||
wrapProgram $out/bin/slippi-launcher \
|
||||
--set FUSERMOUNT_PROG "${fuse}/bin/fusermount"
|
||||
'';
|
||||
|
||||
# note to madddy./.. DELETE "ubuntu is stupid" LINE FROM ~/.cache/appimage-run/XXXXX/shell-hooks/a
|
||||
meta = {
|
||||
description = "The way to play Slippi Online and watch replays.";
|
||||
homepage = "https://github.com/project-slippi/slippi-launcher";
|
||||
downloadPage = "https://github.com/project-slippi/slippi-launcher/releases";
|
||||
license = lib.licenses.gpl3;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
0
slippi-ld-log
Normal file
0
slippi-ld-log
Normal file
30
slippi-log
Normal file
30
slippi-log
Normal file
@@ -0,0 +1,30 @@
|
||||
20:37:29.048 (dolphin/ishiiInstallation) › Found existing netplay Dolphin executable.
|
||||
20:37:29.048 (dolphin/ishiiInstallation) › Checking if we need to update netplay Dolphin
|
||||
20:37:30.446 (dolphin/ishiiInstallation) › netplay Dolphin installation is outdated. Downloading latest...
|
||||
20:37:30.447 › Downloading https://github.com/project-slippi/Ishiiruka/releases/download/v3.4.6/FM-Slippi-3.4.6-Linux.zip to /home/crumb/.config/Slippi Launcher/temp/FM-Slippi-3.4.6-Linux.zip
|
||||
20:37:30.453 (dolphin/ishiiInstallation) › Found existing playback Dolphin executable.
|
||||
20:37:30.453 (dolphin/ishiiInstallation) › Checking if we need to update playback Dolphin
|
||||
20:37:31.131 (dolphin/ishiiInstallation) › playback Dolphin installation is outdated. Downloading latest...
|
||||
20:37:31.132 › Downloading https://github.com/project-slippi/Ishiiruka-Playback/releases/download/v3.4.6/playback-3.4.6-Linux.zip to /home/crumb/.config/Slippi Launcher/temp/playback-3.4.6-Linux.zip
|
||||
20:37:31.985 (main/github) › Checking cache for: https://api.github.com/repos/project-slippi/Ishiiruka/releases
|
||||
20:37:31.986 (main/github) › Fetching: https://api.github.com/repos/project-slippi/Ishiiruka/releases
|
||||
20:37:31.988 (main/github) › Checking cache for: https://api.github.com/repos/project-slippi/slippi-launcher/releases
|
||||
20:37:31.988 (main/github) › Fetching: https://api.github.com/repos/project-slippi/slippi-launcher/releases
|
||||
20:37:31.988 (main/github) › Checking cache for: https://api.github.com/repos/project-slippi/dolphin/releases
|
||||
20:37:31.988 (main/github) › Fetching: https://api.github.com/repos/project-slippi/dolphin/releases
|
||||
20:37:31.989 (main/bluesky) › Checking cache for: https://public.api.bsky.app/xrpc/app.bsky.feed.getAuthorFeed?actor=did%3Aplc%3A6xwud4csg7p7243ptrc5sa5y
|
||||
20:37:31.990 (main/bluesky) › Fetching: https://public.api.bsky.app/xrpc/app.bsky.feed.getAuthorFeed?actor=did%3Aplc%3A6xwud4csg7p7243ptrc5sa5y
|
||||
20:39:20.482 › Successfully downloaded https://github.com/project-slippi/Ishiiruka-Playback/releases/download/v3.4.6/playback-3.4.6-Linux.zip to /home/crumb/.config/Slippi Launcher/temp/playback-3.4.6-Linux.zip
|
||||
20:39:20.483 (dolphin/ishiiInstallation) › Installing v3.4.6 playback Dolphin...
|
||||
No existing AppImage found
|
||||
Setting executable permissions...
|
||||
20:39:21.943 (dolphin/ishiiInstallation) › Finished v3.4.6 playback Dolphin install
|
||||
20:40:01.361 › Successfully downloaded https://github.com/project-slippi/Ishiiruka/releases/download/v3.4.6/FM-Slippi-3.4.6-Linux.zip to /home/crumb/.config/Slippi Launcher/temp/FM-Slippi-3.4.6-Linux.zip
|
||||
20:40:01.361 (dolphin/ishiiInstallation) › Installing v3.4.6 netplay Dolphin...
|
||||
No existing AppImage found
|
||||
Setting executable permissions...
|
||||
20:40:02.970 (dolphin/ishiiInstallation) › Finished v3.4.6 netplay Dolphin install
|
||||
20:41:19.468 (dolphin/manager) › Launching dolphin at path: /home/crumb/.config/Slippi Launcher/netplay/Slippi_Online-x86_64.AppImage
|
||||
20:41:20.049 (dolphin/manager) › Dolphin exit code: 1
|
||||
20:41:20.051 (dolphin/manager) › Dolphin exit signal: undefined
|
||||
20:41:20.546 (dolphin/instance) › Received Dolphin stderr message: /home/crumb/.cache/appimage-run/f81347d3673372b3a06916cd7412c77faac6a150f71d60a972351fa56ed52521/AppRun.wrapped: /usr/lib/libcurl.so.4: version `CURL_OPENSSL_4' not found (required by /home/crumb/.cache/appimage-run/f81347d3673372b3a06916cd7412c77faac6a150f71d60a972351fa56ed52521/AppRun.wrapped)
|
||||
Reference in New Issue
Block a user