1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-11 20:47:45 +00:00
Commit graph

955 commits

Author SHA1 Message Date
61a32a2a57 Revert "Switch to the unofficial-wine-xiv-git for wine builds"
This reverts commit 6e12745c49. There is
some issues with certain Dalamud plugins that need to be fixed before we
upgrade the Wine version for everyone. Of course, if you aren't affected
by this you can always change it back locally.
2025-05-08 15:51:35 -04:00
d10febfca6 Update note about the X11 socket permission for Flatpak 2025-05-07 22:48:05 -04:00
b3d97da35f Add developer option to enable the Wine Wayland backend
The current situation is still (unfortunately...) rough, but it could be
useful to enable in some cases. Once it improves enough we can make
it the default.
2025-05-07 22:46:14 -04:00
6e12745c49 Switch to the unofficial-wine-xiv-git for wine builds
They are more frequently updated, and FFXIV actually closes on game quit
- for example.
2025-05-07 22:46:14 -04:00
d04bed599c Grab both Wayland and X11 sockets until we provide a Wayland Wine build
Fixes #38, otherwise the game will not launch with the built-in Wine on
Wayland.
2025-05-07 21:59:14 -04:00
7536d9b38f Update feature blurbs in the README 2025-05-07 20:26:01 -04:00
8c2a591279 Make Astra more useful when offline
When you're offline, all of the asset update checks fail (of course) and
thus can prevent you from logging in. While it's possible to work around
this already by toggling certain things off such as Dalamud, the
built-in Wine etc - we should still be able to play if we have all of
that downloaded.

Now there is buttons in the network fail prompts that allow you to
continue if you understand the risks. This would also make Astra more
resilient to issues like GitHub being temporarily unavailable.
2025-05-07 20:18:38 -04:00
b38032c3b5 Allow configuring the GitHub API, Wine and DXVK repository used 2025-05-07 20:03:15 -04:00
8f2f4f06af Overhaul asset updating for Wine and DXVK, make URLs configurable
This used to be just be a hardcoded URL (I know, I know...) but now it
fetches the latest release from each repository. To make it even more
future-proof, the URLs of the repositories and even the GitHub API used
to fetch them is configurable.

UI to expose that will come in the next commit.
2025-05-07 20:01:01 -04:00
7126438754 Update libphysis for unshield removal 2025-05-07 19:26:17 -04:00
f5111be745 Simplify game installation
We don't actually need the official installer at all, the patch servers
can begin with an empty folder!
2025-05-07 19:21:49 -04:00
3118513d89 Re-enable libsecret support for qtkeychain in Flatpak 2025-05-07 18:37:16 -04:00
8723636e31 Build with RelWithDebInfo for more Flatpak modules 2025-05-07 18:32:31 -04:00
dfb987da9d Clean up more files from the Flatpak 2025-05-07 18:27:30 -04:00
5ca5acfd52 Install steamwrap/libsteam_api.so in libexec instead of bin 2025-05-07 18:01:52 -04:00
6914c39f04 Declare access to the Wayland socket in the Flatpak manifest
It's needed with fallback-x11.
2025-05-07 18:00:12 -04:00
579daafda8 Link to steamwrap and libsteam_api.so instead of copying it
This way it can be updated when the Astra flatpak updates.
2025-05-07 17:55:00 -04:00
4fdb832351 Update steamwrap version to fix bug when initializing the Steam API 2025-05-07 17:37:24 -04:00
bf4f44e8fb Add instructions to allow the Steam Flatpak to launch Astra
Currently Flatpak doesn't have a good way for apps to launch other apps
(even legitimately) so we have to tell the user to punch a hole in the
Steam Flatpak's sandbox.

