08a6e3bc5e
- added "borderless" and "virtual desktop" options to settings; added separate FSR option to gamescope settings - dxvk now uses wine64 to update prefix before applying patches - added setting of `-window-mode exclusive` args to the wine when using wine FSR - `WinePrefix::update` and so now use wine64 binary instead of wineboot - renamed `files.wine` to `files.wine64` in `wine.json` - `Config::try_get_wine_executable` function now return wine64 binary - added picture to the repo
102 lines
2.5 KiB
Text
102 lines
2.5 KiB
Text
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
Adw.PreferencesPage page {
|
|
Adw.PreferencesGroup {
|
|
title: "Wine";
|
|
|
|
Adw.ComboRow sync_combo {
|
|
title: "Synchronization";
|
|
subtitle: "Technology used to synchronize inner wine events";
|
|
|
|
model: Gtk.StringList {
|
|
strings [
|
|
"None",
|
|
"ESync",
|
|
"FSync",
|
|
"Futex2"
|
|
]
|
|
};
|
|
}
|
|
|
|
Adw.ComboRow wine_lang {
|
|
title: "Language";
|
|
subtitle: "Choose the language to use in wine environment. Can fix keyboard layout detection in-game";
|
|
}
|
|
|
|
Adw.ActionRow {
|
|
title: "Borderless window";
|
|
|
|
Gtk.Switch borderless {
|
|
valign: center;
|
|
}
|
|
}
|
|
|
|
Adw.ComboRow virtual_desktop_row {
|
|
title: "Virtual desktop";
|
|
|
|
Gtk.Switch virtual_desktop {
|
|
valign: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup {
|
|
title: "Game";
|
|
|
|
Adw.ComboRow hud_combo {
|
|
title: "HUD";
|
|
|
|
model: Gtk.StringList {
|
|
strings [
|
|
"None",
|
|
"DXVK",
|
|
"MangoHUD"
|
|
]
|
|
};
|
|
}
|
|
|
|
Adw.ComboRow fsr_combo {
|
|
title: "FSR";
|
|
subtitle: "AMD FSR scales game resolution while rendering the game with the lower one";
|
|
|
|
model: Gtk.StringList {
|
|
strings [
|
|
"Ultra Quality",
|
|
"Quality",
|
|
"Balanced",
|
|
"Performance"
|
|
]
|
|
};
|
|
|
|
Gtk.Switch fsr_switcher {
|
|
valign: center;
|
|
}
|
|
}
|
|
|
|
Adw.ActionRow gamemode_row {
|
|
title: "Gamemode";
|
|
subtitle: "This prioritizes the game over the rest of the processes";
|
|
|
|
Gtk.Switch gamemode_switcher {
|
|
valign: center;
|
|
}
|
|
}
|
|
|
|
Adw.ActionRow gamescope_row {
|
|
title: "Gamescope";
|
|
subtitle: "Gamescope is a tool from Valve that allows for games to run in an isolated Xwayland instance and supports AMD, Intel, and Nvidia GPUs";
|
|
|
|
Gtk.Button gamescope_settings {
|
|
icon-name: "emblem-system-symbolic";
|
|
valign: center;
|
|
|
|
styles ["flat"]
|
|
}
|
|
|
|
Gtk.Switch gamescope_switcher {
|
|
valign: center;
|
|
}
|
|
}
|
|
}
|
|
}
|