Commit graph

48 commits

Author SHA1 Message Date
Observer KRypt0n_
7d46f9b6ab feat(ui): added fps unlocker path chooser in initial setup 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_
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_
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_
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_
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
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
Renaud Lepage
e1e53d4b49 xdg open 2023-03-05 20:31:12 +00:00
Observer KRypt0n_
5075588f6a
fix(ui): changed some icons names to -symbolic variants 2023-03-04 13:54:18 +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_
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_
681ad01835
feat(i18n): added localization to first run window 2023-02-25 16:06:43 +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_
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_
d6b5eb6411
relm4 init commit 2023-01-18 18:37:53 +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_
9869696d76
Fixed wine prefix creation 2022-09-28 11:54:35 +02:00
Observer KRypt0n_
002c77a9c1
Several changes
- updated core library and components library
- added (likely working) updates pre-downloading functionality
- moved to `anyhow::Result` in lots of places
2022-09-26 15:08:29 +02:00
Observer KRypt0n_
7ac3935ab1 Added partial support of wincompatlib 2022-09-25 21:38:38 +02:00
Observer KRypt0n_
5d26f84659
Moved to libadwaita 1.2 2022-09-24 16:52:31 +02:00
Observer KRypt0n_
6fd220e633
Added support for 1.1.0 core library 2022-09-18 15:24:31 +02:00
Observer KRypt0n_
8efd07c7fd
Added usage of xdg-portals for folders chooser during initial setup 2022-09-14 13:36:08 +02:00
Observer KRypt0n_
d8a48caf97
Added theoretical support for system wine during initial setup
(can't really check its work now; looks ok so...)
2022-09-14 12:43:33 +02:00
Observer KRypt0n_
57c36ae52d
Several changes
- updated core library; now launcher will continue downloading
  of partially downloaded files
- added downloading speed limiter (`config.json` -> `launcher.speed_limit`)
- added `Config::try_get_selected_dxvk_info` method;
  now launcher loads currently applied dxvk version from the wine prefix files
2022-09-08 17:27:37 +02:00
Observer KRypt0n_
8a62ed5674
Reworked DXVKs UI components to support different builds 2022-08-31 22:39:58 +02:00
Observer KRypt0n_
00ff5c6409
Implemented updated core library and new components system (2) 2022-08-31 20:27:52 +02:00
Observer KRypt0n_
24673fd836
Reworked components downloading during initial setup
now lots of stuff happens in separate threads and launcher shouldn't freeze
also fixed sometimes weird progress bar behavior
2022-08-25 08:32:01 +02:00
Observer KRypt0n_
a1cdf81eca
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
2022-08-05 23:22:42 +02:00
Observer KRypt0n_
7efa5e4a7e
Added errors toasting for initial setup window 2022-08-05 15:13:20 +02:00
Observer KRypt0n_
bcdb0217ad
Several changes
- 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
2022-08-04 17:23:05 +02:00
Observer KRypt0n_
82691f70f9
Initial setup changes
- renamed "page_*" to some actual pages names
- added voice packages selection page
- made "Advanced" button working. It shows default paths selection page
2022-08-04 01:24:25 +02:00
Observer KRypt0n_
ea6094daf5
0.7.0
- 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
2022-08-03 21:38:01 +02:00
Observer KRypt0n_
50b69482d5
Added devel style to FirstRunApp if it's debug mode 2022-08-03 00:17:46 +02:00
Observer KRypt0n_
e021b79ae7
Added xdelta3 requirement during initial setup 2022-08-02 20:31:28 +02:00
Observer KRypt0n_
ceffbe795a
Added wine & dxvk version selection during initial setup 2022-08-02 19:57:17 +02:00
Observer KRypt0n_
0baa3593ac
Several changes
- upscaled logo to 512x512; added source link
- bundled all the UI files into gtk resources
2022-08-02 18:43:07 +02:00
Observer KRypt0n_
4c5a38dfc2
0.4.0
- added "Settings" option for main window menu
- added working default paths selection in first run window

From previous commits:
- added subfolders support for blueprint compiler;
  moved first_run and preferences pages to subfolders
- added 2 first run pages:
  + when you don't have some required components
  + to select default folders paths
2022-07-29 22:20:06 +02:00
Observer KRypt0n_
dcf2a7821a
Several changes
- added subfolders support for blueprint compiler;
  moved first_run and preferences pages to subfolders
- added 2 first run pages:
  + when you don't have some required components
  + to select default folders paths
2022-07-29 14:44:48 +02:00