Several changes

- reworked `enhancements` locales structure;
  added separate "Wine", "Game" and "Launcher" sections
  to the "Enhancements" settings
- added "Use terminal" option to run the wine command in a separate terminal window
This commit is contained in:
Observer KRypt0n_ 2022-02-04 20:23:22 +02:00
parent c70ff55093
commit 7375c7436a
No known key found for this signature in database
GPG key ID: DC5D4EC1303465DA
13 changed files with 1014 additions and 805 deletions

View file

@ -74,15 +74,15 @@ settings:
launcher:
title: Launcher
items:
en-us: Englisch (US)
ru-ru: Russisch
es-es: Spanisch
en-us: English (US)
ru-ru: Русский
es-es: Español
de-de: Deutsch
fr-fr: Français
it-it: Italiano
hu-hu: Magyar
id-id: Bahasa Indonesia
nb-no: Norwegisch
nb-no: Norsk
uwu: Engwish
# Spiel sprachpaket auswahl
@ -124,14 +124,11 @@ settings:
# Verberssungen
enhancements:
title: Verbesserungen
# Enhancements related to the wine
wine:
title: Wine
items:
# Borderless Window
borderless_window:
title: Allow borderless window
tooltip: Removes the window borders when playing in windowed mode.
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
# HUD
hud:
title: HUD
@ -151,15 +148,25 @@ settings:
fsync: Fsync
futex2: Futex2
# AMD FSR
fsr:
title: AMD FSR
tooltip: Diese Option aktiviert AMD FidelityFX Super Resolution (FSR),
womit kleine Resolution hochskaliert wird um FPS-verlust zu vermeiden.
# Wine Virtual Desktop
winevd:
title: Virtual Desktop
settings:
title: Virtual Desktop einstellung
items:
height: Höhe
width: Breite
height: Höhe
# Enhancements related to the game
game:
title: Spiel
items:
# GameMode
gamemode:
title: Benutze GameMode
@ -167,17 +174,26 @@ settings:
enabled: GameMode ist ein Program welches die Leistung verbessert
disabled: ⚠️ Sie haben GameMode nicht installiert
# AMD FSR
fsr:
title: AMD FSR
tooltip: Diese Option aktiviert AMD FidelityFX Super Resolution (FSR),
womit kleine Resolution hochskaliert wird um FPS-verlust zu vermeiden.
# Borderless Window
borderless_window:
title: Als randloses Fenster starten
tooltip: Entfernt die Fensterränder beim Spielen im Fenstermodus.
Um in einem randlosen Fenster im Vollbildmodus zu spielen, drücken Sie die Tastenkombination alt+enter.
# Unlock FPS
fps_unlocker:
title: Entsperre FPS
tooltip: Diese option entsperrt/entfernt die 60 FPS limiterung
# Use separate terminal window to run the game
use_terminal:
title: Terminal aktivieren
tooltip: Wenn diese Option aktiviert ist, führt der Launcher den Wine Befehl in einem separaten Terminalfenster aus
# Enhancements related to the launcher
launcher:
title: Launcher
items:
# Delete logs
purge_logs:
# Game logs (DXVK)

View file

