-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slippi Desktop #11
Comments
I'll take a look this afternoon - I haven't touched replays in a bit, but I bet we can get this working. |
I have this code on a branch I'm testing, It looks like it's loading my configuration from
That's JSON: ❯ jq '.' < "/home/djanatyn/.config/Slippi Desktop App/Settings"
{
"previousVersion": "1.6.8",
"isoPath": "/home/djanatyn/melee/game.iso",
"playbackDolphinPath": "/home/djanatyn/repos/Slippi-FM-installer/Slippi-FM-r18/netplay/dolphin-emu",
"settings": {
"isoPath": "/home/djanatyn/melee/game.iso",
"rootSlpPath": "/home/djanatyn/Slippi/2021-03",
"playbackDolphinPath": "/nix/store/vdkbcdxykachhmvfnsn9kqvjqmzxkm49-slippi-ishiiruka-2.2.1-playback/"
}
} The path is set here. I tried launching a game initially: It didn't work because it was using my old path. I had a recent
I updated
After that, Dolphin successfully launched when I tried to watch a replay! However, nothing played.
It's not loading any configuration directories. Just like with # taken from my command line history
cd ~/repos/ssbm-nix && nix run .#slippi-playback -- -e ~/melee/netplay.iso -i /dev/stdin -u ~/slippi-playback-config -o turnip <<< '{"replay":"/home/djanatyn/good-slippis/simna-turnip.slp"}' So from my end, this derivation looks fine, but we need to wrap our I tried poking at this by writing a quick shell script named ❯ cat /var/tmp/slippi-desktop-test/dolphin-emu
#!/usr/bin/env bash
exec /nix/store/2mayzj8nsn1vx2y50d4xvzmq0d1gzfrb-slippi-ishiiruka-2.2.1-playback/dolphin-emu -u ~/slippi-playback-config "$@" This didn't end up working with the Slippi Desktop app. Maybe the next step could be trying overlay = final: prev: {
crystal-melee = final.writeScriptBin "crystal-melee" ''
#!${final.stdenv.shell}
exec ${final.slippi-netplay}/bin/slippi-netplay -e ~/melee/diet-melee/DietMeleeLinuxPatcher/CrystalMelee_v1.0.1.iso -u ~/slippi-config
'';
}; |
I think there may be some more issues with |
I have slippi playback / replays working on my setup, the main issue I encountered was that the default appimage wrapper doesn't pass additional arguments, but slippi needs these to set up the playback emulator. I wrote a wrapper like this: with import <nixpkgs> {};
let
src = fetchzip {
url = "https://github.com/project-slippi/Ishiiruka-Playback/releases/download/v2.5.2/playback-2.5.2-Linux.zip";
sha256 = "sha256-f6frHM9SpTKv6TWn/kiW/Fs4zvUBUSCxp6WQIvyoOzI=";
stripRoot = false;
};
ldlibpath = lib.makeLibraryPath [
gmp
vulkan-loader
"/run/opengl-driver"
];
in
writeShellScript "Slippi_Playback-x86_64.AppImage" ''
LD_LIBRARY_PATH=${ldlibpath} ${appimage-run}/bin/appimage-run ${src}/Slippi_Playback-x86_64.AppImage "$@"
'' After setting the playback executable location to the result of that expression in the launcher settings, I am able to view replays. |
I have the following expression for the slippi dekstop app, but I can't get it to actually be able to play a replay. As far as I can tell, It needs to pass some flags to
dolphin-emu
in the directory you set. I symlinkedslippi-playback
dodolphin-emu
in its own directory but no luck. Any ideas?The text was updated successfully, but these errors were encountered: