From 168fcce157d95a64cccf6dc8ffa3e3cf651c8f23 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 7 Oct 2023 05:50:58 +0000 Subject: [PATCH] stepmania: configure directories --- hosts/common/programs/default.nix | 1 + hosts/common/programs/stepmania.nix | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 hosts/common/programs/stepmania.nix diff --git a/hosts/common/programs/default.nix b/hosts/common/programs/default.nix index de856fbd..6acf8473 100644 --- a/hosts/common/programs/default.nix +++ b/hosts/common/programs/default.nix @@ -53,6 +53,7 @@ ./sfeed.nix ./splatmoji.nix ./steam.nix + ./stepmania.nix ./sublime-music.nix ./swaynotificationcenter.nix ./tangram.nix diff --git a/hosts/common/programs/stepmania.nix b/hosts/common/programs/stepmania.nix new file mode 100644 index 00000000..6e7dadcd --- /dev/null +++ b/hosts/common/programs/stepmania.nix @@ -0,0 +1,27 @@ +# configuration: +# - things like calibration data live in ~/.stepmania-5.1/Save/Preferences.ini +# - GlobalOffsetSeconds = difference between audio and video delay. +# Hit F6 twice in-game to being auto calibration +# Usually the result will be negative (i.e. the higher the latency of the pad, the more negative the offset) +# - SoundDevice: use pacmd list-sources and select alsa_output.pci-xxxxx +# - VisualOffset: if video is coming LATE, then use a negative number +# +# songs/packs: +# - find pad packs: +# - +# - https://www.reddit.com/r/Stepmania/comments/aku3lb/best_pad_packs_on_stepmaniaonlinenet_or_elsewhere/ +# - https://fitupyourstyle.com/ +# allows search by difficulty +# - dl packs from +{ ... }: +{ + sane.programs.stepmania = { + persist.plaintext = [ + ".stepmania-5.1/Cache" #< otherwise gotta index all the songs every launch + ".stepmania-5.1/Save" + ]; + fs.".stepmania-5.1/Courses".symlink.target = "/mnt/servo-media/games/stepmania/Courses"; + fs.".stepmania-5.1/Songs".symlink.target = "/mnt/servo-media/games/stepmania/Songs"; + # TODO: setup ~/.stepmania-5.1/Themes + }; +}