@ -82,7 +82,7 @@ settings:
it-it: Italiano
hu-hu: Magyar
id-id: Bahasa Indonesia
nb-no: Norwegian
nb-no: Norsk
uwu: Engwish
# Game voice pack language
@ -124,14 +124,11 @@ settings:
# Enhancements
enhancements:
title: Enhancements
# Enhancements related to the wine
wine:
title: Wine
items:
# Borderless Window
borderless_window:
title: Allow borderless window
tooltip: Removes the window borders when playing in windowed mode.
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
# HUD
hud:
title: HUD
@ -151,15 +148,25 @@ settings:
fsync: FSync
futex2: Futex2
# AMD FSR
fsr:
title: Enable AMD FSR
tooltip: This option enables AMD FidelityFX Super Resolution (FSR)
which will scale your game resolution without losing FPS
# Wine Virtual Desktop
winevd:
title: Virtual Desktop
settings:
title: Virtual Desktop settings
items:
height: Height
width: Width
height: Height
# Enhancements related to the game
game:
title: Game
items:
# GameMode
gamemode:
title: Use GameMode
@ -167,17 +174,26 @@ settings:
enabled: It is a software that can improve the game performance
disabled: ⚠️ You don't have gamemode package installed
# AMD FSR
fsr:
title: Enable AMD FSR
tooltip: This option enables AMD FidelityFX Super Resolution (FSR)
which will scale your game resolution without losing FPS
# Borderless Window
borderless_window:
title: Allow borderless window
tooltip: Removes the window borders when playing in windowed mode.
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen
# Unlock FPS
fps_unlocker:
title: Unlock FPS
tooltip: This option will unlock maximum of the 60 fps limitation
# Use separate terminal window to run the game
use_terminal:
title: Use terminal
tooltip: With this option enabled launcher will run the wine command in a separate terminal window
# Enhancements related to the launcher
launcher:
title: Launcher
items:
# Delete logs
purge_logs:
# Game logs (DXVK)

View file

@ -74,16 +74,16 @@ settings:
launcher:
title: Launcher
items:
en-us: Inglés (EEUU)
ru-ru: Ruso
en-us: English (US)
ru-ru: Русский
es-es: Español
de-de: Alemán
fr-fr: Frans
de-de: Deutsch
fr-fr: Français
it-it: Italiano
hu-hu: Magyar
id-id: Bahasa Indonesia
nb-no: Norwegian
uwu: Inglés pero uwu
nb-no: Norsk
uwu: Engwish
# Idioma del paquete de voz
voice:
@ -124,14 +124,11 @@ settings:
# Mejoras
enhancements:
title: Mejoras
# Enhancements related to the wine
wine:
title: Wine
items:
# Ventana sin bordes
borderless_window:
title: Permitir ventana sin bordes
tooltip: Eliminar los bordes cuando se juega en modo ventana
Para jugar a pantalla completa sin bordes, debes presionar alt+enter cuando estés en pantalla completa
# HUD
hud:
title: HUD
@ -151,15 +148,25 @@ settings:
fsync: FSync
futex2: Futex2
# AMD FSR
fsr:
title: Activar AMD FSR
tooltip: Esta opción activa la AMD FidelityFX Super Resolution (FSR)
que aumentará la resolución de tu juego sin pérdida de FPS.
# Escritorio Virtual de Wine
winevd:
title: Escritorio Virtual
settings:
title: Opciones del Escritorio Virtual
items:
height: Alto
width: Ancho
height: Alto
# Enhancements related to the game
game:
title: Juego
items:
# GameMode
gamemode:
title: Usar GameMode
@ -167,17 +174,26 @@ settings:
enabled: GameMode es un software que pemite mejorar el rendimiento de algunos juegos.
disabled: ⚠️ No tienes instalado el paquete de gamemode.
# AMD FSR
fsr:
title: Activar AMD FSR
tooltip: Esta opción activa la AMD FidelityFX Super Resolution (FSR)
que aumentará la resolución de tu juego sin pérdida de FPS.
# Ventana sin bordes
borderless_window:
title: Permitir ventana sin bordes
tooltip: Eliminar los bordes cuando se juega en modo ventana
Para jugar a pantalla completa sin bordes, debes presionar alt+enter cuando estés en pantalla completa
# Desbloquear FPS
fps_unlocker:
title: Desbloquear FPS
tooltip: Esta opción anulará el límite máximo de 60 fps.
# Correr el juego en una terminal separada
use_terminal:
title: Usar terminal
tooltip: Con esta opción activada, el launcher ejecutará el comando de wine en una nueva terminal separada.
# Enhancements related to the launcher
launcher:
title: Launcher
items:
# Borrar logs
purge_logs:
# Logs del juego (DXVK)

View file

