mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: wine changes, gw
This commit is contained in:
parent
6f044a8349
commit
85f67b9605
3 changed files with 39 additions and 22 deletions
18
nixos/profiles/gaming/Gw.bat
Executable file
18
nixos/profiles/gaming/Gw.bat
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
@echo on
|
||||
set GW_DIR=%1
|
||||
set GW_EXE=Gw.exe
|
||||
set GWT_EXE=GWToolbox.exe
|
||||
|
||||
echo "Setting UTF-8..."
|
||||
chcp 65001 > nul
|
||||
|
||||
echo "Launching GW1..."
|
||||
cd /d %GW_DIR%
|
||||
start /b %GW_EXE%
|
||||
|
||||
timeout /t 5 /nobreak > NUL
|
||||
|
||||
echo "Launching toolbox..."
|
||||
start /b %GWT_EXE%
|
||||
|
||||
exit
|
||||
|
|
@ -166,20 +166,6 @@ in {
|
|||
vnExe = "./HANA9.exe";
|
||||
};
|
||||
|
||||
#
|
||||
# VRChat utilities
|
||||
#
|
||||
|
||||
vrosc = mkMerge [
|
||||
protonCommon
|
||||
rec {
|
||||
long_name = "VR OSC";
|
||||
prefixFolder = gameStorage + "/Steam Library/steamapps/compatdata/438100";
|
||||
gameFolder = gameStorage + "/Steam Library/steamapps/common/VRChat";
|
||||
gameExecutable = gameFolder + "/VROSCSetup.exe";
|
||||
}
|
||||
];
|
||||
|
||||
#
|
||||
# Guild Warses
|
||||
#
|
||||
|
|
@ -187,15 +173,26 @@ in {
|
|||
gw1 = mkMerge [
|
||||
protonCommon
|
||||
#wineCommon
|
||||
rec {
|
||||
(let
|
||||
prefixFolder = gameStorage + "/guild-wars";
|
||||
gameFolder' = prefixFolder + "/drive_c/Program Files/Guild Wars";
|
||||
in rec {
|
||||
enableGamemode = lib.mkForce false;
|
||||
#variant = mkForce "PROTON_CACHYOS";
|
||||
#variant = mkForce "PROTON_GE";
|
||||
variant = mkForce "PROTON_VRC";
|
||||
long_name = "Guild Wars 1";
|
||||
prefixFolder = gameStorage + "/guild-wars";
|
||||
gameFolder = prefixFolder + "/drive_c/Program Files/Guild Wars";
|
||||
gameExecutable = gameFolder + "/Gw.exe";
|
||||
inherit prefixFolder;
|
||||
gameFolder = prefixFolder;
|
||||
#gameExecutable = gameFolder + "/Gw.exe";
|
||||
gameExecutable = "./drive_c/cmd.exe";
|
||||
gameArguments = [
|
||||
"/k"
|
||||
"C:/script.bat"
|
||||
gameFolder'
|
||||
];
|
||||
environments = ["vkbasalt"];
|
||||
}
|
||||
})
|
||||
];
|
||||
gw2 = mkMerge [
|
||||
protonCommon
|
||||
|
|
@ -404,6 +401,8 @@ in {
|
|||
// {
|
||||
"Games/battlenet/drive_c/script.bat".source = ./bnet_script.bat;
|
||||
"Games/battlenet/drive_c/cmd.exe".source = ./reactos_cmd.exe;
|
||||
"Games/guild-wars/drive_c/script.bat".source = ./Gw.bat;
|
||||
"Games/guild-wars/drive_c/cmd.exe".source = ./reactos_cmd.exe;
|
||||
# https://learnjapanese.moe/vn-linux/
|
||||
"Games/VNs/drive_c/script.bat".source = ./vn_script.bat;
|
||||
"Games/VNs/drive_c/cmd.exe".source = ./reactos_cmd.exe;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue