Jump to content

Super Smash Bros. Melee: Difference between revisions

From Official NixOS Wiki
Smudgebun (talk | contribs)
Slippi: Provide example of full configuration for Appimage
Smudgebun (talk | contribs)
Slippi: Add example of enabling slippi-nix default nixosModule
 
Line 29: Line 29:


Which is just the snippet from [[Appimage#Configuration]] with the needed library added to the <code>appimage-run</code> package.
Which is just the snippet from [[Appimage#Configuration]] with the needed library added to the <code>appimage-run</code> package.
Even when using the Appimage, you can still use [https://github.com/lytedev/slippi-nix slippi-nix]'s optional <code>default</code> nixosModule to automatically setup the udev rules needed to optimize GameCube adapters, assuming you have a [[NixOS_system_configuration#Defining_NixOS_as_a_flake|flake-based configuration]].
<syntaxhighlight lang="nix">
{
  inputs.slippi= {
    url = "github:lytedev/slippi-nix";
    inputs.nixpkgs.follows = "nixpkgs";
  };
  outputs = {slippi, nixpkgs, ...}: {
    nixosConfigurations.alice = nixpkgs.lib.nixosSystem {
      modules = [
        slippi.nixosModules.default
      ];
    };
  };
}
</syntaxhighlight>


== B0XX Emulation ==
== B0XX Emulation ==

Latest revision as of 04:08, 7 August 2026

Super Smash Bros. Melee is a 2001 platform fighter game developed by HAL Laboratory and published by Nintendo.

Slippi

You can use the slippi-nix flake to declaratively install and configure Slippi with Nix, or get the AppImage directly from Slippi's website.

If you are using the Appimage, to run Slippi Online or Slippi Playback you will need libcurl.so.4 to be in your appimage-run packages. This can be easily added through a package like curlMinimal.

  programs.appimage.package = pkgs.appimage-run.override { extraPkgs = pkgs: [
  	pkgs.curlMinimal.out
  ];};

The configuration to setup Appimage support and specifically the Slippi Appimage would look like the following

{
  programs.appimage = {
    enable = true;
    binfmt = true;
  };
  programs.appimage.package = pkgs.appimage-run.override {
    extraPkgs = pkgs: [
      pkgs.curlMinimal.out
    ];
  };
}

Which is just the snippet from Appimage#Configuration with the needed library added to the appimage-run package.

Even when using the Appimage, you can still use slippi-nix's optional default nixosModule to automatically setup the udev rules needed to optimize GameCube adapters, assuming you have a flake-based configuration.

{
  inputs.slippi= {
    url = "github:lytedev/slippi-nix";
    inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = {slippi, nixpkgs, ...}: {
    nixosConfigurations.alice = nixpkgs.lib.nixosSystem {
      modules = [
        slippi.nixosModules.default
      ];
    };
  };
}

B0XX Emulation

B0XX controller emulation can be done via keyb0xx. A Nix package for keyb0xx can be found here.