@ -83,7 +83,7 @@ settings:
it-it: Italiano
hu-hu: Magyar
id-id: Bahasa Indonesia
nb-no: Norwegian
nb-no: Norsk
uwu: Engwish
# Game voice pack language
@ -126,14 +126,11 @@ settings:
# Enhancements
enhancements:
title: Améliorations
# Enhancements related to the wine
wine:
title: Wine
items:
# Borderless Window
borderless_window:
title: Allow borderless window
tooltip: Removes the window borders when playing in windowed mode.
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
# HUD
hud:
title: Interface
@ -153,15 +150,25 @@ settings:
fsync: FSync
futex2: Futex2
# AMD FSR
fsr:
title: Activer AMD FSR
tooltip: Cette option active "AMD FidelityFX Super Resolution" (FSR)
ce qui permet d'augmenter votre résolution sans perdre des FPS (images par secondes)
# Wine Virtual Desktop
winevd:
title: Bureau virtuel
settings:
title: Paramètres du Bureau virtuel
items:
height: Hauteur
width: Largeur
height: Hauteur
# Enhancements related to the game
game:
title: Jeu
items:
# GameMode
gamemode:
title: Utiliser GameMode
@ -169,11 +176,13 @@ settings:
enabled: C'est un logiciel qui permet d'améliorer les performances en jeu
disabled: ⚠️ Vous n'avez pas le paquet "gamemode" d'installer
# AMD FSR
fsr:
title: Activer AMD FSR
tooltip: Cette option active "AMD FidelityFX Super Resolution" (FSR)
ce qui permet d'augmenter votre résolution sans perdre des FPS (images par secondes)
# Borderless Window
borderless_window:
title: Fenêtre sans bordures
tooltip: Enlève les bordures du jeu quand vous jouez en mode fenêtrer.
Pour jouer en mode fenêtrer ou inversement jouer en
mode plein écran, appuyez sur alt+entrer pour alterner entre
les deux modes.
# Unlock FPS
fps_unlocker:
@ -181,6 +190,15 @@ settings:
tooltip: Cette option permet de débloque le nombre d'image par
secondes (IPS) au-delà de 60
# Use separate terminal window to run the game
use_terminal:
title: Utiliser Terminal
tooltip: Avec cette option activée le Launcher lancera les commandes Wine dans une fenêtre Terminal séparée
# Enhancements related to the launcher
launcher:
title: Launcher
items:
# Delete logs
purge_logs:
# Game logs (DXVK)

View file

@ -82,7 +82,7 @@ settings:
it-it: Italiano
hu-hu: Magyar
id-id: Bahasa Indonesia
nb-no: Norwegian
nb-no: Norsk
uwu: Engwish
# Game voice pack language
@ -124,14 +124,11 @@ settings:
# Enhancements
enhancements:
title: Fejlesztések
# Enhancements related to the wine
wine:
title: Wine
items:
# Borderless Window
borderless_window:
title: Allow borderless window
tooltip: Removes the window borders when playing in windowed mode.
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
# HUD
hud:
title: HUD
@ -151,13 +148,6 @@ settings:
fsync: FSync
futex2: Futex2
# GameMode
gamemode:
title: GameMode használata
tooltip:
enabled: Egy program amely javíthatja a játék teljesítményét
disabled: ⚠️ Nincs telepítve a gamemode csomag
# AMD FSR
fsr:
title: AMD FSR használata
@ -170,14 +160,40 @@ settings:
settings:
title: Virtuális Asztal beállításai
items:
height: Magasság
width: Szélesség
height: Magasság
# Enhancements related to the game
game:
title: Game
items:
# GameMode
gamemode:
title: GameMode használata
tooltip:
enabled: Egy program amely javíthatja a játék teljesítményét
disabled: ⚠️ Nincs telepítve a gamemode csomag
# Borderless Window
borderless_window:
title: Allow borderless window
tooltip: Removes the window borders when playing in windowed mode.
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
# Unlock FPS
fps_unlocker:
title: FPS limit kikapcsolása
tooltip: Ez az opció kikapcsolja a 60 fps-es játéklimitet
# Use separate terminal window to run the game
use_terminal:
title: Use terminal
tooltip: With this option enabled launcher will run the wine command in a separate terminal window
# Enhancements related to the launcher
launcher:
title: Launcher
items:
# Delete logs
purge_logs:
# Game logs (DXVK)

