Commit graph

495 commits

Author SHA1 Message Date
Observer KRypt0n_
c43acb22ce
feat(ui): translated components settings page title 2023-05-24 20:04:09 +02:00
Observer KRypt0n_
7c79132308
feat(i18n): updated base forgotten shared libraries locales 2023-05-24 20:02:47 +02:00
Observer KRypt0n_
3edd5ea106
fix: added 3.7.0 game update workaround 2023-05-24 19:53:22 +02:00
Observer KRypt0n_
ba5963ae08
feat: updated changelog 2023-05-24 19:42:37 +02:00
Observer KRypt0n_
920911ccf6
feat(i18n): second part of features translation 2023-05-24 18:48:32 +02:00
Observer KRypt0n_
15bdd3cb6d
feat(i18n): first part of features translation 2023-05-24 18:41:22 +02:00
Observer KRypt0n_
6e847c61f5
feat(ui): set fsr quality in enhancements settings instead of strength 2023-05-22 22:45:53 +02:00
Observer KRypt0n_
45fab721dc
feat(ui): removed Futex2 wine sync option
Previous commit forever will be listed in the bottles repo xd
2023-05-22 22:33:11 +02:00
Observer KRypt0n_
cf02bcab8c
feat: added options to use wine/dxvk shared libraries 2023-05-22 22:25:13 +02:00
Observer KRypt0n_
c4a9acb4ca
fix(ui): fixed predownload button ui 2023-05-22 13:20:52 +02:00
Observer KRypt0n_
c26870d90c
feat(ui): changed "Continue" to "Resume" for partial downloads 2023-05-21 13:20:51 +02:00
Observer KRypt0n_
d031b63be2
feat(ui): set button label as "Continue" when the diff is part downloaded 2023-05-21 12:38:13 +02:00
Observer KRypt0n_
0f0cb33d46
feat(ui): added dynamic main button icon switching 2023-05-21 12:08:46 +02:00
Observer KRypt0n_
f3b7a53fea
feat(core): implemented SDK 1.4.0 2023-05-21 11:55:23 +02:00
Observer KRypt0n_
aa407308de
feat(ui): renamed additional enhancement options 2023-05-20 22:05:11 +02:00
Observer KRypt0n_
b564bb77ed
feat(i18n): added Indonesian 2023-05-20 21:56:46 +02:00
Observer KRypt0n_
e520d8678b
feat(ui): moved sandbox, environment and game settings into separate pages 2023-05-20 21:43:56 +02:00
Observer KRypt0n_
3a418126c2 feat(ui): moved wine/dxvk settings to separate page 2023-05-20 19:56:08 +02:00
Observer KRypt0n_
4676ac3a81 feat(core): use whatadistro library to identify package manager in first run window
Patch's dev has pacman gui game which executable is called `pacman`,
so with current checks this game was launching all the time on his pc lmao
2023-05-20 19:56:08 +02:00
Marie
3ad7993bd3
feat(about): add credit for italiano 2023-05-18 19:30:49 +02:00
QuazarOmega
dcaf6a027c
merge: add italian localization (#163)
* chore: remove execute permissions from Spanish localization files

* feat(i18n): Add Italian localization
2023-05-18 19:28:25 +02:00
Observer KRypt0n_
e2f66180d2
feat(ui): redesigned main button 2023-05-16 20:30:46 +02:00
Observer KRypt0n_
7a7cdb38f1
feat(core): updated SDK version 2023-05-16 16:05:02 +02:00
Observer KRypt0n_
a58bd18a79
fix: fixed session applying on each launcher start 2023-05-15 21:43:22 +02:00
Observer KRypt0n_
33e479783f
feat: updated changelog 2023-05-06 14:03:16 +02:00
Observer KRypt0n_
6671486df4
feat(ui): decreased logo size a bit more 2023-05-05 17:04:13 +02:00
Observer KRypt0n_
719fffb8eb
feat(i18n): added base localizations 2023-05-05 16:50:02 +02:00
Observer KRypt0n_
c872475fe6
feat: added game sessions manager 2023-05-05 16:36:08 +02:00
Observer KRypt0n_
a122acb0b8
feat(core): updated Relm4 to 0.6.0-beta.1 2023-05-05 11:35:26 +02:00
Observer KRypt0n_
3d036e6a97
feat(ui): reworked entry rows in the settings
Removed huge pill buttons, added small "+" icons
2023-05-05 11:26:36 +02:00
Observer KRypt0n_
bdd45471ca
feat(ui): updated translators credits in about dialog 2023-05-05 11:25:28 +02:00
Observer KRypt0n_
073193e596 feat(ui): initial game settings section rework
(had to commit these changes to merge Turkish locales)
2023-05-05 09:36:37 +02:00
Observer KRypt0n_
140eb38a4a
feat(ui): made launcher icon a bit smaller 2023-05-04 13:28:56 +02:00
Observer KRypt0n_
c765448e43 feat: some initial work on adding "game" settings section
Is not yet even started, just had to commit changed to checkout to the main branch
2023-05-03 21:06:27 +02:00
Observer KRypt0n_
9534f072e8
feat(ui): improved launcher logo rendering quality 2023-05-01 14:16:05 +02:00
Observer KRypt0n_
aa5215533a
feat: added rules approving dialog to the first run window 2023-04-22 18:06:41 +02:00
Observer KRypt0n_
c2bbde85b3 feat: fixed wine tools running using proton builds 2023-04-18 16:43:07 +02:00
Observer KRypt0n_
f9bf0accf8 docs: updated changelog 2023-04-17 19:09:32 +02:00
Observer KRypt0n_
6281d1a49d
feat(i18n): updated base sandbox locales 2023-04-17 15:50:55 +02:00
Observer KRypt0n_
e5daf0cfea
feat(ui): added symlinks and args to sandbox settings 2023-04-17 15:29:11 +02:00
Observer KRypt0n_
addb71305f
feat: add inputs clearing in environment/sandbox settings
closes #133
2023-04-17 11:49:32 +02:00
Observer KRypt0n_
edaecf9e93 3.5.1 2023-04-17 11:44:44 +02:00
Observer KRypt0n_
38e285ce32
feat(ui): added debugger to wine tools 2023-04-16 15:10:26 +02:00
Observer KRypt0n_
f64d60128c
fix(ui): fixed hostname option in sandbox settings 2023-04-16 15:00:05 +02:00
Observer KRypt0n_
7ca492b6d9
feat(i18n): updated base locales 2023-04-16 14:45:52 +02:00
Observer KRypt0n_
704b238ea5
docs: updated changelog 2023-04-16 14:34:38 +02:00
Observer KRypt0n_
1954f99783
feat(ui): added sandboxing feature 2023-04-16 14:12:25 +02:00
Observer KRypt0n_
d058342829
feat: added game sandboxing 2023-04-16 12:04:53 +02:00
Observer KRypt0n_
07a992be58
feat: listed Krock in about window 2023-04-15 23:52:36 +02:00
Observer KRypt0n_
ce20f1e667
feat(core): fixed use of fps unlocker 2023-04-15 12:48:15 +02:00
Observer KRypt0n_
4eed994648
feat(core): initial core/sdk migration patch set 2023-04-15 12:36:03 +02:00
Observer KRypt0n_
176789ad10 feat(ui): small progress bar changes 2023-04-15 10:48:02 +02:00
Observer KRypt0n_
9308086bec
feat: updated changelog 2023-04-12 15:47:57 +02:00
Observer KRypt0n_
985b66d72b
feat(ui): disabled fraction displaying in repairer's progress bar 2023-04-12 15:26:35 +02:00
Observer KRypt0n_
fc096b6e18
3.4.0 2023-04-11 22:39:12 +02:00
Observer KRypt0n_
f66111f8e9
feat: preparations for upcoming 3.6 changes
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
2023-04-11 20:08:54 +02:00
Observer KRypt0n_
4e173fe9b1
feat(i18n): added base migration-related locales 2023-04-09 19:52:43 +02:00
Observer KRypt0n_
01748695b2
feat(i18n): added base 3.4.0 localization 2023-04-09 19:38:13 +02:00
Observer KRypt0n_
9189a6722b
feat(ui): Added preferences search 2023-04-09 19:00:07 +02:00
Observer KRypt0n_
3b8ec10938
feat(ui): fixed app version display in changelog 2023-04-09 18:56:13 +02:00
Observer KRypt0n_
032e6be582
docs: updated changelog 2023-04-09 18:50:28 +02:00
Observer KRypt0n_
9453a2bbc5
feat(ui): made wine / dxvk versions always visible if they're downloaded 2023-04-09 18:45:38 +02:00
Observer KRypt0n_
16e6c8e1d2
feat(ui): replaced static image by spinner in wine / dxvk version selection 2023-04-09 18:38:15 +02:00
Observer KRypt0n_
13fd1ebb4f
feat: added whitespaces removing from environment values
One user somehow got it in game running command. Have no idea
how could it happend but just in case added `trim()` calls
2023-04-09 18:03:46 +02:00
Observer KRypt0n_
f777963548
feat: added wine tools to settings 2023-04-09 17:58:23 +02:00
Observer KRypt0n_
567df16610
feat: made migrate installation button work 2023-04-09 17:06:05 +02:00
Observer KRypt0n_
285195954e
fix: fixed game edition changing on switcher change 2023-04-08 22:45:38 +02:00
Observer KRypt0n_
49ebbc35a2
feat(ui): added changelog to updated components toast
Implemented SDK 0.5.13
2023-04-08 21:57:52 +02:00
Observer KRypt0n_
22598efb15
docs: updated changelog 2023-04-08 19:54:32 +02:00
Observer KRypt0n_
deacef3759
feat(core): implemented SDK 0.5.12
This change allows to support game edition switching in settings
2023-04-08 19:46:28 +02:00
Observer KRypt0n_
941851c234
feat(ui): utilized new recommended feature for wine / dxvk versions 2023-04-07 21:25:27 +02:00
Observer KRypt0n_
487fdd79ee
feat(ui): used dxvk component's title field 2023-04-06 23:16:24 +02:00
Observer KRypt0n_
7fb37d9252
docs: updated changelog 2023-04-06 22:13:40 +02:00
Observer KRypt0n_
d7a46b25da
feat: added environment emulation support
This experimental feature generates special configuration file
which game interprets as different environments.
With this, for example, you can access google payment methods
2023-04-06 22:09:36 +02:00
Observer KRypt0n_
b20df574bf
docs: updated changelog, added it to about window 2023-04-06 19:37:30 +02:00
Observer KRypt0n_
02323bad4f
feat(core): implemented core 0.5.8 2023-03-31 10:21:06 +02:00
Observer KRypt0n_
7e20abf991
feat(ui): added initial installation migration window support 2023-03-29 18:45:31 +02:00
Observer KRypt0n_
5a4eeb5636
feat: improved game repairing feature
Added support for xlua patch, stopped launcher from repairing
one forgotten anti-cheat related file
2023-03-25 14:00:20 +02:00
Observer KRypt0n_
f1b10c6bea
feat: first run: made default game folder name depend on game edition 2023-03-25 13:37:03 +02:00
Observer KRypt0n_
71d454d87c
feat(ui): small ui fixes 2023-03-25 13:34:54 +02:00
Observer KRypt0n_
e24f642e83
feat(ui): reduced toasts timeout from 5 to 4 seconds 2023-03-24 16:05:42 +02:00
Observer KRypt0n_
a3e4e40b9d
feat(ui): changed background for the main progress bar in classic style
Made it match new background picture slightly better
2023-03-24 15:56:14 +02:00
Observer KRypt0n_
f0286a418e
fix: fixed infinite retries to download some update or patch the game if it failed 2023-03-24 15:55:23 +02:00
Observer KRypt0n_
ac652529d8
feat(core): removed launcher.speed_limit config 2023-03-24 14:47:02 +02:00
Observer KRypt0n_
ec1d3aee7c
style: small style changes 2023-03-24 14:12:50 +02:00
Observer KRypt0n_
1a8bb8bf17
feat(core): swapped game version gathering and patch repo updating tasks order 2023-03-23 19:16:43 +02:00
Observer KRypt0n_
666a3e2976
feat(ui): added menu button to open wishes history in your browser 2023-03-23 15:53:26 +02:00
Observer KRypt0n_
2d81e50e68
refactor: used std::env::temp_dir() instead of std::path::PathBuf::from("/tmp") 2023-03-23 14:27:47 +02:00
Observer KRypt0n_
907361df7b
feat(ui): initial xlua patch implementation 2023-03-22 20:44:46 +02:00
Observer KRypt0n_
ddc122d631
feat(core): implemented core library 1.4.0
It now allowed to use several patches for the game. As well it now uses `GitRemoteSync`
trait like components index does with gains more stability I guess
2023-03-22 17:25:26 +02:00
Observer KRypt0n_
3d1674975d
refactor: changed deprecated method show to present 2023-03-19 17:08:42 +02:00
Observer KRypt0n_
25b18958bc
feat: implemented relm4 0.6.0-alpha.2 and gtk 4.10 2023-03-19 16:39:33 +02:00
Observer KRypt0n_
fcab428cb4
fix: fixed downloaded wine version selection on "download wine" button
Instead it was selecting wine group name by mistake
2023-03-19 15:44:40 +02:00
Observer KRypt0n_
12ce4f18a7
fix: fixed DXVK applying on changed default path during initial setup
As well I disabled long swipes and wheel scrolling for carousel.
Don't know why I forgot to do it before,
but nobody noticed it so..
2023-03-18 20:44:33 +02:00
Observer KRypt0n_
59d0e27ca3
fix: fixed "wine not installed" button work 2023-03-16 14:27:53 +02:00
Observer KRypt0n_
b2ff2c585d
fix: fixed components related error on changing default path 2023-03-16 14:26:59 +02:00
Observer KRypt0n_
9a0a327bc0
feat: changed default paths in initial setup window 2023-03-16 14:25:44 +02:00
Observer KRypt0n_
4efa6abbb0 feat(core): implemented new SDK 2023-03-15 23:11:34 +02:00
Observer KRypt0n_
7d46f9b6ab feat(ui): added fps unlocker path chooser in initial setup 2023-03-15 23:11:34 +02:00
Observer KRypt0n_
ab2bad953e fix(ui): fixed main button sensitivity after prefix creation
Before it stayed disabled even when prefix was created successfully
2023-03-15 23:11:34 +02:00
Observer KRypt0n_
942abd8474
feat: added wine/dxvk downloading skipping in initial setup
This can cause some issues and in general is a good idea to
avoid downloading what is already downloaded
2023-03-11 09:41:28 +02:00
Observer KRypt0n_
c5ec736f59
feat(ui): added "components index updated" toast
Should be informative for users. They could download new components once they released
2023-03-09 15:25:38 +02:00
Observer KRypt0n_
9db637cf09
feat(i18n): added Turkish 2023-03-08 20:30:28 +02:00
Observer KRypt0n_
da60529a0d
feat(i18n): added "disabled dxvk selection" translations 2023-03-08 20:08:47 +02:00
Observer KRypt0n_
e21dddd2a3
feat(core): implemented SDK 0.5.0 2023-03-08 18:37:16 +02:00
Observer KRypt0n_
ae990e996b
feat(core): implemented SDK 0.4.0 2023-03-08 14:32:32 +02:00
Observer KRypt0n_
58743eca04
3.1.4 2023-03-07 22:52:24 +02:00
Observer KRypt0n_
438467e978
feat: improved components downloading in initial setup
Changed components versions to 4 latest versions of 4 first groups
Fixed prefix creation due to random weird issue
Disabled dlls repairing on dxvk applying
2023-03-07 20:10:36 +02:00
Observer KRypt0n_
25f3c41d02
feat(i18n): added Spanish 2023-03-07 18:30:08 +02:00
Observer KRypt0n_
032ca88a6e fix: fixed initial setup window panic
Before it couldn't get list of available wine/dxvk versions because
on first run launcher obviously doesn't have `components` folder
and it needs to be synced with one of remotes

I've added here status page and heavy tasks system to the first run window
as it works now on the main window, and now
components are synced there behind status page

As well was updated SDK with fixed `Installer::get_filename` method
which will fix issue with stuff downloading

closes https://github.com/an-anime-team/an-anime-game-launcher/issues/91
2023-03-07 13:07:22 +02:00
Observer KRypt0n_
2427faa089
feat(ui): added components index path selection to initial setup 2023-03-06 22:34:06 +02:00
Observer KRypt0n_
245f8f5559
fix(ui): updated launcher urls in about window 2023-03-06 21:22:14 +02:00
Observer KRypt0n_
09fe6a9116
feat(i18n): listed @tigersoldier in translators section 2023-03-06 21:05:30 +02:00
Observer KRypt0n_
3e8b63e1a5
Merge pull request #88 from tigersoldier/zh-translation
Adding translation for zh-cn (Simplified Chinese)
2023-03-06 21:00:09 +02:00
Observer KRypt0n_
5de6f0aa48
feat: added commit hashes to core/sdk versions in about
SDK and core library were updated. Now "no free space available" error message
will have prettified measurements for users simplicity
2023-03-06 20:20:03 +02:00
Observer KRypt0n_
95548fc394 feat(ui): added signal blockings to recommended only switches 2023-03-06 20:00:06 +02:00
Tiger Soldier
f46ae89dca Merge remote-tracking branch 'upstream/main' into zh-translation 2023-03-06 09:53:26 -08:00
Tiger Soldier
b2aef08471 Adding translation for zh-cn (Simplified Chinese)
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.
2023-03-06 09:49:08 -08:00
Observer KRypt0n_
c220c74d5d
feat(ui): shrinked wine/dxvk lists to 12 versions 2023-03-06 19:26:43 +02:00
Observer KRypt0n_
2a83423a62
feat(i18n): listed @zeGolem in translators section 2023-03-06 18:12:05 +02:00
Observer KRypt0n_
309da61f4f
feat(i18n): translated components index updating 2023-03-06 17:52:20 +02:00
Observer KRypt0n_
d69107dfba feat(core): added dynamic components loading
Now launcher will update its local wine/dxvk versions index from remotes in config file
2023-03-06 12:39:24 +02:00
Renaud Lepage
6723ac8ad6 I am vain 2023-03-05 14:50:22 -08:00
Observer KRypt0n_
7fead37513
refactor: implemented #84 2023-03-05 22:52:53 +02:00
Observer KRypt0n_
b1b3455f8e feat: updated core library 2023-03-05 22:43:44 +02:00
Observer KRypt0n_
824da89578
Merge pull request #84 from cybik/xdg-nit
Use open library for xdg
2023-03-05 22:42:32 +02:00
Renaud Lepage
e1e53d4b49 xdg open 2023-03-05 20:31:12 +00:00
Observer KRypt0n_
7c6a559f81
fix(ui): fixed titlebar behavior on some DEs
https://github.com/an-anime-team/an-anime-game-launcher/issues/80
2023-03-05 15:39:44 +02:00
zeGolem
1eff74489a
feat(i18n): Added french translations (#81)
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!
2023-03-05 13:43:52 +01:00
Observer KRypt0n_
f8c457b699 feat(ui): moved integer scaling, fsr and nis into separate group in gamescope settings
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
2023-03-05 12:52:19 +02:00
Observer KRypt0n_
3c7eba4d79
feat: added game repairing function 2023-03-05 00:16:17 +02:00
Observer KRypt0n_
e008a97822
feat(i18n): changed default language from en to en-us
More like style change because it anyway is being replaced at app start
2023-03-04 23:28:52 +02:00
Observer KRypt0n_
f109454cb7 fix(i18n): forced format_lang to return regions for language codes
Standard German language code is `de` but game API requires it to be `de-de`.
With this change formatted locales always will have
region so always will fit game requirements
2023-03-04 23:24:39 +02:00
Observer KRypt0n_
e6c99ba59c
feat(ui): temporary hidden repair game button
Marked as planned to be done in 3.1.0
2023-03-04 19:36:50 +02:00
Observer KRypt0n_
3ccd66aa74
fix(ui): fixed background picture updating on "update background" switch disabled 2023-03-04 19:32:56 +02:00
Observer KRypt0n_
24c8f7fb7c
feat(core): updated core library & sdk, changed game running mechanism
New core library version contain updated voice packages sizes
for more precise versioning

New SDK version's `game::run()` function freezes thread
so now game launching should work better
2023-03-04 18:48:41 +02:00
Observer KRypt0n_
5075588f6a
fix(ui): changed some icons names to -symbolic variants 2023-03-04 13:54:18 +02:00
Observer KRypt0n_
3a51768baa
chore: changed app id
As part of launchers' unification process we decided to get rid of both neutralino and gtk versions
and release Relm4 version as default and only one with its own id
2023-03-04 12:08:27 +02:00
Observer KRypt0n_
3f6fe2b847
feat(ui): added experimental discord rpc support 2023-03-02 22:31:35 +02:00
Observer KRypt0n_
84683ded86
feat(ui): added gamescope settings support
Added gamescope settings support. As well made gamemode and gamescope switches
non-sensitive if needed packages aren't installed
2023-03-02 15:31:21 +02:00
Observer KRypt0n_
ec30411ef8
feat: added app launch flags
Added `--run-game` and `--just-run-game` flags which can be used to run the game

1st will launch the game if launcher state is `Launch`.
Otherwise launcher window will appear

2nd will launch the game on `Launch` state,
as well as on `PredownloadAvailable` and `PatchAvailable(Patch::NotAvailable)`.

As well process stopping was changed by proper app exiting
by calling `relm4::main_application().quit()`
2023-03-01 23:47:34 +02:00
Observer KRypt0n_
38c2532f49
fix: added regions to SUPPORTED_LANGUAGES
This fixes error related to background picture loading
2023-03-01 20:11:41 +02:00
Observer KRypt0n_
f465e2052b
feat(i18n): added menu items translation 2023-03-01 19:58:13 +02:00
Observer KRypt0n_
9d98f2890d
feat(ui): added backgrounds to main window buttons
Before they were transparent and e.g. settings button was nearly invisible
2023-03-01 19:48:02 +02:00
Observer KRypt0n_
5ae39efbac
fix(ui): fixed background picture updating 2023-03-01 18:59:00 +02:00
Observer KRypt0n_
7d080fcdf4
fix: fixed mistake in the previous commit
I'm such a clown lol
2023-02-28 23:04:25 +02:00
Observer KRypt0n_
a3aad7a2f4
fix: fixed (?) error on deleting non-installed voice package
I didn't test this but I think it should work lol
2023-02-28 22:52:18 +02:00
Observer KRypt0n_
f5231fe637
feat: added voice packages selection to settings 2023-02-28 22:42:08 +02:00
Observer KRypt0n_
6cc5b26561
fix: added progress bar hiding after update predownloading
As well were added proper sensitivity and css classes depending on downloading status
2023-02-27 23:44:07 +02:00
Observer KRypt0n_
f31e31ef81
feat: added update predownloading support 2023-02-27 23:19:25 +02:00
Observer KRypt0n_
08004a892b
feat: added translators credits to about window 2023-02-27 20:43:35 +02:00
Observer KRypt0n_
3b40ce75e6
feat(ui): added environment settings page
Added Environment settings page where you can specify command which
will be used to run the game, and manage
its environment variables
2023-02-26 19:15:18 +02:00
Observer KRypt0n_
6f794947b9
fix(i18n): fixed some stuff idk 2023-02-26 15:14:40 +02:00
Observer KRypt0n_
ad0893ec8b
fix(i18n): changed format of selected launcher language in config file 2023-02-26 15:07:40 +02:00
Observer KRypt0n_
c8e8413a00
feat(i18n): added automatic language settings updating from i18n mod 2023-02-26 15:05:43 +02:00
Mar0xy
6284233cfa Add de 2023-02-26 10:03:47 +00:00
Observer KRypt0n_
5ddbe87830
feat(i18n): translated wine-downloading error toasts 2023-02-26 11:56:11 +02:00
Observer KRypt0n_
84697bb917
feat: added LauncherState::WineNotInstalled state support 2023-02-26 11:50:30 +02:00
Observer KRypt0n_
099d3c232b
feat: added game/voice downloading functionality 2023-02-26 01:59:29 +02:00
Observer KRypt0n_
d80156696e
perf: ~23.5% startup performance improvements
After series of flamecharts analyzing I found some bottlenecks and fixed them
2023-02-25 23:39:50 +02:00
Observer KRypt0n_
1755faaab1
feat(core): added LauncherState::PrefixNotExists state support
Taught launcher how to create wine prefixes
2023-02-25 18:18:18 +02:00
Observer KRypt0n_
0e07cb0698
feat(core): reworked main window's messages
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)
2023-02-25 18:08:25 +02:00
Observer KRypt0n_
c7a92718db
refactor(i18n): changed i18n mod again, nothing important 2023-02-25 17:16:35 +02:00
Observer KRypt0n_
681ad01835
feat(i18n): added localization to first run window 2023-02-25 16:06:43 +02:00
Observer KRypt0n_
cbd91c42aa
feat(i18n): added automatic default launcher language selection
Improved `i18n` mod to list supported languages and some other stuff

As well was added `get_default_lang` function
which will return language key based on current system language.
This function is called at the first launcher start
to update default `launcher.language` config property, so user will immediately
have proper language in initial setup window
2023-02-25 14:24:04 +02:00
Observer KRypt0n_
b7e85b7a8f
fix(ui): 🐛 added background downloading on style's change from settings
Previously launcher wasn't downloading background picture if the style was changed from the settings. This lead to situation when the window size and components position is updated, but background is fully transparent. With this change launcher will try to download picture if default background file doesn't exist. Not that launcher won't try to update this picture and this will happen only after restart, which is not an issue, I think
2023-02-24 19:31:32 +02:00
Observer KRypt0n_
6024ef885e
feat(ui): added final page to the first run window
Also loading icon was replaced by a `GtkSpinner` in components downloading page
2023-02-24 19:23:49 +02:00
Observer KRypt0n_
7e2059a33e
feat(ui): added voiceover selection page to the first run window 2023-02-24 18:21:03 +02:00
Observer KRypt0n_
5d1633efe1
feat(ui): added components downloading page to the first run window
\
2023-02-24 17:17:42 +02:00
Observer KRypt0n_
aa182e6efb
style(ui): improved style of fullscreen first run window
Centered all the components for better styling
2023-02-24 13:31:10 +02:00
Observer KRypt0n_
4bdce19063
feat(core): added speed limit applying for components downloading
Forgot to implement use of `set_downloading_speed` for components downloading. Limitation is gathered from the `config.json` file
2023-02-24 13:25:40 +02:00
Observer KRypt0n_
cd3614df83
feat(ui): added blank components downloading page to first run window
As well were experimentally changed buttons styles to "pills" (large'n'round). Maybe I'll revert this change later
2023-02-24 12:26:33 +02:00
Observer KRypt0n_
4f560eaa5e
feat(ui): added paths selection page in first run window 2023-02-24 11:13:14 +02:00
Observer KRypt0n_
9d4ad8df34
feat(ui): added new pages to the first run window
Added new "ToS warning" and "Dependencies" working pages to the first run window
2023-02-23 21:16:49 +02:00
Observer KRypt0n_
3f5ce430f9
feat(ui): initial work on adding first run window
Added blank first run window with welcome page. On first start launcher will create launcher folder and `.first-run` file inside if needed. If file exists - launcher will open first run window instead of the main one (to prevent further data loadings in `init` functions)
2023-02-23 20:37:02 +02:00
Observer KRypt0n_
fcb24f803b
feat(ui): made "update background" switcher
Now this switch will create `.keep-background` file in the launcher folder if launcher is supposed to keep current `background` file
2023-02-23 19:33:59 +02:00
Observer KRypt0n_
6340ccbd6e
feat(core): added background picture downloading 2023-02-23 16:41:13 +02:00
Observer KRypt0n_
5651544ada
style(ui): about window: updated debug info format
Slightly changed debug info messages format in about window for better readability
2023-02-23 16:39:49 +02:00
Observer KRypt0n_
82657f2db8
style(tracing): added pretty formatting to debug.log file
Should greatly improve readability
2023-02-23 14:48:06 +02:00
Observer KRypt0n_
efa96b9d2b
tracing: removed env-filter and use of RUST_LOG
it increased build size by 1 MB
2023-02-23 14:29:57 +02:00
Observer KRypt0n_
1dcc1b5403
tracing: improved logs output
- now launcher can use `RUST_LOG` variable to filter logs
- removed "called event" logs from wine/dxvk/progress bar components
Also:
- fixed constant "remove_css_class" gtk errors
2023-02-23 14:14:06 +02:00
Observer KRypt0n_
4e6325dd4f
main window: added colors and tooltips to action button
- they all depend on current launcher state
2023-02-22 22:48:36 +02:00
Observer KRypt0n_
9497136ac6
main window: made action button to follow launcher's state
- also added "open debug file" option to the header menu
2023-02-22 22:28:28 +02:00
Observer KRypt0n_
f2a04f5ebe
main window: added initial states system support 2023-02-22 22:10:37 +02:00
Observer KRypt0n_
14067c7bdf
main window: added functionality to menu actions
- added ability to send toast messages
2023-02-22 21:43:01 +02:00
Observer KRypt0n_
8199e0eac9
components: made all preferences components async
- apparently they tend to freeze without it
- also added use of `AdwStatusPage` during heavy tasks execution
2023-02-22 20:58:01 +02:00
Observer KRypt0n_
6525fbb0d9
core: done dynamic heavy tasks initialization
- now launcher is able to load some heavy stuff in background
  so they will not freeze it during start
- patch status and latest game data is loaded in background from now
- renamed some components and their messages types for consistency
2023-02-22 20:46:47 +02:00
Observer KRypt0n_
ba75180811
preferences: made settings sections separate components
- now `General` and `Enhancements` sections are relm4 components
- this change improves code structure and should help
  adding dynamic data loading on app start in future
- settings components are also not async from now because they don't need to
2023-02-22 20:13:58 +02:00
Observer KRypt0n_
3d5cf4a8f7
styles: fixed AdwStatusPage background 2023-02-22 19:44:58 +02:00
Observer KRypt0n_
76538fbf7d
appearance settings: added initial "download background" option support
- added translations for appearance section
2023-02-22 18:43:35 +02:00
Observer KRypt0n_
5870316724
general settings: added test launcher style switcher
- 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
2023-02-21 17:32:57 +02:00
Observer KRypt0n_
44d074d864
Changed debug logging
- 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`
2023-02-11 12:34:39 +02:00
Observer KRypt0n_
4965a9f005
Settings: added toast messages on errors 2023-02-11 11:12:57 +02:00
Observer KRypt0n_
036beac9d8
Settings: added wine/dxvk applying on one's selection 2023-02-05 14:26:40 +02:00
Observer KRypt0n_
82fdb7b2a2
Changed --debug behavior to only affect stdout debug/info messages 2023-02-04 16:13:09 +02:00
Observer KRypt0n_
5ad110a9b4
Removed unnecessary things 2023-02-04 16:05:14 +02:00
Observer KRypt0n_
fe898e6b90
Progress bar: added status translations 2023-02-04 15:48:29 +02:00
Observer KRypt0n_
28d7663420
Progress bar: added proper title updating 2023-02-04 15:40:53 +02:00
Observer KRypt0n_
0916894165
core: made some components async and updated launcher sdk
which fixed app's blocking when downloading wine/dxvk
2023-02-04 14:44:19 +02:00
Observer KRypt0n_
2a96982fd7
Components list: added on_downloaded / deleted events 2023-02-03 17:23:17 +02:00