Added support for the game files structure updating mechanism
form the latest launcher SDK. Also added
new progress bar statuses for applyign hdiff patches
and removing outdated files
Note that I changed the language names to lookup from {lang}-{region} instead of
just {lang}, because Genshin Impact supports both zh-cn and zh-tw locales.
zh-tw's tranlsation is different zh-cn.
This commit adds the translation and registers the language in the code,
so that french translations show up in the launcher.
This translation, though not perfect should be understandable to most
French speakers :) If you have any comments or suggestion, feel free to
leave them here!
FSR, NIS and Integer scaling got separate "upscaling" section in gamescope settings.
As well were added descriptions so users can actually
know what e.g. integer scaling is
Some messages (relm4 component's input commands) were renamed
Added `UpdateLauncherState` message to, well, update launcher state.
By calling this status page will appear with information about
current status getting progress
Added some new error messages. Before, heavy tasks
were sending errors only to tracing logs. Now they also will generate toast messages
Added patch applying functionality to the main button.
Also made main window disappear when the game is running (like it works now in GTK launcher)
- classic style loads its background from "config's_tmp_path/background"
so from "launcher folder/background" by default
- icons will be changed in some future
- stdout logs got rid of rustls messages and now are pretty styled
- logs are saved into the `debug.log` file in the launcher folder
they're not filtered and contain all the messages
- toasts timeout fixed to 5 seconds
- added "save" button which will, well, not save logs
but open `debug.log` file using `xdg-open`
- updated core library and components library
- added (likely working) updates pre-downloading functionality
- moved to `anyhow::Result` in lots of places
- added new wine versions
From previous commits:
- changed preferences icon, updated main window's menu
- removed open launcher folder button from settings
- added fix for dxvk applying with spaces to the runners folder path
- updated default patch repo's mirror
- updated core library; added support for Chinese version
- added default game edition prediction based on system locale
- added ability to run the game when all patch servers are down
- used `std::process::Output` on DXVK applying instead of String
this fixes errors related to UTF-8 decoding since different systems may have
different default encodings
- 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 errors toasting for initial setup window
- 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
- updated core library;
this fixes getting available space on systems with lots of disks
- added patch folder selection during initial setup
- fixed error panicking when you're closing folder selection dialogue
during initial setup
- now missing fields will be automatically filled;
excess fields - removed.
thanks to new code structure I can easily create
new fields or rename old ones
- improved `WineLang` enum; now launcher loads languages list dynamically
from this enum so I can easily add support for new languages
- renamed "page_*" to some actual pages names
- added voice packages selection page
- made "Advanced" button working. It shows default paths selection page
- added gamescope support
- now gamemode option will not be clickabke if gamemode is not installed
- reworked enhancements page's events
- changed winesync env variables
- added `lib::is_available` function to check packages availability
- updated core library;
now launcher will check available free space
before downloading anything
- added dxvk 1.10.3
From previous commits:
- added `WINEARCH=win64` to some places
- added `devel` style to `FirstRunApp` if it's debug mode
- changed app's id
- added xdelta3 requirement during initial setup
- added wine & dxvk version selection during initial setup
- added "Open launcher folder" button to settings
- removed `glib::Downgrade` trait from all the `App`s' `Value`s
- removed `tasks` mod; removed `tokio` dependency;
rewritten `OpenPreferencesPage` to work with threads instead of futures
- added `opt-level = 3` to release profile
- upscaled logo to 512x512; added source link
- bundled all the UI files into gtk resources
- added "Open launcher folder" button to settings
- removed `glib::Downgrade` trait from all the `App`s' `Value`s
- removed `tasks` mod; removed `tokio` dependency;
rewritten `OpenPreferencesPage` to work with threads instead of futures
- added `opt-level = 3` to release profile