View file

@ -76,12 +76,13 @@ settings:
items:
en-us: English (US)
ru-ru: Русский
es-es: Español
de-de: Deutsch
fr-fr: Français
it-it: Italiano
hu-hu: Magyar
id-id: Bahasa Indonesia
nb-no: Norwegian
nb-no: Norsk
uwu: Engwish
# Game voice pack language
@ -123,14 +124,11 @@ settings:
# Enhancements
enhancements:
title: Peningkatan
# Enhancements related to the wine
wine:
title: Wine
items:
# Borderless Window
borderless_window:
title: Allow borderless window
tooltip: Removes the window borders when playing in windowed mode.
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
# HUD
hud:
title: HUD
@ -150,15 +148,25 @@ settings:
fsync: FSync
futex2: Futex2
# AMD FSR
fsr:
title: Aktifkan AMD FSR
tooltip: Opsi ini mengaktifkan AMD FidelityFX Super Resolution (FSR)
yang akan menaikkan resolusi game tanpa mengurangi FPS
# Wine Virtual Desktop
winevd:
title: Virtual Desktop
settings:
title: Virtual Desktop settings
items:
height: Height
width: Width
height: Height
# Enhancements related to the game
game:
title: Game
items:
# GameMode
gamemode:
title: Gunakan GameMode
@ -166,17 +174,26 @@ settings:
enabled: Perangkat lunak yang dapat meningkatkan performa game
disabled: ⚠️ Kamu tidak memiliki paket gamemode terpasang
# AMD FSR
fsr:
title: Aktifkan AMD FSR
tooltip: Opsi ini mengaktifkan AMD FidelityFX Super Resolution (FSR)
yang akan menaikkan resolusi game tanpa mengurangi FPS
# Borderless Window
borderless_window:
title: Allow borderless window
tooltip: Removes the window borders when playing in windowed mode.
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
# Unlock FPS
fps_unlocker:
title: Unlock FPS
tooltip: Opsi ini akan melepaskan batasan 60 fps
# Use separate terminal window to run the game
use_terminal:
title: Use terminal
tooltip: With this option enabled launcher will run the wine command in a separate terminal window
# Enhancements related to the launcher
launcher:
title: Launcher
items:
# Delete logs
purge_logs:
# Game logs (DXVK)

View file

@ -82,7 +82,7 @@ settings:
it-it: Italiano
hu-hu: Magyar
id-id: Bahasa Indonesia
nb-no: Norwegian
nb-no: Norsk
uwu: Engwish
# Game voice pack language
@ -123,14 +123,11 @@ settings:
# Enhancements
enhancements:
title: Miglioramenti
# Enhancements related to the wine
wine:
title: Wine
items:
# Borderless Window
borderless_window:
title: Allow borderless window
tooltip: Removes the window borders when playing in windowed mode.
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
# HUD
hud:
title: Interfaccia
@ -150,15 +147,25 @@ settings:
fsync: FSync
futex2: Futex2
# AMD FSR
fsr:
title: Attiva AMD FSR
tooltip: Questa opzione attiva AMD FidelityFX Super Resolution (FSR)
che permetterà di scalare la risoluzione del gioco senza perdere FPS
# Wine Virtual Desktop
winevd:
title: Desktop virtuale
settings:
title: Impostazioni del desktop virtuale
items:
height: Altezza
width: Larghezza
height: Altezza
# Enhancements related to the game
game:
title: Game
items:
# GameMode
gamemode:
title: Usa GameMode
@ -166,17 +173,26 @@ settings:
enabled: È un software che può migliorare le prestazioni in gioco
disabled: ⚠️ Non hai il pacchetto gamemode installato
# AMD FSR
fsr:
title: Attiva AMD FSR
tooltip: Questa opzione attiva AMD FidelityFX Super Resolution (FSR)
che permetterà di scalare la risoluzione del gioco senza perdere FPS
# Borderless Window
borderless_window:
title: Allow borderless window
tooltip: Removes the window borders when playing in windowed mode.
To play in a fullscreen borderless window, press alt+enter when playing on fullscreen.
# Unlock FPS
fps_unlocker:
title: Sblocca gli FPS
tooltip: Questa opzione rimuoverà la limitazione di 60 FPS in gioco
# Use separate terminal window to run the game
use_terminal:
title: Use terminal
tooltip: With this option enabled launcher will run the wine command in a separate terminal window
# Enhancements related to the launcher
launcher:
title: Launcher
items:
# Delete DXVK logs
purge_logs:
# Game logs (DXVK)

