Commit graph

228 commits

Author SHA1 Message Date
Observer KRypt0n_
95548fc394 feat(ui): added signal blockings to recommended only switches 2023-03-06 20:00:06 +02: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