Oh well, at least now we guide them on how to do it.
2025-05-07 17:37:24 -04:00
1537a8918d Fix wrong shell script being used in the tool manifest 2025-05-07 17:37:24 -04:00
3e064e91ce Support installing the compatibility tool for Flatpak Steam
See #35
2025-05-07 17:37:24 -04:00
ff1d6e172d Don't build tests in the Flatpak 2025-05-07 17:37:24 -04:00
c6cb9afa2e Update libphysis to get a more accurate patch download size 2025-05-06 15:17:09 -04:00
adc2791822 Fix the two remaining compiler warnings 2025-05-05 19:14:58 -04:00
3ef4806e36 Don't allow going back during initial setup
I forgot to remove this when copying the logic from somewhere else. It
was possible to hit the back button during the initial setup which ends
up making the window completely empty.
2025-05-05 17:59:56 -04:00
3e4c8f2c87 Wrap long text on the "use existing install" page 2025-05-05 17:52:21 -04:00
9606044525 Add more top padding for setup cards 2025-05-05 17:51:33 -04:00
c9c8efd734 Don't hide toolbar on the setup page unless it's during initial setup 2025-05-05 17:48:13 -04:00
fb28dd3480 Show the game version when importing existing installations
This is more useful than a path - which is still shown when importing
from other launchers.
2025-05-05 17:44:05 -04:00
f13d32db0b Update libphysis to fix another invalid game crash 2025-05-05 17:20:59 -04:00
c769927001 Update libphysis to make patching invalid game directories a little bit more sane
There should be less "im going to fall over and crash now" scenarios.
2025-05-05 17:16:28 -04:00
05a1ce147a Create patches storage directory if it doesn't exist 2025-05-05 17:01:02 -04:00
5269ad440e Update libphysis to fix patch list parsing 2025-05-05 16:55:42 -04:00
ec93af8b06 Fall back to base boot version if Astra thinks it's not installed
I accidentally gave Astra the FFXIV 1.0 installer, and thus it ended up
in an invalid state (of course, since there's no ARR boot components.)
Instead of saying "this game version isn't supported" we should just use
the fallback version to re-initialize your game.
2025-05-05 16:50:44 -04:00
0fc78649f9 Improve UI labels in the compatibility tool installer
This finally adds a note to explain *why* you would want to do this. I'm
not 100% happy with it, but it's so much better than before!
2025-05-05 16:46:51 -04:00
7b0e730bce Add better icons to various settings pages 2025-05-05 16:46:51 -04:00
14c8b8aef7 Call AccountConfig::save() in a few missing spots
Notably, this prevents an odd bug from happening where Astra could
prompt you to select an account *again* after restarting.
2025-05-05 16:46:51 -04:00
81d02c4a9e Fix some minor undefined references 2025-05-05 16:46:51 -04:00
80dc1bc0e9 Make license spinbox in account setup translatable 2025-05-05 16:46:51 -04:00
2d6e748036 Set default focus during setup process
This makes it way easier to quickly go through the setup process with a
keyboard!
2025-05-05 16:46:51 -04:00
0d8e807f87 Use better default profile names
Instead of "New Profile" for every new profile, they are now named as
follows:
* The first profile is "Default", because most users will most likely
only have one.
* Every subsequent profile is "New Profile (N)" where N is the number of
profiles.
2025-05-05 16:46:51 -04:00
7cb82b43d3 When displaying default location for install/wine prefix, hide the path
For most users, this ends up being a long useless string (because of the
UUID included.) If it's the default, Astra-managed path then it simply
says "Default Location". When it's a custom path, it shows the full path
as per usual.

This affects the visible game paths, but also the wine prefix path.
2025-05-05 16:46:51 -04:00
c38d77d087 With no pre-existing accounts, go straight to the "new account" page
There's no point in showing the user the pre-existing account list if
they don't have any!
2025-05-05 16:46:51 -04:00
e1a01ded1c Remove references to Square Enix in some account text
This is a leftover from when we supported Sapphire accounts, so these
distinction labels make less sense now.
2025-05-05 16:46:51 -04:00
6ade196e64 Note in the Dalamud version text if Astra will download it
The same text change we did for Wine in the previous commit.
2025-05-05 16:46:51 -04:00
e70aeb3b6a Note in the Wine version text if Astra will download it
The text "Wine is not installed." could be misleading. If it's managed
by Astra, say that it will be installed when you next launch the game
instead.
2025-05-05 16:46:51 -04:00
d09f2d2418 Hide Dalamud settings unless it's enabled
Otherwise, it just creates visual noise on the settings page if you
don't find it useful.
2025-05-05 16:46:51 -04:00
e150df64b0 Don't allow accessing certain settings pages on initial setup 2025-05-05 16:46:51 -04:00
9c7174c81f Fallback to the base game version when no version file is found 2025-05-05 16:46:51 -04:00
6f499927be Prompt for updates before actually downloading them
This is to prevent "surprise" situations, such as:
* You have a limited internet connection, and the game updates out of
the blue.
* Your installation is invalid, and Astra decides to suddenly redownload
the entire game.
2025-05-05 16:46:51 -04:00