View file

@ -124,14 +124,11 @@ settings:
# Enhancements
enhancements:
title: Forbedringer
# Enhancements related to the wine
wine:
title: Wine
items:
# Borderless Window
borderless_window:
title: Skru på kantløs vindu
tooltip: Fjerner vindu kanter når du ikke spiller i fullskjerm modus.
For å spille i kantløs vindu modus, trykk alt+enter når du spiller i fullskjerm modus.
# HUD
hud:
title: HUD
@ -151,32 +148,52 @@ settings:
fsync: FSync
futex2: Futex2
# Wine Virtual Desktop
winevd:
title: Virtuell Skrivebord
settings:
title: Virtuell Skrivebord Instillinger
items:
height: Høyde
width: Bredde
# GameMode
gamemode:
title: Bruk GameMode
tooltip:
enabled: Det er programvare som kan forbedre spill ytelsen
disabled: ⚠️ Du har ikke GameMode installert
# AMD FSR
fsr:
title: Skru på AMD FSR
tooltip: Denne instillingen skrur på AMD FidelityFX Super Resolution (FSR)
som vil skalere oppløsningen uten å miste FPS
# Wine Virtual Desktop
winevd:
title: Virtuell Skrivebord
settings:
title: Virtuell Skrivebord Instillinger
items:
width: Bredde
height: Høyde
# Enhancements related to the game
game:
title: Game
items:
# GameMode
gamemode:
title: Bruk GameMode
tooltip:
enabled: Det er programvare som kan forbedre spill ytelsen
disabled: ⚠️ Du har ikke GameMode installert
# Borderless Window
borderless_window:
title: Skru på kantløs vindu
tooltip: Fjerner vindu kanter når du ikke spiller i fullskjerm modus.
For å spille i kantløs vindu modus, trykk alt+enter når du spiller i fullskjerm modus.
# Unlock FPS
fps_unlocker:
title: Lås opp FPS
tooltip: Denne instillingen låser opp 60 fps begrensningen
# Use separate terminal window to run the game
use_terminal:
title: Use terminal
tooltip: With this option enabled launcher will run the wine command in a separate terminal window
# Enhancements related to the launcher
launcher:
title: Launcher
items:
# Delete logs
purge_logs:
# Game logs (DXVK)

View file

@ -82,7 +82,7 @@ settings:
it-it: Italiano
hu-hu: Magyar
id-id: Bahasa Indonesia
nb-no: Norwegian
nb-no: Norsk
uwu: Engwish
# Язык озвучки в игре
@ -124,14 +124,11 @@ settings:
# Улучшения
enhancements:
title: Улучшения
# Enhancements related to the wine
wine:
title: Wine
items:
# Borderless Window
borderless_window:
title: Использовать безрамочные окна
tooltip: Убирает рамки окна во время игры в оконном режиме.
Для игры в полноэкранном режиме без рамок используйте alt+enter
# HUD
hud:
title: HUD
@ -151,15 +148,25 @@ settings:
fsync: FSync
futex2: Futex2
# AMD FSR
fsr:
title: Включить AMD FSR
tooltip: Эта опция включает AMD FidelityFX Super Resolution (FSR),
который может увеличить разрешение игры без потери кадров
# Виртуальный рабочий стол Wine
winevd:
title: Виртуальный рабочий стол
settings:
title: Настройки виртуального рабочего стола
items:
height: Высота
width: Ширина
height: Высота
# Enhancements related to the game
game:
title: Игра
items:
# GameMode
gamemode:
title: Использовать GameMode
@ -167,17 +174,26 @@ settings:
enabled: Это программа, которая может улучшить производительность игры
disabled: ⚠️ У вас не установлен пакет gamemode
# AMD FSR
fsr:
title: Включить AMD FSR
tooltip: Эта опция включает AMD FidelityFX Super Resolution (FSR),
который может увеличить разрешение игры без потери кадров
# Окно без рамок
borderless_window:
title: Использовать безрамочные окна
tooltip: Убирает рамки во время игры в оконном режиме.
Для игры в полноэкранном режиме без рамок используйте alt+enter
# Разблокировать FPS
fps_unlocker:
title: Разблокировать FPS
tooltip: Эта опция позволит разблокировать лимит на отрисовку не более чем 60 кадров в секунду
# Использовать отдельное окно терминала для запуска игры
use_terminal:
title: Использовать терминал
tooltip: С этой опцией лаунчер будет запускать команду wine в отдельном окне терминала
# Enhancements related to the launcher
launcher:
title: Лаунчер
items:
# Удалять логи
purge_logs:
# Игры (DXVK)

