Dolphin Emulator: Difference between revisions

From NixOS Wiki
imported>R-burns
Add instructions for GCC adapter overclocking
imported>R-burns
Improve adapter overclocking instructions
Line 13: Line 13:




To enable [https://docs.google.com/document/d/1cQ3pbKZm_yUtcLK9ZIXyPzVbTJkvnfxKIyvuFMwzWe0 GCC to USB adapter overclocking] for improved polling rates, use the <code>gcadapter-oc-kmod</code> module.
To enable [https://docs.google.com/document/d/1cQ3pbKZm_yUtcLK9ZIXyPzVbTJkvnfxKIyvuFMwzWe0 GCC to USB adapter overclocking] for improved polling rates, use the <code>gcadapter-oc-kmod</code> kernel module.


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
Line 20: Line 20:
   boot.extraModulePackages = [  
   boot.extraModulePackages = [  
     config.boot.kernelPackages.gcadapter-oc-kmod
     config.boot.kernelPackages.gcadapter-oc-kmod
  ];
  # to autoload at boot:
  boot.kernelModules = [
    "gcadapter_oc"
   ];
   ];
}
}

Revision as of 07:29, 7 December 2022

Dolphin is a Nintendo GameCube and Wii emulator, currently supporting the x86_64 and AArch64 architectures. Dolphin is available for Linux, macOS, Windows, and Android. It is a free and open source, community-developed project. Dolphin was the first GameCube and Wii emulator, and currently the only one capable of playing commercial games.

Use with controllers

To use GameCube controllers NixOS udev rules are required.

/etc/nixos/configuration.nix
{ pkgs, ... }: 
{
  services.udev.packages = [ pkgs.dolphinEmu ];
}


To enable GCC to USB adapter overclocking for improved polling rates, use the gcadapter-oc-kmod kernel module.

/etc/nixos/configuration.nix
{ config, ... }: 
{
  boot.extraModulePackages = [ 
    config.boot.kernelPackages.gcadapter-oc-kmod
  ];

  # to autoload at boot:
  boot.kernelModules = [ 
    "gcadapter_oc"
  ];
}