mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-04-07 09:15:17 +03:00
149 lines
3.9 KiB
Text
149 lines
3.9 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: "Upscales game to your monitor size. To use select lower\nresolution in the game's settings and press Alt+Enter";
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
|
|
Adw.PreferencesGroup {
|
|
title: "FPS Unlocker";
|
|
|
|
Adw.ComboRow fps_unlocker_combo {
|
|
title: "Enabled";
|
|
subtitle: "Remove frames rendering limitation modifying the game's memory. Can be detected by the anti-cheat";
|
|
|
|
Gtk.Switch fps_unlocker_switcher {
|
|
valign: center;
|
|
}
|
|
}
|
|
|
|
Adw.ActionRow {
|
|
title: "Power saving";
|
|
subtitle: "Automatically sets the fps limit to 10 and low process priority upon losing focus to the game (e.g. tabbing out of the game)";
|
|
|
|
Gtk.Switch fps_unlocker_power_saving_switcher {
|
|
valign: center;
|
|
}
|
|
}
|
|
|
|
Adw.ActionRow {
|
|
title: "Fullscreen";
|
|
subtitle: "Open game window in fullscreen mode";
|
|
|
|
Gtk.Switch fps_unlocker_fullscreen_switcher {
|
|
valign: center;
|
|
}
|
|
}
|
|
|
|
Adw.ComboRow fps_unlocker_priority_combo {
|
|
title: "Priority";
|
|
subtitle: "Game process priority";
|
|
|
|
model: Gtk.StringList {
|
|
strings [
|
|
"Realtime",
|
|
"High",
|
|
"Above normal",
|
|
"Normal",
|
|
"Below normal",
|
|
"Low"
|
|
]
|
|
};
|
|
}
|
|
}
|
|
}
|