View file

@ -82,7 +82,7 @@ settings:
it-it: Italiano
hu-hu: Magyar
id-id: Bahasa Indonesia
nb-no: Norwegian
nb-no: Norsk
uwu: Engwish
# Game voice pack language
@ -124,14 +124,11 @@ settings:
# Enhancements
enhancements:
title: enhancements
# Enhancements related to the wine
wine:
title: wine
items:
# Borderless Window
borderless_window:
title: allow bowdewless window
tooltip: wemoves the window bowders when playing in windowed mode.
to play in a f-fullscween bowdewless window, press alt+entew when playing on fullscween ପ(๑•ᴗ•๑)ଓ.
# HUD
hud:
title: h-hud
@ -151,15 +148,24 @@ settings:
fsync: Fsync
futex2: Futex2
# AMD FSR
fsr:
title: enable amd fsw
tooltip: this option enables a-amd fidewityfx s-super wesowution (fsw) which will scale youw game wesowution without wosing fps
# Wine Virtual Desktop
winevd:
title: viwtuaw desktop
settings:
title: viwtuaw desktop settings
items:
height: height
width: width
height: height
# Enhancements related to the game
game:
title: game
items:
# GameMode
gamemode:
title: use G-GameMode
@ -167,16 +173,26 @@ settings:
enabled: it i-is a software t-that can impwove the game pewfowmance
disabled: ⚠️ you don't h-have g-gamemode package instawwed
# AMD FSR
fsr:
title: enable amd fsw
tooltip: this option enables a-amd fidewityfx s-super wesowution (fsw) which will scale youw game wesowution without wosing fps
# Borderless Window
borderless_window:
title: allow bowdewless window
tooltip: wemoves the window bowders when playing in windowed mode.
to play in a f-fullscween bowdewless window, press alt+entew when playing on fullscween ପ(๑•ᴗ•๑)ଓ.
# Unlock FPS
fps_unlocker:
title: unwock FPS
tooltip: this option w-will unwock 60 f-fps w-wimitation o-of the game
# Use separate terminal window to run the game
use_terminal:
title: use tewminaw
tooltip: with this option enabwed waunchew will wun the w-wine command in a sepawate t-tewminaw window
# Enhancements related to the launcher
launcher:
title: waunchew
items:
# Delete logs
purge_logs:
# Game logs (DXVK)

View file

