Commit graph

75 commits

Author SHA1 Message Date
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
Observer KRypt0n_
a3c760bbce
Tracing: added some debug and info messages 2023-01-19 13:50:54 +02:00
Observer KRypt0n_
a00df927f6
UI: added more info to the about dialog 2023-01-19 13:45:03 +02:00
Observer KRypt0n_
d6b5eb6411
relm4 init commit 2023-01-18 18:37:53 +02:00
Observer KRypt0n_
cae4bd5fc5
Added --just-run-game flag
to run game even when predownloading is available
2022-10-31 16:02:53 +02:00
Observer KRypt0n_
e375af1c95
Now launcher will run the game with --run-game flag
even when predownloading is available, but if
update was already predownloaded
2022-10-31 15:53:30 +02:00
Observer KRypt0n_
f47bbfce4a
"Fixed" --run-game flag work
Yes I just added 5 secs delay before closing the app. It works so don't care
2022-10-28 18:36:45 +02:00
Observer KRypt0n_
eaa8379976
Not sure what I wanted to fix initially
but in the end I rewrote tons of code,
including total change of strings to PathBuf
also I fixed all the warnings generated by clippy
2022-09-30 00:00:36 +02:00
Observer KRypt0n_
5d26f84659
Moved to libadwaita 1.2 2022-09-24 16:52:31 +02:00
Observer KRypt0n_
00ff5c6409
Implemented updated core library and new components system (2) 2022-08-31 20:27:52 +02:00
Observer KRypt0n_
f66624d40d
Added creation of wine/dxvk folders at start if needed
Fixes #3
2022-08-28 16:50:20 +02:00
Observer KRypt0n_
13de707baa
Added icon loading from "icon" file, added --run-game argument 2022-08-08 21:31:46 +02:00
Observer KRypt0n_
cd76c22812
Updated core library; added support for Chinese version 2022-08-06 10:42:21 +02:00