fh5 things
All checks were successful
Build and Deploy / mreow (push) Successful in 7m57s
Build and Deploy / yarn (push) Successful in 1m11s
Build and Deploy / muffin (push) Successful in 1m3s

This commit is contained in:
2026-05-07 17:33:35 -04:00
parent 9a276a633a
commit 3865ceac0f
5 changed files with 33 additions and 2 deletions

View File

@@ -24,6 +24,11 @@
Icon = "${pkgs.prismlauncher}/share/icons/hicolor/scalable/apps/org.prismlauncher.PrismLauncher.svg"; Icon = "${pkgs.prismlauncher}/share/icons/hicolor/scalable/apps/org.prismlauncher.PrismLauncher.svg";
Tags = [ "Game" ]; Tags = [ "Game" ];
} }
{
AppName = "FH5 Car Table";
Exe = "${pkgs.callPackage ../util/fh5-car-table.nix { }}/bin/fh5-car-table";
Tags = [ "Utility" ];
}
]; ];
}; };
} }

View File

@@ -0,0 +1,26 @@
{
stdenvNoCC,
fetchurl,
makeWrapper,
protontricks,
}:
stdenvNoCC.mkDerivation {
pname = "fh5-car-table";
version = "2.1";
src = fetchurl {
url = "https://github.com/ForzaMods/Car-Table/releases/download/2.1/Car-Table.exe";
sha256 = "1r0g0cjmjq4g0vmhj7g1hmm0n3chp3x66m4nfyd6rj1a1mdw5dv9";
};
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/bin
install -m 755 $src $out/bin/Car-Table.exe
makeWrapper ${protontricks}/bin/protontricks-launch $out/bin/fh5-car-table \
--add-flags "--appid 1551360 $out/bin/Car-Table.exe"
'';
}

View File

@@ -125,7 +125,7 @@
defaultCompatTool = "proton_10"; defaultCompatTool = "proton_10";
apps."fh5" = { apps."fh5" = {
id = 1551360; id = 1551360;
compatTool = "proton_experimental"; compatTool = "proton_11";
launchOptions.env = { launchOptions.env = {
# OptiScaler FSR 4 INT8 path on this RDNA 3 (Navi 32) box. # OptiScaler FSR 4 INT8 path on this RDNA 3 (Navi 32) box.
# PROTON_FSR4_UPGRADE opts FH5 into Proton's FSR 4 DLL upgrade; # PROTON_FSR4_UPGRADE opts FH5 into Proton's FSR 4 DLL upgrade;

View File

@@ -34,7 +34,6 @@ rec {
hash = "sha256-yy1MQeRPqaLvoXaAigQd3gPFsFLbwKqrD4mP2zQqcFw="; hash = "sha256-yy1MQeRPqaLvoXaAigQd3gPFsFLbwKqrD4mP2zQqcFw=";
}; };
# Library bug fix: trigger-effect params 8-10 are never propagated to # Library bug fix: trigger-effect params 8-10 are never propagated to
# the OUT report. effect.vibration() puts the frequency in param9, so # the OUT report. effect.vibration() puts the frequency in param9, so
# without this patch every vibration call ships frequency=0 to the # without this patch every vibration call ships frequency=0 to the

View File

@@ -12,6 +12,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
protontricks protontricks
(pkgs.callPackage ../../home/util/fh5-car-table.nix { })
# https://github.com/NixOS/nixpkgs/pull/339370#issuecomment-2731336341 # https://github.com/NixOS/nixpkgs/pull/339370#issuecomment-2731336341
bs-manager bs-manager
]; ];