@ -67,16 +67,6 @@ export default new Promise<void>(async (resolve) => {
*/
theme: 'system',
/**
* Allow Borderless Window
*
* Whether the game launches with the parameters "-screen-fullscreen 0 -popupwindow"
* This allows the game to be played in a borderless window by selecting fullscreen and pressing alt+enter
*
* @default false
*/
borderless_window: false,
/**
* HUD
*
@ -185,6 +175,16 @@ export default new Promise<void>(async (resolve) => {
*/
gamemode: false,
/**
* Allow Borderless Window
*
* Whether the game launches with the parameters "-screen-fullscreen 0 -popupwindow"
* This allows the game to be played in a borderless window by selecting fullscreen and pressing alt+enter
*
* @default false
*/
borderless_window: false,
/**
* If the launcher should unlock FPS
*
@ -192,6 +192,17 @@ export default new Promise<void>(async (resolve) => {
*/
fps_unlocker: false,
/**
* Use separate terminal window to run the wine command
*
* It'll try to use some of the supported default terminal applications. Otherwise the option will not have an effect
*
* More details in the `Launch.ts` script
*
* @default false
*/
use_terminal: false,
/**
* If the launcher should automatically delete log files
*/
@ -215,7 +226,7 @@ export default new Promise<void>(async (resolve) => {
});
/**
* 2.1.0-beta1 -> 2.1.0-beta2
* 2.1.0-beta1 -> 2.1.1
*/
const winesync = await Configs.get('winesync');
const fsr = await Configs.get('fsr');

View file

@ -302,60 +302,64 @@
<div class="settings-item" id="enhancements">
<h1>{$_('settings.enhancements.title')}</h1>
<h3>{$_('settings.enhancements.wine.title')}</h3>
<SelectionBox
lang="settings.enhancements.items.hud.title"
lang="settings.enhancements.wine.items.hud.title"
prop="hud"
items={{
'none': 'settings.enhancements.items.hud.items.none',
'dxvk': 'settings.enhancements.items.hud.items.dxvk',
'mangohud': 'settings.enhancements.items.hud.items.mangohud'
'none': 'settings.enhancements.wine.items.hud.items.none',
'dxvk': 'settings.enhancements.wine.items.hud.items.dxvk',
'mangohud': 'settings.enhancements.wine.items.hud.items.mangohud'
}}
/>
<SelectionBox
lang="settings.enhancements.items.winesync.title"
lang="settings.enhancements.wine.items.winesync.title"
prop="wine.sync"
tooltip="settings.enhancements.items.winesync.tooltip"
tooltip="settings.enhancements.wine.items.winesync.tooltip"
tooltip_size="large"
items={{
'none': 'settings.enhancements.items.winesync.items.none',
'esync': 'settings.enhancements.items.winesync.items.esync',
'fsync': 'settings.enhancements.items.winesync.items.fsync',
'futex2': 'settings.enhancements.items.winesync.items.futex2'
'none': 'settings.enhancements.wine.items.winesync.items.none',
'esync': 'settings.enhancements.wine.items.winesync.items.esync',
'fsync': 'settings.enhancements.wine.items.winesync.items.fsync',
'futex2': 'settings.enhancements.wine.items.winesync.items.futex2'
}}
/>
<Checkbox
lang="settings.enhancements.wine.items.fsr.title"
tooltip="settings.enhancements.wine.items.fsr.tooltip"
prop="wine.fsr"
disabled={winevdSettings['enabled']}
/>
<Checkbox
lang="settings.enhancements.wine.items.winevd.title"
prop="wine.virtual_desktop.enabled"
valueChanged={(value) => winevdSettings['enabled'] = value}
/>
<WineVDSettings visible={winevdSettings['enabled']} valueChanged={handleWineVD} />
<h3>{$_('settings.enhancements.game.title')}</h3>
<Checkbox
lang="settings.enhancements.items.gamemode.title"
lang="settings.enhancements.game.items.gamemode.title"
prop="gamemode"
tooltip={gamemode.tooltip}
disabled={gamemode.disabled}
/>
<Checkbox
lang="settings.enhancements.items.fsr.title"
tooltip="settings.enhancements.items.fsr.tooltip"
prop="wine.fsr"
disabled={winevdSettings['enabled']}
/>
<Checkbox
lang="settings.enhancements.items.winevd.title"
prop="wine.virtual_desktop.enabled"
valueChanged={(value) => winevdSettings['enabled'] = value}
/>
<Checkbox
lang="settings.enhancements.items.borderless_window.title"
tooltip="settings.enhancements.items.borderless_window.tooltip"
lang="settings.enhancements.game.items.borderless_window.title"
tooltip="settings.enhancements.game.items.borderless_window.tooltip"
prop="borderless_window"
/>
<Checkbox
lang="settings.enhancements.items.fps_unlocker.title"
tooltip="settings.enhancements.items.fps_unlocker.tooltip"
lang="settings.enhancements.game.items.fps_unlocker.title"
tooltip="settings.enhancements.game.items.fps_unlocker.tooltip"
prop="fps_unlocker"
disabled={!fpsUnlockerAvailable}
valueChanged={async (checked) => {
@ -369,22 +373,30 @@
/>
<Checkbox
lang="settings.enhancements.items.purge_logs.game.title"
tooltip="settings.enhancements.items.purge_logs.game.tooltip"
lang="settings.enhancements.game.items.use_terminal.title"
tooltip="settings.enhancements.game.items.use_terminal.tooltip"
prop="use_terminal"
/>
<h3>{$_('settings.enhancements.launcher.title')}</h3>
<Checkbox
lang="settings.enhancements.launcher.items.purge_logs.game.title"
tooltip="settings.enhancements.launcher.items.purge_logs.game.tooltip"
prop="purge_logs.game"
/>
<SelectionBox
lang="settings.enhancements.items.purge_logs.launcher.title"
tooltip="settings.enhancements.items.purge_logs.launcher.tooltip"
lang="settings.enhancements.launcher.items.purge_logs.launcher.title"
tooltip="settings.enhancements.launcher.items.purge_logs.launcher.tooltip"
prop="purge_logs.launcher"
items={{
'1d': 'settings.enhancements.items.purge_logs.launcher.items.1d',
'3d': 'settings.enhancements.items.purge_logs.launcher.items.3d',
'5d': 'settings.enhancements.items.purge_logs.launcher.items.5d',
'7d': 'settings.enhancements.items.purge_logs.launcher.items.7d',
'14d': 'settings.enhancements.items.purge_logs.launcher.items.14d',
'never': 'settings.enhancements.items.purge_logs.launcher.items.never'
'1d': 'settings.enhancements.launcher.items.purge_logs.launcher.items.1d',
'3d': 'settings.enhancements.launcher.items.purge_logs.launcher.items.3d',
'5d': 'settings.enhancements.launcher.items.purge_logs.launcher.items.5d',
'7d': 'settings.enhancements.launcher.items.purge_logs.launcher.items.7d',
'14d': 'settings.enhancements.launcher.items.purge_logs.launcher.items.14d',
'never': 'settings.enhancements.launcher.items.purge_logs.launcher.items.never'
}}
/>
</div>

View file

@ -157,6 +157,26 @@ export default (launcher: Launcher): Promise<void> => {
if (await Configs.get('gamemode') && await Package.exists('gamemoderun'))
command = `gamemoderun ${command}`;
/**
* Use terminal
*
* bash -c "<command> && bash" is required to keep terminal open
*/
if (await Configs.get('use_terminal'))
{
// Gnome
if (await Package.exists('gnome-terminal'))
command = `gnome-terminal -- bash -c "${path.addSlashes(command)} && bash"`;
// KDE Plasma
else if (await Package.exists('konsole'))
command = `konsole --hold -e "${path.addSlashes(`bash -c "${path.addSlashes(command)} && bash"`)}"`;
// XFCE
else if (await Package.exists('xfce4-terminal'))
command = `xfce4-terminal --hold -e "${path.addSlashes(`bash -c "${path.addSlashes(command)} && bash"`)}"`;
}
/**
* Starting the game
*/
@ -171,10 +191,13 @@ export default (launcher: Launcher): Promise<void> => {
cwd: await constants.paths.gameDir
});
// Stop monitoring of the process
process.runningInterval = null;
process.outputInterval = null;
// Game was started by the launcher.bat file
// so we just need to wait until AnimeGame.e process
// will be closed
process.finish(() => {
const processName = `${constants.placeholders.uppercase.first + constants.placeholders.uppercase.second}.e`;
let closeGameCounter = 0;
@ -245,7 +268,6 @@ export default (launcher: Launcher): Promise<void> => {
};
setTimeout(waiter, 5000);
});
}
})
.catch(() => {