Commit graph

87 commits

Author SHA1 Message Date
Observer KRypt0n_
919de100c1
feat: improved app args parsing 2024-03-24 11:23:15 +02:00
Observer KRypt0n_
a1d1950ce8
feat: updated ui libraries 2024-03-24 09:56:04 +02:00
Observer KRypt0n_
3e57468a3f feat: Added 7z dependency requirement 2023-09-28 17:38:17 +02:00
Observer KRypt0n_
91e7019e44
feat: added --session <name> flag to switch active session 2023-08-19 19:02:07 +02:00
Observer KRypt0n_
eb5aa221ef
feat(core): improved files migration code 2023-08-18 09:15:06 +02:00
Observer KRypt0n_
252c948073
feat: removed patch integration 2023-08-17 11:54:39 +02:00
Observer KRypt0n_
7614561213
feat(i18n): multiple localization changes
Improved `tr!` macro to use enhanced arguments syntax;
Updated Indonesian;
Fixed formatting error for `close` string
2023-08-02 15:32:33 +02:00
Observer KRypt0n_
6c58d715be
feat: added human_panic crate for better panics handling 2023-08-01 13:26:03 +02:00
Observer KRypt0n_
0f932b8619
feat: reworked app resources system
Added all the icons in case somebody will miss some;
Added "kill game process" button when launcher's behavior
is set to "Nothing" and the game is running
2023-07-31 23:58:02 +02:00
Observer KRypt0n_
4b242e948a
fix: fixed #208
For real?
2023-07-06 18:10:50 +02:00
pan93412
2c765700a1
refactor(core): 🐛 Use AtomicBool for READY
https://stackoverflow.com/a/72369696/12652912
2023-06-27 22:08:51 +08:00
Observer KRypt0n_
67ba65a3dc
3.7.4 2023-06-19 10:46:58 +02:00
Observer KRypt0n_
d00dee3ec0
feat: replaced xlua patch by "disable mhypbase" option 2023-06-18 00:33:27 +02:00
Observer KRypt0n_
cdef7c115a
revert: returned back old background picture path 2023-06-17 12:31:04 +02:00
Observer KRypt0n_
df7726101d
feat(ui): added discord rpc icon selection 2023-06-09 22:14:40 +02:00
Observer KRypt0n_
2d0e486d40
feat: updated get_default_lang()
Should fix default launcher language selection
2023-06-08 16:32:41 +02:00
Observer KRypt0n_
f3b7a53fea
feat(core): implemented SDK 1.4.0 2023-05-21 11:55:23 +02:00
Observer KRypt0n_
3a418126c2 feat(ui): moved wine/dxvk settings to separate page 2023-05-20 19:56:08 +02:00
Observer KRypt0n_
a58bd18a79
fix: fixed session applying on each launcher start 2023-05-15 21:43:22 +02:00
Observer KRypt0n_
4eed994648
feat(core): initial core/sdk migration patch set 2023-04-15 12:36:03 +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_
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_
02323bad4f
feat(core): implemented core 0.5.8 2023-03-31 10:21:06 +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_
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_
25b18958bc
feat: implemented relm4 0.6.0-alpha.2 and gtk 4.10 2023-03-19 16:39:33 +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_
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_
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_
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_
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_
099d3c232b
feat: added game/voice downloading functionality 2023-02-26 01:59:29 +02:00
Observer KRypt0n_
c7a92718db
refactor(i18n): changed i18n mod again, nothing important 2023-02-25 17:16:35 +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_
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_
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_
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_
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_
82fdb7b2a2
Changed --debug behavior to only affect stdout debug/info messages 2023-02-04 16:13:09 +02:00
Observer KRypt0n_
2a96982fd7
Components list: added on_downloaded / deleted events 2023-02-03 17:23:17 +02:00
Observer KRypt0n_
29702782e2
settings: added patch status displaying 2023-01-29 15:11:13 +02:00
Observer KRypt0n_
12cf7b3e25
UI: Made progress bar component; added it to the components list 2023-01-22 14:37:19 +02:00
Observer KRypt0n_
d9086186ff
Component list: added base download/delete functions 2023-01-22 12:55:27 +02:00