Working Cyberpunk2077!
This commit is contained in:
42
flake.lock
generated
Normal file
42
flake.lock
generated
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"nodes": {
|
||||
"flake-utils": {
|
||||
"locked": {
|
||||
"lastModified": 1667395993,
|
||||
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1673488896,
|
||||
"narHash": "sha256-mD0LchjWSTwBUy20nTfnMF1QlPa1AV+YYyr6BVzGJMQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c9c4aea7ab0d137c62e09300d874be8a9a6820fc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
33
flake.nix
Normal file
33
flake.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
description = "Env for Cyberpunk";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
outputs = { self, nixpkgs, flake-utils }:
|
||||
(flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ ];
|
||||
};
|
||||
in {
|
||||
devShell = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
wineWowPackages.staging
|
||||
winetricks
|
||||
samba # for ntlm shenanigans
|
||||
];
|
||||
WINEARCH="win64";
|
||||
WINEPREFIX="/home/nathan/.wine-cyberpunk2077"; # or W/E
|
||||
# winecfg # make prefix by running winecfg
|
||||
# install vkd3d-proton from https://github.com/HansKristian-Work/vkd3d-proton/releases/tag/v2.8 by running the script
|
||||
# wine64 ./setup_cyberpunk_2077_1.61_\(64bit\)_\(60064\).exe # then run the installer
|
||||
# winetricks win10 nocrashdialog fontsmooth=rgb sound=pulse # extra winetricks stuff from https://www.reddit.com/r/linux_gaming/comments/n9mtr0/burning_crusade_beta_classic_wine_errors/
|
||||
# cd ~/.wine-cyberpunk2077/dosdevices/c:/GOG Games/Cyberpunk 2077
|
||||
# env VKD3D_CONFIG=dxr11 VKD3D_FEATURE_LEVEL=12_1 WINEPREFIX="/home/nathan/.wine-cyberpunk2077" wine ../../users/Public/Desktop/Cyberpunk\ 2077.lnk
|
||||
# (pulled from the desktop file) plus https://forum.manjaro.org/t/cyberpunk-2077-crashed-since-the-stable-update-2022-12-06/129153/2
|
||||
};
|
||||
}
|
||||
));
|
||||
}
|
||||
Reference in New Issue
Block a user